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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbbb7292b969b56b9e759516df9afbf91607d05f
4
- data.tar.gz: d5fb68eac646a8a2c194fd09535612debb21a308
3
+ metadata.gz: d9c0cb44f1419050f4e82cad7cfbe8b756305f2c
4
+ data.tar.gz: 9c61d6b760ed5c751ac451cbad15aee35886b87c
5
5
  SHA512:
6
- metadata.gz: 65e9b6d3502d4e53db86ab9f6f4c74ae6b4af7610a30210b1848e112c16478fe37de3d778fb4b02abd2e5af53f3cce894812dfbfa34c44fa911a25a98e4e3878
7
- data.tar.gz: b5e4447cdb9ddce570dff931921522ef95f7ed7b66149ce5fc1aa229146eb0172431fde91f8de8656de041f42eb36637b7f5e0c2153511a922b99ffe752e8382
6
+ metadata.gz: 3633188bf1bf5d1f4cc3959a9bb22af7c8ee6bba90b94e86467c9c17873cf3505e5433556cfd7994433d09dfac8b9745674b98b8e2b11aac3558c199b4d57b24
7
+ data.tar.gz: da0ff6903cd6c93772c6dd767a4eb2db18b6dba5574b7213d339a2afb554a2ebf634245b5d61f49b27faf8f6b9e2b726a1202564ac1d9ab99f7fb98cb8a3c8ea
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ADM
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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-10 00:00:00.000000000 Z
11
+ date: 2013-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler