Sha256: 0b829d5be98e79ae85dd1bc8cb8d42dafba5f943e151f914f05bcdabed267d4a

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

module CacheableFlash
  class Engine < ::Rails::Engine
    # Allow for Rails versions ~> 3.1 and > 3
    if (::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR >= 1) || ::Rails::VERSION::MAJOR > 3
      isolate_namespace CacheableFlash
    else
      warn 'CacheableFlash namespace not isolated, check that Rails version is >= 3.1'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cacheable_flash-1.0.0 lib/cacheable_flash/engine.rb
cacheable_flash-0.3.4 lib/cacheable_flash/engine.rb
cacheable_flash-0.3.3 lib/cacheable_flash/engine.rb