communique 0.0.4 → 0.0.5

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: 774bcaa4e9e2bec498fa64ed09171d390e84aa19
4
- data.tar.gz: 300cb9f363f5a590e50b4252c62dc7e14d6159d1
3
+ metadata.gz: 6299e9a189a40655e8f44878456808d9034ef8b8
4
+ data.tar.gz: 79189f4bf387be5b2a761cfe4d1c4c1567fe7215
5
5
  SHA512:
6
- metadata.gz: 5b88e73ec989d41c2e7afd8cf388c1384a53b151027a13d57e9faac9c16d7ceab96b04391ae93ac3ae160f1620c6d570190230471626666715f702bdfda55615
7
- data.tar.gz: b6dc54ce9f0ccee9012b25ede6bc86ceb35e989d78d03d8ee262dd36725027e703ca98839cee64aed3ecef6c5b5306b254b96fe6e9bb4629cf85278d97b39119
6
+ metadata.gz: d654ce541b1658f760ba692a11adcfb1cd5aa332716ad431a24f2a21836cd9c7d250729abccfddf6a8b1eb4f19131087e8ada2446963c04fdda8000d511141e8
7
+ data.tar.gz: d3bfee96ca640f5765126cecdd0c37a20d882e6da4c996200cbd79a8363d921b56dea73734e0eb0983b29f16acf8c3a0bd263066d3e853b8581d5ddeab9f5d71
@@ -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(context_info: context_info)
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
@@ -1,4 +1,4 @@
1
1
  # gem version
2
2
  module Communique
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
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
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-01-25 00:00:00.000000000 Z
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.5.1
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