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 +8 -8
- data/fanforce-plugin-factory.gemspec +1 -1
- data/lib/fanforce/plugin_factory.rb +2 -2
- data/lib/fanforce/plugin_factory/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjQxZjY4NjFmNWU5NGFhNzA1M2FiYmQ3ZTg0MGViMTMwOWY3NWIxNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTBkZmYwMDhjMTU3NjUwMmM0NDE3MWFlZDk1MWQ5OTM4YzZlYmI3Mw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWZlNWNiYTg2NTQxM2I1MzE3ZGRjZGRlNDM5OTNhNzVhMWUwMWI5OTZkMzEz
|
10
|
+
MGU2Mjc4YzQzZTRiNjlkNWVlMzQzYjkzY2EyNGNkNzhjYzJmMzM0YjYxNWFh
|
11
|
+
NjA0YzQxYzU1MGQzOTg5NzI3Y2ZmNmU4NzIxOTkxNGY3ZDJjMGE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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-
|
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::
|
20
|
+
Fanforce::Worker.enqueue "#{config._id}-#{queue_name}", payload
|
21
21
|
end
|
22
22
|
|
23
23
|
def self.config(&block)
|
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
|
+
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-
|
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.
|
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.
|
306
|
+
version: '0.5'
|
307
307
|
description:
|
308
308
|
email:
|
309
309
|
- cclark@fanforce.com
|