mobilize-base 1.0.83 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,7 +51,7 @@ module Mobilize
|
|
|
51
51
|
|
|
52
52
|
def Resque.active_paths
|
|
53
53
|
#first argument of the payload is the runner / stage path unless the worker is Jobtracker
|
|
54
|
-
Resque.jobs('active').map{|j| j['args'].first unless j['class']=='Jobtracker'}.compact
|
|
54
|
+
Resque.jobs('active').map{|j| j['args'].first unless (j.nil? or j['class']=='Jobtracker')}.compact
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
#Resque workers and methods to find
|
|
@@ -151,7 +151,7 @@ module Mobilize
|
|
|
151
151
|
def user
|
|
152
152
|
r = self
|
|
153
153
|
user_name = r.path.split("_").second.split("(").first.split("/").first
|
|
154
|
-
User.where(:
|
|
154
|
+
User.where(:name=>user_name).first
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
def update_status(msg)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mobilize-base
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.84
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-12-
|
|
12
|
+
date: 2012-12-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -238,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
238
238
|
version: '0'
|
|
239
239
|
segments:
|
|
240
240
|
- 0
|
|
241
|
-
hash:
|
|
241
|
+
hash: 1770893729203810846
|
|
242
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
none: false
|
|
244
244
|
requirements:
|
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
247
247
|
version: '0'
|
|
248
248
|
segments:
|
|
249
249
|
- 0
|
|
250
|
-
hash:
|
|
250
|
+
hash: 1770893729203810846
|
|
251
251
|
requirements: []
|
|
252
252
|
rubyforge_project: mobilize-base
|
|
253
253
|
rubygems_version: 1.8.24
|