runpuppet 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -46,9 +46,10 @@ module Runpuppet
46
46
  def get(path)
47
47
  begin
48
48
  url = append_params_to_url(base_url(path))
49
- puts "Getting #{url}" if run_options[:verbose]
49
+ puts "Getting #{url}" if run_options[:debug]
50
50
  result = RestClient.get(url)
51
- puts "got #{result}" if run_options[:verbose]
51
+ puts "got #{result}" if run_options[:debug]
52
+ return result
52
53
  rescue Exception => e
53
54
  puts e.inspect
54
55
  puts "WARNING: error connecting in GET (PuppetMaster)"
data/runpuppet.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "runpuppet"
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
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"]
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Heinrich