flame-flash 2.1.1 → 2.2.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/flame/flash_array.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe365073f1d5d4060c1d9adae691fcd0256ec01b
4
- data.tar.gz: 1be84d5b7a28ba31d6586ad5de4655533be3f9f5
3
+ metadata.gz: b3818588452a8a310172dd0a79f650081be8b36e
4
+ data.tar.gz: 704c03028c9b9ed14d9e81387df206b556491a44
5
5
  SHA512:
6
- metadata.gz: c26edab72b7480cce22dc1bfa3151df63b3ddd438ed0ba13ff80bb6fc5252bd0c7399ac1acb069eba971b44d0aa5c0d731351d1641c581beb86a765edf3f559a
7
- data.tar.gz: 4deedc6fbcb340db645c29b15521bd86cc80ca7d7fc4520b51029a9937b3a38f14c145879383fac4b495b94167ccc69b2fdd7fe1b82b5bfd4ef1f3f9906e3d96
6
+ metadata.gz: e60610926c7779ac0ff075fef7f2837adff7baf9513f0e498b0c2ba2f96453aebeef91e61aa2624eed58636f912c9fde034169b164c7ed11e3a0634e59b964e5
7
+ data.tar.gz: f71b309a470e193e6ae876ccbf026d40960d64354751ccf53b5032fc31920e001da807a1b7221d2f57f0b9aae7ff715ca9a3c42e75cb232c89bd6825fd096691
@@ -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.1.1
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-04 00:00:00.000000000 Z
11
+ date: 2016-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flame