growlyflash 0.2.7 → 0.2.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3afa01303c719a9208a1b1a9c3372dfb8268f71
4
- data.tar.gz: 68e0f3ae8055649f2210dfd1f3e151deb3174346
3
+ metadata.gz: d12bc303a0c41195d27a4910d072c32d4b9f9a84
4
+ data.tar.gz: 1edc80496a2088dd5c949f2bf07483c9f60d4d9f
5
5
  SHA512:
6
- metadata.gz: 91103e03eeb37b2e08c757dee0c319f48fcf86b26f53325ae68de27fd0c116482a8de65ff3da91ca1547b6dcde54d398ff4197b0a4892f916754178993a33524
7
- data.tar.gz: 033800376ec805e73fb9f47c89ad3bcd171066a5bf0de1c001b4b93887ae8d86e1f462ba09d8605f34a87b0cae5faa424c119ca05d70fe9c4547f8a0b1e5ba71
6
+ metadata.gz: 83eab26a207e8c5f5e789a1c2ef6af8ea771a6b18ca780577c8152d909c71216e11b281b531e44659e4e7d287b33f18de96859c6c7dca06e39e5f9ce2f06077f
7
+ data.tar.gz: 7718c4410ab59f621a1a28d2110d687bf0cd880558bb08161aa7bf89194f6936682a1c563e139073f2aed2cf61ffa1ba4510d393efdbfdf617c8fd409704c8c3
@@ -1,3 +1,3 @@
1
1
  module Growlyflash
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
@@ -11,7 +11,9 @@ class Growlyflash
11
11
 
12
12
  constructor: (@context) ->
13
13
  @flash_log = []
14
- @growl window.flashes if window.flashes?
14
+ if window.flashes?
15
+ @growl window.flashes
16
+ delete window.flashes
15
17
  # we have to bind both of ajax-complete events
16
18
  # sometimes one of them takes messages and they are skipping
17
19
  # but in mostly, they produce duplicates :(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: growlyflash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tõnis Simo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-17 00:00:00.000000000 Z
11
+ date: 2014-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties