mirror of
https://github.com/rubyjs/therubyrhino
synced 2023-03-27 23:21:34 -04:00
roll with latest (spec) dependencies
This commit is contained in:
parent
9e4ae2e1a6
commit
ba9006baf2
3 changed files with 13 additions and 9 deletions
7
Gemfile
7
Gemfile
|
@ -1,4 +1,4 @@
|
||||||
source :rubygems
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gemspec :name => "therubyrhino"
|
gemspec :name => "therubyrhino"
|
||||||
|
|
||||||
|
@ -15,4 +15,7 @@ group :test do
|
||||||
gem 'therubyrhino_jar', :path => '.'
|
gem 'therubyrhino_jar', :path => '.'
|
||||||
end
|
end
|
||||||
gem 'less', '>= 2.2.1', :require => nil
|
gem 'less', '>= 2.2.1', :require => nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
gem 'rake', :group => :development
|
||||||
|
gem 'jruby-openssl', :group => :development
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
require 'bundler/setup'
|
|
||||||
|
|
||||||
require 'rhino'
|
require 'rhino'
|
||||||
|
|
||||||
require 'mocha'
|
begin
|
||||||
|
require 'mocha/api'
|
||||||
|
rescue LoadError
|
||||||
|
require 'mocha'
|
||||||
|
end
|
||||||
|
|
||||||
require 'redjs'
|
require 'redjs'
|
||||||
|
|
||||||
module RedJS
|
module RedJS
|
||||||
|
|
|
@ -20,8 +20,6 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.add_dependency "therubyrhino_jar", '>= 1.7.3'
|
s.add_dependency "therubyrhino_jar", '>= 1.7.3'
|
||||||
|
|
||||||
s.add_development_dependency "rake"
|
s.add_development_dependency "rspec", "~> 2.13.0"
|
||||||
s.add_development_dependency "rspec", "~> 2.10"
|
s.add_development_dependency "mocha", "~> 0.13.3"
|
||||||
s.add_development_dependency "mocha"
|
|
||||||
s.add_development_dependency "jruby-openssl"
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue