flame-flash 2.3.1 → 2.3.2
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 +3 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea1cacb15fd283c163aa29aee8b941d67427cec1
|
4
|
+
data.tar.gz: bd4cd87b026af3a9474666d412925b596d5e3df4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abfa3070726c73e2cbfa2a123cee60dfcd9c5685fdd0fd3bb2049f129e4b28dd5eb154e06bcf907f525911c89527aee382dec07b2b5244ffd6ba2fd3cd75e7c8
|
7
|
+
data.tar.gz: 01d21c3c97994f9ca72af59bee2e81faa101761175c17347c0e8aa92a4784b222cd67c92e39689a26a73de7a2323a1b99a9aa4647c54b87d40f854492b94203e
|
data/lib/flame/flash_array.rb
CHANGED
@@ -62,12 +62,10 @@ module Flame
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def fix_messages_as_array
|
65
|
-
@now.
|
65
|
+
@now.each_with_index do |hash, ind|
|
66
66
|
next unless hash[:text].is_a?(Array)
|
67
|
-
|
68
|
-
|
69
|
-
@now.push(hash_with_arr.merge(text: text))
|
70
|
-
end
|
67
|
+
hash = @now.delete(hash)
|
68
|
+
@now.insert(ind, hash[:text].map { |text| hash.merge(text: text) })
|
71
69
|
end
|
72
70
|
end
|
73
71
|
end
|
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.3.
|
4
|
+
version: 2.3.2
|
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-
|
11
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flame
|
@@ -40,7 +40,7 @@ extra_rdoc_files: []
|
|
40
40
|
files:
|
41
41
|
- lib/flame/flash.rb
|
42
42
|
- lib/flame/flash_array.rb
|
43
|
-
homepage: https://
|
43
|
+
homepage: https://github.com/AlexWayfer/flame-flash
|
44
44
|
licenses:
|
45
45
|
- MIT
|
46
46
|
metadata: {}
|