binding_of_caller 1.0.1 → 2.0.0
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.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +6 -11
- data/README.md +2 -1
- data/binding_of_caller.gemspec +1 -1
- data/lib/binding_of_caller/version.rb +1 -1
- data/lib/binding_of_caller.rb +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24310cbd523ee653e0818a7aea48abb6f0cbda6fc9bbc0529dca4ce789990c0e
|
|
4
|
+
data.tar.gz: 9a77d1be0d6895d853a861452143e01e7f9039691c27752c860a20fd41dba7c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8c69c7236d5411546dcb1d5b41913175f857a188e5a63869e3f1d84da9db8bb8f3a7b6edd95f9f5c705c17f07da861d4adaacc60dde5e396aa274bf74907846
|
|
7
|
+
data.tar.gz: 581870525d6dc2c6031ead8feeb616c96995541c7c9bcf9dbc21b4f3bf99502f54edcb6f349b11451fbd497c3b840b75702b8f87092ef100fa851dd6284c63af
|
data/.github/workflows/test.yml
CHANGED
|
@@ -17,19 +17,13 @@ jobs:
|
|
|
17
17
|
fail-fast: false
|
|
18
18
|
matrix:
|
|
19
19
|
ruby:
|
|
20
|
-
- "2.1"
|
|
21
|
-
- "2.2"
|
|
22
|
-
- "2.3"
|
|
23
|
-
- "2.4"
|
|
24
|
-
- "2.5"
|
|
25
|
-
- "2.6"
|
|
26
20
|
- "2.7"
|
|
27
21
|
- "3.0"
|
|
28
22
|
- "3.1"
|
|
29
23
|
- "3.2"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
-
|
|
24
|
+
- "3.3"
|
|
25
|
+
- "3.4"
|
|
26
|
+
- "4.0"
|
|
33
27
|
|
|
34
28
|
steps:
|
|
35
29
|
|
|
@@ -55,8 +49,9 @@ jobs:
|
|
|
55
49
|
- ubuntu-latest
|
|
56
50
|
- windows-latest
|
|
57
51
|
ruby:
|
|
58
|
-
- "2"
|
|
59
|
-
- "3.
|
|
52
|
+
- "2" # Latest 2.x.x
|
|
53
|
+
- "3" # Latest 3.x.x
|
|
54
|
+
- "4" # Latest 4.x.x
|
|
60
55
|
- "jruby"
|
|
61
56
|
- "truffleruby"
|
|
62
57
|
exclude:
|
data/README.md
CHANGED
|
@@ -53,7 +53,8 @@ This project is a spinoff from the [Pry REPL project.](http://pry.github.com)
|
|
|
53
53
|
Features and limitations
|
|
54
54
|
-------------------------
|
|
55
55
|
|
|
56
|
-
* Works in MRI (>= 2.
|
|
56
|
+
* Works in MRI (>= 2.7.0) and RBX (Rubinius)
|
|
57
|
+
* For MRI < 2.7, use version "~> 1.0.0" of the gem
|
|
57
58
|
* For MRI 1.9.x, use version "~> 0.8" of the gem, which included support for MRI before 2.0.
|
|
58
59
|
* Does not work in 1.8.7, but there is a well known (continuation-based) hack to get a `Binding#of_caller` there.
|
|
59
60
|
* There is experimental support for jruby 1.7.x, but it only works in interpreted
|
data/binding_of_caller.gemspec
CHANGED
|
@@ -17,7 +17,7 @@ Recommended for use only in debugging situations. Do not use this in production
|
|
|
17
17
|
TXT
|
|
18
18
|
spec.homepage = "https://github.com/banister/binding_of_caller"
|
|
19
19
|
spec.license = "MIT"
|
|
20
|
-
spec.required_ruby_version =
|
|
20
|
+
spec.required_ruby_version = ">= 2.7.0"
|
|
21
21
|
|
|
22
22
|
spec.metadata = {
|
|
23
23
|
"changelog_uri" => "https://github.com/banister/binding_of_caller/releases",
|
data/lib/binding_of_caller.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require "binding_of_caller/version"
|
|
2
2
|
|
|
3
3
|
if defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby"
|
|
4
|
-
if RUBY_VERSION =~ /^[
|
|
4
|
+
if RUBY_VERSION =~ /^[234]/
|
|
5
5
|
require 'binding_of_caller/mri'
|
|
6
6
|
else
|
|
7
7
|
puts "This version of binding_of_caller doesn't support this version of Ruby"
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: binding_of_caller
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Mair (banisterfiend)
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: debug_inspector
|
|
@@ -56,7 +55,6 @@ licenses:
|
|
|
56
55
|
- MIT
|
|
57
56
|
metadata:
|
|
58
57
|
changelog_uri: https://github.com/banister/binding_of_caller/releases
|
|
59
|
-
post_install_message:
|
|
60
58
|
rdoc_options: []
|
|
61
59
|
require_paths:
|
|
62
60
|
- lib
|
|
@@ -64,15 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
64
62
|
requirements:
|
|
65
63
|
- - ">="
|
|
66
64
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 2.
|
|
65
|
+
version: 2.7.0
|
|
68
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
67
|
requirements:
|
|
70
68
|
- - ">="
|
|
71
69
|
- !ruby/object:Gem::Version
|
|
72
70
|
version: '0'
|
|
73
71
|
requirements: []
|
|
74
|
-
rubygems_version:
|
|
75
|
-
signing_key:
|
|
72
|
+
rubygems_version: 4.0.3
|
|
76
73
|
specification_version: 4
|
|
77
74
|
summary: Retrieve the binding of a method's caller, or further up the stack.
|
|
78
75
|
test_files: []
|