2013-12-07 00:51:55 +00:00
|
|
|
source 'https://rubygems.org'
|
2011-03-31 00:31:39 +00:00
|
|
|
gemspec
|
|
|
|
|
2011-07-17 23:04:00 +00:00
|
|
|
gem 'rake'
|
|
|
|
|
2022-05-06 07:23:48 +00:00
|
|
|
rails = ENV['RAILS'] || '6-1-stable'
|
2011-07-17 23:04:00 +00:00
|
|
|
|
2019-10-14 12:56:55 +00:00
|
|
|
rails_version = case rails
|
|
|
|
when /\// # A path
|
|
|
|
File.read(File.join(rails, "RAILS_VERSION"))
|
|
|
|
when /^v/ # A tagged version
|
|
|
|
rails.gsub(/^v/, '')
|
|
|
|
else
|
|
|
|
rails
|
|
|
|
end
|
|
|
|
|
2021-01-04 10:56:14 +00:00
|
|
|
gem 'faker', '~> 2.0'
|
2022-05-06 07:23:48 +00:00
|
|
|
gem 'sqlite3', '~> 1.4.1'
|
2019-08-18 18:56:58 +00:00
|
|
|
gem 'pg', '~> 1.0'
|
2020-03-23 21:30:40 +00:00
|
|
|
gem 'pry', '~> 0.12.2'
|
2019-08-18 18:43:16 +00:00
|
|
|
gem 'byebug'
|
2014-08-01 05:15:58 +00:00
|
|
|
|
2011-07-17 23:04:00 +00:00
|
|
|
case rails
|
|
|
|
when /\// # A path
|
2013-07-04 14:21:06 +00:00
|
|
|
gem 'activesupport', path: "#{rails}/activesupport"
|
2019-10-14 12:56:55 +00:00
|
|
|
gem 'activemodel', path: "#{rails}/activemodel"
|
2014-08-01 06:42:45 +00:00
|
|
|
gem 'activerecord', path: "#{rails}/activerecord", require: false
|
2014-06-09 00:59:16 +00:00
|
|
|
gem 'actionpack', path: "#{rails}/actionpack"
|
2019-10-14 12:56:55 +00:00
|
|
|
gem 'actionview', path: "#{rails}/actionview"
|
2011-07-17 23:04:00 +00:00
|
|
|
when /^v/ # A tagged version
|
2019-06-11 10:01:36 +00:00
|
|
|
git 'https://github.com/rails/rails.git', :tag => rails do
|
2011-07-17 23:04:00 +00:00
|
|
|
gem 'activesupport'
|
|
|
|
gem 'activemodel'
|
2014-08-01 06:42:45 +00:00
|
|
|
gem 'activerecord', require: false
|
2011-07-17 23:04:00 +00:00
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2011-05-30 15:14:30 +00:00
|
|
|
else
|
2019-06-11 10:01:36 +00:00
|
|
|
git 'https://github.com/rails/rails.git', :branch => rails do
|
2011-05-30 15:14:30 +00:00
|
|
|
gem 'activesupport'
|
2011-07-17 23:04:00 +00:00
|
|
|
gem 'activemodel'
|
2014-08-01 06:42:45 +00:00
|
|
|
gem 'activerecord', require: false
|
2011-05-30 15:14:30 +00:00
|
|
|
gem 'actionpack'
|
|
|
|
end
|
2012-01-19 14:06:10 +00:00
|
|
|
end
|
2019-05-28 08:56:48 +00:00
|
|
|
gem 'mysql2', '~> 0.5.2'
|
2014-08-01 06:42:45 +00:00
|
|
|
|
2015-01-07 23:17:33 +00:00
|
|
|
group :test do
|
2019-08-18 18:43:16 +00:00
|
|
|
gem 'machinist', '~> 1.0.6'
|
|
|
|
gem 'rspec', '~> 3'
|
2017-10-09 14:23:51 +00:00
|
|
|
gem 'simplecov', :require => false
|
2015-01-07 23:17:33 +00:00
|
|
|
end
|
2020-12-22 13:51:46 +00:00
|
|
|
|
2020-12-31 10:42:07 +00:00
|
|
|
gem 'rubocop', require: false
|