mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
add active_record_deprecated_finders as a dep
This commit is contained in:
parent
1db54dffaf
commit
dd2c9b9578
3 changed files with 9 additions and 0 deletions
6
Gemfile
6
Gemfile
|
@ -18,6 +18,12 @@ else
|
||||||
gem 'journey', :git => "git://github.com/rails/journey"
|
gem 'journey', :git => "git://github.com/rails/journey"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if ENV['AR_DEPRECATED_FINDERS']
|
||||||
|
gem 'active_record_deprecated_finders', path: ENV['AR_DEPRECATED_FINDERS']
|
||||||
|
else
|
||||||
|
gem 'active_record_deprecated_finders', git: 'git://github.com/rails/active_record_deprecated_finders'
|
||||||
|
end
|
||||||
|
|
||||||
# This needs to be with require false to avoid
|
# This needs to be with require false to avoid
|
||||||
# it being automatically loaded by sprockets
|
# it being automatically loaded by sprockets
|
||||||
gem 'uglifier', '>= 1.0.3', :require => false
|
gem 'uglifier', '>= 1.0.3', :require => false
|
||||||
|
|
|
@ -22,4 +22,6 @@ Gem::Specification.new do |s|
|
||||||
s.add_dependency('activesupport', version)
|
s.add_dependency('activesupport', version)
|
||||||
s.add_dependency('activemodel', version)
|
s.add_dependency('activemodel', version)
|
||||||
s.add_dependency('arel', '~> 3.0.2')
|
s.add_dependency('arel', '~> 3.0.2')
|
||||||
|
|
||||||
|
s.add_dependency('active_record_deprecated_finders', '0.0.1')
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,6 +25,7 @@ require 'active_support'
|
||||||
require 'active_support/i18n'
|
require 'active_support/i18n'
|
||||||
require 'active_model'
|
require 'active_model'
|
||||||
require 'arel'
|
require 'arel'
|
||||||
|
require 'active_record_deprecated_finders'
|
||||||
|
|
||||||
require 'active_record/version'
|
require 'active_record/version'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue