cinnamon_serial 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: 82d270da4eb17b6f19b8bc07991f497001b624ff
4
- data.tar.gz: e6066491403152ead4a08d7523c9a867cfb5de82
3
+ metadata.gz: 8c9b9354343df332901c6e37aa9afa2a71af2191
4
+ data.tar.gz: 6518ce3938c3c47767498baca8c534a590295047
5
5
  SHA512:
6
- metadata.gz: 9f23a5d532c75e3dc676a947fb27abd1497601f269376a5c65a775cb9128edecad6ae803f28e2bb617a39e33fedb51da8ae7d6366674c9e359a465661d37639c
7
- data.tar.gz: 1cf6043f141a31c2021ee2168bcb032f57990ce44e05a5bd9be9935afc34a1e72eb548bee619c8c344cd87c4062579e0c68243dfe277bf84ddaaa19b4525672e
6
+ metadata.gz: 6fb294e486c9b286bcec242ee406f9920978513d73317db43b1871ce7c930d21bebcae7bdc3475d097a5625abfe02d4167c982316f1dfa610322f64cdea1507b
7
+ data.tar.gz: 11f928e8c73e624440658a2a19dd1c5db76fb56bbf6b616428cc11df96d2d5b9cf0460100d4bf1a79320fa58da6f3d06be889c0882f99f801a053bf2743caa71
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cinnamon_serial (1.0.0)
4
+ cinnamon_serial (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -69,6 +69,10 @@ module CinnamonSerial
69
69
  def materialize_data
70
70
  @data = {}
71
71
 
72
+ # Soft dependency on ActiveSupport.
73
+ # If it is understood how to create indifferently accessible hashes, then let's prefer that.
74
+ @data = @data.with_indifferent_access if @data.respond_to?(:with_indifferent_access)
75
+
72
76
  inherited_cinnamon_serial_specification.attribute_map.each do |key, options|
73
77
  @data[key.to_s] = options.resolve(self, key)
74
78
  end
@@ -8,5 +8,5 @@
8
8
  #
9
9
 
10
10
  module CinnamonSerial
11
- VERSION = '1.0.0'
11
+ VERSION = '1.0.1'
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cinnamon_serial
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Ruggio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-03 00:00:00.000000000 Z
11
+ date: 2018-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry