command_timer 0.1.0 → 0.1.1
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.
- data/{LICENSE → MIT-LICENSE} +2 -2
- data/README.md +15 -6
- data/lib/command_timer/version.rb +1 -1
- metadata +12 -13
- data/.gitignore +0 -19
- data/Gemfile +0 -4
- data/command_timer.gemspec +0 -17
data/{LICENSE → MIT-LICENSE}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2012
|
1
|
+
Copyright (c) 2012 Weihu Chen
|
2
2
|
|
3
3
|
MIT License
|
4
4
|
|
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
19
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
20
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
21
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -8,9 +8,9 @@ Simple tool to execute commands on schedule. Designed for maintain web applicati
|
|
8
8
|
|
9
9
|
## Usage
|
10
10
|
|
11
|
-
$ cmdtimer
|
11
|
+
$ cmdtimer COMMAND_CONFIG_FILE
|
12
12
|
|
13
|
-
##
|
13
|
+
## Config File Sample (YAML)
|
14
14
|
|
15
15
|
command1:
|
16
16
|
description: "stop unicorn"
|
@@ -27,8 +27,17 @@ Simple tool to execute commands on schedule. Designed for maintain web applicati
|
|
27
27
|
observer: |
|
28
28
|
cd /path/to/app/
|
29
29
|
cap invoke COMMAND="tail -f /path/to/log/file"
|
30
|
+
command3:
|
31
|
+
description: "start unicorn"
|
32
|
+
burn_time: "16:00:00"
|
33
|
+
content: |
|
34
|
+
cd /path/to/app/
|
35
|
+
cap unicorn:start
|
36
|
+
|
37
|
+
### burn_time
|
30
38
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
39
|
+
<table>
|
40
|
+
<tr><td>HH:mm:ss</td><td>execute commands on time</td></tr>
|
41
|
+
<tr><td>blank</td><td>execute commands by user input</td></tr>
|
42
|
+
<tr><td>auto</td><td>execute commands after previous command ended</td></tr>
|
43
|
+
</table>
|
metadata
CHANGED
@@ -1,17 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: command_timer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- Weihu Chen
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-06-22 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description: Simple tool to execute commands on schedule
|
14
|
+
description: Simple tool to execute commands on schedule. Designed for maintain web
|
15
|
+
applications.
|
15
16
|
email:
|
16
17
|
- cctiger36@gmail.com
|
17
18
|
executables:
|
@@ -19,20 +20,18 @@ executables:
|
|
19
20
|
extensions: []
|
20
21
|
extra_rdoc_files: []
|
21
22
|
files:
|
22
|
-
- .gitignore
|
23
|
-
- Gemfile
|
24
|
-
- LICENSE
|
25
|
-
- README.md
|
26
|
-
- Rakefile
|
27
23
|
- bin/cmdtimer
|
28
|
-
- command_timer.gemspec
|
29
|
-
- lib/command_timer.rb
|
30
24
|
- lib/command_timer/command.rb
|
31
25
|
- lib/command_timer/parser.rb
|
32
26
|
- lib/command_timer/runner.rb
|
33
27
|
- lib/command_timer/version.rb
|
28
|
+
- lib/command_timer.rb
|
29
|
+
- MIT-LICENSE
|
30
|
+
- Rakefile
|
31
|
+
- README.md
|
34
32
|
homepage: https://github.com/cctiger36/command_timer
|
35
|
-
licenses:
|
33
|
+
licenses:
|
34
|
+
- MIT
|
36
35
|
post_install_message:
|
37
36
|
rdoc_options: []
|
38
37
|
require_paths:
|
@@ -54,5 +53,5 @@ rubyforge_project:
|
|
54
53
|
rubygems_version: 1.8.24
|
55
54
|
signing_key:
|
56
55
|
specification_version: 3
|
57
|
-
summary:
|
56
|
+
summary: Simple tool to execute commands on schedule
|
58
57
|
test_files: []
|
data/.gitignore
DELETED
data/Gemfile
DELETED
data/command_timer.gemspec
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/command_timer/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["cctiger36"]
|
6
|
-
gem.email = ["cctiger36@gmail.com"]
|
7
|
-
gem.description = %q{Simple tool to execute commands on schedule}
|
8
|
-
gem.summary = %q{Execute commands on schedule}
|
9
|
-
gem.homepage = "https://github.com/cctiger36/command_timer"
|
10
|
-
|
11
|
-
gem.files = `git ls-files`.split($\)
|
12
|
-
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
-
gem.name = "command_timer"
|
15
|
-
gem.require_paths = ["lib"]
|
16
|
-
gem.version = CommandTimer::VERSION
|
17
|
-
end
|