dronejob 2.0.4 → 2.0.5

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: 6f7f70f2d09b89c4be71b87d70129da3a6b487a2
4
- data.tar.gz: bf8006786916fb2e7d1da88020056c39db0aee73
3
+ metadata.gz: 882431aebd9d1c2228796dd36fbbc0dd34f0fb5f
4
+ data.tar.gz: 3e5df24d8b0c9a4b8bd4e6fd291fc501328ad44d
5
5
  SHA512:
6
- metadata.gz: 64bcac49cf2fd6fb7736d8c5fc365e381452f14b3f71a7e3ff3aad3c711d21298a41428207d32ec23f5b99700282db6ab2f7351e4f54defee6b29c29eb12f4a0
7
- data.tar.gz: efe581d6554683fa82b466d17bdcf847201479ae8cdb9148a2891a17a2a07b957101838937fdf86aa6ed2f5c6d8633fffedb3d45c6b042a425e4b5c69eb32a1d
6
+ metadata.gz: 6f5b0fee1d3b493738c2f0859f27997a3efee4563b64d21fb7e0d8a5f7707dd6752654e07a4b2f6a5a38f634f1c15d56eefc5ef10465187655fb5f6e8c306654
7
+ data.tar.gz: 8325cf7ebe8d152327b4a338d1f40515d014b65859bd41bc1268f357e7a474044d1954a5d2494cea529781cea314371730951b24bd6654e1c271361459d481fc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dronejob (2.0.4)
4
+ dronejob (2.0.5)
5
5
  actionpack (>= 4.0.2)
6
6
  activejob (>= 4.0.2)
7
7
  activejob-google-cloud-pubsub (>= 0.7)
@@ -1,3 +1,4 @@
1
+ require "pry"
1
2
  require "pusher"
2
3
 
3
4
  module Dronejob
@@ -13,7 +14,8 @@ module Dronejob
13
14
 
14
15
  class_methods do
15
16
  def pubsub
16
- @pubsub ||= Google::Cloud::Pubsub.new(project_id: option(:google_cloud_project_id), credentials: option(:google_cloud_service_account), timeout: 60)
17
+ emulator_host = option(:google_cloud_pubsub_emulator_host)
18
+ @pubsub ||= Google::Cloud::Pubsub.new(project_id: option(:google_cloud_project_id), credentials: option(:google_cloud_service_account), timeout: 60, emulator_host: emulator_host)
17
19
  end
18
20
 
19
21
  def queue_adapter
@@ -1,3 +1,3 @@
1
1
  module Dronejob
2
- VERSION = "2.0.4"
2
+ VERSION = "2.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dronejob
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-30 00:00:00.000000000 Z
11
+ date: 2019-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler