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
5
Gemfile
5
Gemfile
|
@ -1,4 +1,4 @@
|
|||
source :rubygems
|
||||
source "https://rubygems.org"
|
||||
|
||||
gemspec :name => "therubyrhino"
|
||||
|
||||
|
@ -16,3 +16,6 @@ group :test do
|
|||
end
|
||||
gem 'less', '>= 2.2.1', :require => nil
|
||||
end
|
||||
|
||||
gem 'rake', :group => :development
|
||||
gem 'jruby-openssl', :group => :development
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
require 'bundler/setup'
|
||||
|
||||
require 'rhino'
|
||||
|
||||
begin
|
||||
require 'mocha/api'
|
||||
rescue LoadError
|
||||
require 'mocha'
|
||||
end
|
||||
|
||||
require 'redjs'
|
||||
|
||||
module RedJS
|
||||
|
|
|
@ -20,8 +20,6 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.add_dependency "therubyrhino_jar", '>= 1.7.3'
|
||||
|
||||
s.add_development_dependency "rake"
|
||||
s.add_development_dependency "rspec", "~> 2.10"
|
||||
s.add_development_dependency "mocha"
|
||||
s.add_development_dependency "jruby-openssl"
|
||||
s.add_development_dependency "rspec", "~> 2.13.0"
|
||||
s.add_development_dependency "mocha", "~> 0.13.3"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue