clock_window 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/clock_window +2 -1
- data/lib/clock_window/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12bf40db265f8aaec9af53df99ab328c8a74511c
|
4
|
+
data.tar.gz: 852aefabb459b7d483389f62e9580852123dbb90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf742a437542fdb6580cc9598b94f651aeb03f1c33172155b44356009211c23617ea480a18f6b305c574513cae25a27474d299eec55d8efaf3251445d75ea736
|
7
|
+
data.tar.gz: a244c9686f7d9defabeb18ff02a6aae79fe94afd42e7a57c29f104f49b4aeb4ec0fac1fd961caf7ddd82f76f8a14a675177af92be23b44aba6032f2ecd85b45a
|
data/exe/clock_window
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require 'neatjson'
|
3
4
|
require 'clock_window'
|
4
5
|
@hash = {}
|
5
6
|
begin
|
6
7
|
loop do
|
7
|
-
sleep 15
|
8
8
|
x = ClockWindow::ClockIt.new.active_window
|
9
9
|
@hash[x] = @hash[x].to_f + 0.25
|
10
|
+
sleep 15
|
10
11
|
end
|
11
12
|
ensure
|
12
13
|
@hash = {"*---------- WINDOW NAME ----------*" => "minutes"}.merge(@hash)
|
data/lib/clock_window/version.rb
CHANGED