object_identifier 0.1.1 → 0.2.0

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: a09ca4d686f91effd94a702a658c16d14f890af5983b7160d48ef944db02f2bf
4
- data.tar.gz: 1255061dc146f0c6af842428effc308e4437dd0b1444df5ba950e600bae5ead6
3
+ metadata.gz: 77d6e1f8ef633b10528e06579380cf1468dc01705c32350702a36ef9321395f3
4
+ data.tar.gz: 81aa2e24d3841f808d45ae99475ee03b61059cf9fae257d7ba500aa65dead707
5
5
  SHA512:
6
- metadata.gz: e17b1fde5c741b58f862be50ecbcefc851c4ffada06ffc1a6211edf3b7a608ef2374b6c5f956c7cd5a4cb888a82b027b9936548a6749147f86ec2a006e31d35a
7
- data.tar.gz: 8e78635d0ef5b5252ecc61ad1a92011b8e6c5f3ee1538a265717217712b9fd48ccbe9dd17c104ae93811c008d7c85dc03bc5b8693c369e9b672a48adff971155
6
+ metadata.gz: d451cc0865b0f20dab46fe597c99e53b0bdf6860866f9795f0d821e8196fbbb2a380bb6768b2e521adb8d06790d0f7aefeb8983d580c786992dd7d0e18a75979
7
+ data.tar.gz: 0a73803a835c0baae80edd149cf009a13075a72eb6f2b3fbfe79d81e74e6d82deef1d27aa7a6f37e7f84012b01c671987a32fb510ea7cf7b73ced5f2ae4ad1c6
@@ -0,0 +1,4 @@
1
+ --display-cop-names
2
+ --display-style-guide
3
+ --extra-details
4
+ --format=fuubar
@@ -0,0 +1,104 @@
1
+ AllCops:
2
+ UseCache: true
3
+ DisplayCopNames: true
4
+ DisplayStyleGuide: true
5
+ ExtraDetails: false
6
+ TargetRubyVersion: 2.5.3
7
+
8
+ Layout/DotPosition:
9
+ EnforcedStyle: trailing
10
+
11
+ Layout/EndOfLine:
12
+ EnforcedStyle: lf
13
+
14
+ Layout/FirstParameterIndentation:
15
+ EnforcedStyle: consistent_relative_to_receiver
16
+
17
+ Layout/IndentArray:
18
+ EnforcedStyle: consistent
19
+
20
+ Layout/IndentHash:
21
+ EnforcedStyle: consistent
22
+
23
+ Layout/MultilineMethodCallBraceLayout:
24
+ EnforcedStyle: same_line
25
+
26
+ Layout/MultilineMethodCallIndentation:
27
+ EnforcedStyle: indented_relative_to_receiver
28
+
29
+ Layout/MultilineMethodDefinitionBraceLayout:
30
+ EnforcedStyle: same_line
31
+
32
+ Layout/MultilineOperationIndentation:
33
+ Enabled: false # Waiting for e.g. `indented_relative_to_receiver`.
34
+
35
+ Lint/AmbiguousOperator:
36
+ Enabled: false # Conflicts with other rules.
37
+
38
+ Lint/AmbiguousRegexpLiteral:
39
+ Enabled: false # Conflicts with other rules.
40
+
41
+ Lint/SplatKeywordArguments:
42
+ Enabled: false # Removed from Rubocop; Remove this after upgrade.
43
+
44
+ Lint/Void:
45
+ CheckForMethodsWithNoSideEffects: true
46
+
47
+ Metrics/BlockLength:
48
+ ExcludedMethods:
49
+ - describe
50
+ - context
51
+ - ips # Benchmarking
52
+
53
+ Metrics/ClassLength:
54
+ Exclude:
55
+ - "test/**/*"
56
+
57
+ Metrics/LineLength:
58
+ Max: 80
59
+ Exclude:
60
+ - "object_identifier.gemspec"
61
+
62
+ Naming/UncommunicativeMethodParamName:
63
+ AllowedNames:
64
+ - a
65
+ - b
66
+
67
+ Style/Alias:
68
+ EnforcedStyle: prefer_alias_method
69
+
70
+ Style/BlockDelimiters:
71
+ Enabled: false # Reconsider later.
72
+
73
+ Style/EmptyElse:
74
+ # It"s helpful to show intent by including a comment in an else block.
75
+ Enabled: false
76
+
77
+ Style/EmptyMethod:
78
+ EnforcedStyle: expanded
79
+
80
+ Style/ExpandPathArguments:
81
+ Exclude:
82
+ - "object_inspector.gemspec"
83
+
84
+ Style/FormatString:
85
+ Enabled: false # % notation with an Array just reads better sometimes.
86
+
87
+ Style/Lambda:
88
+ EnforcedStyle: literal
89
+
90
+ Style/RegexpLiteral:
91
+ EnforcedStyle: mixed
92
+
93
+ Style/RescueStandardError:
94
+ EnforcedStyle: implicit
95
+
96
+ Style/SingleLineMethods:
97
+ Exclude:
98
+ - "test/**/*_test.rb"
99
+
100
+ Style/StringLiterals:
101
+ EnforcedStyle: double_quotes
102
+
103
+ Style/StringLiteralsInInterpolation:
104
+ EnforcedStyle: double_quotes
@@ -4,14 +4,14 @@ env:
4
4
  sudo: false
5
5
  language: ruby
6
6
  rvm:
7
- - 2.2.10
8
7
  - 2.3.7
9
8
  - 2.4.4
10
- - 2.5.1
9
+ - 2.5.3
10
+ - 2.6.2
11
11
  - ruby-head
12
12
  notifications:
13
13
  email: false
14
- before_install: gem install bundler -v 1.16.1
14
+ before_install: gem install bundler -v 2.0.1
15
15
  cache: bundler
16
16
  before_script:
17
17
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
@@ -1,10 +1,10 @@
1
1
  ### 0.1.0 - 2018-04-14
2
2
 
3
- * Revamp gem
4
- * Update gem dependencies
5
- * Now returns "[no objects]" even if given a :klass option
3
+ - Revamp gem.
4
+ - Update gem dependencies.
5
+ - Now returns "[no objects]" even if given a :klass option.
6
6
 
7
7
 
8
8
  ### 0.0.6 - 2016-02-06
9
9
 
10
- * Fix: identify method now supports private & protected methods
10
+ - Fix: identify method now supports private & protected methods.
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}" }
@@ -1,51 +1,96 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- object_identifier (0.1.1)
4
+ object_identifier (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ansi (1.5.0)
10
+ ast (2.4.0)
11
+ axiom-types (0.1.1)
12
+ descendants_tracker (~> 0.0.4)
13
+ ice_nine (~> 0.11.0)
14
+ thread_safe (~> 0.3, >= 0.3.1)
10
15
  builder (3.2.3)
11
- byebug (10.0.2)
16
+ byebug (11.0.0)
17
+ codeclimate-engine-rb (0.4.1)
18
+ virtus (~> 1.0)
12
19
  coderay (1.1.2)
13
- docile (1.3.0)
14
- json (2.1.0)
15
- method_source (0.9.0)
16
- minitest (5.4.1)
17
- minitest-reporters (1.2.0)
20
+ coercible (1.0.0)
21
+ descendants_tracker (~> 0.0.1)
22
+ descendants_tracker (0.0.4)
23
+ thread_safe (~> 0.3, >= 0.3.1)
24
+ docile (1.3.1)
25
+ equalizer (0.0.11)
26
+ ice_nine (0.11.2)
27
+ jaro_winkler (1.5.2)
28
+ json (2.2.0)
29
+ kwalify (0.7.2)
30
+ method_source (0.9.2)
31
+ minitest (5.11.3)
32
+ minitest-reporters (1.3.6)
18
33
  ansi
19
34
  builder
20
35
  minitest (>= 5.0)
21
36
  ruby-progressbar
22
- pry (0.11.3)
37
+ parallel (1.13.0)
38
+ parser (2.6.0.0)
39
+ ast (~> 2.4.0)
40
+ powerpack (0.1.2)
41
+ pry (0.12.2)
23
42
  coderay (~> 1.1.0)
24
43
  method_source (~> 0.9.0)
25
- pry-byebug (3.6.0)
26
- byebug (~> 10.0)
44
+ pry-byebug (3.7.0)
45
+ byebug (~> 11.0)
27
46
  pry (~> 0.10)
28
- rake (10.3.2)
29
- ruby-progressbar (1.9.0)
47
+ psych (3.1.0)
48
+ rainbow (3.0.0)
49
+ rake (12.3.2)
50
+ reek (5.3.1)
51
+ codeclimate-engine-rb (~> 0.4.0)
52
+ kwalify (~> 0.7.0)
53
+ parser (>= 2.5.0.0, < 2.7, != 2.5.1.1)
54
+ psych (~> 3.1.0)
55
+ rainbow (>= 2.0, < 4.0)
56
+ rubocop (0.65.0)
57
+ jaro_winkler (~> 1.5.1)
58
+ parallel (~> 1.10)
59
+ parser (>= 2.5, != 2.5.1.1)
60
+ powerpack (~> 0.1)
61
+ psych (>= 3.1.0)
62
+ rainbow (>= 2.2.2, < 4.0)
63
+ ruby-progressbar (~> 1.7)
64
+ unicode-display_width (~> 1.4.0)
65
+ ruby-progressbar (1.10.0)
30
66
  simplecov (0.16.1)
31
67
  docile (~> 1.1)
32
68
  json (>= 1.8, < 3)
33
69
  simplecov-html (~> 0.10.0)
34
70
  simplecov-html (0.10.2)
71
+ thread_safe (0.3.6)
72
+ unicode-display_width (1.4.1)
73
+ virtus (1.0.5)
74
+ axiom-types (~> 0.1)
75
+ coercible (~> 1.0)
76
+ descendants_tracker (~> 0.0, >= 0.0.3)
77
+ equalizer (~> 0.0, >= 0.0.9)
35
78
 
36
79
  PLATFORMS
37
80
  ruby
38
81
 
39
82
  DEPENDENCIES
40
- bundler (~> 1.16)
41
- byebug (~> 10.0)
42
- minitest (~> 5.0)
43
- minitest-reporters (~> 1.2)
83
+ bundler
84
+ byebug
85
+ minitest
86
+ minitest-reporters
44
87
  object_identifier!
45
- pry (~> 0.11)
46
- pry-byebug (~> 3.6)
47
- rake (~> 10.0)
48
- simplecov (~> 0.16)
88
+ pry
89
+ pry-byebug
90
+ rake
91
+ reek
92
+ rubocop
93
+ simplecov
49
94
 
50
95
  BUNDLED WITH
51
- 1.16.1
96
+ 2.0.1
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
 
@@ -7,4 +9,4 @@ Rake::TestTask.new(:test) do |t|
7
9
  t.test_files = FileList["test/**/*_test.rb"]
8
10
  end
9
11
 
10
- task :default => :test
12
+ task default: :test
@@ -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_identifier"
@@ -1,5 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "bigdecimal"
2
4
 
5
+ # Reopen the core BigDecimal class to represent {#inspect_lit}.
3
6
  class BigDecimal
4
7
  # Formats this BigDecimal as an object-type-revealing String.
5
8
  #
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Reopen the core Object class to add {#identify} to all objects.
1
4
  class Object
2
5
  # Standard #inspect for any object that doesn't override this method. This
3
6
  # method is meant to make an object's type inherently obvious inspected.
@@ -31,8 +34,8 @@ class Object
31
34
  # 1.identify(:to_s) # => "Integer[to_s:\"1\"]"
32
35
  # nil.identify # => "[no objects]"
33
36
  #
34
- # %w(1 2 3).identify(:to_i, :to_f)
35
- # # => "String[to_i:1, to_f:1.0], String[to_i:2, to_f:2.0], String[to_i:3, to_f:3.0]"
37
+ # %w(1 2).identify(:to_i, :to_f)
38
+ # # => "String[to_i:1, to_f:1.0], String[to_i:2, to_f:2.0]"
36
39
  #
37
40
  # (1..10).to_a.identify(:to_f, limit: 2)
38
41
  # # => "Integer[to_f:1.0], Integer[to_f:2.0], ... (8 more)"
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Reopen the core String class to represent {#inspect_lit}.
1
4
  class String
2
5
  # Formats self to look like a String literal so that object type will be
3
6
  # inherently obvious when inspected.
@@ -9,6 +12,6 @@ class String
9
12
  # "1".inspect_lit # => "\"1\"" (i.e. '"1"')
10
13
  # "12.3".inspect_lit # => "\"12.3\"" (i.e. '"12.3"')
11
14
  def inspect_lit
12
- %("#{to_s}")
15
+ %("#{self}")
13
16
  end
14
17
  end
@@ -1,3 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Reopen the core Symbol class to represent {#inspect_lit}.
1
4
  class Symbol
2
5
  # Formats this symbol to look like a symbol literal so that object type will
3
6
  # be inherently obvious when used in logging methods, etc.
@@ -8,6 +11,6 @@ class Symbol
8
11
  # :test.inspect_lit # => ":\"test\"" (or ':"test"')
9
12
  # :"ta-da!".inspect_lit # => ":\"ta-da!\"" (or ':"ta-da!"')
10
13
  def inspect_lit
11
- %(:"#{to_s}")
14
+ %(:"#{self}")
12
15
  end
13
16
  end
@@ -1,8 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # ObjectIdentifier is the base namespace for all modules/classes related to the
4
+ # object_identifier gem.
1
5
  module ObjectIdentifier
2
6
  end
3
7
 
8
+ require "object_identifier/version"
4
9
  require "object_identifier/identifier"
5
- require "object_identifier/core_ext/object"
6
- require "object_identifier/core_ext/string"
7
- require "object_identifier/core_ext/symbol"
8
- require "object_identifier/core_ext/big_decimal"
10
+ require "core_ext/object"
11
+ require "core_ext/string"
12
+ require "core_ext/symbol"
13
+ require "core_ext/big_decimal"
@@ -1,6 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectIdentifier
4
+ # ObjectIdentifier::Identifier manages construction of the inspect String.
2
5
  class Identifier
3
- NO_OBJECTS_INDICATOR = "[no objects]".freeze
6
+ NO_OBJECTS_INDICATOR = "[no objects]"
4
7
 
5
8
  # Class method for constructing a self-identifying string for any given
6
9
  # object or collection of objects.
@@ -26,8 +29,10 @@ module ObjectIdentifier
26
29
  # OpenStruct.new(a: 1, b: '2', c: :"3"), :a, :b, :c)
27
30
  # # => "OpenStruct[a:1, b:\"2\", c::\"3\"]"
28
31
  #
29
- # ObjectIdentifier::Identifier.identify(1, :to_s) # => "Integer[to_s:\"1\"]"
30
- # ObjectIdentifier::Identifier.identify(nil) # => "[no objects]"
32
+ # ObjectIdentifier::Identifier.identify(1, :to_s)
33
+ # # => "Integer[to_s:\"1\"]"
34
+ # ObjectIdentifier::Identifier.identify(nil)
35
+ # # => "[no objects]"
31
36
  #
32
37
  # ObjectIdentifier::Identifier.identify(%w(1 2), :to_i, :to_f)
33
38
  # # => "String[to_i:1, to_f:1.0], String[to_i:2, to_f:2.0]"
@@ -59,15 +64,13 @@ module ObjectIdentifier
59
64
  end
60
65
  end
61
66
 
62
- private
67
+ private
63
68
 
64
69
  def format_multiple_objects
65
70
  objects =
66
71
  @objects.first(@limit).map { |obj| format(obj) }
67
72
 
68
- if truncated?
69
- objects << "... (#{truncated_objects_count} more)"
70
- end
73
+ objects << "... (#{truncated_objects_count} more)" if truncated?
71
74
 
72
75
  objects.join(", ")
73
76
  end
@@ -97,6 +100,8 @@ module ObjectIdentifier
97
100
  @attributes.each_with_object({}) { |key, acc|
98
101
  if object.respond_to?(key, :include_private)
99
102
  acc[key] = object.send(key)
103
+ elsif key.to_s.start_with?("@")
104
+ acc[key] = object.instance_variable_get(key)
100
105
  end
101
106
  }
102
107
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ObjectIdentifier
2
- VERSION = "0.1.1"
4
+ VERSION = "0.2.0"
3
5
  end
@@ -1,4 +1,6 @@
1
- lib = File.expand_path("../lib", __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path("lib", __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require "object_identifier/version"
4
6
 
@@ -8,8 +10,8 @@ Gem::Specification.new do |spec|
8
10
  spec.authors = ["Paul Dobbins", "Evan Sherwood"]
9
11
  spec.email = ["paul.dobbins@icloud.com"]
10
12
 
11
- spec.summary = %q{ObjectIdentifier identifies an object by its class name and attributes.}
12
- spec.description = %q{Object Identifier allows quick, easy, and uniform identification of an object by inspecting its class name and outputting any desirable attributes/methods. It is great for logging, sending descriptive notification messages, etc.}
13
+ spec.summary = "ObjectIdentifier identifies an object by its class name and attributes."
14
+ spec.description = "Object Identifier allows quick, easy, and uniform identification of an object by inspecting its class name and outputting any desirable attributes/methods. It is great for logging, sending descriptive notification messages, etc."
13
15
  spec.homepage = "https://github.com/pdobb/object_identifier"
14
16
  spec.license = "MIT"
15
17
 
@@ -29,12 +31,14 @@ Gem::Specification.new do |spec|
29
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
32
  spec.require_paths = ["lib"]
31
33
 
32
- spec.add_development_dependency "bundler", "~> 1.16"
33
- spec.add_development_dependency "rake", "~> 10.0"
34
- spec.add_development_dependency "minitest", "~> 5.0"
35
- spec.add_development_dependency "minitest-reporters", "~> 1.2"
36
- spec.add_development_dependency "simplecov", "~> 0.16"
37
- spec.add_development_dependency "byebug", "~> 10.0"
38
- spec.add_development_dependency "pry", "~> 0.11"
39
- spec.add_development_dependency "pry-byebug", "~> 3.6"
34
+ spec.add_development_dependency "bundler"
35
+ spec.add_development_dependency "byebug"
36
+ spec.add_development_dependency "minitest"
37
+ spec.add_development_dependency "minitest-reporters"
38
+ spec.add_development_dependency "pry"
39
+ spec.add_development_dependency "pry-byebug"
40
+ spec.add_development_dependency "rake"
41
+ spec.add_development_dependency "reek"
42
+ spec.add_development_dependency "rubocop"
43
+ spec.add_development_dependency "simplecov"
40
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: object_identifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dobbins
@@ -9,120 +9,148 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-04-14 00:00:00.000000000 Z
12
+ date: 2019-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '1.16'
20
+ version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '1.16'
27
+ version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
- name: rake
29
+ name: byebug
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '10.0'
34
+ version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - "~>"
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '10.0'
41
+ version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: minitest
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - "~>"
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: '5.0'
48
+ version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '5.0'
55
+ version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: minitest-reporters
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: '1.2'
62
+ version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '1.2'
69
+ version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
- name: simplecov
71
+ name: pry
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "~>"
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: '0.16'
76
+ version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - "~>"
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '0.16'
83
+ version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
- name: byebug
85
+ name: pry-byebug
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - "~>"
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
- version: '10.0'
90
+ version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - "~>"
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: '10.0'
97
+ version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
- name: pry
99
+ name: rake
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
- version: '0.11'
104
+ version: '0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - "~>"
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
- version: '0.11'
111
+ version: '0'
112
112
  - !ruby/object:Gem::Dependency
113
- name: pry-byebug
113
+ name: reek
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: rubocop
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: simplecov
114
142
  requirement: !ruby/object:Gem::Requirement
115
143
  requirements:
116
- - - "~>"
144
+ - - ">="
117
145
  - !ruby/object:Gem::Version
118
- version: '3.6'
146
+ version: '0'
119
147
  type: :development
120
148
  prerelease: false
121
149
  version_requirements: !ruby/object:Gem::Requirement
122
150
  requirements:
123
- - - "~>"
151
+ - - ">="
124
152
  - !ruby/object:Gem::Version
125
- version: '3.6'
153
+ version: '0'
126
154
  description: Object Identifier allows quick, easy, and uniform identification of an
127
155
  object by inspecting its class name and outputting any desirable attributes/methods.
128
156
  It is great for logging, sending descriptive notification messages, etc.
@@ -133,6 +161,8 @@ extensions: []
133
161
  extra_rdoc_files: []
134
162
  files:
135
163
  - ".gitignore"
164
+ - ".rubocop"
165
+ - ".rubocop.yml"
136
166
  - ".travis.yml"
137
167
  - CHANGELOG.md
138
168
  - Gemfile
@@ -142,11 +172,11 @@ files:
142
172
  - Rakefile
143
173
  - bin/console
144
174
  - bin/setup
175
+ - lib/core_ext/big_decimal.rb
176
+ - lib/core_ext/object.rb
177
+ - lib/core_ext/string.rb
178
+ - lib/core_ext/symbol.rb
145
179
  - lib/object_identifier.rb
146
- - lib/object_identifier/core_ext/big_decimal.rb
147
- - lib/object_identifier/core_ext/object.rb
148
- - lib/object_identifier/core_ext/string.rb
149
- - lib/object_identifier/core_ext/symbol.rb
150
180
  - lib/object_identifier/identifier.rb
151
181
  - lib/object_identifier/version.rb
152
182
  - object_identifier.gemspec
@@ -169,8 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
199
  - !ruby/object:Gem::Version
170
200
  version: '0'
171
201
  requirements: []
172
- rubyforge_project:
173
- rubygems_version: 2.7.6
202
+ rubygems_version: 3.0.2
174
203
  signing_key:
175
204
  specification_version: 4
176
205
  summary: ObjectIdentifier identifies an object by its class name and attributes.