sparkle_formation 2.1.2 → 2.1.4

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: 79efaae651919d5ed404a9738852cb86b41c2057
4
- data.tar.gz: 339d1d3eb57ef4e35c29ccd475f66b7d8942e9f1
3
+ metadata.gz: 9128303439223716fec4b197bdf3c2e12a7a4f15
4
+ data.tar.gz: cc6265ec22c8947567394f4903b7d7ae33702817
5
5
  SHA512:
6
- metadata.gz: c555423571e62575d59b4eb5022b0ff616a681b2b6a30419c3b0124f3a9f2ea5ee6063ef42d6479a7ed05d8b722338ef5db99016ee1ae025a0ab6e2dd8a2b2ae
7
- data.tar.gz: f0bde668d2cc2e972e59f08369176dfaf1a84af468af72e0879dbb2e8e1475a16e06252ecd063a67877188fad556044385cff0415d7fa1592b1d65952f7efdc4
6
+ metadata.gz: 728d1c57b1502d226e25143d659a21deba9f886ac549f6c2d4c693c00f9098008769a4860e31d19f2f31ef3313786d36525ec6007ef9f89ae75a193df9cf0735
7
+ data.tar.gz: 45116831add1bf3862729f02dd93f2900de3969164402d96231c54ced176bcdd21288a295066da3c612296ece1bcde19d2da48d39c8a6cb04e29863768cbde32
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v2.1.4
2
+ * Fix struct value storage within internal table (#147)
3
+
1
4
  # v2.1.2
2
5
  * Add helper for copying SparkleFormation::Collection settings
3
6
  * Use collections helper to ensure expected pack ordering
@@ -78,8 +78,14 @@ class SparkleFormation
78
78
  if(sym.to_s.start_with?('_') || sym.to_s.end_with?('!'))
79
79
  ::Kernel.raise ::NoMethodError.new "Undefined method `#{sym}` for #{_klass.name}"
80
80
  end
81
- result = super(*[sym, *args], &block)
82
- @table[_process_key(sym)] = function_bubbler(result)
81
+ super(*[sym, *args], &block)
82
+ if((s = sym.to_s).end_with?('='))
83
+ s.slice!(-1, s.length)
84
+ sym = s
85
+ end
86
+ sym = _process_key(sym)
87
+ @table[sym] = function_bubbler(@table[sym])
88
+ @table[sym]
83
89
  end
84
90
 
85
91
  # @return [Class]
@@ -1,5 +1,5 @@
1
1
  # Unicorns and rainbows
2
2
  class SparkleFormation
3
3
  # Current library version
4
- VERSION = Gem::Version.new('2.1.2')
4
+ VERSION = Gem::Version.new('2.1.4')
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparkle_formation
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-05 00:00:00.000000000 Z
11
+ date: 2016-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: attribute_struct