cron_wrapper 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/cron_wrapper.gemspec +2 -2
- data/lib/cron_wrapper.rb +3 -2
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('cron_wrapper', '0.0.
|
5
|
+
Echoe.new('cron_wrapper', '0.0.11') do |p|
|
6
6
|
p.description = "A gem that provides useful features for running ruby or Rails scripts with cron"
|
7
7
|
p.url = "http://rubyisbeautiful.com"
|
8
8
|
p.author = "Bryan Taylor"
|
data/cron_wrapper.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{cron_wrapper}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.11"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Bryan Taylor"]
|
9
9
|
s.cert_chain = ["/home/bryan/gem_private_key/gem-public_cert.pem"]
|
10
|
-
s.date = %q{2011-03-
|
10
|
+
s.date = %q{2011-03-03}
|
11
11
|
s.default_executable = %q{cron_wrapper}
|
12
12
|
s.description = %q{A gem that provides useful features for running ruby or Rails scripts with cron}
|
13
13
|
s.email = %q{btaylor39 @nospam@ csc.com}
|
data/lib/cron_wrapper.rb
CHANGED
@@ -63,8 +63,8 @@ class CronWrapper
|
|
63
63
|
libs.each do |lib|
|
64
64
|
begin
|
65
65
|
require lib
|
66
|
-
rescue LoadError
|
67
|
-
abort "option rails is on, but could not load rails via '#{lib}'"
|
66
|
+
rescue LoadError => e
|
67
|
+
abort "option rails is on, but could not load rails via '#{lib}'\nerror: #{e.message}"
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
@@ -91,6 +91,7 @@ class CronWrapper
|
|
91
91
|
when (@options[:verbose] && @options[:silent])
|
92
92
|
Logger::WARN
|
93
93
|
end
|
94
|
+
@logger.formatter = Logger::Formatter.new
|
94
95
|
|
95
96
|
# Setup locking
|
96
97
|
@options[:lock_dir] ||= File.join @options[:root], "tmp/locks"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cron_wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 11
|
10
|
+
version: 0.0.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bryan Taylor
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
NK5lPw==
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date: 2011-03-
|
39
|
+
date: 2011-03-03 00:00:00 +00:00
|
40
40
|
default_executable:
|
41
41
|
dependencies: []
|
42
42
|
|
metadata.gz.sig
CHANGED
Binary file
|