server-status 1.1.1 → 1.2.0

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
- SHA1:
3
- metadata.gz: 56ef4a46984ad2e71316957017f4d31b5a2f26f2
4
- data.tar.gz: 8a6c27cf422e4239fc8dd2e41f382cfc69e92733
2
+ SHA256:
3
+ metadata.gz: 6fce21e7bf732e7a2f4202ae90c9eb89c505453986edaf621edcc49f8e734853
4
+ data.tar.gz: '0985c9a3b5dcddc2b748a9963d98902518d646b0f7178bb1ae57e78b613c819a'
5
5
  SHA512:
6
- metadata.gz: 22e0cffad9b72f8f1bffacffd004e8c4e20e61e7a587b3cc88788f29901508ed933ef2d20d9a0eae4d5b6338418beb2db3a6e8de3b1c8c4c064c0557eada634a
7
- data.tar.gz: 174b62fa0905647c27ed416de8b2c71e6c92388b0a11113a26f04613de66bafe4306c4af3447690ecb8728e0417356798f5a0e1ad4d2776a8fe161f92ecffd69
6
+ metadata.gz: 8d744e0a823119f4050b7a350f806714c132629b661bae8504bfe446ed357d6d263102e9fa8b4903ccf88ca341d2c50e93fd188688d9a934ebda218f9f00553d
7
+ data.tar.gz: ac5355079cadd1fd76c073ac017df47146360f788e9237e68dbb21251c9302918131a2e48562f9e4a5109ec1cd2cb9e2e1f0131a81b2ecbaaa60e6e34e508a8e
@@ -41,7 +41,7 @@ module ServerStatus
41
41
  memory_usage: true,
42
42
  clock_drift: true,
43
43
  package_updates: true,
44
- reboot_required: true
44
+ reboot_required: false
45
45
  }.merge(@config.options))
46
46
 
47
47
  ServerStatus::Commands::Run.new(@config, options).perform
@@ -134,7 +134,7 @@ module ServerStatus
134
134
  end
135
135
 
136
136
  if val =~ /(\d+) (updates are|update is a) security update(s)?/
137
- str << " (#{$1} security)".colorize(:red) if $1.to_i != 0
137
+ str << " #{$1}!".colorize(:red) if $1.to_i != 0
138
138
  end
139
139
 
140
140
  str
@@ -43,7 +43,7 @@ module ServerStatus
43
43
  end
44
44
 
45
45
  if @options.package_updates
46
- parts << "cat /var/lib/update-notifier/updates-available 2>/dev/null"
46
+ parts << "cat /var/lib/update-notifier/updates-available 2>/dev/null || true"
47
47
  end
48
48
 
49
49
  if @options.reboot_required
@@ -1,3 +1,3 @@
1
1
  module ServerStatus
2
- VERSION = '1.1.1'
2
+ VERSION = '1.2.0'
3
3
  end
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_dependency "commander", "~> 4.3"
21
- spec.add_dependency "colorize", "~> 0.7.7"
21
+ spec.add_dependency "colorize", "~> 0.8"
22
22
  spec.add_dependency "tty-progressbar", "~> 0.10.1"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.11"
25
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rake", ">= 10.0"
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server-status
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-21 00:00:00.000000000 Z
11
+ date: 2018-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.7.7
33
+ version: '0.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.7.7
40
+ version: '0.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: tty-progressbar
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -70,14 +70,14 @@ dependencies:
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '10.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '10.0'
83
83
  description: Command line tool for quickly fetching and displaying vital host metrics
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.6.10
132
+ rubygems_version: 2.7.3
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Command line tool for quickly fetching and displaying vital host metrics