eycloud-recipe-resque 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ pkg
2
+ tmp
data/Gemfile.lock CHANGED
@@ -1,11 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eycloud-recipe-resque (1.0)
4
+ eycloud-recipe-resque (1.0.1)
5
+ eycloud-helper-cronjobs
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
8
9
  specs:
10
+ eycloud-helper-cronjobs (1.0.1)
9
11
  rake (0.9.2.2)
10
12
 
11
13
  PLATFORMS
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
- version = "1.0" # get from metadata.json or .rb
4
+ version = "1.0.1" # get from metadata.json or .rb
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "eycloud-recipe-resque"
@@ -17,5 +17,6 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
19
 
20
+ s.add_dependency("eycloud-helper-cronjobs")
20
21
  s.add_development_dependency("rake")
21
22
  end
data/metadata.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "license": "MIT",
3
3
  "maintainer": "Engine Yard LLC",
4
4
  "maintainer_email": "drnic@engineyard.com",
5
- "version": "1.0",
5
+ "version": "1.0.1",
6
6
  "description": "Resque for EY Cloud",
7
7
  "name": "resque",
8
8
  "attributes": {
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "long_description": "",
12
12
  "dependencies": {
13
- "cron": [
13
+ "cronjobs": [
14
14
 
15
15
  ]
16
16
  }
data/metadata.rb CHANGED
@@ -3,5 +3,5 @@ description "Resque for EY Cloud"
3
3
  long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
4
4
  maintainer "Engine Yard LLC"
5
5
  maintainer_email "drnic@engineyard.com"
6
- version "1.0"
7
- depends "crond"
6
+ version "1.0.1"
7
+ depends "cronjobs"
data/recipes/configure.rb CHANGED
@@ -20,11 +20,11 @@ if node[:instance_role] == "solo" || node[:instance_role] == "eylocal" ||
20
20
  mode 0755
21
21
  end
22
22
 
23
- # crond "Kill stale resque workers" do
24
- # filename "resque_kill_stale"
25
- # interval "* * * * *"
26
- # command %Q{/usr/local/bin/resque_kill_stale /tmp/resque_ttls}
27
- # end
23
+ crond "Kill stale resque workers" do
24
+ filename "resque_kill_stale"
25
+ interval "* * * * *"
26
+ command %Q{/usr/local/bin/resque_kill_stale /tmp/resque_ttls}
27
+ end
28
28
 
29
29
  directory "/var/log/resque" do
30
30
  owner node[:owner_name]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eycloud-recipe-resque
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-14 00:00:00.000000000 Z
12
+ date: 2012-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: eycloud-helper-cronjobs
16
+ requirement: &70267959991360 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70267959991360
14
25
  - !ruby/object:Gem::Dependency
15
26
  name: rake
16
- requirement: &70298707999080 !ruby/object:Gem::Requirement
27
+ requirement: &70267959989680 !ruby/object:Gem::Requirement
17
28
  none: false
18
29
  requirements:
19
30
  - - ! '>='
@@ -21,7 +32,7 @@ dependencies:
21
32
  version: '0'
22
33
  type: :development
23
34
  prerelease: false
24
- version_requirements: *70298707999080
35
+ version_requirements: *70267959989680
25
36
  description: Resque for EY Cloud
26
37
  email:
27
38
  - drnicwilliams@gmail.com
@@ -29,6 +40,7 @@ executables: []
29
40
  extensions: []
30
41
  extra_rdoc_files: []
31
42
  files:
43
+ - .gitignore
32
44
  - Gemfile
33
45
  - Gemfile.lock
34
46
  - README.md
@@ -59,7 +71,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
71
  version: '0'
60
72
  segments:
61
73
  - 0
62
- hash: 2470771934776039979
74
+ hash: 4247591606190947945
63
75
  required_rubygems_version: !ruby/object:Gem::Requirement
64
76
  none: false
65
77
  requirements:
@@ -68,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
80
  version: '0'
69
81
  segments:
70
82
  - 0
71
- hash: 2470771934776039979
83
+ hash: 4247591606190947945
72
84
  requirements: []
73
85
  rubyforge_project:
74
86
  rubygems_version: 1.8.17