communique 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/communique.rb +4 -1
- data/lib/communique/version.rb +1 -1
- 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: 6299e9a189a40655e8f44878456808d9034ef8b8
|
4
|
+
data.tar.gz: 79189f4bf387be5b2a761cfe4d1c4c1567fe7215
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d654ce541b1658f760ba692a11adcfb1cd5aa332716ad431a24f2a21836cd9c7d250729abccfddf6a8b1eb4f19131087e8ada2446963c04fdda8000d511141e8
|
7
|
+
data.tar.gz: d3bfee96ca640f5765126cecdd0c37a20d882e6da4c996200cbd79a8363d921b56dea73734e0eb0983b29f16acf8c3a0bd263066d3e853b8581d5ddeab9f5d71
|
data/lib/communique.rb
CHANGED
@@ -13,7 +13,10 @@ module Communique
|
|
13
13
|
if prevent_unseen_duplicates?
|
14
14
|
existing_notification = find_existing_notifications(notifiable, action_key)
|
15
15
|
if existing_notification
|
16
|
-
existing_notification.update_attributes(
|
16
|
+
existing_notification.update_attributes(
|
17
|
+
context_info: context_info,
|
18
|
+
updated_at: Time.now
|
19
|
+
)
|
17
20
|
return existing_notification.id.to_s
|
18
21
|
end
|
19
22
|
end
|
data/lib/communique/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: communique
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Polycarpou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
requirements: []
|
174
174
|
rubyforge_project:
|
175
|
-
rubygems_version: 2.4.
|
175
|
+
rubygems_version: 2.4.8
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Simple way to store warnings and errors affecting users as messages. Stored
|