flame-flash 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flame/flash_array.rb +1 -0
- 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: b3818588452a8a310172dd0a79f650081be8b36e
|
4
|
+
data.tar.gz: 704c03028c9b9ed14d9e81387df206b556491a44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e60610926c7779ac0ff075fef7f2837adff7baf9513f0e498b0c2ba2f96453aebeef91e61aa2624eed58636f912c9fde034169b164c7ed11e3a0634e59b964e5
|
7
|
+
data.tar.gz: f71b309a470e193e6ae876ccbf026d40960d64354751ccf53b5032fc31920e001da807a1b7221d2f57f0b9aae7ff715ca9a3c42e75cb232c89bd6825fd096691
|
data/lib/flame/flash_array.rb
CHANGED
@@ -28,6 +28,7 @@ module Flame
|
|
28
28
|
# We assign to the _next_ hash, but retrieve values
|
29
29
|
# from the _now_ hash. Freaky, huh?
|
30
30
|
def []=(type, text)
|
31
|
+
return text.each { |el| self[type] = el } if text.is_a? Array
|
31
32
|
hash = { type: type, text: text }
|
32
33
|
# p @parent == self, @scope
|
33
34
|
hash[:scope] = @scope if @parent != self
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flame-flash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Popov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flame
|