maia 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/maia/message.rb +2 -2
- data/lib/maia/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTU2MWJjMTUwZWIwMDg1MWY5NmFmYTM2ZGQ3ZDdmNTg5NTAzYWYxZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDMzNmZkOTI5MTM4ZGYzMTAzYzI3MTMwZWRlZWFlNGUwMWQ3MzJiZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGM0ZTJhYzczMDU3YjYyY2QzYjgyMmYyN2Y5ZTIzNzQ2YTFlYjgxYjI3ZGYy
|
10
|
+
MmFlNmNkYmJiNDE3ZDUzZTk5MTNmZmQ3MzlmN2RlMDhiYmIwYzQyMWIxYmYz
|
11
|
+
NjdlYWZkYmFlNzk4ZWMzNzgzZmNkYTUxMjQ0NmY1Yzk4NjJlYzQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTUwYmE2NTA2NDI5NWI3NTM0NWE2NDRmMmE5NTdjODUyNzVhZTVkNTVkMzc2
|
14
|
+
NjhmNDdkNDBhOTU1NTY4MDA3MDFhOTkzYmNiZWE1YmQ0ZTMyMTBiZjAyNDYy
|
15
|
+
OTRhYTJjNjlkOTk0MDVlNzFhN2ViYTQyYWU0ZWY3OGIxNGRlM2I=
|
data/lib/maia/message.rb
CHANGED
@@ -2,9 +2,9 @@ module Maia
|
|
2
2
|
class Message
|
3
3
|
MAX_TOKENS_AT_ONCE = 999
|
4
4
|
|
5
|
-
def send_to(pushable,
|
5
|
+
def send_to(pushable, job_options = {})
|
6
6
|
devices = Device.owned_by pushable
|
7
|
-
worker =
|
7
|
+
worker = Maia::Messenger.set job_options
|
8
8
|
|
9
9
|
enqueue worker, devices.android, to_h(notify: notify?(:android))
|
10
10
|
enqueue worker, devices.ios, to_h(notify: notify?(:ios))
|
data/lib/maia/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Logan Serman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|