fanforce-plugin-factory 0.9.4 → 0.9.5

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
- MDc2MTUzZTNlYzM0YzBhNzVkZDQyMDFmNThjZGNiZmJkNDQwZDAzNQ==
4
+ ZGFmM2VlODQ0YWNkYTI5NDY1NDI2ZGMwYWE2MzM1NWI1NmM4M2EwZQ==
5
5
  data.tar.gz: !binary |-
6
- YjNkNDI1ZGFhZmMyZDZjMWRlNWNjOGRhNmQwNDdkMmE3MDQ5NTczNA==
6
+ MWExODhhN2UwMGI1ZDIzYzQ1MWViYzdmNTU0YzJmNjU5MzJlN2QzYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDZhYjNkOTAwMDVmNzQzMTVlZTFlZTZlYzllOTIwNWM2NTY1YzVhOTliYmU0
10
- NmUxZWQ3YWMwNzFiNTQ5ZTU4OWM2MDk4MDM0OGIxMjJlZjhmNTAxODQxZTAy
11
- NzUzYTlhZWQ1ZjhiMWQxNGY3ZjhlODhkNzJhYjNkYTZiNjE0YmY=
9
+ ODhkOWI2YmM2MTMyMTNlNTcwYmIwMjQ3YmRjOGM4NzhiYzNjMGYwNTRjN2Q5
10
+ NWM4YWQyZDkzOTE2ZGE2YzI1MmRlMzhhY2EyMzU4YWVhZGMyZWI2MTJlYzk4
11
+ ODA3NjA3NzhiMzZhZGY4YjY5OWVkNTkyYzZmMDg1NTJmNjMzNWI=
12
12
  data.tar.gz: !binary |-
13
- ZTBhMThkM2ViODE1Y2M5OTM2NWMwOTlkMzE2ZjA4YjJiMjg5NjIxOTIzNDAx
14
- NjBiNDYzMTVkNDI5MTZlNGIxYWI1NWY1ZjI2MjlmZjczNmRiYzVhNTkyMTIy
15
- YTJmYzRmYjRkMmUwMmJjMDBkNTEzNjU4Y2U5NGRkNjlhMGY2MWY=
13
+ NTZmMjFkMmYwZjA5ZDkwMjcxZDljNzI4YzExZGI3ZDM4ZTU4NjBjMzcwMGVl
14
+ NTI0NTQ5NDBiOTFmMmE2ODA1ZTNkMTEwNGYzMGM2MzM4OTc2YmNhMjA4YTAz
15
+ YjkyMzUyZTRjMzI5NzllNWI5YzYwMTMyMzJkMzAxZmQzNWRjYWY=
@@ -39,5 +39,5 @@ Gem::Specification.new do |gem|
39
39
  gem.add_runtime_dependency 'rack-jsonr', '~> 0.2'
40
40
  gem.add_runtime_dependency 'fanforce-api', '~> 0.9'
41
41
  gem.add_runtime_dependency 'fanforce-errors', '~> 0.2'
42
- gem.add_runtime_dependency 'fanforce-workers', '~> 0.3'
42
+ gem.add_runtime_dependency 'fanforce-workers', '~> 0.4'
43
43
  end
@@ -16,8 +16,8 @@ caller[0].split(':')[0] =~ /^(.+(config\.ru|Rakefile))$/ ? ROOT_DIR = File.dirna
16
16
 
17
17
  module FanforcePlugin
18
18
 
19
- def self.queue_task(task_name, payload)
20
- Fanforce::Workers.queue_task "#{config._id}-#{task_name}", payload
19
+ def self.enqueue(queue_name, payload)
20
+ Fanforce::Workers.enqueue "#{config._id}-#{queue_name}", payload
21
21
  end
22
22
 
23
23
  def self.config(&block)
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module PluginFactory
3
- VERSION = '0.9.4'
3
+ VERSION = '0.9.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-plugin-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
@@ -296,14 +296,14 @@ dependencies:
296
296
  requirements:
297
297
  - - ~>
298
298
  - !ruby/object:Gem::Version
299
- version: '0.3'
299
+ version: '0.4'
300
300
  type: :runtime
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - ~>
305
305
  - !ruby/object:Gem::Version
306
- version: '0.3'
306
+ version: '0.4'
307
307
  description:
308
308
  email:
309
309
  - cclark@fanforce.com