Sha256: 6a93d67dcb2d34e0218b6f3d48bfc2c39a8a8177394c385bffdab4f1b343c8c1

Contents?: true

Size: 301 Bytes

Versions: 27

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

# Support migration version syntax in rails 4
ActiveSupport.on_load(:active_record) do
  unless ActiveRecord::Migration.respond_to?(:[])
    ActiveRecord::Migration.define_singleton_method(:[]) do |version|
      self if version.to_s.starts_with?('4')
    end
  end
end

Version data entries

27 entries across 27 versions & 3 rubygems

Version Path
g5_authenticatable-1.1.4 spec/dummy/config/initializers/rails_compatibility.rb
devise_g5_authenticatable-1.0.3 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.4.rc.3 spec/dummy/config/initializers/rails_compatibility.rb
devise_g5_authenticatable-1.0.2.rc.3 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.4.rc.2 spec/dummy/config/initializers/rails_compatibility.rb
devise_g5_authenticatable-1.0.2.rc.2 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.4.rc.1 spec/dummy/config/initializers/rails_compatibility.rb
devise_g5_authenticatable-1.0.2.rc.1 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.2 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.2.pre.1 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.2.rc.5 spec/dummy/config/initializers/rails_compatibility.rb
devise_g5_authenticatable-1.0.1.rc.1 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.2.rc.4 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.2.rc.3 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.2.rc.2 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.2.rc.1 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.1 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.1.0 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable-1.0.0 spec/dummy/config/initializers/rails_compatibility.rb
g5_authenticatable_api-1.0.0 spec/dummy/config/initializers/rails_compatibility.rb