adm 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adm/notification.rb +3 -3
- data/lib/adm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9c0cb44f1419050f4e82cad7cfbe8b756305f2c
|
4
|
+
data.tar.gz: 9c61d6b760ed5c751ac451cbad15aee35886b87c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3633188bf1bf5d1f4cc3959a9bb22af7c8ee6bba90b94e86467c9c17873cf3505e5433556cfd7994433d09dfac8b9745674b98b8e2b11aac3558c199b4d57b24
|
7
|
+
data.tar.gz: da0ff6903cd6c93772c6dd767a4eb2db18b6dba5574b7213d339a2afb554a2ebf634245b5d61f49b27faf8f6b9e2b726a1202564ac1d9ab99f7fb98cb8a3c8ea
|
data/lib/adm/notification.rb
CHANGED
@@ -2,10 +2,10 @@ class ADM::Notification
|
|
2
2
|
attr_reader :registration_id, :message
|
3
3
|
|
4
4
|
def initialize registration_id, message
|
5
|
-
if message.is_a?(Message)
|
5
|
+
if message.is_a?(ADM::Message)
|
6
6
|
@message = message
|
7
7
|
else
|
8
|
-
@message = Message.new(message)
|
8
|
+
@message = ADM::Message.new(message)
|
9
9
|
end
|
10
10
|
|
11
11
|
@registration_id = registration_id
|
@@ -35,6 +35,6 @@ class ADM::Notification
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def queue hydra
|
38
|
-
hydra.queue(self)
|
38
|
+
hydra.queue(self.request)
|
39
39
|
end
|
40
40
|
end
|
data/lib/adm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tal Atlas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|