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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDViYjEwNDU1ZjA4MGM3NGEwZGIyODc3YjJjYjQ3MmI3MTQwOTI2OQ==
4
+ NTU2MWJjMTUwZWIwMDg1MWY5NmFmYTM2ZGQ3ZDdmNTg5NTAzYWYxZg==
5
5
  data.tar.gz: !binary |-
6
- NmM0ODUwMDlhZDFjN2FhMGMxNzRhNDY2ZmFjNDIwYTNlZjdlNDcyMg==
6
+ ZDMzNmZkOTI5MTM4ZGYzMTAzYzI3MTMwZWRlZWFlNGUwMWQ3MzJiZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTk2OWU1Y2U5N2JkYzgzODRhODEwYTMwMjQ5NGFkZGI5YjUyZDNmZGQyZDBk
10
- NmEzMjA4ZjE0OTcxZDNiM2ZhMDBiZjA4N2I2MTNkYjBlZDJmMWI0YmJhZjE2
11
- YTNhMzgwZjgwODhmMDkzOGNmNWY5MDllOWRlOTg4YWIwNWM0NjA=
9
+ NGM0ZTJhYzczMDU3YjYyY2QzYjgyMmYyN2Y5ZTIzNzQ2YTFlYjgxYjI3ZGYy
10
+ MmFlNmNkYmJiNDE3ZDUzZTk5MTNmZmQ3MzlmN2RlMDhiYmIwYzQyMWIxYmYz
11
+ NjdlYWZkYmFlNzk4ZWMzNzgzZmNkYTUxMjQ0NmY1Yzk4NjJlYzQ=
12
12
  data.tar.gz: !binary |-
13
- YmRiOWY1NWJlOGE1NTYwYzlmNGQ3NDc5NGJmZmZhOTY1YzhjN2UyYTdkMWZh
14
- M2I4MWE4NzM5YTU3NjI1NDBkOGM5YTIzNjFiMDlhMGY1MDY0NmEyZTBkOWQ5
15
- YTkwMDZhNmU2NTU2NTU4YmQzZjNiNWM3NDVmYjhmYzFkOTEwODE=
13
+ ZTUwYmE2NTA2NDI5NWI3NTM0NWE2NDRmMmE5NTdjODUyNzVhZTVkNTVkMzc2
14
+ NjhmNDdkNDBhOTU1NTY4MDA3MDFhOTkzYmNiZWE1YmQ0ZTMyMTBiZjAyNDYy
15
+ OTRhYTJjNjlkOTk0MDVlNzFhN2ViYTQyYWU0ZWY3OGIxNGRlM2I=
@@ -2,9 +2,9 @@ module Maia
2
2
  class Message
3
3
  MAX_TOKENS_AT_ONCE = 999
4
4
 
5
- def send_to(pushable, wait: false)
5
+ def send_to(pushable, job_options = {})
6
6
  devices = Device.owned_by pushable
7
- worker = wait ? Maia::Messenger.set(wait: wait) : Maia::Messenger
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))
@@ -1,3 +1,3 @@
1
1
  module Maia
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'.freeze
3
3
  end
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.1
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-05-04 00:00:00.000000000 Z
11
+ date: 2016-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails