cinnamon_serial 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cinnamon_serial/base.rb +4 -0
- data/lib/cinnamon_serial/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c9b9354343df332901c6e37aa9afa2a71af2191
|
4
|
+
data.tar.gz: 6518ce3938c3c47767498baca8c534a590295047
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fb294e486c9b286bcec242ee406f9920978513d73317db43b1871ce7c930d21bebcae7bdc3475d097a5625abfe02d4167c982316f1dfa610322f64cdea1507b
|
7
|
+
data.tar.gz: 11f928e8c73e624440658a2a19dd1c5db76fb56bbf6b616428cc11df96d2d5b9cf0460100d4bf1a79320fa58da6f3d06be889c0882f99f801a053bf2743caa71
|
data/Gemfile.lock
CHANGED
data/lib/cinnamon_serial/base.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2018-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|