command_timer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 TODO: Write your name
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 command_config_file
11
+ $ cmdtimer COMMAND_CONFIG_FILE
12
12
 
13
- ## Command Config File Sample (YAML)
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
- * burn_time:
32
- 1. HH:mm:ss - execute commands on time.
33
- 2. blank - execute commands by user input.
34
- 3. auto - execute commands after previous command ended.
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>
@@ -1,3 +1,3 @@
1
1
  module CommandTimer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - cctiger36
8
+ - Weihu Chen
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-22 00:00:00.000000000 Z
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: Execute commands on schedule
56
+ summary: Simple tool to execute commands on schedule
58
57
  test_files: []
data/.gitignore DELETED
@@ -1,19 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- .DS_Store
19
- *.swp
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in command_timer.gemspec
4
- gemspec
@@ -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