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
|
|
|
|
|
2022-06-12 14:40:11 +00:00
|
|
|
gem 'faker'
|
|
|
|
gem 'sqlite3'
|
|
|
|
gem 'pg'
|
|
|
|
gem 'pry'
|
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
|
2022-11-09 13:24:29 +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
|
2022-11-09 13:24:29 +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
|
2022-06-12 14:40:11 +00:00
|
|
|
gem 'mysql2'
|
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'
|
2022-06-12 14:40:11 +00:00
|
|
|
gem 'rspec'
|
2022-11-09 13:24:29 +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
|