spark-component 1.0.0.pre.alpha.8 → 1.0.0.pre.alpha.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/spark/component/attribute.rb +3 -1
- data/lib/spark/component/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91aac624eefc142fd574b1bbf9c886bec9cec4ecba9b7bd84a62bc2094e93cda
|
4
|
+
data.tar.gz: a1a2c28c197f6f38b6e973b09883307fed7ed8d1e8688a52f4e17c7be453cd63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67c1ad0ec399e9467af2bb847be9b35ef113dc56f3c4327bd9b6d2dd02b9af907f53b5a4732499a51375369a0341f56e7d82b7865f0c7359b5347b264f5cab27
|
7
|
+
data.tar.gz: 5fb09c991339bd8ac4bd9d4eb7e13599379ad6588019929dfe37fb82dba0f88db25769a6c171bb526c9fde6f34a91cb7cd2b12a9b9a274dae1703f7dff122bd8
|
data/Gemfile.lock
CHANGED
@@ -67,7 +67,9 @@ module Spark
|
|
67
67
|
attrs ||= {}
|
68
68
|
|
69
69
|
self.class.attributes.each do |name, default|
|
70
|
-
|
70
|
+
default = (!default.nil? ? default : nil)
|
71
|
+
value = attrs[name].nil? ? default : attrs[name]
|
72
|
+
|
71
73
|
if set?(value)
|
72
74
|
instance_variable_set(:"@#{name}", value)
|
73
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spark-component
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.alpha.
|
4
|
+
version: 1.0.0.pre.alpha.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview-component
|