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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e1fdfa6caa596fb0cd44e8eacace4b4503a5c69
4
- data.tar.gz: 8fd4538571f6bdc9ad703e79c150c9c85b697c56
3
+ metadata.gz: b8b73612bab85eea25b72da419b264fc7ed28c2d
4
+ data.tar.gz: c5f6ee1976cd66a9be9e56e4ffcb389c1071c684
5
5
  SHA512:
6
- metadata.gz: 07f7c1a32ed7db153f5b484f60d03c4f8e1994df1afaa8bdf8f790e9d0f30675bdd54672faa92c808c406c74a5ba5ea142acafc69808085edf0145ab57b50f8d
7
- data.tar.gz: a874ffacc56b062ca5f73acb2b1b4b292eb56f9fb1b8818eeafb6121c6da021de1bb6b2589a44ba0ff9f12b4dabd6be3f4ffdade41612e3d1d601a1a6624b458
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 'iron_worker_ng', '~> 1.6.4'
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'
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class PluginWorker
3
- VERSION = '2.0.0.rc5'
3
+ VERSION = '2.0.0.rc6'
4
4
  end
5
5
  end
@@ -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.rc5
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-05-01 00:00:00.000000000 Z
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: iron_worker_ng
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.6.4
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.6.4
40
+ version: 3.1.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: typhoeus
42
+ name: iron_cache
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.7.1
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: 0.7.1
54
+ version: 1.4.2
55
55
  - !ruby/object:Gem::Dependency
56
- name: iron_cache
56
+ name: typhoeus
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.4.2
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: 1.4.2
68
+ version: 0.7.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: uuid
71
71
  requirement: !ruby/object:Gem::Requirement