Skip to content

Commit fa88f38

Browse files
committed
use 4.x so that 4.0.0.beta2 is included
1 parent fdfec81 commit fa88f38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react/jsx/sprockets_strategy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def attach_with_strategy(sprockets_env, strategy_or_nil)
2323
# @return [Symbol] based on the environment, return a method name to call with the sprockets environment
2424
def detect_strategy
2525
sprockets_version = Gem::Version.new(Sprockets::VERSION)
26-
if sprockets_version >= Gem::Version.new("4.0.0")
26+
if sprockets_version >= Gem::Version.new("4.x")
2727
:register_processors
2828
elsif sprockets_version >= Gem::Version.new("3.0.0")
2929
:register_engine_with_mime_type

0 commit comments

Comments
 (0)