Skip to content

Commit 4b5413d

Browse files
committed
Remove rubinius dependencies from gemspec, add to Gemfile.
1 parent fab9dcc commit 4b5413d

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

.gemspec

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,5 @@ Gem::Specification.new do |gem|
3838
gem.add_development_dependency 'rdf-isomorphic'
3939
gem.add_development_dependency 'rdf-xsd'
4040

41-
# Rubinius has it's own dependencies
42-
if RUBY_ENGINE == "rbx" && RUBY_VERSION >= "2.1.0"
43-
#gem.add_runtime_dependency "rubysl-bigdecimal"
44-
gem.add_development_dependency "rubysl-base64"
45-
gem.add_development_dependency "rubysl-open-uri"
46-
gem.add_development_dependency "rubysl-prettyprint"
47-
gem.add_development_dependency "rubysl-rexml"
48-
gem.add_development_dependency "racc"
49-
end
50-
5141
gem.post_install_message = nil
5242
end

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ rvm:
88
- 2.0.0
99
- jruby-19mode
1010
- rbx
11+
cache: bundler

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ group :debug do
1414
gem "wirble"
1515
gem "debugger", :platforms => [:mri_19, :mri_20]
1616
end
17+
18+
platforms :rbx do
19+
gem 'rubysl', '~> 2.0'
20+
gem 'rubinius', '~> 2.0'
21+
end

lib/json/ld.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..')))
22
require 'rdf' # @see http://rubygems.org/gems/rdf
3-
require 'backports' if RUBY_VERSION < "1.9"
43

54
module JSON
65
##

0 commit comments

Comments
 (0)