binding_of_caller 0.7.3.pre1 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a17f0ae87a78728422870616ded5e86b588dd3d0
4
- data.tar.gz: f6ca5bc763c572972d999997d03c55c836c0d2e6
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OGRkMDA4ZmZmOTk3NjY5MTk4OTRlNDhiMTIxNTQxZGI4Y2ZhZWYyNQ==
5
+ data.tar.gz: !binary |-
6
+ ZTk3YjU1ZjJjY2EwYzMzNWM1OTcyODIyNzQ2NzdmZGYzNTlkYjBiNQ==
5
7
  SHA512:
6
- metadata.gz: a9f7b1fbf6fc53920a35e66b76c1e324be60997a51c76b3d8029bc51675748776ef572bef36a56d746ee2916402695db1856ef7d6f609ba5c73e05b0780103cf
7
- data.tar.gz: 1c6485ebd4c0953f31129368086e25c70c42bc659113610bd8adaf4ed6f4e27fe10d330f42376f0276646b1fc93e321938607d6df0fb85690cee43bce8058abe
8
+ metadata.gz: !binary |-
9
+ M2NhODk4NDJlZDBiNzM1NDFkMzYxNmJmYjQxMjc1Y2I2NTc3YzRmNDVjODE1
10
+ NTU5Zjc0MDM5MDFmNDA0ODc5NDI5ZDdjMTQzODY4OTU4NWVjY2Q1Yzk4Nzcy
11
+ NTM4MDM0ZTRiZTg5NGYzYWU0MWIyMTk4YzA4Y2M4OTBjYThiZmU=
12
+ data.tar.gz: !binary |-
13
+ YzE5MmVhY2U1ZDY5YzdlYjJjZmMwNjY3MzFkMjFmYWE0OTVjYjU1M2IyOWYx
14
+ NmQ1ZjIzNzkyMjJhYTQ5YmI3ZGY0NGY2NzZhNjRiZjZlOTI4MjY0ODA1YWIw
15
+ ZTRiMGUzMTM4MDM1NDhhZTA3ZThlNWE5YjFmNmZkMDRhOTJkYjM=
@@ -3,7 +3,9 @@ rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
5
  - 2.1.0
6
- - rbx-19mode
6
+ - 2.2.6
7
+ - 2.3.0
8
+ - 2.4.0
7
9
 
8
10
  notifications:
9
11
  irc: "irc.freenode.org#pry"
@@ -20,6 +22,7 @@ matrix:
20
22
  env: JRUBY_OPTS=-X-C
21
23
  allow_failures:
22
24
  - rvm: jruby
25
+ - rvm: 1.9.3
23
26
 
24
27
  #script: rake test --trace
25
28
  #
data/README.md CHANGED
@@ -5,7 +5,7 @@ binding_of_caller
5
5
 
6
6
  (C) John Mair (banisterfiend) 2012
7
7
 
8
- _Retrieve the binding of a method's caller in MRI 1.9.2+, MRI 2.0, MRI 2.1 and RBX (Rubinius)_
8
+ _Retrieve the binding of a method's caller in MRI (>= 1.9.2) and RBX (Rubinius)_
9
9
 
10
10
  The `binding_of_caller` gem provides the `Binding#of_caller` method.
11
11
 
@@ -15,7 +15,7 @@ call stack, not limited to just the immediate caller.
15
15
 
16
16
  **Recommended for use only in debugging situations. Do not use this in production apps.**
17
17
 
18
- **Only works in MRI Ruby 1.9.2, 1.9.3, 2.0, 2.1 and RBX (Rubinius)**
18
+ **Works in MRI Ruby (>= 1.9.2) and RBX (Rubinius)**
19
19
 
20
20
  * Install the [gem](https://rubygems.org/gems/binding_of_caller): `gem install binding_of_caller`
21
21
  * See the [source code](http://github.com/banister/binding_of_caller)
@@ -52,7 +52,7 @@ This project is a spinoff from the [Pry REPL project.](http://pry.github.com)
52
52
  Features and limitations
53
53
  -------------------------
54
54
 
55
- * Only works with MRI 1.9.2, 1.9.3, 2.0, 2.1 and RBX (Rubinius)
55
+ * Works in MRI (>= 1.9.2) and RBX (Rubinius)
56
56
  * Does not work in 1.8.7, but there is a well known (continuation-based) hack to get a `Binding#of_caller` there.
57
57
  * There is experimental support for jruby 1.7.x, but it only works in interpreted
58
58
  mode (i.e. use the option `-Djruby.compile.mode=OFF` or append
data/Rakefile CHANGED
@@ -51,7 +51,7 @@ task :test do
51
51
  end
52
52
 
53
53
  $stdout.puts("\033[33m")
54
- sh "bacon -Itest -rubygems -a -q"
54
+ sh "bacon -Itest -r rubygems -a -q"
55
55
  $stdout.puts("\033[0m")
56
56
 
57
57
  unless defined?(Rubinius)
@@ -89,7 +89,7 @@ end
89
89
 
90
90
  desc "build the binaries"
91
91
  task :compile => :cleanup do
92
- if !mri_2?
92
+ if !mri_2?
93
93
  chdir "./ext/binding_of_caller/" do
94
94
  sh "ruby extconf.rb"
95
95
  sh "make"
@@ -103,7 +103,7 @@ task :cleanup do
103
103
  if !mri_2?
104
104
  sh 'rm -rf lib/binding_of_caller.so'
105
105
  chdir "./ext/binding_of_caller/" do
106
- sh 'make clean'
106
+ sh 'make clean'
107
107
  end
108
108
  end
109
109
  end
@@ -1,39 +1,39 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: binding_of_caller 0.7.3.pre1 ruby lib
2
+ # stub: binding_of_caller 0.7.3 ruby lib
3
3
  # stub: ext/binding_of_caller/extconf.rb
4
4
 
5
5
  Gem::Specification.new do |s|
6
- s.name = "binding_of_caller"
7
- s.version = "0.7.3.pre1"
6
+ s.name = "binding_of_caller".freeze
7
+ s.version = "0.7.3"
8
8
 
9
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
10
- s.require_paths = ["lib"]
11
- s.authors = ["John Mair (banisterfiend)"]
12
- s.date = "2014-08-20"
13
- s.description = "Retrieve the binding of a method's caller. Can also retrieve bindings even further up the stack."
14
- s.email = "jrmair@gmail.com"
15
- s.extensions = ["ext/binding_of_caller/extconf.rb"]
16
- s.files = [".gemtest", ".gitignore", ".travis.yml", ".yardopts", "Gemfile", "HISTORY", "LICENSE", "README.md", "Rakefile", "binding_of_caller.gemspec", "examples/benchmark.rb", "examples/example.rb", "ext/binding_of_caller/binding_of_caller.c", "ext/binding_of_caller/extconf.rb", "ext/binding_of_caller/ruby_headers/192/debug.h", "ext/binding_of_caller/ruby_headers/192/dln.h", "ext/binding_of_caller/ruby_headers/192/eval_intern.h", "ext/binding_of_caller/ruby_headers/192/id.h", "ext/binding_of_caller/ruby_headers/192/iseq.h", "ext/binding_of_caller/ruby_headers/192/method.h", "ext/binding_of_caller/ruby_headers/192/node.h", "ext/binding_of_caller/ruby_headers/192/regenc.h", "ext/binding_of_caller/ruby_headers/192/regint.h", "ext/binding_of_caller/ruby_headers/192/regparse.h", "ext/binding_of_caller/ruby_headers/192/rubys_gc.h", "ext/binding_of_caller/ruby_headers/192/thread_pthread.h", "ext/binding_of_caller/ruby_headers/192/thread_win32.h", "ext/binding_of_caller/ruby_headers/192/timev.h", "ext/binding_of_caller/ruby_headers/192/transcode_data.h", "ext/binding_of_caller/ruby_headers/192/version.h", "ext/binding_of_caller/ruby_headers/192/vm_core.h", "ext/binding_of_caller/ruby_headers/192/vm_exec.h", "ext/binding_of_caller/ruby_headers/192/vm_insnhelper.h", "ext/binding_of_caller/ruby_headers/192/vm_opts.h", "ext/binding_of_caller/ruby_headers/193/addr2line.h", "ext/binding_of_caller/ruby_headers/193/atomic.h", "ext/binding_of_caller/ruby_headers/193/constant.h", "ext/binding_of_caller/ruby_headers/193/debug.h", "ext/binding_of_caller/ruby_headers/193/dln.h", "ext/binding_of_caller/ruby_headers/193/encdb.h", "ext/binding_of_caller/ruby_headers/193/eval_intern.h", "ext/binding_of_caller/ruby_headers/193/id.h", "ext/binding_of_caller/ruby_headers/193/internal.h", "ext/binding_of_caller/ruby_headers/193/iseq.h", "ext/binding_of_caller/ruby_headers/193/method.h", "ext/binding_of_caller/ruby_headers/193/node.h", "ext/binding_of_caller/ruby_headers/193/parse.h", "ext/binding_of_caller/ruby_headers/193/regenc.h", "ext/binding_of_caller/ruby_headers/193/regint.h", "ext/binding_of_caller/ruby_headers/193/regparse.h", "ext/binding_of_caller/ruby_headers/193/revision.h", "ext/binding_of_caller/ruby_headers/193/rubys_gc.h", "ext/binding_of_caller/ruby_headers/193/thread_pthread.h", "ext/binding_of_caller/ruby_headers/193/thread_win32.h", "ext/binding_of_caller/ruby_headers/193/timev.h", "ext/binding_of_caller/ruby_headers/193/transcode_data.h", "ext/binding_of_caller/ruby_headers/193/transdb.h", "ext/binding_of_caller/ruby_headers/193/version.h", "ext/binding_of_caller/ruby_headers/193/vm_core.h", "ext/binding_of_caller/ruby_headers/193/vm_exec.h", "ext/binding_of_caller/ruby_headers/193/vm_insnhelper.h", "ext/binding_of_caller/ruby_headers/193/vm_opts.h", "lib/binding_of_caller.rb", "lib/binding_of_caller/jruby_interpreted.rb", "lib/binding_of_caller/mri2.rb", "lib/binding_of_caller/rubinius.rb", "lib/binding_of_caller/version.rb", "test/test_binding_of_caller.rb"]
17
- s.homepage = "http://github.com/banister/binding_of_caller"
18
- s.rubygems_version = "2.2.2"
19
- s.summary = "Retrieve the binding of a method's caller. Can also retrieve bindings even further up the stack."
20
- s.test_files = ["test/test_binding_of_caller.rb"]
9
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
10
+ s.require_paths = ["lib".freeze]
11
+ s.authors = ["John Mair (banisterfiend)".freeze]
12
+ s.date = "2017-10-22"
13
+ s.description = "Retrieve the binding of a method's caller. Can also retrieve bindings even further up the stack.".freeze
14
+ s.email = "jrmair@gmail.com".freeze
15
+ s.extensions = ["ext/binding_of_caller/extconf.rb".freeze]
16
+ s.files = [".gemtest".freeze, ".gitignore".freeze, ".travis.yml".freeze, ".yardopts".freeze, "Gemfile".freeze, "HISTORY".freeze, "LICENSE".freeze, "README.md".freeze, "Rakefile".freeze, "binding_of_caller.gemspec".freeze, "examples/benchmark.rb".freeze, "examples/example.rb".freeze, "ext/binding_of_caller/binding_of_caller.c".freeze, "ext/binding_of_caller/extconf.rb".freeze, "ext/binding_of_caller/ruby_headers/192/debug.h".freeze, "ext/binding_of_caller/ruby_headers/192/dln.h".freeze, "ext/binding_of_caller/ruby_headers/192/eval_intern.h".freeze, "ext/binding_of_caller/ruby_headers/192/id.h".freeze, "ext/binding_of_caller/ruby_headers/192/iseq.h".freeze, "ext/binding_of_caller/ruby_headers/192/method.h".freeze, "ext/binding_of_caller/ruby_headers/192/node.h".freeze, "ext/binding_of_caller/ruby_headers/192/regenc.h".freeze, "ext/binding_of_caller/ruby_headers/192/regint.h".freeze, "ext/binding_of_caller/ruby_headers/192/regparse.h".freeze, "ext/binding_of_caller/ruby_headers/192/rubys_gc.h".freeze, "ext/binding_of_caller/ruby_headers/192/thread_pthread.h".freeze, "ext/binding_of_caller/ruby_headers/192/thread_win32.h".freeze, "ext/binding_of_caller/ruby_headers/192/timev.h".freeze, "ext/binding_of_caller/ruby_headers/192/transcode_data.h".freeze, "ext/binding_of_caller/ruby_headers/192/version.h".freeze, "ext/binding_of_caller/ruby_headers/192/vm_core.h".freeze, "ext/binding_of_caller/ruby_headers/192/vm_exec.h".freeze, "ext/binding_of_caller/ruby_headers/192/vm_insnhelper.h".freeze, "ext/binding_of_caller/ruby_headers/192/vm_opts.h".freeze, "ext/binding_of_caller/ruby_headers/193/addr2line.h".freeze, "ext/binding_of_caller/ruby_headers/193/atomic.h".freeze, "ext/binding_of_caller/ruby_headers/193/constant.h".freeze, "ext/binding_of_caller/ruby_headers/193/debug.h".freeze, "ext/binding_of_caller/ruby_headers/193/dln.h".freeze, "ext/binding_of_caller/ruby_headers/193/encdb.h".freeze, "ext/binding_of_caller/ruby_headers/193/eval_intern.h".freeze, "ext/binding_of_caller/ruby_headers/193/id.h".freeze, "ext/binding_of_caller/ruby_headers/193/internal.h".freeze, "ext/binding_of_caller/ruby_headers/193/iseq.h".freeze, "ext/binding_of_caller/ruby_headers/193/method.h".freeze, "ext/binding_of_caller/ruby_headers/193/node.h".freeze, "ext/binding_of_caller/ruby_headers/193/parse.h".freeze, "ext/binding_of_caller/ruby_headers/193/regenc.h".freeze, "ext/binding_of_caller/ruby_headers/193/regint.h".freeze, "ext/binding_of_caller/ruby_headers/193/regparse.h".freeze, "ext/binding_of_caller/ruby_headers/193/revision.h".freeze, "ext/binding_of_caller/ruby_headers/193/rubys_gc.h".freeze, "ext/binding_of_caller/ruby_headers/193/thread_pthread.h".freeze, "ext/binding_of_caller/ruby_headers/193/thread_win32.h".freeze, "ext/binding_of_caller/ruby_headers/193/timev.h".freeze, "ext/binding_of_caller/ruby_headers/193/transcode_data.h".freeze, "ext/binding_of_caller/ruby_headers/193/transdb.h".freeze, "ext/binding_of_caller/ruby_headers/193/version.h".freeze, "ext/binding_of_caller/ruby_headers/193/vm_core.h".freeze, "ext/binding_of_caller/ruby_headers/193/vm_exec.h".freeze, "ext/binding_of_caller/ruby_headers/193/vm_insnhelper.h".freeze, "ext/binding_of_caller/ruby_headers/193/vm_opts.h".freeze, "lib/binding_of_caller.rb".freeze, "lib/binding_of_caller/jruby_interpreted.rb".freeze, "lib/binding_of_caller/mri2.rb".freeze, "lib/binding_of_caller/rubinius.rb".freeze, "lib/binding_of_caller/version.rb".freeze, "test/test_binding_of_caller.rb".freeze]
17
+ s.homepage = "http://github.com/banister/binding_of_caller".freeze
18
+ s.rubygems_version = "2.6.13".freeze
19
+ s.summary = "Retrieve the binding of a method's caller. Can also retrieve bindings even further up the stack.".freeze
20
+ s.test_files = ["test/test_binding_of_caller.rb".freeze]
21
21
 
22
22
  if s.respond_to? :specification_version then
23
23
  s.specification_version = 4
24
24
 
25
25
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
- s.add_runtime_dependency(%q<debug_inspector>, [">= 0.0.1"])
27
- s.add_development_dependency(%q<bacon>, [">= 0"])
28
- s.add_development_dependency(%q<rake>, [">= 0"])
26
+ s.add_runtime_dependency(%q<debug_inspector>.freeze, [">= 0.0.1"])
27
+ s.add_development_dependency(%q<bacon>.freeze, [">= 0"])
28
+ s.add_development_dependency(%q<rake>.freeze, [">= 0"])
29
29
  else
30
- s.add_dependency(%q<debug_inspector>, [">= 0.0.1"])
31
- s.add_dependency(%q<bacon>, [">= 0"])
32
- s.add_dependency(%q<rake>, [">= 0"])
30
+ s.add_dependency(%q<debug_inspector>.freeze, [">= 0.0.1"])
31
+ s.add_dependency(%q<bacon>.freeze, [">= 0"])
32
+ s.add_dependency(%q<rake>.freeze, [">= 0"])
33
33
  end
34
34
  else
35
- s.add_dependency(%q<debug_inspector>, [">= 0.0.1"])
36
- s.add_dependency(%q<bacon>, [">= 0"])
37
- s.add_dependency(%q<rake>, [">= 0"])
35
+ s.add_dependency(%q<debug_inspector>.freeze, [">= 0.0.1"])
36
+ s.add_dependency(%q<bacon>.freeze, [">= 0"])
37
+ s.add_dependency(%q<rake>.freeze, [">= 0"])
38
38
  end
39
39
  end
@@ -1,11 +1,9 @@
1
1
  dlext = RbConfig::CONFIG['DLEXT']
2
2
 
3
- def mri_2?
4
- defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" &&
3
+ mri_2 = defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" &&
5
4
  RUBY_VERSION =~ /^2/
6
- end
7
5
 
8
- if mri_2?
6
+ if mri_2
9
7
  require 'binding_of_caller/mri2'
10
8
  elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby"
11
9
  require "binding_of_caller.#{dlext}"
@@ -1,35 +1,62 @@
1
- class org::jruby::runtime::ThreadContext
2
- java_import org.jruby.runtime.Binding
3
- java_import org.jruby.RubyBinding
4
- java_import org.jruby.RubyInstanceConfig::CompileMode
1
+ module BindingOfCaller
2
+ class JRubyBindingHolder
3
+ java_import org.jruby.RubyBinding
5
4
 
6
- field_accessor :frameStack, :frameIndex,
7
- :scopeStack, :scopeIndex,
8
- :backtrace, :backtraceIndex
5
+ def initialize(binding)
6
+ @binding = binding
7
+ end
9
8
 
10
- def binding_of_caller(index)
11
- unless JRuby.runtime.instance_config.compile_mode == CompileMode::OFF
12
- raise RuntimeError, "caller binding only supported in interpreter"
9
+ def eval(code, file = nil, line = nil)
10
+ b = JRuby.dereference(RubyBinding.new(JRuby.runtime, Binding, @binding))
11
+ if (file == nil)
12
+ Kernel.eval code, b
13
+ else
14
+ Kernel.eval code, b, file, line
15
+ end
13
16
  end
14
17
 
15
- index += 1 # always omit this frame
18
+ def frame_type
19
+ case
20
+ when block?
21
+ :block
22
+ when eval?
23
+ :eval
24
+ when top?
25
+ :top
26
+ else
27
+ :method
28
+ end
29
+ end
16
30
 
17
- raise RuntimeError, "Invalid frame, gone beyond end of stack!" if index > frameIndex
31
+ def frame_description
32
+ "#{block_desc}#{method_desc}"
33
+ end
18
34
 
19
- frame = frameStack[frameIndex - index]
35
+ private
20
36
 
21
- return binding_of_caller(index - 1) if index > scopeIndex
37
+ def block?
38
+ @binding.getDynamicScope().getStaticScope().isBlockScope()
39
+ end
22
40
 
23
- scope = scopeStack[scopeIndex - index]
24
- element = backtrace[backtraceIndex - index]
41
+ def eval?
42
+ @binding.getFrame().getKlazz().nil? && @binding.getLine() != 0
43
+ end
25
44
 
26
- binding = Binding.new(frame, scope.static_scope.module, scope, element.clone)
45
+ def top?
46
+ @binding.getFrame().getKlazz().nil? && @binding.getLine() == 0
47
+ end
27
48
 
28
- JRuby.dereference(RubyBinding.new(JRuby.runtime, Binding, binding))
49
+ def block_desc
50
+ if frame_type == :block
51
+ "block in "
52
+ end
53
+ end
54
+
55
+ def method_desc
56
+ @binding.getFrame().getName() || "<main>"
57
+ end
29
58
  end
30
- end
31
59
 
32
- module BindingOfCaller
33
60
  module BindingExtensions
34
61
  def of_caller(index = 1)
35
62
  index += 1 # always omit this frame
@@ -39,8 +66,8 @@ module BindingOfCaller
39
66
  def callers
40
67
  ary = []
41
68
  n = 2
42
- loop do
43
- ary << of_caller(n) rescue break
69
+ while binding = of_caller(n)
70
+ ary << binding
44
71
  n += 1
45
72
  end
46
73
  ary
@@ -49,16 +76,48 @@ module BindingOfCaller
49
76
  def frame_count
50
77
  callers.count - 1
51
78
  end
79
+
80
+ def frame_type
81
+ nil
82
+ end
83
+
84
+ def frame_description
85
+ nil
86
+ end
52
87
  end
53
88
  end
54
89
 
55
- class ::Binding
56
- include BindingOfCaller::BindingExtensions
57
- extend BindingOfCaller::BindingExtensions
58
- end
59
90
 
60
- class Java::OrgJrubyRuntime::Binding
61
- def eval(code)
62
- Kernel.eval code, self
91
+ class org::jruby::runtime::ThreadContext
92
+ java_import org.jruby.runtime.Binding
93
+ java_import org.jruby.RubyInstanceConfig::CompileMode
94
+
95
+ field_accessor :frameStack, :frameIndex,
96
+ :scopeStack, :scopeIndex,
97
+ :backtrace, :backtraceIndex
98
+
99
+ def binding_of_caller(index)
100
+ unless JRuby.runtime.instance_config.compile_mode == CompileMode::OFF
101
+ raise RuntimeError, "caller binding only supported in interpreter"
102
+ end
103
+
104
+ index += 1 # always omit this frame
105
+
106
+ return nil if index > frameIndex
107
+
108
+ frame = frameStack[frameIndex - index]
109
+
110
+ return binding_of_caller(index - 1) if index > scopeIndex
111
+
112
+ scope = scopeStack[scopeIndex - index]
113
+ element = backtrace[backtraceIndex - index]
114
+
115
+ binding = Binding.new(frame, scope.static_scope.module, scope, element.clone)
116
+
117
+ BindingOfCaller::JRubyBindingHolder.new(binding)
63
118
  end
64
119
  end
120
+
121
+ class ::Binding
122
+ include BindingOfCaller::BindingExtensions
123
+ end
@@ -1,3 +1,3 @@
1
1
  module BindingOfCaller
2
- VERSION = "0.7.3.pre1"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binding_of_caller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3.pre1
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mair (banisterfiend)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2017-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debug_inspector
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bacon
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Retrieve the binding of a method's caller. Can also retrieve bindings
@@ -60,10 +60,10 @@ extensions:
60
60
  - ext/binding_of_caller/extconf.rb
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - ".gemtest"
64
- - ".gitignore"
65
- - ".travis.yml"
66
- - ".yardopts"
63
+ - .gemtest
64
+ - .gitignore
65
+ - .travis.yml
66
+ - .yardopts
67
67
  - Gemfile
68
68
  - HISTORY
69
69
  - LICENSE
@@ -137,17 +137,17 @@ require_paths:
137
137
  - lib
138
138
  required_ruby_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - ">="
140
+ - - ! '>='
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  requirements:
145
- - - ">"
145
+ - - ! '>='
146
146
  - !ruby/object:Gem::Version
147
- version: 1.3.1
147
+ version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.2.2
150
+ rubygems_version: 2.6.13
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Retrieve the binding of a method's caller. Can also retrieve bindings even