object_inspector 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0239fa0f437f4adba26fc4e851432bd52a2281e111e18adadb08193e0e8211eb'
4
- data.tar.gz: 2c3b6c55c0abe681c0714909df5c78763389fbc3ea635a704a2643adc14b9701
3
+ metadata.gz: 0ce8aec7e092dd069c72397d26c799c103b45af8c784e92355dc8f3f267f8f2b
4
+ data.tar.gz: a81699623cc8cb8bc532df00b7b9cf6b1d60d6f3620d9a2887bedf217be19ee7
5
5
  SHA512:
6
- metadata.gz: 3f57d2cf29f436f587a30dc29cca58db4ca735504a3f73c18f79e618960627acb948ac382e9f78372455c90d8e956ad3082643c23e69b224f3ebb515e446513f
7
- data.tar.gz: af46679e2a81eb89d4c14743f1632219f5f8e30106257e8a4e716a396d3ada87e6c8dc86e9cc83df39f7b057767b1f56aec9dc1f20a64955345ef2ac6831edee
6
+ metadata.gz: 7b1b091814bb2188953da2d9dbc9ee513c5092f84e7c21339daac97ee1accb0afa5dd1259424fdf9d0ac9770b63a3219bbc196976e670167e679a827dd61e8e5
7
+ data.tar.gz: f7a2eac925594a69a2e4ab7faec46ccd0f719a5773a8870c60868e9556b077fa7ae0c00f1943b1ba82e4bb4b7f4d59c0bf9093e2da4c895434f8c3e276749251
data/.rubocop.yml CHANGED
@@ -1,4 +1,9 @@
1
- # AllCops:
1
+ AllCops:
2
+ UseCache: true
3
+ DisplayCopNames: true
4
+ DisplayStyleGuide: true
5
+ ExtraDetails: false
6
+ TargetRubyVersion: 2.5.3
2
7
 
3
8
  Layout/ClassStructure:
4
9
  Enabled: true
data/.travis.yml CHANGED
@@ -7,7 +7,8 @@ rvm:
7
7
  - 2.2.10
8
8
  - 2.3.7
9
9
  - 2.4.4
10
- - 2.5.1
10
+ - 2.5.3
11
+ - 2.6.1
11
12
  - ruby-head
12
13
  notifications:
13
14
  email: false
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 0.5.2 - 2019-02-24
2
+ - Automatically compact nils in join_* methods
3
+
1
4
  ### 0.5.1 - 2018-06-12
2
5
  - Don't include empty strings from Scope#join_* methods when applicable.
3
6
 
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source "https://rubygems.org"
2
4
 
3
5
  git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- object_inspector (0.5.1)
4
+ object_inspector (0.5.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -14,7 +14,7 @@ GEM
14
14
  thread_safe (~> 0.3, >= 0.3.1)
15
15
  benchmark-ips (2.7.2)
16
16
  builder (3.2.3)
17
- byebug (10.0.2)
17
+ byebug (11.0.0)
18
18
  codeclimate-engine-rb (0.4.1)
19
19
  virtus (~> 1.0)
20
20
  coderay (1.1.2)
@@ -25,48 +25,53 @@ GEM
25
25
  docile (1.3.1)
26
26
  equalizer (0.0.11)
27
27
  ice_nine (0.11.2)
28
- jaro_winkler (1.5.1)
29
- json (2.1.0)
30
- method_source (0.9.0)
28
+ jaro_winkler (1.5.2)
29
+ json (2.2.0)
30
+ kwalify (0.7.2)
31
+ method_source (0.9.2)
31
32
  minitest (5.11.3)
32
- minitest-reporters (1.2.0)
33
+ minitest-reporters (1.3.6)
33
34
  ansi
34
35
  builder
35
36
  minitest (>= 5.0)
36
37
  ruby-progressbar
37
38
  object_identifier (0.1.1)
38
- parallel (1.12.1)
39
- parser (2.5.1.0)
39
+ parallel (1.13.0)
40
+ parser (2.6.0.0)
40
41
  ast (~> 2.4.0)
41
42
  powerpack (0.1.2)
42
- pry (0.11.3)
43
+ pry (0.12.2)
43
44
  coderay (~> 1.1.0)
44
45
  method_source (~> 0.9.0)
45
- pry-byebug (3.6.0)
46
- byebug (~> 10.0)
46
+ pry-byebug (3.7.0)
47
+ byebug (~> 11.0)
47
48
  pry (~> 0.10)
49
+ psych (3.1.0)
48
50
  rainbow (3.0.0)
49
- rake (12.3.1)
50
- reek (4.8.1)
51
+ rake (12.3.2)
52
+ reek (5.3.1)
51
53
  codeclimate-engine-rb (~> 0.4.0)
52
- parser (>= 2.5.0.0, < 2.6)
54
+ kwalify (~> 0.7.0)
55
+ parser (>= 2.5.0.0, < 2.7, != 2.5.1.1)
56
+ psych (~> 3.1.0)
53
57
  rainbow (>= 2.0, < 4.0)
54
- rubocop (0.57.1)
58
+ rubocop (0.65.0)
55
59
  jaro_winkler (~> 1.5.1)
56
60
  parallel (~> 1.10)
57
- parser (>= 2.5)
61
+ parser (>= 2.5, != 2.5.1.1)
58
62
  powerpack (~> 0.1)
63
+ psych (>= 3.1.0)
59
64
  rainbow (>= 2.2.2, < 4.0)
60
65
  ruby-progressbar (~> 1.7)
61
- unicode-display_width (~> 1.0, >= 1.0.1)
62
- ruby-progressbar (1.9.0)
66
+ unicode-display_width (~> 1.4.0)
67
+ ruby-progressbar (1.10.0)
63
68
  simplecov (0.16.1)
64
69
  docile (~> 1.1)
65
70
  json (>= 1.8, < 3)
66
71
  simplecov-html (~> 0.10.0)
67
72
  simplecov-html (0.10.2)
68
73
  thread_safe (0.3.6)
69
- unicode-display_width (1.4.0)
74
+ unicode-display_width (1.4.1)
70
75
  virtus (1.0.5)
71
76
  axiom-types (~> 0.1)
72
77
  coercible (~> 1.0)
@@ -77,19 +82,19 @@ PLATFORMS
77
82
  ruby
78
83
 
79
84
  DEPENDENCIES
80
- benchmark-ips (~> 2.7)
81
- bundler (~> 1.16)
82
- byebug (~> 10.0)
83
- minitest (~> 5.0)
84
- minitest-reporters (~> 1.2)
85
- object_identifier (~> 0.1)
85
+ benchmark-ips
86
+ bundler
87
+ byebug
88
+ minitest
89
+ minitest-reporters
90
+ object_identifier
86
91
  object_inspector!
87
- pry (~> 0.11)
88
- pry-byebug (~> 3.6)
89
- rake (~> 12.3)
90
- reek (~> 4.8)
91
- rubocop (~> 0.57)
92
- simplecov (~> 0.16)
92
+ pry
93
+ pry-byebug
94
+ rake
95
+ reek
96
+ rubocop
97
+ simplecov
93
98
 
94
99
  BUNDLED WITH
95
- 1.16.2
100
+ 2.0.1
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Test Coverage](https://api.codeclimate.com/v1/badges/34e821263d9e0c33d536/test_coverage)](https://codeclimate.com/github/pdobb/object_inspector/test_coverage)
6
6
  [![Maintainability](https://api.codeclimate.com/v1/badges/34e821263d9e0c33d536/maintainability)](https://codeclimate.com/github/pdobb/object_inspector/maintainability)
7
7
 
8
- ObjectInspector takes Object#inspect to the next level. Specify any combination of identification attributes, flags, info, and/or a name along with an optional, self-definable scope option to represents objects. Great for the console, logging, etc.
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 represents objects. Great for the console, logging, etc.
9
9
 
10
10
  Because object inspection code should be uniform, easy to build, and its output should be easy to read!
11
11
 
@@ -35,7 +35,8 @@ Tested MRI Ruby Versions:
35
35
  * 2.2.10
36
36
  * 2.3.7
37
37
  * 2.4.4
38
- * 2.5.1
38
+ * 2.5.3
39
+ * 2.6.1
39
40
  * edge
40
41
 
41
42
  ObjectInspector has no other dependencies.
@@ -58,6 +59,7 @@ ObjectInspector.configure do |config|
58
59
  config.presenter_inspect_flags = " ⇨ "
59
60
  config.name_separator = " - "
60
61
  config.flags_separator = " / "
62
+ config.issues_separator = " | "
61
63
  config.info_separator = " | "
62
64
  end
63
65
  ```
@@ -87,11 +89,12 @@ Use the `identification`, `flags`, `info`, and/or `name` options to customize in
87
89
  ```ruby
88
90
  class MyObject
89
91
  def inspect
90
- ObjectInspector::Inspector.inspect(self,
91
- identification: "My Object",
92
- flags: "FLAG1 / FLAG2",
93
- info: "INFO",
94
- name: "NAME")
92
+ ObjectInspector::Inspector.inspect(
93
+ self,
94
+ identification: "My Object",
95
+ flags: "FLAG1 / FLAG2",
96
+ info: "INFO",
97
+ name: "NAME")
95
98
  end
96
99
  end
97
100
 
@@ -246,8 +249,11 @@ ObjectInspector::Scope also offers helper methods for uniformly joining inspect
246
249
  ```ruby
247
250
  scope = ObjectInspector::Scope.new(:verbose)
248
251
  scope.join_name([1, 2, 3]) # => "1 - 2 - 3"
252
+ scope.join_name([1, 2, 3, nil]) # => "1 - 2 - 3"
249
253
  scope.join_flags([1, 2, 3]) # => "1 / 2 / 3"
254
+ scope.join_flags([1, 2, 3, nil]) # => "1 / 2 / 3"
250
255
  scope.join_info([1, 2, 3]) # => "1 | 2 | 3"
256
+ scope.join_info([1, 2, 3, nil]) # => "1 | 2 | 3"
251
257
  ```
252
258
 
253
259
 
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bundler/gem_tasks"
2
4
  require "rake/testtask"
3
5
 
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require "bundler/setup"
4
5
  require "object_inspector"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
4
  # ObjectInspector::Conversions defines conversion functions used by
3
5
  # ObjectInspector.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
4
  # ObjectInspector::BaseFormatter is an abstract base class that interfaces
3
5
  # with {ObjectInspector::Inspector} objects to combine the supplied
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
4
  # ObjectInspector::CombiningFormatter implements
3
5
  # {ObjectInspector::BaseFormatter} to return the standard/default inspect
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
4
  # ObjectInspector::TemplatingFormatter implements
3
5
  # {ObjectInspector::BaseFormatter} to return the standard/default inspect
@@ -6,68 +8,68 @@ module ObjectInspector
6
8
  # @attr (see BaseFormatter)
7
9
  class TemplatingFormatter < BaseFormatter
8
10
  def self.base_template
9
- @base_template ||= "<%s>".freeze
11
+ @base_template ||= "<%s>"
10
12
  end
11
13
 
12
14
  def self.name_template
13
- @name_template ||= "<%s :: %s>".freeze
15
+ @name_template ||= "<%s :: %s>"
14
16
  end
15
17
 
16
18
  def self.issues_and_name_template
17
- @issues_and_name_template ||= "<%s !!%s!! :: %s>".freeze
19
+ @issues_and_name_template ||= "<%s !!%s!! :: %s>"
18
20
  end
19
21
 
20
22
  def self.flags_and_name_template
21
- @flags_and_name_template ||= "<%s(%s) :: %s>".freeze
23
+ @flags_and_name_template ||= "<%s(%s) :: %s>"
22
24
  end
23
25
 
24
26
  def self.info_and_name_template
25
- @info_and_name_template ||= "<%s %s :: %s>".freeze
27
+ @info_and_name_template ||= "<%s %s :: %s>"
26
28
  end
27
29
 
28
30
  def self.issues_and_info_and_name_template
29
- @issues_and_info_and_name_template ||= "<%s !!%s!! %s :: %s>".freeze
31
+ @issues_and_info_and_name_template ||= "<%s !!%s!! %s :: %s>"
30
32
  end
31
33
 
32
34
  def self.flags_and_info_template
33
- @flags_and_info_template ||= "<%s(%s) %s>".freeze
35
+ @flags_and_info_template ||= "<%s(%s) %s>"
34
36
  end
35
37
 
36
38
  def self.flags_and_issues_template
37
- @flags_and_issues_template ||= "<%s(%s) !!%s!!>".freeze
39
+ @flags_and_issues_template ||= "<%s(%s) !!%s!!>"
38
40
  end
39
41
 
40
42
  def self.issues_and_info_template
41
- @issues_and_info_template ||= "<%s !!%s!! %s>".freeze
43
+ @issues_and_info_template ||= "<%s !!%s!! %s>"
42
44
  end
43
45
 
44
46
  def self.flags_and_issues_and_info_template
45
- @flags_and_issues_and_info_template ||= "<%s(%s) !!%s!! %s>".freeze
47
+ @flags_and_issues_and_info_template ||= "<%s(%s) !!%s!! %s>"
46
48
  end
47
49
 
48
50
  def self.flags_and_issues_and_name_template
49
- @flags_and_issues_and_name_template ||= "<%s(%s) !!%s!! :: %s>".freeze
51
+ @flags_and_issues_and_name_template ||= "<%s(%s) !!%s!! :: %s>"
50
52
  end
51
53
 
52
54
  def self.flags_and_info_and_name_template
53
- @flags_and_info_and_name_template ||= "<%s(%s) %s :: %s>".freeze
55
+ @flags_and_info_and_name_template ||= "<%s(%s) %s :: %s>"
54
56
  end
55
57
 
56
58
  def self.flags_and_issues_and_info_and_name_template
57
59
  @flags_and_issues_and_info_and_name_template ||=
58
- "<%s(%s) !!%s!! %s :: %s>".freeze
60
+ "<%s(%s) !!%s!! %s :: %s>"
59
61
  end
60
62
 
61
63
  def self.flags_template
62
- @flags_template ||= "<%s(%s)>".freeze
64
+ @flags_template ||= "<%s(%s)>"
63
65
  end
64
66
 
65
67
  def self.issues_template
66
- @issues_template ||= "<%s !!%s!!>".freeze
68
+ @issues_template ||= "<%s !!%s!!>"
67
69
  end
68
70
 
69
71
  def self.info_template
70
- @info_template ||= "<%s %s>".freeze
72
+ @info_template ||= "<%s %s>"
71
73
  end
72
74
 
73
75
  # Perform the formatting routine.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
4
  # ObjectInspector::Inspector organizes inspection of the associated {#object}
3
5
  # via the passed in options and via a {ObjectInspector::BaseFormatter}
@@ -116,7 +118,7 @@ module ObjectInspector
116
118
  interrogate_object_inspect_method(key)
117
119
  end
118
120
 
119
- return_value.to_s if return_value
121
+ return_value&.to_s
120
122
  end
121
123
 
122
124
  # Call `value` on {#object} if it responds to it and the result is not nil,
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
4
  # ObjectInspector::InspectorsHelper can be included into any object to
3
5
  # simplify the process of instantiating an ObjectInspector::Inspector and
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
4
  # ObjectInspector::ObjectInterrogator collaborates with {#object} to return
3
5
  # Object#{#method_name} if {#object} responds to the method.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
4
  # ObjectInspector::Scope defines a predicate method that matches {#name} and
3
5
  # responds with `true`. This is a prettier way to test for a given type of
@@ -21,31 +23,31 @@ module ObjectInspector
21
23
 
22
24
  # Join the passed-in name parts with the passed in separator.
23
25
  #
24
- # @param items [Array<#to_s>]
26
+ # @param parts [Array<#to_s>]
25
27
  # @param separator [#to_s] (ObjectInspector.configuration.flags_separator)
26
28
  def join_name(parts,
27
29
  separator: ObjectInspector.configuration.name_separator)
28
- the_parts = Array(parts)
30
+ the_parts = Array(parts).tap(&:compact!)
29
31
  the_parts.join(separator) if the_parts.any?
30
32
  end
31
33
 
32
34
  # Join the passed-in flags with the passed in separator.
33
35
  #
34
- # @param items [Array<#to_s>]
36
+ # @param flags [Array<#to_s>]
35
37
  # @param separator [#to_s] (ObjectInspector.configuration.flags_separator)
36
38
  def join_flags(flags,
37
39
  separator: ObjectInspector.configuration.flags_separator)
38
- the_flags = Array(flags)
40
+ the_flags = Array(flags).tap(&:compact!)
39
41
  the_flags.join(separator) if the_flags.any?
40
42
  end
41
43
 
42
44
  # Join the passed-in issues with the passed in separator.
43
45
  #
44
- # @param items [Array<#to_s>]
46
+ # @param issues [Array<#to_s>]
45
47
  # @param separator [#to_s] (ObjectInspector.configuration.issues_separator)
46
48
  def join_issues(issues,
47
49
  separator: ObjectInspector.configuration.issues_separator)
48
- the_issues = Array(issues)
50
+ the_issues = Array(issues).tap(&:compact!)
49
51
  the_issues.join(separator) if the_issues.any?
50
52
  end
51
53
 
@@ -55,7 +57,7 @@ module ObjectInspector
55
57
  # @param separator [#to_s] (ObjectInspector.configuration.info_separator)
56
58
  def join_info(items,
57
59
  separator: ObjectInspector.configuration.info_separator)
58
- the_items = Array(items)
60
+ the_items = Array(items).tap(&:compact!)
59
61
  the_items.join(separator) if the_items.any?
60
62
  end
61
63
 
@@ -70,7 +72,7 @@ module ObjectInspector
70
72
  end
71
73
  alias_method :eql?, :==
72
74
 
73
- def to_s(separator: ", ".freeze)
75
+ def to_s(separator: ", ")
74
76
  to_a.join(separator)
75
77
  end
76
78
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectInspector
2
- VERSION = "0.5.1".freeze
4
+ VERSION = "0.5.2"
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # ObjectInspector is the base namespace for all modules/classes related to the
2
4
  # object_inspector gem.
3
5
  module ObjectInspector
@@ -30,15 +32,15 @@ module ObjectInspector
30
32
 
31
33
  def initialize
32
34
  @formatter_class = TemplatingFormatter
33
- @inspect_method_prefix = "inspect".freeze
35
+ @inspect_method_prefix = "inspect"
34
36
  @default_scope = Scope.new(:self)
35
- @wild_card_scope = "all".freeze
36
- @out_of_scope_placeholder = "*".freeze
37
- @presented_object_separator = " #{[0x21E8].pack("U")} ".freeze
38
- @name_separator = " - ".freeze
39
- @flags_separator = " / ".freeze
40
- @issues_separator = " | ".freeze
41
- @info_separator = " | ".freeze
37
+ @wild_card_scope = "all"
38
+ @out_of_scope_placeholder = "*"
39
+ @presented_object_separator = " #{[0x21E8].pack("U")} "
40
+ @name_separator = " - "
41
+ @flags_separator = " / "
42
+ @issues_separator = " | "
43
+ @info_separator = " | "
42
44
  end
43
45
 
44
46
  def formatter_class=(value)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  lib = File.expand_path("../lib", __FILE__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require "object_inspector/version"
@@ -9,7 +11,7 @@ Gem::Specification.new do |spec|
9
11
  spec.email = ["paul.dobbins@icloud.com"]
10
12
 
11
13
  spec.summary = "ObjectInspector builds uniformly formatted inspect output with customizable amounts of detail."
12
- spec.description = "ObjectInspector takes Object#inspect to the next level. Specify any combination of identification attributes, flags, info, and/or a name along with an optional, self-definable scope option to represents objects. Great for the console, logging, etc."
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."
13
15
  spec.homepage = "https://github.com/pdobb/object_inspector"
14
16
  spec.license = "MIT"
15
17
 
@@ -30,16 +32,16 @@ Gem::Specification.new do |spec|
30
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
33
  spec.require_paths = ["lib"]
32
34
 
33
- spec.add_development_dependency "benchmark-ips", "~> 2.7"
34
- spec.add_development_dependency "bundler", "~> 1.16"
35
- spec.add_development_dependency "byebug", "~> 10.0"
36
- spec.add_development_dependency "minitest", "~> 5.0"
37
- spec.add_development_dependency "minitest-reporters", "~> 1.2"
38
- spec.add_development_dependency "object_identifier", "~> 0.1"
39
- spec.add_development_dependency "pry", "~> 0.11"
40
- spec.add_development_dependency "pry-byebug", "~> 3.6"
41
- spec.add_development_dependency "rake", "~> 12.3"
42
- spec.add_development_dependency "reek", "~> 4.8"
43
- spec.add_development_dependency "rubocop", "~> 0.57"
44
- spec.add_development_dependency "simplecov", "~> 0.16"
35
+ spec.add_development_dependency "benchmark-ips"
36
+ spec.add_development_dependency "bundler"
37
+ spec.add_development_dependency "byebug"
38
+ spec.add_development_dependency "minitest"
39
+ spec.add_development_dependency "minitest-reporters"
40
+ spec.add_development_dependency "object_identifier"
41
+ spec.add_development_dependency "pry"
42
+ spec.add_development_dependency "pry-byebug"
43
+ spec.add_development_dependency "rake"
44
+ spec.add_development_dependency "reek"
45
+ spec.add_development_dependency "rubocop"
46
+ spec.add_development_dependency "simplecov"
45
47
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Play from the console with:
2
4
  # play scripts/benchmarking/formatters.rb
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Play from the console with:
2
4
  # play scripts/benchmarking/object_inspector.rb
3
5
 
metadata CHANGED
@@ -1,185 +1,185 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: object_inspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dobbins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-12 00:00:00.000000000 Z
11
+ date: 2019-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ips
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2.7'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '2.7'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
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
- version: '1.16'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: byebug
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
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
- version: '10.0'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '5.0'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '5.0'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest-reporters
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '1.2'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '1.2'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: object_identifier
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '0.1'
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '0.1'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: '0.11'
103
+ version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: '0.11'
110
+ version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: pry-byebug
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '3.6'
117
+ version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: '3.6'
124
+ version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rake
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: '12.3'
131
+ version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: '12.3'
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: reek
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: '4.8'
145
+ version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '4.8'
152
+ version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '0.57'
159
+ version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "~>"
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '0.57'
166
+ version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - "~>"
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: '0.16'
173
+ version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - "~>"
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: '0.16'
180
+ version: '0'
181
181
  description: ObjectInspector takes Object#inspect to the next level. Specify any combination
182
- of identification attributes, flags, info, and/or a name along with an optional,
182
+ of identification attributes, flags, issues, info, and/or a name along with an optional,
183
183
  self-definable scope option to represents objects. Great for the console, logging,
184
184
  etc.
185
185
  email:
@@ -232,8 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  - !ruby/object:Gem::Version
233
233
  version: '0'
234
234
  requirements: []
235
- rubyforge_project:
236
- rubygems_version: 2.7.7
235
+ rubygems_version: 3.0.2
237
236
  signing_key:
238
237
  specification_version: 4
239
238
  summary: ObjectInspector builds uniformly formatted inspect output with customizable