pry 0.6.8-java → 0.6.8.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.markdown CHANGED
@@ -164,7 +164,7 @@ end.
164
164
 
165
165
  * Pry can be invoked at any time and on any object in the running program.
166
166
  * Pry sessions can nest arbitrarily deeply -- to go back one level of nesting type 'exit' or 'quit' or 'back'
167
- * Pry comes with syntax highlighting on by default just use the `toggle-color` command to use it.
167
+ * Pry comes with syntax highlighting on by default just use the `toggle-color` command to turn it on and off.
168
168
  * Use `_` to recover last result.
169
169
  * Use `_pry_` to reference the Pry instance managing the current session.
170
170
  * Pry supports tab completion.
data/lib/pry/commands.rb CHANGED
@@ -11,7 +11,9 @@ class Pry
11
11
  # We make this a lambda to avoid documenting it
12
12
  meth_name_from_binding = lambda do |b|
13
13
  meth_name = b.eval('__method__')
14
- if [nil, :__binding__, :__binding_impl__].include?(meth_name)
14
+
15
+ # :__script__ for rubinius
16
+ if [:__script__, nil, :__binding__, :__binding_impl__].include?(meth_name)
15
17
  nil
16
18
  else
17
19
  meth_name
data/lib/pry/hooks.rb CHANGED
@@ -9,7 +9,7 @@ class Pry
9
9
  # ensure we're actually in a method
10
10
  meth_name = target.eval('__method__')
11
11
  file = target.eval('__FILE__')
12
- if ![nil, :__binding__, :__binding_impl__].include?(meth_name) && file !~ /(\(.*\))|<.*>/
12
+ if ![:__script__, nil, :__binding__, :__binding_impl__].include?(meth_name) && file !~ /(\(.*\))|<.*>/
13
13
  Pry.run_command "whereami", :output => out, :show_output => true, :context => target, :commands => Pry::Commands
14
14
  end
15
15
  end,
data/lib/pry/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.6.8"
2
+ VERSION = "0.6.8.1"
3
3
  end
metadata CHANGED
@@ -1,12 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 93
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 6
8
9
  - 8
9
- version: 0.6.8
10
+ - 1
11
+ version: 0.6.8.1
10
12
  platform: java
11
13
  authors:
12
14
  - John Mair (banisterfiend)
@@ -25,6 +27,7 @@ dependencies:
25
27
  requirements:
26
28
  - - ">="
27
29
  - !ruby/object:Gem::Version
30
+ hash: 5
28
31
  segments:
29
32
  - 2
30
33
  - 0
@@ -40,6 +43,7 @@ dependencies:
40
43
  requirements:
41
44
  - - ">="
42
45
  - !ruby/object:Gem::Version
46
+ hash: 53
43
47
  segments:
44
48
  - 0
45
49
  - 9
@@ -55,6 +59,7 @@ dependencies:
55
59
  requirements:
56
60
  - - ">="
57
61
  - !ruby/object:Gem::Version
62
+ hash: 19
58
63
  segments:
59
64
  - 1
60
65
  - 1
@@ -70,6 +75,7 @@ dependencies:
70
75
  requirements:
71
76
  - - "="
72
77
  - !ruby/object:Gem::Version
78
+ hash: 23
73
79
  segments:
74
80
  - 0
75
81
  - 2
@@ -86,6 +92,7 @@ extensions: []
86
92
  extra_rdoc_files: []
87
93
 
88
94
  files:
95
+ - lib/pry.rb
89
96
  - lib/pry/commands.rb
90
97
  - lib/pry/version.rb
91
98
  - lib/pry/command_base.rb
@@ -96,7 +103,6 @@ files:
96
103
  - lib/pry/print.rb
97
104
  - lib/pry/pry_class.rb
98
105
  - lib/pry/pry_instance.rb
99
- - lib/pry.rb
100
106
  - examples/example_commands.rb
101
107
  - examples/example_image_edit.rb
102
108
  - examples/example_input2.rb
@@ -116,7 +122,7 @@ files:
116
122
  - Rakefile
117
123
  - .gemtest
118
124
  - bin/pry
119
- has_rdoc: yard
125
+ has_rdoc: true
120
126
  homepage: http://banisterfiend.wordpress.com
121
127
  licenses: []
122
128
 
@@ -130,6 +136,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
136
  requirements:
131
137
  - - ">="
132
138
  - !ruby/object:Gem::Version
139
+ hash: 3
133
140
  segments:
134
141
  - 0
135
142
  version: "0"
@@ -138,13 +145,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
145
  requirements:
139
146
  - - ">="
140
147
  - !ruby/object:Gem::Version
148
+ hash: 3
141
149
  segments:
142
150
  - 0
143
151
  version: "0"
144
152
  requirements: []
145
153
 
146
154
  rubyforge_project:
147
- rubygems_version: 1.3.7
155
+ rubygems_version: 1.6.1
148
156
  signing_key:
149
157
  specification_version: 3
150
158
  summary: attach an irb-like session to any object at runtime