Sha256: 34c5daf1fc744f40f6de36bc9dc370947009c0f7e065244532c88d42fe45e832

Contents?: true

Size: 242 Bytes

Versions: 33

Compression:

Stored size: 242 Bytes

Contents

RSpec.configure do |c|
  def active_model_3_1?
    ::ActiveModel::VERSION::MAJOR == 3 && ::ActiveModel::VERSION::MINOR >= 1
  end

  def active_model_3_2?
    ::ActiveModel::VERSION::MAJOR == 3 && ::ActiveModel::VERSION::MINOR >= 2
  end
end

Version data entries

33 entries across 25 versions & 5 rubygems

Version Path
shoulda-callback-matchers-0.4.0 spec/support/active_model_versions.rb
shoulda-callback-matchers-0.3.3 spec/support/active_model_versions.rb
shoulda-callback-matchers-0.3.1 spec/support/active_model_versions.rb
shoulda-callback-matchers-0.3.0 spec/support/active_model_versions.rb
challah-1.0.0.beta vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/active_model_versions.rb
challah-0.9.1.beta.3 vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/active_model_versions.rb
devise_sociable-0.1.0 vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/active_model_versions.rb
challah-0.9.1.beta vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/active_model_versions.rb
challah-0.9.0 vendor/bundle/gems/shoulda-matchers-1.4.2/spec/support/active_model_versions.rb
shoulda-callback-matchers-0.2.0 spec/support/active_model_versions.rb
shoulda-matchers-1.4.2 spec/support/active_model_versions.rb
shoulda-callback-matchers-0.1.0 spec/support/active_model_versions.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/shoulda-matchers-1.2.0/spec/support/active_model_versions.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.2.0/spec/support/active_model_versions.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/shoulda-matchers-1.4.1/spec/support/active_model_versions.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/shoulda-matchers-1.3.0/spec/support/active_model_versions.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.4.1/spec/support/active_model_versions.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.3.0/spec/support/active_model_versions.rb
challah-0.8.3 vendor/bundle/gems/shoulda-matchers-1.4.1/spec/support/active_model_versions.rb
challah-0.8.3 vendor/bundle/gems/shoulda-matchers-1.3.0/spec/support/active_model_versions.rb