object_inspector 0.6.1 → 0.6.2
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +43 -57
- data/LICENSE.txt +1 -1
- data/README.md +8 -5
- data/lib/object_inspector/version.rb +1 -1
- data/object_inspector.gemspec +2 -2
- metadata +8 -9
- data/.travis.yml +0 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3f1b53680d632fb88f63e951032b3be151ac352501620742cc091aaaf15a244
|
|
4
|
+
data.tar.gz: 4a059bdf8a0f6033d52bd05c1bb24ad83d33f7dde4d0b8ccd7ae010630566506
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31eb8c71b23c092697db6b8f35b787581a472c13f6aded499602731546b2121fd07952650319e836af6368cf745f29f156ac2a31722a09a6d83cadb4c238e2d4
|
|
7
|
+
data.tar.gz: 6e605745d774bcca73bf93ccd6b818044bb10365832c2f3b2f182bb1884b4de145f0328d81d82ae78fdf65a4609053f51b242ba2790e6071ca083111f5becc7b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
### 0.6.2 - 2022-12-30
|
|
2
|
+
- Internal spruce-up for Ruby 3.2. No outward-facing changes.
|
|
3
|
+
- Remove travis-ci config since travis-ci is no longer in use.
|
|
4
|
+
|
|
1
5
|
### 0.6.1 - 2019-06-27
|
|
2
6
|
- Flatten and compact arrays of `nil`s as well as nested arrays of `nil`s in join_* methods.
|
|
3
7
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,79 +1,65 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
object_inspector (0.6.
|
|
4
|
+
object_inspector (0.6.2)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
9
|
ansi (1.5.0)
|
|
10
|
-
ast (2.4.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
byebug (11.0.1)
|
|
18
|
-
codeclimate-engine-rb (0.4.1)
|
|
19
|
-
virtus (~> 1.0)
|
|
20
|
-
coderay (1.1.2)
|
|
21
|
-
coercible (1.0.0)
|
|
22
|
-
descendants_tracker (~> 0.0.1)
|
|
23
|
-
descendants_tracker (0.0.4)
|
|
24
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
|
25
|
-
docile (1.3.2)
|
|
26
|
-
equalizer (0.0.11)
|
|
27
|
-
ice_nine (0.11.2)
|
|
28
|
-
jaro_winkler (1.5.3)
|
|
29
|
-
json (2.2.0)
|
|
10
|
+
ast (2.4.2)
|
|
11
|
+
benchmark-ips (2.10.0)
|
|
12
|
+
builder (3.2.4)
|
|
13
|
+
byebug (11.1.3)
|
|
14
|
+
coderay (1.1.3)
|
|
15
|
+
docile (1.4.0)
|
|
16
|
+
json (2.6.3)
|
|
30
17
|
kwalify (0.7.2)
|
|
31
|
-
method_source (0.
|
|
32
|
-
minitest (5.
|
|
33
|
-
minitest-reporters (1.
|
|
18
|
+
method_source (1.0.0)
|
|
19
|
+
minitest (5.16.3)
|
|
20
|
+
minitest-reporters (1.5.0)
|
|
34
21
|
ansi
|
|
35
22
|
builder
|
|
36
23
|
minitest (>= 5.0)
|
|
37
24
|
ruby-progressbar
|
|
38
|
-
object_identifier (0.
|
|
39
|
-
parallel (1.
|
|
40
|
-
parser (
|
|
41
|
-
ast (~> 2.4.
|
|
42
|
-
pry (0.
|
|
43
|
-
coderay (~> 1.1
|
|
44
|
-
method_source (~>
|
|
45
|
-
pry-byebug (3.
|
|
25
|
+
object_identifier (0.4.1)
|
|
26
|
+
parallel (1.22.1)
|
|
27
|
+
parser (3.1.3.0)
|
|
28
|
+
ast (~> 2.4.1)
|
|
29
|
+
pry (0.14.1)
|
|
30
|
+
coderay (~> 1.1)
|
|
31
|
+
method_source (~> 1.0)
|
|
32
|
+
pry-byebug (3.10.1)
|
|
46
33
|
byebug (~> 11.0)
|
|
47
|
-
pry (
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
reek (5.4.0)
|
|
52
|
-
codeclimate-engine-rb (~> 0.4.0)
|
|
34
|
+
pry (>= 0.13, < 0.15)
|
|
35
|
+
rainbow (3.1.1)
|
|
36
|
+
rake (13.0.6)
|
|
37
|
+
reek (6.1.3)
|
|
53
38
|
kwalify (~> 0.7.0)
|
|
54
|
-
parser (
|
|
55
|
-
psych (~> 3.1.0)
|
|
39
|
+
parser (~> 3.1.0)
|
|
56
40
|
rainbow (>= 2.0, < 4.0)
|
|
57
|
-
|
|
58
|
-
|
|
41
|
+
regexp_parser (2.6.1)
|
|
42
|
+
rexml (3.2.5)
|
|
43
|
+
rubocop (1.41.1)
|
|
44
|
+
json (~> 2.3)
|
|
59
45
|
parallel (~> 1.10)
|
|
60
|
-
parser (>= 2.
|
|
46
|
+
parser (>= 3.1.2.1)
|
|
61
47
|
rainbow (>= 2.2.2, < 4.0)
|
|
48
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
49
|
+
rexml (>= 3.2.5, < 4.0)
|
|
50
|
+
rubocop-ast (>= 1.23.0, < 2.0)
|
|
62
51
|
ruby-progressbar (~> 1.7)
|
|
63
|
-
unicode-display_width (>= 1.4.0, <
|
|
64
|
-
|
|
65
|
-
|
|
52
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
53
|
+
rubocop-ast (1.24.1)
|
|
54
|
+
parser (>= 3.1.1.0)
|
|
55
|
+
ruby-progressbar (1.11.0)
|
|
56
|
+
simplecov (0.22.0)
|
|
66
57
|
docile (~> 1.1)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
simplecov-html (0.
|
|
70
|
-
|
|
71
|
-
unicode-display_width (
|
|
72
|
-
virtus (1.0.5)
|
|
73
|
-
axiom-types (~> 0.1)
|
|
74
|
-
coercible (~> 1.0)
|
|
75
|
-
descendants_tracker (~> 0.0, >= 0.0.3)
|
|
76
|
-
equalizer (~> 0.0, >= 0.0.9)
|
|
58
|
+
simplecov-html (~> 0.11)
|
|
59
|
+
simplecov_json_formatter (~> 0.1)
|
|
60
|
+
simplecov-html (0.12.3)
|
|
61
|
+
simplecov_json_formatter (0.1.4)
|
|
62
|
+
unicode-display_width (2.3.0)
|
|
77
63
|
|
|
78
64
|
PLATFORMS
|
|
79
65
|
ruby
|
|
@@ -94,4 +80,4 @@ DEPENDENCIES
|
|
|
94
80
|
simplecov
|
|
95
81
|
|
|
96
82
|
BUNDLED WITH
|
|
97
|
-
2.
|
|
83
|
+
2.4.1
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
# ObjectInspector
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/object_inspector)
|
|
4
|
-
[](https://travis-ci.org/pdobb/object_inspector)
|
|
5
4
|
[](https://codeclimate.com/github/pdobb/object_inspector/test_coverage)
|
|
6
5
|
[](https://codeclimate.com/github/pdobb/object_inspector/maintainability)
|
|
7
6
|
|
|
8
|
-
ObjectInspector takes Object#inspect to the next level. Specify any combination of identification attributes, flags, issues, info, and/or a name along with an optional, self-definable scope option to
|
|
7
|
+
ObjectInspector takes Object#inspect to the next level. Specify any combination of identification attributes, flags, issues, info, and/or a name along with an optional, self-definable scope option to represent objects. Great for the console, logging, etc.
|
|
9
8
|
|
|
10
|
-
Because object inspection code should be uniform, easy to build, and its output should be easy to read!
|
|
9
|
+
Why? Because object inspection code should be uniform, easy to build, and its output should be easy to read!
|
|
11
10
|
|
|
12
11
|
If you'd like to just jump into an example: [Full Example](#full-example).
|
|
13
12
|
|
|
@@ -36,7 +35,9 @@ Tested MRI Ruby Versions:
|
|
|
36
35
|
* 2.4
|
|
37
36
|
* 2.5
|
|
38
37
|
* 2.6
|
|
39
|
-
*
|
|
38
|
+
* 2.7
|
|
39
|
+
* 3.1
|
|
40
|
+
* 3.2
|
|
40
41
|
|
|
41
42
|
ObjectInspector has no other dependencies.
|
|
42
43
|
|
|
@@ -602,7 +603,9 @@ play scripts/benchmarking/formatters.rb
|
|
|
602
603
|
|
|
603
604
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
604
605
|
|
|
605
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
|
606
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
|
607
|
+
|
|
608
|
+
To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
606
609
|
|
|
607
610
|
|
|
608
611
|
## Contributing
|
data/object_inspector.gemspec
CHANGED
|
@@ -7,8 +7,8 @@ require "object_inspector/version"
|
|
|
7
7
|
Gem::Specification.new do |spec|
|
|
8
8
|
spec.name = "object_inspector"
|
|
9
9
|
spec.version = ObjectInspector::VERSION
|
|
10
|
-
spec.authors = ["Paul
|
|
11
|
-
spec.email = ["
|
|
10
|
+
spec.authors = ["Paul DobbinSchmaltz"]
|
|
11
|
+
spec.email = ["p.dobbinschmaltz@icloud.com"]
|
|
12
12
|
|
|
13
13
|
spec.summary = "ObjectInspector builds uniformly formatted inspect output with customizable amounts of detail."
|
|
14
14
|
spec.description = "ObjectInspector takes Object#inspect to the next level. Specify any combination of identification attributes, flags, issues, info, and/or a name along with an optional, self-definable scope option to represents objects. Great for the console, logging, etc."
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: object_inspector
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Paul
|
|
8
|
-
autorequire:
|
|
7
|
+
- Paul DobbinSchmaltz
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-12-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: benchmark-ips
|
|
@@ -183,7 +183,7 @@ description: ObjectInspector takes Object#inspect to the next level. Specify any
|
|
|
183
183
|
self-definable scope option to represents objects. Great for the console, logging,
|
|
184
184
|
etc.
|
|
185
185
|
email:
|
|
186
|
-
-
|
|
186
|
+
- p.dobbinschmaltz@icloud.com
|
|
187
187
|
executables: []
|
|
188
188
|
extensions: []
|
|
189
189
|
extra_rdoc_files: []
|
|
@@ -191,7 +191,6 @@ files:
|
|
|
191
191
|
- ".gitignore"
|
|
192
192
|
- ".rubocop"
|
|
193
193
|
- ".rubocop.yml"
|
|
194
|
-
- ".travis.yml"
|
|
195
194
|
- CHANGELOG.md
|
|
196
195
|
- Gemfile
|
|
197
196
|
- Gemfile.lock
|
|
@@ -217,7 +216,7 @@ homepage: https://github.com/pdobb/object_inspector
|
|
|
217
216
|
licenses:
|
|
218
217
|
- MIT
|
|
219
218
|
metadata: {}
|
|
220
|
-
post_install_message:
|
|
219
|
+
post_install_message:
|
|
221
220
|
rdoc_options: []
|
|
222
221
|
require_paths:
|
|
223
222
|
- lib
|
|
@@ -232,8 +231,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
232
231
|
- !ruby/object:Gem::Version
|
|
233
232
|
version: '0'
|
|
234
233
|
requirements: []
|
|
235
|
-
rubygems_version: 3.
|
|
236
|
-
signing_key:
|
|
234
|
+
rubygems_version: 3.3.3
|
|
235
|
+
signing_key:
|
|
237
236
|
specification_version: 4
|
|
238
237
|
summary: ObjectInspector builds uniformly formatted inspect output with customizable
|
|
239
238
|
amounts of detail.
|
data/.travis.yml
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
env:
|
|
2
|
-
global:
|
|
3
|
-
- CC_TEST_REPORTER_ID=7711465d4611bd7f1211f3262ac4ba750ffcda0574c3c6e4a6ba55446871dd17
|
|
4
|
-
sudo: false
|
|
5
|
-
language: ruby
|
|
6
|
-
rvm:
|
|
7
|
-
- 2.3
|
|
8
|
-
- 2.4
|
|
9
|
-
- 2.5
|
|
10
|
-
- 2.6
|
|
11
|
-
- ruby-head
|
|
12
|
-
notifications:
|
|
13
|
-
email: false
|
|
14
|
-
before_install: gem install bundler -v 1.16.1
|
|
15
|
-
cache: bundler
|
|
16
|
-
before_script:
|
|
17
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
18
|
-
- chmod +x ./cc-test-reporter
|
|
19
|
-
- ./cc-test-reporter before-build
|
|
20
|
-
after_script:
|
|
21
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|