pry 0.9.10pre1 → 0.9.10

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/CHANGELOG CHANGED
@@ -1,4 +1,4 @@
1
- 06/07/2012 version 0.10.pre.1
1
+ 14/07/2012 version 0.9.10
2
2
  dependency changes:
3
3
  * #561 upgrade the slop gem to version 3
4
4
  * #590 move to the jist gem from gist.
@@ -14,6 +14,7 @@ new features:
14
14
  * allow running a file of pry input with pry <file>
15
15
  * support colours in "ri" command
16
16
  * add before_eval hook
17
+ * prompt now gets a lot more data when proc arity is 1
17
18
 
18
19
  bug fixes &c.
19
20
  * #554 removed the "req" command
@@ -29,6 +30,7 @@ bug fixes &c.
29
30
  * #620 improve whereami command when not in a binding.pry
30
31
  * #622 support embedded documents (=begin ... =end)
31
32
  * #627 support editing files with spaces in the name
33
+ * changed __binding_impl__ to __pry__
32
34
  * support for absolute paths in $EDITOR
33
35
  * fix "cat" command on files with unknown extensions
34
36
  * many many internal refactorings and tidyings
@@ -51,7 +51,7 @@ class Object
51
51
  return class_eval "binding"
52
52
  end
53
53
 
54
- unless respond_to?(:__binding_impl__)
54
+ unless respond_to?(:__pry__)
55
55
  binding_impl_method = [<<-METHOD, __FILE__, __LINE__ + 1]
56
56
  # Get a binding with 'self' set to self, and no locals.
57
57
  #
@@ -61,7 +61,7 @@ class Object
61
61
  # Please don't call this method directly, see {__binding__}.
62
62
  #
63
63
  # @return [Binding]
64
- def __binding_impl__
64
+ def __pry__
65
65
  binding
66
66
  end
67
67
  METHOD
@@ -69,7 +69,7 @@ class Object
69
69
  # The easiest way to check whether an object has a working singleton class
70
70
  # is to try and define a method on it. (just checking for the presence of
71
71
  # the singleton class gives false positives for `true` and `false`).
72
- # __binding_impl__ is just the closest method we have to hand, and using
72
+ # __pry__ is just the closest method we have to hand, and using
73
73
  # it has the nice property that we can memoize this check.
74
74
  begin
75
75
  # instance_eval sets the default definee to the object's singleton class
@@ -84,7 +84,7 @@ class Object
84
84
  end
85
85
  end
86
86
 
87
- __binding_impl__
87
+ __pry__
88
88
  end
89
89
  end
90
90
 
@@ -42,7 +42,7 @@ class Pry
42
42
  def internal_binding?(target)
43
43
  m = target.eval("__method__").to_s
44
44
  # class_eval is here because of http://jira.codehaus.org/browse/JRUBY-6753
45
- ["__binding__", "__binding_impl__", "class_eval"].include?(m)
45
+ ["__binding__", "__pry__", "class_eval"].include?(m)
46
46
  end
47
47
 
48
48
  def get_method_or_raise(name, target, opts={}, omit_help=false)
@@ -388,11 +388,11 @@ end
388
388
  # Grab a copy of the TOPLEVEL_BINDING without any local variables.
389
389
  # This binding has a default definee of Object, and new methods are
390
390
  # private (just as in TOPLEVEL_BINDING).
391
- def self.__binding_impl__
391
+ def self.__pry__
392
392
  binding
393
393
  end
394
- Pry.toplevel_binding = __binding_impl__
394
+ Pry.toplevel_binding = __pry__
395
395
  Pry.toplevel_binding.eval("private")
396
- class << self; undef __binding_impl__; end
396
+ class << self; undef __pry__; end
397
397
 
398
398
  Pry.init
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.9.10pre1"
2
+ VERSION = "0.9.10"
3
3
  end
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "pry"
5
- s.version = "0.9.10pre1"
5
+ s.version = "0.9.10"
6
6
 
7
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["John Mair (banisterfiend)", "Conrad Irwin"]
9
- s.date = "2012-07-13"
9
+ s.date = "2012-07-15"
10
10
  s.description = "An IRB alternative and runtime developer console"
11
11
  s.email = ["jrmair@gmail.com", "conrad.irwin@gmail.com"]
12
12
  s.executables = ["pry"]
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10pre1
5
- prerelease: 6
4
+ version: 0.9.10
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Mair (banisterfiend)
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-13 00:00:00.000000000 Z
13
+ date: 2012-07-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: coderay
@@ -248,9 +248,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
248
248
  required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  none: false
250
250
  requirements:
251
- - - ! '>'
251
+ - - ! '>='
252
252
  - !ruby/object:Gem::Version
253
- version: 1.3.1
253
+ version: '0'
254
254
  requirements: []
255
255
  rubyforge_project:
256
256
  rubygems_version: 1.8.24