fanforce-plugin-worker 2.0.0.rc5 → 2.0.0.rc6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fanforce-plugin-worker.gemspec +2 -2
- data/lib/fanforce/plugin_worker/version.rb +1 -1
- data/lib/fanforce/plugin_worker/worker.rb +0 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8b73612bab85eea25b72da419b264fc7ed28c2d
|
4
|
+
data.tar.gz: c5f6ee1976cd66a9be9e56e4ffcb389c1071c684
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1488dd0951da9f199d94340d2084048b0077498a6985006e45e7873e1d83b226ddd21d460e4527461dc384ff7eb5f67574902f2a479abafd3c84d5ca2286712
|
7
|
+
data.tar.gz: 42ca0e1c0e2a784dcfe2bd16a2b951280dbe34f9d648527863d1ed1b277fcee7f038659c25fb4ab6b0e22b277502d930795e00cf16d9ca12e7b54225fb0726c6
|
@@ -18,9 +18,9 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
|
20
20
|
gem.add_runtime_dependency 'iron_mq', '~> 5.0.1'
|
21
|
-
gem.add_runtime_dependency '
|
22
|
-
gem.add_runtime_dependency 'typhoeus', '~> 0.7.1'
|
21
|
+
gem.add_runtime_dependency 'iron_worker', '~> 3.1.0'
|
23
22
|
gem.add_runtime_dependency 'iron_cache', '~> 1.4.2'
|
23
|
+
gem.add_runtime_dependency 'typhoeus', '~> 0.7.1'
|
24
24
|
gem.add_runtime_dependency 'uuid', '~> 2.3.7'
|
25
25
|
gem.add_runtime_dependency 'activesupport', '~> 4.1.6'
|
26
26
|
gem.add_runtime_dependency 'redis', '~> 3.1.0'
|
@@ -50,9 +50,7 @@ class Fanforce::PluginWorker
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def self.bypass_enqueue(queue_id, params)
|
53
|
-
config_file = "#{Plugin.base_dir}/workers/#{queue_id}.worker"
|
54
53
|
exec_file = "#{Plugin.base_dir}/workers/#{queue_id}.rb"
|
55
|
-
raise "Config file is missing: #{config_file}" if !File.exists?(config_file)
|
56
54
|
raise "Ruby file is missing: #{exec_file}" if !File.exists?(exec_file)
|
57
55
|
raise "RACK_ENV must be development: #{ENV['RACK_ENV']}" if ENV['RACK_ENV'] != 'development'
|
58
56
|
params = {queue_id: queue_id, params: params}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fanforce-plugin-worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iron_mq
|
@@ -25,47 +25,47 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 5.0.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: iron_worker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 3.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 3.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: iron_cache
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.4.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.4.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: typhoeus
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.7.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.7.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: uuid
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|