amdgpu_fan 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fad453694230f1814b194c31374fca92be8650777db7a9b7c9e539da3a7e76b7
4
- data.tar.gz: d4f3a8c5aa81db40f7b5b3621e10a42a825eedef25a45d98084640700204bd3e
3
+ metadata.gz: 33cbd804a68b5d6bdd6aab3270d10befb792cb376645be18ee4532c77138988a
4
+ data.tar.gz: 40cb211ebd4a435c63207082292dd93deab05980a4dae90d425a2257f2f1835d
5
5
  SHA512:
6
- metadata.gz: 4642b762f218e712f1ae9f1851f64d7b41ccf75d9102408991b873c75f79f3d0290b4963589d7dec0075b525e86b97a87fe9799baaf52b47dc829e961a0b3efc
7
- data.tar.gz: de258969e6455beee361dcc7bb3b57f8619bed4a2af6288f44c06642e6673b1dc3ac482672f0ed7f343867a5719de24b31c1b15e2b283a710c205de7658039ec
6
+ metadata.gz: cf5a76d99bae79d8d6bcf7dae631f0730d31c274b7b413d185efb4a7446beaf78327442dc87be8b59070dee1a297e0efc91df57e50044e21d2de06fe9d2f2ca8
7
+ data.tar.gz: d016f946ed8d32123552d7bdf4b19610dc3f8f338394b49824933c8f986f506cb1985c240ecc457c6f75c3ee525a32cf2f92c38a8713421052670a1b161c800e
@@ -102,6 +102,8 @@ module AmdgpuFan
102
102
  def watch(seconds = 1)
103
103
  return puts 'Seconds must be from 1 to 600' unless (1..600).cover?(seconds.to_i)
104
104
 
105
+ $stdout.sync = true
106
+
105
107
  puts "Watching #{amdgpu_service.name} every #{seconds} second(s)...",
106
108
  ' <Press Ctrl-C to exit>'
107
109
 
@@ -127,6 +129,8 @@ module AmdgpuFan
127
129
  Watch min, max, average, and current stats.
128
130
  DOC
129
131
  def watch_avg
132
+ $stdout.sync = true
133
+
130
134
  puts "Watching #{amdgpu_service.name} min, max and averges since #{Time.now}...",
131
135
  ' <Press Ctrl-C to exit>',
132
136
  "\n\n\n\n\n"
@@ -157,6 +161,8 @@ module AmdgpuFan
157
161
  def watch_csv(seconds = 1)
158
162
  return puts 'Seconds must be from 1 to 600' unless (1..600).cover?(seconds.to_i)
159
163
 
164
+ $stdout.sync = true
165
+
160
166
  puts 'Timestamp,Core Clock (Mhz),Memory Clock (Mhz),Fan speed (rpm),' \
161
167
  'Load (%),Power (Watts),Temp (°C)'
162
168
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module AmdgpuFan
4
4
  # Current version of RSpec Core, in semantic versioning format.
5
- VERSION = '1.1.1'
5
+ VERSION = '1.1.2'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amdgpu_fan
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin McCormack