fanforce-plugin-factory 0.9.5 → 0.9.6

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
- ZGFmM2VlODQ0YWNkYTI5NDY1NDI2ZGMwYWE2MzM1NWI1NmM4M2EwZQ==
4
+ ZjQxZjY4NjFmNWU5NGFhNzA1M2FiYmQ3ZTg0MGViMTMwOWY3NWIxNg==
5
5
  data.tar.gz: !binary |-
6
- MWExODhhN2UwMGI1ZDIzYzQ1MWViYzdmNTU0YzJmNjU5MzJlN2QzYw==
6
+ YTBkZmYwMDhjMTU3NjUwMmM0NDE3MWFlZDk1MWQ5OTM4YzZlYmI3Mw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ODhkOWI2YmM2MTMyMTNlNTcwYmIwMjQ3YmRjOGM4NzhiYzNjMGYwNTRjN2Q5
10
- NWM4YWQyZDkzOTE2ZGE2YzI1MmRlMzhhY2EyMzU4YWVhZGMyZWI2MTJlYzk4
11
- ODA3NjA3NzhiMzZhZGY4YjY5OWVkNTkyYzZmMDg1NTJmNjMzNWI=
9
+ ZWZlNWNiYTg2NTQxM2I1MzE3ZGRjZGRlNDM5OTNhNzVhMWUwMWI5OTZkMzEz
10
+ MGU2Mjc4YzQzZTRiNjlkNWVlMzQzYjkzY2EyNGNkNzhjYzJmMzM0YjYxNWFh
11
+ NjA0YzQxYzU1MGQzOTg5NzI3Y2ZmNmU4NzIxOTkxNGY3ZDJjMGE=
12
12
  data.tar.gz: !binary |-
13
- NTZmMjFkMmYwZjA5ZDkwMjcxZDljNzI4YzExZGI3ZDM4ZTU4NjBjMzcwMGVl
14
- NTI0NTQ5NDBiOTFmMmE2ODA1ZTNkMTEwNGYzMGM2MzM4OTc2YmNhMjA4YTAz
15
- YjkyMzUyZTRjMzI5NzllNWI5YzYwMTMyMzJkMzAxZmQzNWRjYWY=
13
+ ODY3MzhjNmFkODdkMjQzMzg3ZWViNDBhMjcxMjlhYzIyNTE4YTQyZjkzNTAy
14
+ ZWY3MzhiMmQzNGU3NTc2YWI0NDMyNjM5YTUxNmM0NzIzMDc3Y2JkMTkzYzEy
15
+ MDJiM2Y0ZDliYmQ2NDg0NGY3MjhmMDIzOWViOTcwZjdjYWNiNjg=
@@ -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.4'
42
+ gem.add_runtime_dependency 'fanforce-worker', '~> 0.5'
43
43
  end
@@ -1,11 +1,11 @@
1
1
  ENV['RACK_ENV'] ||= 'development'
2
2
  ####################################################################################
3
3
  require 'fanforce/api'
4
+ require 'fanforce/worker'
4
5
  require 'active_support/all'
5
6
  require 'sinatra/base'
6
7
  require 'fileutils'
7
8
  require 'redis'
8
- require 'fanforce/workers'
9
9
 
10
10
  if ENV['RACK_ENV'] == 'development'
11
11
  require_relative 'plugin_factory/sprockets/hacks'
@@ -17,7 +17,7 @@ caller[0].split(':')[0] =~ /^(.+(config\.ru|Rakefile))$/ ? ROOT_DIR = File.dirna
17
17
  module FanforcePlugin
18
18
 
19
19
  def self.enqueue(queue_name, payload)
20
- Fanforce::Workers.enqueue "#{config._id}-#{queue_name}", payload
20
+ Fanforce::Worker.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.5'
3
+ VERSION = '0.9.6'
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.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
@@ -291,19 +291,19 @@ dependencies:
291
291
  - !ruby/object:Gem::Version
292
292
  version: '0.2'
293
293
  - !ruby/object:Gem::Dependency
294
- name: fanforce-workers
294
+ name: fanforce-worker
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - ~>
298
298
  - !ruby/object:Gem::Version
299
- version: '0.4'
299
+ version: '0.5'
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.4'
306
+ version: '0.5'
307
307
  description:
308
308
  email:
309
309
  - cclark@fanforce.com