linux_admin 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60c6e67fc23b06d36cf65dc32304ced4a387d956
4
- data.tar.gz: 9e9a3dc80a82c5035974c15de8ecdfa4761fe3bf
3
+ metadata.gz: 4cff55729b03594f6057598b4c52e8b46f9d150f
4
+ data.tar.gz: c4396ebccac857e757be07437c734b307682c359
5
5
  SHA512:
6
- metadata.gz: 6d30635d8a458e85816d44078d16600c2aa878a5a64f61f580d519a0a2fc17d4667a3e9f410537aa18a41d677ad0b6b1dba5aecb6323472088f35cab87bcfdb3
7
- data.tar.gz: 7d6dc7086686fef95524d24ee6ee85726d024ead0aa1093cf2ecc1ab1064a53cc20063c54556ce5c303414e86060fc62677ab0e0827992577005c8d7e8c116c4
6
+ metadata.gz: 304dae896d5b1d43efe3b92206c029ea305933eb38c5a37f0e77b7393b729542e71c4e18ebf01e0b1eed558ecd6512890609efde18a343f353f8a6b12935e290
7
+ data.tar.gz: 90aea3e3a2f7f043e68c506fa342201c8ca3a7f8a5078e7a5abe500fc3cd187b7691b4393416af16793e955a76d4c9bfdb36a635fd906e9badc0267b4e6790f8
@@ -49,7 +49,7 @@ module LinuxAdmin
49
49
 
50
50
  def hostname
51
51
  result = run(cmd("hostname"))
52
- result.success? ? result.output : nil
52
+ result.success? ? result.output.strip : nil
53
53
  end
54
54
 
55
55
  private
@@ -1,3 +1,3 @@
1
1
  module LinuxAdmin
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linux_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Dunne