object_identifier 0.9.0 → 0.10.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/LICENSE.txt +1 -1
- data/README.md +8 -2
- data/lib/core_ext/object.rb +2 -2
- data/lib/object_identifier/object_identifier.rb +0 -1
- data/lib/object_identifier/version.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: 38798b7f089d030451f58184525dead78487ef58d077950f5431902f6fa81ba9
|
4
|
+
data.tar.gz: 6fd7204e666fc5340dfeb303c86829b8595c5c7fc9fd4047c1abf9635444f8ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33eefb5c23a4f22cb0aaa9a05506068b4d6940e2f04054868dc5e7971f045893828c6372f2cd5b4dd4ff4d1fcc73200cc6cf9129d9adf9f3482ec9605a30e58a
|
7
|
+
data.tar.gz: 571cfbcef11143e7b052a2aa4a2e0497f3526481a068715cc3a427875751b1e9b90a0bde5cf989ca9ab2e2df026805d21a1237fbf893db63e86cae975d4ebf96
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -37,11 +37,17 @@ Or install it yourself as:
|
|
37
37
|
|
38
38
|
Tested MRI Ruby Versions:
|
39
39
|
|
40
|
-
- 3.1
|
41
40
|
- 3.2
|
42
41
|
- 3.3
|
42
|
+
- 3.4
|
43
43
|
|
44
|
-
|
44
|
+
For Ruby 2.7 support, install object_identifier gem version 0.7.0.
|
45
|
+
|
46
|
+
```ruby
|
47
|
+
gem "object_identifier", "0.7.0"
|
48
|
+
```
|
49
|
+
|
50
|
+
For Ruby 3.1 support, install object_identifier gem version 0.9.0.
|
45
51
|
|
46
52
|
```ruby
|
47
53
|
gem "object_identifier", "0.7.0"
|
data/lib/core_ext/object.rb
CHANGED
@@ -31,7 +31,7 @@ class Object
|
|
31
31
|
#
|
32
32
|
# (1..10).to_a.identify(:to_f, limit: 2)
|
33
33
|
# # => "Integer[to_f:1.0], Integer[to_f:2.0], ... (8 more)"
|
34
|
-
def identify(
|
35
|
-
ObjectIdentifier.(self,
|
34
|
+
def identify(...)
|
35
|
+
ObjectIdentifier.(self, ...)
|
36
36
|
end
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: object_identifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul DobbinSchmaltz
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-04 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: benchmark-ips
|
@@ -81,7 +80,6 @@ metadata:
|
|
81
80
|
source_code_uri: https://github.com/pdobb/object_identifier
|
82
81
|
homepage_uri: https://github.com/pdobb/object_identifier
|
83
82
|
rubygems_mfa_required: 'true'
|
84
|
-
post_install_message:
|
85
83
|
rdoc_options: []
|
86
84
|
require_paths:
|
87
85
|
- lib
|
@@ -89,15 +87,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
87
|
requirements:
|
90
88
|
- - ">="
|
91
89
|
- !ruby/object:Gem::Version
|
92
|
-
version: '3.
|
90
|
+
version: '3.2'
|
93
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
92
|
requirements:
|
95
93
|
- - ">="
|
96
94
|
- !ruby/object:Gem::Version
|
97
95
|
version: '0'
|
98
96
|
requirements: []
|
99
|
-
rubygems_version: 3.
|
100
|
-
signing_key:
|
97
|
+
rubygems_version: 3.6.2
|
101
98
|
specification_version: 4
|
102
99
|
summary: Object Identifier identifies an object by its class name and attributes.
|
103
100
|
test_files: []
|