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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30f43fa5459182815343dfac5c0d8b7b67765d922325864141b694b839931a13
4
- data.tar.gz: '08cdfc3877e2294a8a9c7f619868435426025b6cd0e6617d7c5752afa48316e6'
3
+ metadata.gz: 91aac624eefc142fd574b1bbf9c886bec9cec4ecba9b7bd84a62bc2094e93cda
4
+ data.tar.gz: a1a2c28c197f6f38b6e973b09883307fed7ed8d1e8688a52f4e17c7be453cd63
5
5
  SHA512:
6
- metadata.gz: 5fb9e863301e1908df95f1f804efccd05cffee3b898a443fde13848ceed6f9dac249eda8e7651001d41715daa8ce5960e63ccfd1a6e37a785cdbdec6697e366d
7
- data.tar.gz: ed5f58d02382df1926c924501b1541c1ffd292370c39b00660cbc81e9d9effd4a415add49a7ef2890314e6fb096fd997465391366c0e01e037d2cb9e5065129b
6
+ metadata.gz: 67c1ad0ec399e9467af2bb847be9b35ef113dc56f3c4327bd9b6d2dd02b9af907f53b5a4732499a51375369a0341f56e7d82b7865f0c7359b5347b264f5cab27
7
+ data.tar.gz: 5fb09c991339bd8ac4bd9d4eb7e13599379ad6588019929dfe37fb82dba0f88db25769a6c171bb526c9fde6f34a91cb7cd2b12a9b9a274dae1703f7dff122bd8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spark-component (1.0.0.pre.alpha.8)
4
+ spark-component (1.0.0.pre.alpha.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -67,7 +67,9 @@ module Spark
67
67
  attrs ||= {}
68
68
 
69
69
  self.class.attributes.each do |name, default|
70
- value = attrs[name] || (!default.nil? ? default : nil)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Spark
4
4
  module Component
5
- VERSION = "1.0.0.pre.alpha.8"
5
+ VERSION = "1.0.0.pre.alpha.9"
6
6
  end
7
7
  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.8
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 00:00:00.000000000 Z
11
+ date: 2019-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview-component