iron_worker 2.3.9 → 2.3.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/lib/iron_worker/base.rb +1 -1
- data/lib/iron_worker/service.rb +4 -4
- metadata +62 -24
data/VERSION.yml
CHANGED
data/lib/iron_worker/base.rb
CHANGED
@@ -215,7 +215,7 @@ module IronWorker
|
|
215
215
|
def queue(options={})
|
216
216
|
# puts 'in queue'
|
217
217
|
|
218
|
-
IronWorker.
|
218
|
+
IronWorker.config.force_upload = IronWorker.config.force_upload && is_local?
|
219
219
|
set_auto_attributes
|
220
220
|
upload_if_needed(options)
|
221
221
|
response = IronWorker.service.queue(self.class.name, sw_get_data, options)
|
data/lib/iron_worker/service.rb
CHANGED
@@ -94,8 +94,8 @@ module IronWorker
|
|
94
94
|
|
95
95
|
|
96
96
|
def self.get_gem_path(gem_info)
|
97
|
-
# gem_name =(gem_info[:require] || gem_info[:name].match(/^[a-zA-Z0-9\-_]+/)[0])
|
98
|
-
gem_name =(gem_info[:name].match(/^[a-zA-Z0-9\-_]+/)[0])
|
97
|
+
# gem_name =(gem_info[:require] || gem_info[:name].match(/^[a-zA-Z0-9\-_\.]+/)[0])
|
98
|
+
gem_name =(gem_info[:name].match(/^[a-zA-Z0-9\-_\.]+/)[0])
|
99
99
|
IronWorker.logger.debug "Searching for gem #{gem_name}..."
|
100
100
|
gems= Gem::Specification.respond_to?(:each) ? Gem::Specification.find_all_by_name(gem_name) : Gem::GemPathSearcher.new.find_all(gem_name)
|
101
101
|
if (Service.heroku?) && (!gems || gems.empty?)
|
@@ -171,10 +171,10 @@ module IronWorker
|
|
171
171
|
gems_dependencies.each_pair do |k, gem|
|
172
172
|
IronWorker.logger.debug "Bundling dependent gem #{gem[:name]}..."
|
173
173
|
gem[:bypass_require] = true
|
174
|
-
merged_gems[k] ||= gem
|
174
|
+
# merged_gems[k] ||= gem
|
175
175
|
end
|
176
176
|
end
|
177
|
-
|
177
|
+
merged_gems = gems_dependencies.merge merged_gems
|
178
178
|
# Now remove unmerged gems
|
179
179
|
unmerged_gems = unmerged_gems.merge(IronWorker.config.unmerged_gems)
|
180
180
|
unmerged_gems.each_pair do |k, v|
|
metadata
CHANGED
@@ -1,104 +1,134 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iron_worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
5
|
-
|
4
|
+
version: 2.3.10
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 3
|
8
|
+
- 10
|
9
|
+
prerelease: false
|
10
|
+
segments_generated: true
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Travis Reeder
|
9
|
-
autorequire:
|
14
|
+
autorequire: !!null
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
date: 2012-01-26 00:00:00.000000000
|
17
|
+
date: 2012-01-26 00:00:00.000000000 -08:00
|
18
|
+
default_executable: !!null
|
13
19
|
dependencies:
|
14
20
|
- !ruby/object:Gem::Dependency
|
15
21
|
name: zip
|
16
|
-
requirement: &
|
22
|
+
requirement: &9162320 !ruby/object:Gem::Requirement
|
17
23
|
none: false
|
18
24
|
requirements:
|
19
25
|
- - ! '>='
|
20
26
|
- !ruby/object:Gem::Version
|
21
27
|
version: '0'
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
segments_generated: true
|
22
31
|
type: :runtime
|
23
32
|
prerelease: false
|
24
|
-
version_requirements: *
|
33
|
+
version_requirements: *9162320
|
25
34
|
- !ruby/object:Gem::Dependency
|
26
35
|
name: rest-client
|
27
|
-
requirement: &
|
36
|
+
requirement: &9159980 !ruby/object:Gem::Requirement
|
28
37
|
none: false
|
29
38
|
requirements:
|
30
39
|
- - ! '>='
|
31
40
|
- !ruby/object:Gem::Version
|
32
41
|
version: '0'
|
42
|
+
segments:
|
43
|
+
- 0
|
44
|
+
segments_generated: true
|
33
45
|
type: :runtime
|
34
46
|
prerelease: false
|
35
|
-
version_requirements: *
|
47
|
+
version_requirements: *9159980
|
36
48
|
- !ruby/object:Gem::Dependency
|
37
49
|
name: rest
|
38
|
-
requirement: &
|
50
|
+
requirement: &9158300 !ruby/object:Gem::Requirement
|
39
51
|
none: false
|
40
52
|
requirements:
|
41
53
|
- - ! '>='
|
42
54
|
- !ruby/object:Gem::Version
|
43
55
|
version: '0'
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
segments_generated: true
|
44
59
|
type: :runtime
|
45
60
|
prerelease: false
|
46
|
-
version_requirements: *
|
61
|
+
version_requirements: *9158300
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: bundler
|
49
|
-
requirement: &
|
64
|
+
requirement: &9155480 !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
53
68
|
- !ruby/object:Gem::Version
|
54
69
|
version: '0'
|
70
|
+
segments:
|
71
|
+
- 0
|
72
|
+
segments_generated: true
|
55
73
|
type: :runtime
|
56
74
|
prerelease: false
|
57
|
-
version_requirements: *
|
75
|
+
version_requirements: *9155480
|
58
76
|
- !ruby/object:Gem::Dependency
|
59
77
|
name: zip
|
60
|
-
requirement: &
|
78
|
+
requirement: &9153220 !ruby/object:Gem::Requirement
|
61
79
|
none: false
|
62
80
|
requirements:
|
63
81
|
- - ! '>='
|
64
82
|
- !ruby/object:Gem::Version
|
65
83
|
version: '0'
|
84
|
+
segments:
|
85
|
+
- 0
|
86
|
+
segments_generated: true
|
66
87
|
type: :runtime
|
67
88
|
prerelease: false
|
68
|
-
version_requirements: *
|
89
|
+
version_requirements: *9153220
|
69
90
|
- !ruby/object:Gem::Dependency
|
70
91
|
name: rest-client
|
71
|
-
requirement: &
|
92
|
+
requirement: &9150760 !ruby/object:Gem::Requirement
|
72
93
|
none: false
|
73
94
|
requirements:
|
74
95
|
- - ! '>='
|
75
96
|
- !ruby/object:Gem::Version
|
76
97
|
version: '0'
|
98
|
+
segments:
|
99
|
+
- 0
|
100
|
+
segments_generated: true
|
77
101
|
type: :runtime
|
78
102
|
prerelease: false
|
79
|
-
version_requirements: *
|
103
|
+
version_requirements: *9150760
|
80
104
|
- !ruby/object:Gem::Dependency
|
81
105
|
name: rest
|
82
|
-
requirement: &
|
106
|
+
requirement: &9148520 !ruby/object:Gem::Requirement
|
83
107
|
none: false
|
84
108
|
requirements:
|
85
109
|
- - ! '>='
|
86
110
|
- !ruby/object:Gem::Version
|
87
111
|
version: '0'
|
112
|
+
segments:
|
113
|
+
- 0
|
114
|
+
segments_generated: true
|
88
115
|
type: :runtime
|
89
116
|
prerelease: false
|
90
|
-
version_requirements: *
|
117
|
+
version_requirements: *9148520
|
91
118
|
- !ruby/object:Gem::Dependency
|
92
119
|
name: bundler
|
93
|
-
requirement: &
|
120
|
+
requirement: &9145840 !ruby/object:Gem::Requirement
|
94
121
|
none: false
|
95
122
|
requirements:
|
96
123
|
- - ! '>='
|
97
124
|
- !ruby/object:Gem::Version
|
98
125
|
version: '0'
|
126
|
+
segments:
|
127
|
+
- 0
|
128
|
+
segments_generated: true
|
99
129
|
type: :runtime
|
100
130
|
prerelease: false
|
101
|
-
version_requirements: *
|
131
|
+
version_requirements: *9145840
|
102
132
|
description: The official IronWorker gem for IronWorker by Iron.io. http://www.iron.io
|
103
133
|
email: travis@iron.io
|
104
134
|
executables: []
|
@@ -121,9 +151,10 @@ files:
|
|
121
151
|
- lib/iron_worker/utils.rb
|
122
152
|
- rails/init.rb
|
123
153
|
- README.markdown
|
154
|
+
has_rdoc: true
|
124
155
|
homepage: http://www.iron.io
|
125
156
|
licenses: []
|
126
|
-
post_install_message:
|
157
|
+
post_install_message: !!null
|
127
158
|
rdoc_options: []
|
128
159
|
require_paths:
|
129
160
|
- lib
|
@@ -133,16 +164,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
164
|
- - ! '>='
|
134
165
|
- !ruby/object:Gem::Version
|
135
166
|
version: '1.9'
|
167
|
+
segments:
|
168
|
+
- 1
|
169
|
+
- 9
|
170
|
+
segments_generated: true
|
136
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
172
|
none: false
|
138
173
|
requirements:
|
139
174
|
- - ! '>='
|
140
175
|
- !ruby/object:Gem::Version
|
141
176
|
version: '0'
|
177
|
+
segments:
|
178
|
+
- 0
|
179
|
+
segments_generated: true
|
142
180
|
requirements: []
|
143
|
-
rubyforge_project:
|
144
|
-
rubygems_version: 1.
|
145
|
-
signing_key:
|
181
|
+
rubyforge_project: !!null
|
182
|
+
rubygems_version: 1.3.7
|
183
|
+
signing_key: !!null
|
146
184
|
specification_version: 3
|
147
185
|
summary: The official IronWorker gem for IronWorker by Iron.io. http://www.iron.io
|
148
186
|
test_files: []
|