Skip to content

Commit

Permalink
update rspec to 2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
kares committed Feb 20, 2014
1 parent cac2b95 commit 79192c6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@ doc
.rvmrc
.bundle
Gemfile.lock
spec/deprecations.log
1 change: 1 addition & 0 deletions .rspec
@@ -0,0 +1 @@
--color --format documentation
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -61,7 +61,7 @@ Rhino::Context.open do |context|
end
```

* make a Ruby object *be* your JavaScript environment
* make a Ruby object be your JavaScript environment
```ruby
math = MyMath.new
Rhino::Context.open(:with => math) do |context|
Expand Down
4 changes: 1 addition & 3 deletions Rakefile
@@ -1,9 +1,7 @@
require 'bundler/setup'

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |spec|
spec.rspec_opts = ['--color', "--format documentation"]
end
RSpec::Core::RakeTask.new

task :default => :spec

Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Expand Up @@ -35,4 +35,5 @@ def scope
RSpec.configure do |config|
config.filter_run_excluding :compat => /(0.5.0)|(0.6.0)/ # RedJS
config.include Rhino::SpecHelpers
config.deprecation_stream = 'spec/deprecations.log'
end
2 changes: 1 addition & 1 deletion therubyrhino.gemspec
Expand Up @@ -20,6 +20,6 @@ Gem::Specification.new do |s|

s.add_dependency "therubyrhino_jar", '>= 1.7.3'

s.add_development_dependency "rspec", "~> 2.13.0"
s.add_development_dependency "rspec", "~> 2.14.1"
s.add_development_dependency "mocha", "~> 0.13.3"
end

0 comments on commit 79192c6

Please sign in to comment.