Browse files

Deprecate Johnson

  • Loading branch information...
1 parent 75a8574 commit 8adf1e1d09bf168e65436fab822db5b00b03c614 @josh josh committed May 20, 2012
Showing with 4 additions and 5 deletions.
  1. +0 −3 Gemfile
  2. +0 −2 README.md
  3. +4 −0 lib/execjs/johnson_runtime.rb
View
3 Gemfile
@@ -4,9 +4,6 @@ gemspec
group :test do
gem 'json'
- # see https://github.com/jbarnette/johnson/issues/21
- gem 'johnson', :platform => :mri_18
- # disabled for rbx, because of https://github.com/cowboyd/therubyracer/issues/157
gem 'therubyracer', :platform => :mri
gem 'therubyrhino', ">=1.73.3", :platform => :jruby
end
View
2 README.md
@@ -11,8 +11,6 @@ ExecJS supports these runtimes:
embedded within Ruby
* [therubyrhino](https://github.com/cowboyd/therubyrhino) - Mozilla
Rhino embedded within JRuby
-* [Johnson](https://github.com/jbarnette/johnson) - Mozilla
- SpiderMonkey embedded within Ruby
* [Node.js](http://nodejs.org/)
* Apple JavaScriptCore - Included with Mac OS X
* [Microsoft Windows Script Host](http://msdn.microsoft.com/en-us/library/9bbdkx3k.aspx) (JScript)
View
4 lib/execjs/johnson_runtime.rb
@@ -98,5 +98,9 @@ def available?
rescue LoadError
false
end
+
+ def deprecated?
+ true
+ end
end
end

0 comments on commit 8adf1e1

Please sign in to comment.