Skip to content

Commit e1f6584

Browse files
committed
Fix CI
1 parent bf4b472 commit e1f6584

21 files changed

+167
-120
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ log
2121
*.gem
2222
.bundle
2323
pkg
24-
Gemfile.lock
24+
gemfiles/*.lock
2525

2626
## RBENV
2727
.ruby-version

.travis.yml

Lines changed: 52 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,54 @@
1-
bundler_args: --without development
2-
cache: bundler
31
language: ruby
4-
rvm:
5-
- jruby-18mode
6-
- jruby-19mode
7-
- jruby-9000
8-
- 1.8.7
9-
- 1.9.2
10-
- 1.9.3
11-
- 2.0.0
12-
- 2.1.10
13-
- 2.2.9
14-
- 2.3.6
15-
- 2.4.3
16-
- 2.5.0
17-
- jruby-head
18-
- rbx-2
19-
- ruby-head
2+
203
matrix:
21-
allow_failures:
22-
- rvm: jruby-head
23-
- rvm: rbx-2
24-
- rvm: ruby-head
25-
fast_finish: true
26-
sudo: false
27-
before_install:
28-
- gem update --system
29-
- gem update --remote bundler
4+
include:
5+
- rvm: 1.8
6+
gemfile: gemfiles/gemfile-1-8
7+
os: linux
8+
dist: trusty
9+
env: SKIP_ADAPTERS=yajl,gson,jr_jackson,nsjsonserialization
10+
- rvm: jruby-18mode
11+
gemfile: gemfiles/gemfile-1-8-jruby
12+
os: linux
13+
dist: trusty
14+
env: SKIP_ADAPTERS=oj,yajl,nsjsonserialization
15+
- rvm: 1.9
16+
gemfile: gemfiles/gemfile-1-9
17+
os: linux
18+
dist: trusty
19+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
20+
- rvm: jruby-19mode
21+
gemfile: gemfiles/gemfile-1-9-jruby
22+
os: linux
23+
dist: trusty
24+
env: SKIP_ADAPTERS=oj,yajl,nsjsonserialization
25+
- rvm: 2.0
26+
gemfile: gemfiles/gemfile-2
27+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
28+
- rvm: 2.1
29+
gemfile: gemfiles/gemfile-2
30+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
31+
- rvm: 2.2
32+
gemfile: gemfiles/gemfile-2
33+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
34+
- rvm: 2.3
35+
gemfile: gemfiles/gemfile-2
36+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
37+
- rvm: 2.4
38+
gemfile: gemfiles/gemfile-2
39+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
40+
- rvm: 2.5
41+
gemfile: gemfiles/gemfile-2
42+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
43+
- rvm: 2.6
44+
gemfile: gemfiles/gemfile-2
45+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
46+
- rvm: ruby-head
47+
gemfile: gemfiles/gemfile-2
48+
env: SKIP_ADAPTERS=gson,jr_jackson,nsjsonserialization
49+
- rvm: jruby-9000
50+
gemfile: gemfiles/gemfile-2-jruby
51+
env: SKIP_ADAPTERS=oj,yajl,jr_jackson,nsjsonserialization
52+
- rvm: jruby-head
53+
gemfile: gemfiles/gemfile-2-jruby
54+
env: SKIP_ADAPTERS=oj,yajl,jr_jackson,nsjsonserialization

Gemfile

Lines changed: 0 additions & 34 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,15 @@ MultiJSON falls back to [OkJson][], a simple, vendorable JSON parser.
6060
This library aims to support and is [tested against][travis] the following Ruby
6161
implementations:
6262

63-
* Ruby 1.8.7
64-
* Ruby 1.9.2
65-
* Ruby 1.9.3
66-
* Ruby 2.0.0
67-
* Ruby 2.1.10
68-
* Ruby 2.2.9
69-
* Ruby 2.4.3
70-
* Ruby 2.5.0
63+
* Ruby 1.8
64+
* Ruby 1.9
65+
* Ruby 2.0
66+
* Ruby 2.1
67+
* Ruby 2.2
68+
* Ruby 2.4
69+
* Ruby 2.5
70+
* Ruby 2.6
7171
* [JRuby][]
72-
* [Rubinius][]
73-
* [MacRuby][] (not tested on Travis CI)
7472

7573
If something doesn't work in one of these implementations, it's a bug.
7674

@@ -106,7 +104,6 @@ and Pavel Pravosud. See [LICENSE][] for details.
106104

107105
[codeclimate]: https://codeclimate.com/github/intridea/multi_json
108106
[gem]: https://rubygems.org/gems/multi_json
109-
[gemnasium]: https://gemnasium.com/intridea/multi_json
110107
[gson]: https://github.com/avsej/gson.rb
111108
[jrjackson]: https://github.com/guyboertje/jrjackson
112109
[jruby]: http://www.jruby.org/
@@ -118,7 +115,6 @@ and Pavel Pravosud. See [LICENSE][] for details.
118115
[oj]: https://github.com/ohler55/oj
119116
[okjson]: https://github.com/kr/okjson
120117
[pvc]: http://docs.rubygems.org/read/chapter/16#page74
121-
[rubinius]: http://rubini.us/
122118
[semver]: http://semver.org/
123119
[travis]: http://travis-ci.org/intridea/multi_json
124120
[yajl]: https://github.com/brianmario/yajl-ruby

Rakefile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Bundler::GemHelper.install_tasks
33

44
require 'rspec/core/rake_task'
55
RSpec::Core::RakeTask.new(:base_spec) do |task|
6-
task.pattern = 'spec/multi_json_spec.rb,spec/options_cache_spec.rb'
6+
task.pattern = 'spec/{multi_json,options_cache}_spec.rb'
77
end
88

99
namespace :adapters do
@@ -16,10 +16,17 @@ namespace :adapters do
1616
end
1717
end
1818

19-
task :spec => %w(base_spec adapters:oj adapters:yajl adapters:json_gem adapters:json_pure adapters:ok_json adapters:gson adapters:jr_jackson adapters:nsjsonserialization)
19+
task :spec => %w[
20+
base_spec
21+
adapters:oj
22+
adapters:yajl
23+
adapters:json_gem
24+
adapters:json_pure
25+
adapters:ok_json
26+
adapters:gson
27+
adapters:jr_jackson
28+
adapters:nsjsonserialization
29+
]
2030

2131
task :default => :spec
2232
task :test => :spec
23-
24-
require 'yard'
25-
YARD::Rake::YardocTask.new

gemfiles/gemfile-1-8

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "https://rubygems.org"
2+
3+
gem "json", "~> 1.8", :require => false
4+
gem "json_pure", "~> 1.8", :require => false
5+
gem "oj", "~> 2.18", :require => false
6+
7+
gemspec :path => ".."

gemfiles/gemfile-1-8-jruby

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source "https://rubygems.org"
2+
3+
gem "json", "~> 1.8", :require => false
4+
gem "json_pure", "~> 1.8", :require => false
5+
gem "gson", ">= 0.6", :require => false
6+
gem "jrjackson", "~> 0.3.4", :require => false
7+
8+
gemspec :path => ".."

gemfiles/gemfile-1-9

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source "https://rubygems.org"
2+
3+
gem "json", "~> 1.8", require: false
4+
gem "json_pure", "~> 1.8", require: false
5+
gem "oj", "~> 2.18", require: false
6+
gem "yajl-ruby", "~> 1.3", require: false
7+
8+
gemspec :path => ".."

gemfiles/gemfile-1-9-jruby

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source "https://rubygems.org"
2+
3+
gem "json", "~> 1.8", require: false
4+
gem "json_pure", "~> 1.8", require: false
5+
gem "gson", ">= 0.6", require: false
6+
gem "jrjackson", "~> 0.3.4", require: false
7+
8+
gemspec :path => ".."

gemfiles/gemfile-2

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source "https://rubygems.org"
2+
3+
gem "json", "~> 2.0", require: false
4+
gem "json_pure", "~> 2.0", require: false
5+
gem "oj", "~> 2.18", require: false
6+
gem "yajl-ruby", "~> 1.3", require: false
7+
8+
gemspec path: ".."

0 commit comments

Comments
 (0)