mobilize-base 1.0.92 → 1.0.93

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.
@@ -15,7 +15,8 @@ module Mobilize
15
15
 
16
16
  def stages
17
17
  j = self
18
- Stage.where(:path=>/^#{j.path.escape_regex}/).to_a.sort_by{|s| s.path}
18
+ #starts with the job path, followed by a slash
19
+ Stage.where(:path=>/^#{j.path.escape_regex}\//).to_a.sort_by{|s| s.path}
19
20
  end
20
21
 
21
22
  def Job.find_or_create_by_path(path)
@@ -25,10 +25,6 @@ module Mobilize
25
25
  Mobilize::Resque.find_worker_by_path(r.path)
26
26
  end
27
27
 
28
- def Runner.find_by_email(email)
29
- Runner.where(:email=>email).first
30
- end
31
-
32
28
  def Runner.find_by_path(path)
33
29
  Runner.where(:path=>path).first
34
30
  end
@@ -1,5 +1,5 @@
1
1
  module Mobilize
2
2
  module Base
3
- VERSION = "1.0.92"
3
+ VERSION = "1.0.93"
4
4
  end
5
5
  end
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.92
4
+ version: 1.0.93
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: 2013-01-05 00:00:00.000000000 Z
12
+ date: 2013-01-08 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: -2588231747568814205
241
+ hash: 3717481777497371093
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: -2588231747568814205
250
+ hash: 3717481777497371093
251
251
  requirements: []
252
252
  rubyforge_project: mobilize-base
253
253
  rubygems_version: 1.8.24