pry 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.markdown +1 -0
  2. data/Rakefile +17 -3
  3. data/lib/pry/version.rb +1 -1
  4. metadata +13 -13
data/README.markdown CHANGED
@@ -186,6 +186,7 @@ invoke any of these methods directly depending on exactly what aspect of the fun
186
186
  ###Limitations:
187
187
 
188
188
  * Some Pry commands (e.g `show-command`) do not work in Ruby 1.8.
189
+ * `method_source` functionality does not work in JRuby.
189
190
  * 1.9 support requires `Ripper` - some implementations may not support this.
190
191
 
191
192
  Commands
data/Rakefile CHANGED
@@ -20,7 +20,6 @@ def apply_spec_defaults(s)
20
20
  s.description = s.summary
21
21
  s.require_path = 'lib'
22
22
  s.add_dependency("ruby_parser",">=2.0.5")
23
- s.add_dependency("method_source",">=0.3.4")
24
23
  s.add_development_dependency("bacon",">=1.1.0")
25
24
  s.homepage = "http://banisterfiend.wordpress.com"
26
25
  s.has_rdoc = 'yard'
@@ -46,7 +45,8 @@ end
46
45
 
47
46
  namespace :ruby do
48
47
  spec = Gem::Specification.new do |s|
49
- apply_spec_defaults(s)
48
+ apply_spec_defaults(s)
49
+ s.add_dependency("method_source",">=0.3.4")
50
50
  s.platform = Gem::Platform::RUBY
51
51
  end
52
52
 
@@ -56,8 +56,22 @@ namespace :ruby do
56
56
  end
57
57
  end
58
58
 
59
+ namespace :jruby do
60
+ spec = Gem::Specification.new do |s|
61
+ apply_spec_defaults(s)
62
+ s.add_dependency("method_source","=0.2.0")
63
+ s.platform = "java"
64
+ end
65
+
66
+ Rake::GemPackageTask.new(spec) do |pkg|
67
+ pkg.need_zip = false
68
+ pkg.need_tar = false
69
+ end
70
+ end
71
+
72
+
59
73
  desc "build all platform gems at once"
60
- task :gems => [:rmgems, "ruby:gem"]
74
+ task :gems => [:rmgems, "ruby:gem", "jruby:gem"]
61
75
 
62
76
  desc "remove all platform gems"
63
77
  task :rmgems => ["ruby:clobber_package"]
data/lib/pry/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.6.5"
2
+ VERSION = "0.6.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ruby_parser
17
- requirement: &16995708 !ruby/object:Gem::Requirement
17
+ requirement: &17356980 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,29 +22,29 @@ dependencies:
22
22
  version: 2.0.5
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *16995708
25
+ version_requirements: *17356980
26
26
  - !ruby/object:Gem::Dependency
27
- name: method_source
28
- requirement: &16995408 !ruby/object:Gem::Requirement
27
+ name: bacon
28
+ requirement: &17355156 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.3.4
34
- type: :runtime
33
+ version: 1.1.0
34
+ type: :development
35
35
  prerelease: false
36
- version_requirements: *16995408
36
+ version_requirements: *17355156
37
37
  - !ruby/object:Gem::Dependency
38
- name: bacon
39
- requirement: &16995072 !ruby/object:Gem::Requirement
38
+ name: method_source
39
+ requirement: &17336220 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
43
43
  - !ruby/object:Gem::Version
44
- version: 1.1.0
45
- type: :development
44
+ version: 0.3.4
45
+ type: :runtime
46
46
  prerelease: false
47
- version_requirements: *16995072
47
+ version_requirements: *17336220
48
48
  description: attach an irb-like session to any object at runtime
49
49
  email: jrmair@gmail.com
50
50
  executables: