store_model 0.6.0 → 0.6.1

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: 3ce3d56b41eb6a6b5ecd2a0014bccb1ab7aa2beb62c6a19a93351634a43dfdad
4
- data.tar.gz: bff2ff2d10c97e7ae2f0eecece11541d14d9170c9fa7a7ba6a27d8c503c8d6d2
3
+ metadata.gz: 675a1eed74c9c24e82a9cdc3ad86135de65fb9cef761b87a5dbb4d2ddf904fc9
4
+ data.tar.gz: 7d1ac5c24cbf430c70109165381b55ea53a35ce331a7cbf65aa5ed9a59cdcbf5
5
5
  SHA512:
6
- metadata.gz: f8ab3b06a4b1b3eca5869aa8fafd2132556d0ab096509ffee4f9538d65a6f98bc6f1c9cc7178f9c0bf034202f104931d62c1aea10688f9c3b0e9c59f86e6446d
7
- data.tar.gz: 4daf5b0f2300ca79061cc8d420d2206848629ac34a03cd8381034efcc8c7d2f7d2b066fa938cbf343934862f09b284e88495772e7e8bf6e68c4b437c859b2c8b
6
+ metadata.gz: '098c71eee5aea9204a9a305dec5233040a55f80da73335bdf86b754f5de82ab90931d05cbcec7cb0fb187f175ed4c59bb985898dda853469a535f7ca023379c3'
7
+ data.tar.gz: e60c5f89a0f1c43e48433ecac9b91976567a696887fe0d3a4cd959ac14fa927d34f9876b2ace988c05bd67157976dc2b5cbd4033a88030b21952fa4f3e62792c
@@ -51,7 +51,8 @@ module StoreModel
51
51
  #
52
52
  # @return [String]
53
53
  def inspect
54
- attribute_string = attributes.map { |name, value| "#{name}: #{value || 'nil'}" }.join(", ")
54
+ attribute_string = attributes.map { |name, value| "#{name}: #{value.nil? ? 'nil' : value}" }
55
+ .join(", ")
55
56
  "#<#{self.class.name} #{attribute_string}>"
56
57
  end
57
58
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StoreModel # :nodoc:
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: store_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DmitryTsepelev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-19 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rails
14
+ name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="