kelredd-useful 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,4 +31,10 @@ def total_time_in_values(total_time)
31
31
  values
32
32
  end
33
33
 
34
-
34
+ def hostname
35
+ val = ""
36
+ run "hostname" do |ch, stream, out|
37
+ val = out
38
+ end
39
+ val.strip
40
+ end
@@ -3,7 +3,7 @@ module Useful
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 11
6
+ TINY = 12
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-useful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelredd
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-25 00:00:00 -07:00
12
+ date: 2009-06-29 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15