runpuppet 0.5.10 → 0.5.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/runpuppet.rb +1 -1
  3. data/runpuppet.gemspec +2 -2
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.10
1
+ 0.5.11
data/lib/runpuppet.rb CHANGED
@@ -63,9 +63,9 @@ class Runpuppet
63
63
  time = Time.now.utc.strftime("%Y-%m-%d %H:%M:%S")
64
64
 
65
65
  todo, branch = get("/puppet/run").read.split('-') rescue []
66
+ branch ||= (options[:branch] || Config.default_branch)
66
67
  if todo == 'run' or !options[:try] # try allows not running
67
68
  get '/puppet/status?status=started'
68
- branch ||= Config.default_branch
69
69
  cmd = Config.command.gsub('@@branch@@', branch)
70
70
  puts "#{time}: run #{branch}"
71
71
 
data/runpuppet.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{runpuppet}
8
- s.version = "0.5.10"
8
+ s.version = "0.5.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roman Heinrich"]
12
- s.date = %q{2011-07-07}
12
+ s.date = %q{2011-07-14}
13
13
  s.default_executable = %q{runpuppet}
14
14
  s.description = %q{Is the local client to the puppet_controller}
15
15
  s.email = %q{roman.heinrich@gmail.com}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runpuppet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 10
10
- version: 0.5.10
9
+ - 11
10
+ version: 0.5.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Heinrich
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-07 00:00:00 +02:00
18
+ date: 2011-07-14 00:00:00 +02:00
19
19
  default_executable: runpuppet
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency