object_inspector 0.6.3 → 0.7.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 +41 -35
- data/lib/object_inspector/inspector.rb +2 -2
- data/lib/object_inspector/scope.rb +11 -11
- data/lib/object_inspector/version.rb +1 -1
- metadata +5 -131
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 391dabb8dbbee7bad63ca6a701193227c2829affa135db1b58035153ced6d079
|
|
4
|
+
data.tar.gz: 9ce283422270b1dee3a517dfb39cb52438504867924061277732e16ac58347ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 662abef818a3761fafcddbac8dfb7c1219afb3d4b49d9eff61fe9b843c5e45b9af9b3714ce75f62164157dbd9d01a6ff9ffa35a774fa88f1f029929bf8e27e0f
|
|
7
|
+
data.tar.gz: 8d8048b05386af2d81bea333827e9efadfba6b4de9bf62375e164ca46455773c962b798162e11671594048848c4904deb4ec0304cbcec2dba0ee1705aeec77b2
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Object Inspector
|
|
2
2
|
|
|
3
|
-
[](https://img.shields.io/github/v/release/pdobb/object_inspector)
|
|
4
|
+
[](https://github.com/pdobb/object_inspector/actions)
|
|
4
5
|
[](https://codeclimate.com/github/pdobb/object_inspector/maintainability)
|
|
5
6
|
|
|
6
7
|
Object Inspector 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,7 +10,6 @@ Why? Because object inspection code should be uniform, easy to build, and its ou
|
|
|
9
10
|
|
|
10
11
|
If you'd like to just jump into an example: [Full Example](#full-example).
|
|
11
12
|
|
|
12
|
-
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
15
|
Add this line to your application's Gemfile:
|
|
@@ -26,17 +26,15 @@ Or install it yourself:
|
|
|
26
26
|
|
|
27
27
|
$ gem install object_inspector
|
|
28
28
|
|
|
29
|
-
|
|
30
29
|
## Compatibility
|
|
31
30
|
|
|
32
31
|
Tested MRI Ruby Versions:
|
|
33
|
-
* 2.7
|
|
34
|
-
* 3.0
|
|
35
|
-
* 3.1
|
|
36
|
-
* 3.2
|
|
37
32
|
|
|
38
|
-
|
|
33
|
+
- 3.1
|
|
34
|
+
- 3.2
|
|
35
|
+
- 3.3
|
|
39
36
|
|
|
37
|
+
Object Inspector has no other dependencies.
|
|
40
38
|
|
|
41
39
|
## Configuration
|
|
42
40
|
|
|
@@ -60,7 +58,6 @@ ObjectInspector.configure do |config|
|
|
|
60
58
|
end
|
|
61
59
|
```
|
|
62
60
|
|
|
63
|
-
|
|
64
61
|
## Usage
|
|
65
62
|
|
|
66
63
|
Given, an object of any type, call ObjectInspector::Inspector.inspect.
|
|
@@ -77,7 +74,6 @@ MyObject.new.inspect # => "<MyObject>"
|
|
|
77
74
|
|
|
78
75
|
See also [Helper Usage](#helper-usage) for an even simpler usage option.
|
|
79
76
|
|
|
80
|
-
|
|
81
77
|
### Output Customization
|
|
82
78
|
|
|
83
79
|
Use the `identification`, `flags`, `info`, and/or `name` options to customize inspect output.
|
|
@@ -118,7 +114,6 @@ MyObject.new.inspect
|
|
|
118
114
|
# => "<My Object(FLAG1 / FLAG2) !!ISSUE1 | ISSUE2!! INFO :: NAME>"
|
|
119
115
|
```
|
|
120
116
|
|
|
121
|
-
|
|
122
117
|
## Helper Usage
|
|
123
118
|
|
|
124
119
|
To save some typing, include ObjectInspector::InspectHelper into an object and ObjectInspector::Inspector.inspect will be called on `self` automatically.
|
|
@@ -169,13 +164,11 @@ MyObject.new.inspect
|
|
|
169
164
|
# => "<My Object(FLAG1) !!ISSUE1 | ISSUE2!! INFO :: NAME>"
|
|
170
165
|
```
|
|
171
166
|
|
|
172
|
-
|
|
173
167
|
## Scopes
|
|
174
168
|
|
|
175
169
|
Use the `scope` option to define the scope of the `inspect_*` methods. The supplied value will be wrapped by the ObjectInspector::Scope helper object.
|
|
176
170
|
The default value is `ObjectInspector::Scope.new(:self)`.
|
|
177
171
|
|
|
178
|
-
|
|
179
172
|
### Scope Names
|
|
180
173
|
|
|
181
174
|
ObjectInspector::Scope acts like [ActiveSupport::StringInquirer](http://api.rubyonrails.org/classes/ActiveSupport/StringInquirer.html). This is a prettier way to test for a given type of "scope" within objects.
|
|
@@ -186,8 +179,8 @@ The ObjectInspector::Scope objects in these examples are the same as specifying
|
|
|
186
179
|
my_object.inspect(scope: <scope_name>)
|
|
187
180
|
```
|
|
188
181
|
|
|
189
|
-
|
|
190
182
|
Options:
|
|
183
|
+
|
|
191
184
|
- `:self` (Default) -- Is meant to confine object interrogation to self (don't interrogate neighboring objects).
|
|
192
185
|
- `:all` -- Is meant to match on all scopes, regardless of their name.
|
|
193
186
|
- `<custom>` -- Anything else that makes sense for the object to key on.
|
|
@@ -199,7 +192,6 @@ scope.verbose? # => false
|
|
|
199
192
|
scope.complex? # => false
|
|
200
193
|
```
|
|
201
194
|
|
|
202
|
-
|
|
203
195
|
#### Multiple Scope Names
|
|
204
196
|
|
|
205
197
|
It is also possible to pass in multiple scope names to match on.
|
|
@@ -211,7 +203,6 @@ scope.verbose? # => true
|
|
|
211
203
|
scope.complex? # => true
|
|
212
204
|
```
|
|
213
205
|
|
|
214
|
-
|
|
215
206
|
#### The "Wild Card" Scope
|
|
216
207
|
|
|
217
208
|
Finally, `:all` is a "wild card" scope name, and will match on all scope names.
|
|
@@ -223,7 +214,6 @@ scope.verbose? # => true
|
|
|
223
214
|
scope.complex? # => true
|
|
224
215
|
```
|
|
225
216
|
|
|
226
|
-
|
|
227
217
|
### Scope blocks
|
|
228
218
|
|
|
229
219
|
Passing a block to a scope predicate falls back to the out-of-scope placeholder (`*` by default) if the scope does not match.
|
|
@@ -234,7 +224,6 @@ scope.verbose? { "MATCH" } # => "MATCH"
|
|
|
234
224
|
scope.complex? { "MATCH" } # => "*"
|
|
235
225
|
```
|
|
236
226
|
|
|
237
|
-
|
|
238
227
|
### Scope Joiners
|
|
239
228
|
|
|
240
229
|
ObjectInspector::Scope also offers helper methods for uniformly joining inspect elements:
|
|
@@ -252,7 +241,6 @@ scope.join_info([1, 2, 3]) # => "1 | 2 | 3"
|
|
|
252
241
|
scope.join_info([1, 2, 3, nil]) # => "1 | 2 | 3"
|
|
253
242
|
```
|
|
254
243
|
|
|
255
|
-
|
|
256
244
|
## Full Example
|
|
257
245
|
|
|
258
246
|
```ruby
|
|
@@ -343,7 +331,6 @@ my_object.inspect
|
|
|
343
331
|
# => "<MyObject[a2:2](DEFAULT_FLAG / AO1_FLAG1 / AO2_FLAG1) !!!!WARNING!!!! Default Info | Complex Info | Verbose Info :: Name>"
|
|
344
332
|
```
|
|
345
333
|
|
|
346
|
-
|
|
347
334
|
## Wrapped Objects
|
|
348
335
|
|
|
349
336
|
If the Object being inspected wraps another object -- i.e. defines #to_model and #to_model returns an object other than self -- the inspect output will re-inspect the wrapped object. The wrapper points to the wrapped object with an arrow (⇨).
|
|
@@ -376,7 +363,6 @@ MyWrapperObject.new.inspect
|
|
|
376
363
|
|
|
377
364
|
This feature is recursive.
|
|
378
365
|
|
|
379
|
-
|
|
380
366
|
### Wrapped Delegators
|
|
381
367
|
|
|
382
368
|
If the Object being inspected is wrapped by an object that delegates all unknown methods to the wrapped object, then inspect flags will be doubled up. To get around this, redefine the `inspect` method in the Wrapper object e.g. like:
|
|
@@ -432,7 +418,6 @@ MyDelegatingWrapperObject.new(MyWrappedObject.new).inspect
|
|
|
432
418
|
# => "<MyDelegatingWrapperObject> ⇨ <MyWrappedObject(FLAG1) !!ISSUE1!! INFO :: NAME>"
|
|
433
419
|
```
|
|
434
420
|
|
|
435
|
-
|
|
436
421
|
## On-the-fly Inspect Methods
|
|
437
422
|
|
|
438
423
|
When passed as an option (as opposed to being called via an Object-defined method) symbols will be called/evaluated on Object on the fly.
|
|
@@ -474,7 +459,6 @@ MyObject.new.inspect(identification: nil, info: nil, flags: nil, issues: nil)
|
|
|
474
459
|
# => "<MyObject>"
|
|
475
460
|
```
|
|
476
461
|
|
|
477
|
-
|
|
478
462
|
## Custom Formatters
|
|
479
463
|
|
|
480
464
|
A custom inspect formatter can be defined by implementing the interface defined by [ObjectInspector::BaseFormatter](https://github.com/pdobb/object_inspector/blob/master/lib/object_inspector/formatters/base_formatter.rb). Then, either override the ObjectInspector::Configuration#formatter_class value (see [Configuration](#configuration)) or just pass your custom class name into ObjectInspector::Inspector.new.
|
|
@@ -503,10 +487,10 @@ MyObject.new.inspect
|
|
|
503
487
|
```
|
|
504
488
|
|
|
505
489
|
See examples:
|
|
490
|
+
|
|
506
491
|
- [ObjectInspector::TemplatingFormatter]
|
|
507
492
|
- [ObjectInspector::CombiningFormatter]
|
|
508
493
|
|
|
509
|
-
|
|
510
494
|
## Supporting Gems
|
|
511
495
|
|
|
512
496
|
Object Inspector works great with the [Object Identifier](https://github.com/pdobb/object_identifier) gem.
|
|
@@ -539,31 +523,29 @@ MyObject.new.inspect
|
|
|
539
523
|
# => "<MyObject[my_method1:1, my_method2:2](FLAG1 / FLAG2) !!ISSUE1 | ISSUE2!! INFO :: NAME>"
|
|
540
524
|
```
|
|
541
525
|
|
|
542
|
-
|
|
543
526
|
## Performance
|
|
544
527
|
|
|
545
528
|
### Benchmarking Object Inspector
|
|
546
529
|
|
|
547
530
|
ObjectInspetor is ~4x slower than Ruby's default inspect.
|
|
548
531
|
|
|
549
|
-
Performance of Object Inspector can be tested by playing the [Object Inspector Benchmarking Script](https://github.com/pdobb/object_inspector/blob/master/script/benchmarking/object_inspector.rb) in the
|
|
532
|
+
Performance of Object Inspector can be tested by playing the [Object Inspector Benchmarking Script](https://github.com/pdobb/object_inspector/blob/master/script/benchmarking/object_inspector.rb) in the IRB console for this gem.
|
|
550
533
|
|
|
551
534
|
```ruby
|
|
552
|
-
|
|
535
|
+
load "script/benchmarking/object_inspector.rb"
|
|
553
536
|
# Comparison:
|
|
554
537
|
# Ruby: 30382.2 i/s
|
|
555
538
|
# ObjectInspector::Inspector: 7712.2 i/s - 3.94x slower
|
|
556
539
|
```
|
|
557
540
|
|
|
558
|
-
|
|
559
541
|
### Benchmarking Formatters
|
|
560
542
|
|
|
561
543
|
[ObjectInspector::TemplatingFormatter] -- which is the default Formatter -- outperforms [ObjectInspector::CombiningFormatter] by about 30% on average.
|
|
562
544
|
|
|
563
|
-
Performance of Formatters can be tested by playing the [Formatters Benchmarking Scripts](https://github.com/pdobb/object_inspector/blob/master/script/benchmarking/formatters.rb) in the
|
|
545
|
+
Performance of Formatters can be tested by playing the [Formatters Benchmarking Scripts](https://github.com/pdobb/object_inspector/blob/master/script/benchmarking/formatters.rb) in the IRB console for this gem.
|
|
564
546
|
|
|
565
547
|
```ruby
|
|
566
|
-
|
|
548
|
+
load "script/benchmarking/formatters.rb"
|
|
567
549
|
# == Averaged =============================================================
|
|
568
550
|
# ...
|
|
569
551
|
#
|
|
@@ -574,7 +556,6 @@ play script/benchmarking/formatters.rb
|
|
|
574
556
|
# == Done
|
|
575
557
|
```
|
|
576
558
|
|
|
577
|
-
|
|
578
559
|
#### Benchmarking Custom Formatters
|
|
579
560
|
|
|
580
561
|
Custom Formatters may be similarly gauged for comparison by adding them to the `custom_formatter_klasses` array before playing the script.
|
|
@@ -594,18 +575,45 @@ play script/benchmarking/formatters.rb
|
|
|
594
575
|
# == Done
|
|
595
576
|
```
|
|
596
577
|
|
|
597
|
-
|
|
598
578
|
## Development
|
|
599
579
|
|
|
600
580
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. Or, run `rake` to run the tests plus linters as well as `yard` (to confirm proper YARD documentation practices). You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
601
581
|
|
|
602
582
|
To install this gem onto your local machine, run `bundle exec rake install`.
|
|
603
583
|
|
|
604
|
-
|
|
584
|
+
### Testing
|
|
585
|
+
|
|
586
|
+
To test this gem (gemwork):
|
|
587
|
+
|
|
588
|
+
```bash
|
|
589
|
+
rake
|
|
590
|
+
```
|
|
591
|
+
|
|
592
|
+
#### Linters
|
|
593
|
+
|
|
594
|
+
```bash
|
|
595
|
+
rubocop
|
|
596
|
+
|
|
597
|
+
reek
|
|
598
|
+
|
|
599
|
+
npx prettier . --check
|
|
600
|
+
npx prettier . --write
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
### Releases
|
|
604
|
+
|
|
605
|
+
To release a new version of object_inspector to RubyGems:
|
|
606
|
+
|
|
607
|
+
1. Update the version number in `version.rb`
|
|
608
|
+
2. Update `CHANGELOG.md`
|
|
609
|
+
3. Run `bundle` to update Gemfile.lock with the latest version info
|
|
610
|
+
4. Commit the changes. e.g. `Bump to vX.Y.Z`
|
|
611
|
+
5. Run `rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
605
612
|
|
|
606
613
|
### Documentation
|
|
607
614
|
|
|
608
615
|
[YARD documentation](https://yardoc.org/index.html) can be generated and viewed live:
|
|
616
|
+
|
|
609
617
|
1. Install YARD: `gem install yard`
|
|
610
618
|
2. Run the YARD server: `yard server --reload`
|
|
611
619
|
3. Open the live documentation site: `open http://localhost:8808`
|
|
@@ -616,12 +624,10 @@ While the YARD server is running, documentation in the live site will be auto-up
|
|
|
616
624
|
|
|
617
625
|
Bug reports and pull requests are welcome on GitHub at https://github.com/pdobb/object_inspector.
|
|
618
626
|
|
|
619
|
-
|
|
620
627
|
## License
|
|
621
628
|
|
|
622
629
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
623
630
|
|
|
624
|
-
|
|
625
631
|
[ObjectInspector::TemplatingFormatter]: https://github.com/pdobb/object_inspector/blob/master/lib/object_inspector/formatters/templating_formatter.rb
|
|
626
632
|
[ObjectInspector::CombiningFormatter]: https://github.com/pdobb/object_inspector/blob/master/lib/object_inspector/formatters/combining_formatter.rb
|
|
627
633
|
[Object Inspector Benchmarking Scripts]: https://github.com/pdobb/object_inspector/blob/master/script/benchmarking/object_inspector.rb
|
|
@@ -104,8 +104,8 @@ class ObjectInspector::Inspector
|
|
|
104
104
|
value(key: key)
|
|
105
105
|
else
|
|
106
106
|
interrogate_object_inspect_method(key) ||
|
|
107
|
-
interrogate_object(
|
|
108
|
-
|
|
107
|
+
interrogate_object(
|
|
108
|
+
method_name: :display_name, kwargs: object_method_keyword_arguments)
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
@@ -28,8 +28,8 @@ class ObjectInspector::Scope
|
|
|
28
28
|
#
|
|
29
29
|
# @param parts [Array<#to_s>]
|
|
30
30
|
# @param separator [#to_s] (ObjectInspector.configuration.flags_separator)
|
|
31
|
-
def join_name(
|
|
32
|
-
|
|
31
|
+
def join_name(
|
|
32
|
+
parts, separator: ObjectInspector.configuration.name_separator)
|
|
33
33
|
_join(parts, separator)
|
|
34
34
|
end
|
|
35
35
|
|
|
@@ -37,8 +37,8 @@ class ObjectInspector::Scope
|
|
|
37
37
|
#
|
|
38
38
|
# @param flags [Array<#to_s>]
|
|
39
39
|
# @param separator [#to_s] (ObjectInspector.configuration.flags_separator)
|
|
40
|
-
def join_flags(
|
|
41
|
-
|
|
40
|
+
def join_flags(
|
|
41
|
+
flags, separator: ObjectInspector.configuration.flags_separator)
|
|
42
42
|
_join(flags, separator)
|
|
43
43
|
end
|
|
44
44
|
|
|
@@ -46,8 +46,8 @@ class ObjectInspector::Scope
|
|
|
46
46
|
#
|
|
47
47
|
# @param issues [Array<#to_s>]
|
|
48
48
|
# @param separator [#to_s] (ObjectInspector.configuration.issues_separator)
|
|
49
|
-
def join_issues(
|
|
50
|
-
|
|
49
|
+
def join_issues(
|
|
50
|
+
issues, separator: ObjectInspector.configuration.issues_separator)
|
|
51
51
|
_join(issues, separator)
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -55,8 +55,8 @@ class ObjectInspector::Scope
|
|
|
55
55
|
#
|
|
56
56
|
# @param items [Array<#to_s>]
|
|
57
57
|
# @param separator [#to_s] (ObjectInspector.configuration.info_separator)
|
|
58
|
-
def join_info(
|
|
59
|
-
|
|
58
|
+
def join_info(
|
|
59
|
+
items, separator: ObjectInspector.configuration.info_separator)
|
|
60
60
|
_join(items, separator)
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -66,7 +66,7 @@ class ObjectInspector::Scope
|
|
|
66
66
|
# @return [FalseClass] if self and `other` resolve to a different set of
|
|
67
67
|
# objects
|
|
68
68
|
def ==(other)
|
|
69
|
-
@names.sort == Array(other).map(&:to_s).sort
|
|
69
|
+
@names.sort == Array(other).map(&:to_s).sort!
|
|
70
70
|
end
|
|
71
71
|
alias_method :eql?, :==
|
|
72
72
|
|
|
@@ -82,10 +82,10 @@ class ObjectInspector::Scope
|
|
|
82
82
|
|
|
83
83
|
private
|
|
84
84
|
|
|
85
|
-
def method_missing(method_name, *args, &
|
|
85
|
+
def method_missing(method_name, *args, &)
|
|
86
86
|
if method_name[-1] == "?"
|
|
87
87
|
scope_name = method_name[0..-2]
|
|
88
|
-
evaluate_match(scope_name, &
|
|
88
|
+
evaluate_match(scope_name, &)
|
|
89
89
|
else
|
|
90
90
|
super
|
|
91
91
|
end
|
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.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul DobbinSchmaltz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: benchmark-ips
|
|
@@ -25,49 +25,7 @@ dependencies:
|
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - ">="
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - ">="
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: byebug
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - ">="
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0'
|
|
48
|
-
type: :development
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - ">="
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: minitest
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - ">="
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
62
|
-
type: :development
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - ">="
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: minitest-reporters
|
|
28
|
+
name: gemwork
|
|
71
29
|
requirement: !ruby/object:Gem::Requirement
|
|
72
30
|
requirements:
|
|
73
31
|
- - ">="
|
|
@@ -94,48 +52,6 @@ dependencies:
|
|
|
94
52
|
- - ">="
|
|
95
53
|
- !ruby/object:Gem::Version
|
|
96
54
|
version: '0'
|
|
97
|
-
- !ruby/object:Gem::Dependency
|
|
98
|
-
name: pdobb-style
|
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - ">="
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: '0'
|
|
104
|
-
type: :development
|
|
105
|
-
prerelease: false
|
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
-
requirements:
|
|
108
|
-
- - ">="
|
|
109
|
-
- !ruby/object:Gem::Version
|
|
110
|
-
version: '0'
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: pry
|
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
|
114
|
-
requirements:
|
|
115
|
-
- - ">="
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: '0'
|
|
118
|
-
type: :development
|
|
119
|
-
prerelease: false
|
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
requirements:
|
|
122
|
-
- - ">="
|
|
123
|
-
- !ruby/object:Gem::Version
|
|
124
|
-
version: '0'
|
|
125
|
-
- !ruby/object:Gem::Dependency
|
|
126
|
-
name: pry-byebug
|
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
|
128
|
-
requirements:
|
|
129
|
-
- - ">="
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
version: '0'
|
|
132
|
-
type: :development
|
|
133
|
-
prerelease: false
|
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
-
requirements:
|
|
136
|
-
- - ">="
|
|
137
|
-
- !ruby/object:Gem::Version
|
|
138
|
-
version: '0'
|
|
139
55
|
- !ruby/object:Gem::Dependency
|
|
140
56
|
name: rake
|
|
141
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -150,48 +66,6 @@ dependencies:
|
|
|
150
66
|
- - ">="
|
|
151
67
|
- !ruby/object:Gem::Version
|
|
152
68
|
version: '0'
|
|
153
|
-
- !ruby/object:Gem::Dependency
|
|
154
|
-
name: reek
|
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
|
156
|
-
requirements:
|
|
157
|
-
- - ">="
|
|
158
|
-
- !ruby/object:Gem::Version
|
|
159
|
-
version: '0'
|
|
160
|
-
type: :development
|
|
161
|
-
prerelease: false
|
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
-
requirements:
|
|
164
|
-
- - ">="
|
|
165
|
-
- !ruby/object:Gem::Version
|
|
166
|
-
version: '0'
|
|
167
|
-
- !ruby/object:Gem::Dependency
|
|
168
|
-
name: simplecov
|
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
|
170
|
-
requirements:
|
|
171
|
-
- - ">="
|
|
172
|
-
- !ruby/object:Gem::Version
|
|
173
|
-
version: '0'
|
|
174
|
-
type: :development
|
|
175
|
-
prerelease: false
|
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
177
|
-
requirements:
|
|
178
|
-
- - ">="
|
|
179
|
-
- !ruby/object:Gem::Version
|
|
180
|
-
version: '0'
|
|
181
|
-
- !ruby/object:Gem::Dependency
|
|
182
|
-
name: yard
|
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
|
184
|
-
requirements:
|
|
185
|
-
- - ">="
|
|
186
|
-
- !ruby/object:Gem::Version
|
|
187
|
-
version: '0'
|
|
188
|
-
type: :development
|
|
189
|
-
prerelease: false
|
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
191
|
-
requirements:
|
|
192
|
-
- - ">="
|
|
193
|
-
- !ruby/object:Gem::Version
|
|
194
|
-
version: '0'
|
|
195
69
|
description: Object Inspector takes Object#inspect to the next level. Specify any
|
|
196
70
|
combination of identification attributes, flags, issues, info, and/or a name along
|
|
197
71
|
with an optional, self-definable scope option to represents objects. Great for the
|
|
@@ -231,14 +105,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
231
105
|
requirements:
|
|
232
106
|
- - ">="
|
|
233
107
|
- !ruby/object:Gem::Version
|
|
234
|
-
version: '
|
|
108
|
+
version: '3.1'
|
|
235
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
110
|
requirements:
|
|
237
111
|
- - ">="
|
|
238
112
|
- !ruby/object:Gem::Version
|
|
239
113
|
version: '0'
|
|
240
114
|
requirements: []
|
|
241
|
-
rubygems_version: 3.
|
|
115
|
+
rubygems_version: 3.3.27
|
|
242
116
|
signing_key:
|
|
243
117
|
specification_version: 4
|
|
244
118
|
summary: Object Inspector builds uniformly formatted inspect output with customizable
|