|
29 | 29 | gem 'actionpack', gem_version |
30 | 30 | end |
31 | 31 |
|
| 32 | +# https://github.com/bundler/bundler/blob/89a8778c19269561926cea172acdcda241d26d23/lib/bundler/dependency.rb#L30-L54 |
| 33 | +@windows_platforms = [:mswin, :mingw, :x64_mingw] |
| 34 | + |
| 35 | +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem |
| 36 | +gem 'tzinfo-data', platforms: (@windows_platforms + [:jruby]) |
| 37 | + |
32 | 38 | group :test do |
33 | 39 | gem 'activerecord' |
34 | | - gem 'sqlite3', platform: [:ruby, :mingw, :x64_mingw, :mswin] |
| 40 | + gem 'sqlite3', platform: (@windows_platforms + [:ruby]) |
35 | 41 | gem 'activerecord-jdbcsqlite3-adapter', platform: :jruby |
36 | | - gem 'codeclimate-test-reporter', require: false |
37 | | -end |
38 | 42 |
|
39 | | -group :test, :development do |
40 | | - gem 'simplecov', '~> 0.10', require: false |
| 43 | + gem 'codeclimate-test-reporter', require: false |
| 44 | + gem 'simplecov', '~> 0.10', require: false, group: :development |
41 | 45 | end |
42 | 46 |
|
43 | | -# Windows does not include zoneinfo files, so bundle the tzinfo-data gem |
44 | | -gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] |
45 | | - |
46 | 47 | group :development, :test do |
47 | 48 | gem 'rubocop', '~> 0.34.0', require: false |
48 | 49 | end |
0 commit comments