Skip to content
Browse files

version 0.6.6, building separate jruby gem since it breaks with the r…

…ecent version of method_source
  • Loading branch information...
1 parent 801a71b commit 7ed6c17ebc98ef60bf425bf5a2dd1f0f776e109d @banister banister committed Mar 2, 2011
Showing with 19 additions and 4 deletions.
  1. +1 −0 README.markdown
  2. +17 −3 Rakefile
  3. +1 −1 lib/pry/version.rb
View
1 README.markdown
@@ -186,6 +186,7 @@ invoke any of these methods directly depending on exactly what aspect of the fun
###Limitations:
* Some Pry commands (e.g `show-command`) do not work in Ruby 1.8.
+* `method_source` functionality does not work in JRuby.
* 1.9 support requires `Ripper` - some implementations may not support this.
Commands
View
20 Rakefile
@@ -20,7 +20,6 @@ def apply_spec_defaults(s)
s.description = s.summary
s.require_path = 'lib'
s.add_dependency("ruby_parser",">=2.0.5")
- s.add_dependency("method_source",">=0.3.4")
s.add_development_dependency("bacon",">=1.1.0")
s.homepage = "http://banisterfiend.wordpress.com"
s.has_rdoc = 'yard'
@@ -46,7 +45,8 @@ end
namespace :ruby do
spec = Gem::Specification.new do |s|
- apply_spec_defaults(s)
+ apply_spec_defaults(s)
+ s.add_dependency("method_source",">=0.3.4")
s.platform = Gem::Platform::RUBY
end
@@ -56,8 +56,22 @@ namespace :ruby do
end
end
+namespace :jruby do
+ spec = Gem::Specification.new do |s|
+ apply_spec_defaults(s)
+ s.add_dependency("method_source","=0.2.0")
+ s.platform = "java"
+ end
+
+ Rake::GemPackageTask.new(spec) do |pkg|
+ pkg.need_zip = false
+ pkg.need_tar = false
+ end
+end
+
+
desc "build all platform gems at once"
-task :gems => [:rmgems, "ruby:gem"]
+task :gems => [:rmgems, "ruby:gem", "jruby:gem"]
desc "remove all platform gems"
task :rmgems => ["ruby:clobber_package"]
View
2 lib/pry/version.rb
@@ -1,3 +1,3 @@
class Pry
- VERSION = "0.6.5"
+ VERSION = "0.6.6"
end

0 comments on commit 7ed6c17

Please sign in to comment.
Something went wrong with that request. Please try again.