koine-attributes 1.2.1 → 1.2.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
- SHA1:
3
- metadata.gz: 31a8d2d76c9047ec3640b022dbb35327732c2768
4
- data.tar.gz: 79a6cb3bce2bd1f866d3e900bd7ba3c9cf930ad6
2
+ SHA256:
3
+ metadata.gz: e498a297c07a0ed0225b65d0b089a66d9d2fc32140f6649b233f5b2d5c888cdc
4
+ data.tar.gz: 4d3ffed3c31e89c7958e4a0a1ca2221861502069e2bc953eac35d8dcdfbf14fe
5
5
  SHA512:
6
- metadata.gz: 5ad0a70022e718798db7ec952c0118a2a2a87d354ec42b7af0738ea8c639cf9349524e50835c2cb0b4892b23e284576774b5ec051b5e987b8cc985ace5cac91e
7
- data.tar.gz: 62c5e0b678f2483d01ece0d20754e54db195fec8c2c0940ca72d31fa0ce248f32f470f216ab7bfabfb9d76091c4b1144e795ddcdd05d4940203c2eb426b9fd8d
6
+ metadata.gz: 75ac85ff0814076c565e9278dbee39ccf6699ce3283f38282758d5c5f49f5e0274c27917b2b755b924bc4561d8a1931bafebdb17873a65dfdfc95ecfe29c1139
7
+ data.tar.gz: 05bb9f0e1e633998290e4a6278a8c5bbec67aaf58471dd86c58ca34a53d9f488dd71595fcc82f03221d60db12613a0c7ca426117bbdc2da718629bab2e7b348b
@@ -1,5 +1,5 @@
1
1
  module Koine
2
2
  module Attributes
3
- VERSION = '1.2.1'.freeze
3
+ VERSION = '1.2.2'.freeze
4
4
  end
5
5
  end
@@ -141,8 +141,8 @@ module Koine
141
141
  define_method(:initialize) { |*args| attributes.initialize_values(*args) }
142
142
 
143
143
  define_method(:inspect) do
144
- hex_id = format('%x', (object_id << 1))
145
- "#<#{self.class}:0x00#{hex_id} @attributes=#{attributes.to_h.inspect}>"
144
+ string = Object.instance_method(:inspect).bind(self).call.split(':')[1].split(' ').first
145
+ "#<#{self.class}:#{string} @attributes=#{attributes.to_h.inspect}>"
146
146
  end
147
147
  end
148
148
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: koine-attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Jacobus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-03 00:00:00.000000000 Z
11
+ date: 2018-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.6.14.1
168
+ rubygems_version: 2.7.6
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Stronger setters and getters