fanforce-workers 0.4.1 → 0.4.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
- ZTZhYmM5MTJmYjkyMWI3ZTAxODc1YzgwMjdmYTYxMjlmM2JlMTE5Yw==
4
+ MzFkNGZhY2Y0NjZkMmQxYTRhZjY3ZjlhN2RhMzM0ZmU4ZTA0OGU0MA==
5
5
  data.tar.gz: !binary |-
6
- MGU5YmQxYWI4MTUwMDA4MTIzNzI5N2E0MjM3MGVlOGExYzk3M2ZkMg==
6
+ ZmFiMWY3N2I3NjhlYzIwMDliODcxOTM3ZTc1OTM5OGZiYWJhNmNjNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NzI1ZjkxY2VmZWJjMWRlN2JhODM5MTZhYzM3NDg4ODNlYjUyNjBkOTIyYzRh
10
- ZDJkYzY3NmI0MmNkMDg0YmU5MGVkN2ExYjg2MGM2NzA2MjU4YjYxNzk5M2Mx
11
- OTQ0MmZkNGZhYWMwMWZkODExZmMyYmZkZjM2NDQ3MDFmNWIyYjg=
9
+ YmMzZGNjZjlmYTI0NDA3MGY0YTk4ZGFjZDA2YzI1YmE5OGQxZGRlMzg0YmI3
10
+ MjgyMTlkN2FiZjY4YWYxMGRiMjI3NDBjYTBhMmZkZTNkNTljMWIwYjIwNDdi
11
+ ODlhOTE2MDdmMjYyZjUzZmQwM2MxYjRmNWJmNGIyMWUxYzMwOTA=
12
12
  data.tar.gz: !binary |-
13
- ZDc4NWNmMzg4YzVhYzkwMzhmNGMzZmM4YmVmYjYwZGJjZmFiODY5ZWRiMTEz
14
- ZGZlZmNmNjkxN2FmNjYyMWFhZjAyOTdiNDdiZmY5MzFmZmM1OWRiZjYwMGRi
15
- MWU0YmZjODljNTkwMDMxYzkzYjgzNzc4NzFhZmIwY2MyZTZkZTA=
13
+ N2YxZGZiNjYxMzkwMDA5MmFhMTg2M2ZjN2Q0ZjljNzVhNDVmNzMyYzFlY2Fk
14
+ Y2U1YWNlMmMwMzAxMGUyYmVhNmQ5OTMzYWMxOWMzNGJkYTMyMTRmNzQ4NjJi
15
+ ZTA3NGYwYjU2OGJjODFjMTFhNWYwNTliNGVkOTQ0YWI0ODQ2NDU=
@@ -1,15 +1,15 @@
1
1
  class Fanforce::Workers::Iron
2
2
 
3
3
  def initialize(opts={})
4
- @iron_mq = IronMQ::Client.new(:token => opts[:token] || ENV['IRON_TOKEN'], :project_id => opts[:project_id] || ENV['IRON_PROJECT_ID'])
4
+ @mq_client = IronMQ::Client.new(:token => opts[:token] || ENV['IRON_TOKEN'], :project_id => opts[:project_id] || ENV['IRON_PROJECT_ID'])
5
5
  end
6
6
 
7
7
  def enqueue(queue_id, payload)
8
- @iron_mq.queue(queue_id).post(payload.to_json)
8
+ @mq_client.queue(queue_id).post(payload.to_json)
9
9
  end
10
10
 
11
11
  def client
12
- @iron_qa
12
+ @mq_client
13
13
  end
14
14
 
15
15
  end
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Workers
3
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-workers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark