diff options
author | Florian Frank <flori@ping.de> | 2016-09-23 18:37:50 +0300 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2016-09-23 21:43:38 +0300 |
commit | 7e240ed5765867bfbdd166435f941a4cebed8cd8 (patch) | |
tree | 31e381d00a2c47a513143ba723847140fd27b7da /Gemfile | |
parent | 8c7eb9e93916f2d863fc9ead9422427e243a5956 (diff) | |
download | json-7e240ed5765867bfbdd166435f941a4cebed8cd8.tar.gz |
Merge decimal_class patch by Michael Jaschob
Also:
- Avoid some issues with bundler
- Avoid some issues with jruby
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -2,8 +2,15 @@ source 'https://rubygems.org' -gemspec :name => 'json' -gemspec :name => 'json_pure' -gemspec :name => 'json-java' +case ENV['JSON'] +when 'ext', nil + if ENV['RUBY_ENGINE'] == 'jruby' + gemspec :name => 'json', :path => 'java' + else + gemspec :name => 'json' + end +when 'pure' + gemspec :name => 'json_pure' +end gem 'simplecov' |