clockwork 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/bin/clockwork +4 -3
- data/test/clockwork_test.rb +2 -1
- metadata +5 -8
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/bin/clockwork
CHANGED
@@ -2,13 +2,14 @@
|
|
2
2
|
|
3
3
|
STDERR.sync = STDOUT.sync = true
|
4
4
|
|
5
|
-
|
6
|
-
require 'clockwork'
|
5
|
+
require File.expand_path('../../lib/clockwork', __FILE__)
|
7
6
|
include Clockwork
|
8
7
|
|
9
|
-
usage = "clockwork <
|
8
|
+
usage = "clockwork <clock.rb>"
|
10
9
|
file = ARGV.shift or abort usage
|
11
10
|
|
11
|
+
file = "./#{file}" unless file.match(/^[\/.]/)
|
12
|
+
|
12
13
|
require file
|
13
14
|
|
14
15
|
trap('INT') do
|
data/test/clockwork_test.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clockwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 21
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
8
|
+
- 2
|
9
|
+
version: 0.2.2
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Adam Wiggins
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date:
|
17
|
+
date: 2011-01-03 00:00:00 -08:00
|
19
18
|
default_executable: clockwork
|
20
19
|
dependencies: []
|
21
20
|
|
@@ -39,8 +38,8 @@ homepage: http://github.com/adamwiggins/clockwork
|
|
39
38
|
licenses: []
|
40
39
|
|
41
40
|
post_install_message:
|
42
|
-
rdoc_options:
|
43
|
-
|
41
|
+
rdoc_options: []
|
42
|
+
|
44
43
|
require_paths:
|
45
44
|
- lib
|
46
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -48,7 +47,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
48
47
|
requirements:
|
49
48
|
- - ">="
|
50
49
|
- !ruby/object:Gem::Version
|
51
|
-
hash: 3
|
52
50
|
segments:
|
53
51
|
- 0
|
54
52
|
version: "0"
|
@@ -57,7 +55,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
55
|
requirements:
|
58
56
|
- - ">="
|
59
57
|
- !ruby/object:Gem::Version
|
60
|
-
hash: 3
|
61
58
|
segments:
|
62
59
|
- 0
|
63
60
|
version: "0"
|