ztk 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,7 @@ module ZTK
24
24
 
25
25
  # Builds our SSH console command.
26
26
  def console_command
27
- verbosity = ((ENV['LOG_LEVEL'].upcase == "DEBUG") ? '-vv' : '-q')
27
+ verbosity = ((ENV['LOG_LEVEL'] == "DEBUG") ? '-vv' : '-q')
28
28
 
29
29
  command = [ "/usr/bin/env ssh" ]
30
30
  command << [ verbosity ]
@@ -48,7 +48,7 @@ module ZTK
48
48
  !config.proxy_user and log_and_raise(SSHError, "You must specify an proxy user in order to SSH proxy.")
49
49
  !config.proxy_host_name and log_and_raise(SSHError, "You must specify an proxy host_name in order to SSH proxy.")
50
50
 
51
- verbosity = ((ENV['LOG_LEVEL'].upcase == "DEBUG") ? '-vv' : '-q')
51
+ verbosity = ((ENV['LOG_LEVEL'] == "DEBUG") ? '-vv' : '-q')
52
52
 
53
53
  command = ["/usr/bin/env ssh"]
54
54
  command << [ verbosity ]
@@ -36,7 +36,7 @@ module ZTK
36
36
  # to change ownership of the target file to (i.e. 'root:root').
37
37
  # @option options [String] :chmod An octal file mode which to set the
38
38
  # target file to (i.e. '0755').
39
- # @return [Boolean] Returns true if successfull.
39
+ # @return [Boolean] Returns true if successful.
40
40
  def file(options={}, &block)
41
41
  target = options[:target]
42
42
  chown = options[:chown]
@@ -21,6 +21,6 @@
21
21
  module ZTK
22
22
 
23
23
  # ZTK Version String
24
- VERSION = "1.3.0"
24
+ VERSION = "1.3.1"
25
25
 
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ztk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -246,7 +246,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
246
246
  version: '0'
247
247
  segments:
248
248
  - 0
249
- hash: 2390490628279422468
249
+ hash: 368115665755490767
250
250
  required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  none: false
252
252
  requirements:
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  version: '0'
256
256
  segments:
257
257
  - 0
258
- hash: 2390490628279422468
258
+ hash: 368115665755490767
259
259
  requirements: []
260
260
  rubyforge_project:
261
261
  rubygems_version: 1.8.25