Sha256: 4969268dc27176fbce70cb8d08a4e180b6ca4d90dddc743316819ea741bcb8a8

Contents?: true

Size: 198 Bytes

Versions: 50

Compression:

Stored size: 198 Bytes

Contents

require 'sprockets'

module Sprockets
  module Rails
    module Utils
      def using_sprockets4?
        Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new('4.x')
      end
    end
  end
end

Version data entries

50 entries across 49 versions & 16 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/sprockets-rails-3.5.2/lib/sprockets/rails/utils.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/sprockets-rails-3.5.2/lib/sprockets/rails/utils.rb
sprockets-rails-3.5.2 lib/sprockets/rails/utils.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/sprockets-rails-3.5.1/lib/sprockets/rails/utils.rb
sprockets-rails-3.5.1 lib/sprockets/rails/utils.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/sprockets-rails-3.5.0/lib/sprockets/rails/utils.rb
sprockets-rails-3.5.0 lib/sprockets/rails/utils.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/sprockets-rails-3.4.2/lib/sprockets/rails/utils.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/sprockets-rails-3.4.2/lib/sprockets/rails/utils.rb
sprockets-rails-3.4.2 lib/sprockets/rails/utils.rb
sprockets-rails-3.4.1 lib/sprockets/rails/utils.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.3.0/lib/sprockets/rails/utils.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.3.0/lib/sprockets/rails/utils.rb
sprockets-rails-3.4.0 lib/sprockets/rails/utils.rb
sprockets-rails-3.3.0 lib/sprockets/rails/utils.rb
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/utils.rb
sprockets-rails-3.2.2 lib/sprockets/rails/utils.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/utils.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/utils.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/utils.rb