rbtclk 0.1.0 → 0.1.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: 3f82af384fb0bca1429fab241ebe28c44660fe5b
4
- data.tar.gz: d58d110dff90dcfa066fbea3dcfa306aaa1e9920
3
+ metadata.gz: f856f46825997cd5eb17503537fa07efaacf3587
4
+ data.tar.gz: 6fae1cb2024b28adf1cdf39e9f5091a77253007d
5
5
  SHA512:
6
- metadata.gz: 801d37f245ba48e915c3d357d002fb64f6f10758527caa132f0fbbd9435c8dceff16618d6d3d6a35e627c11cc62afaf101acd392dc6e316d23c311cbde0cb27a
7
- data.tar.gz: 79c038fbf82b43f653397d1d2dd995f4a952de3db935c3eed5a134559de09fd675e72f43cd73771e506a9a05749f12adbbbe7b589389a43a64ee8c27aa5e0a1f
6
+ metadata.gz: 49dcec2a49152a56cad842e01a8984b3c07ff3d13a1445b39bb8c3a8a0d4c99c7c04509df46165f1b235d962db009376b63a349807acd4e7a92ea79e9c738867
7
+ data.tar.gz: fd70404e4be93060457f7427f456210ba037b7689d56fcdff7c68c765c2d3c568b49e86686d40f48dbaa9c2bedefa2c13a6e3b813af5157678aec3417acaaea3
data/.travis.yml CHANGED
@@ -1,3 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.1.3
4
+ notifications:
5
+ on_success: change
6
+ on_failure: change
7
+ on_start: false
data/lib/rbtclk/clock.rb CHANGED
@@ -24,7 +24,8 @@ module Rbtclk
24
24
  loop do
25
25
  case Curses.getch
26
26
  when "q"
27
- exit
27
+ Thread.kill(view_thread)
28
+ Thread.kill(input_thread)
28
29
  end
29
30
  end
30
31
  end
@@ -1,5 +1,6 @@
1
1
  require "artii"
2
2
  require "curses"
3
+ require "time"
3
4
 
4
5
  module Rbtclk
5
6
  class CountupTimer
@@ -1,3 +1,3 @@
1
1
  module Rbtclk
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/rbtclk.gemspec CHANGED
@@ -20,6 +20,8 @@ Gem::Specification.new do |spec|
20
20
  spec.add_development_dependency "bundler", "~> 1.7"
21
21
  spec.add_development_dependency "rake", "~> 10.0"
22
22
  spec.add_development_dependency "rspec"
23
+ spec.add_development_dependency "timecop"
24
+ spec.add_development_dependency "ariete"
23
25
  spec.add_dependency "artii"
24
26
  spec.add_dependency "curses"
25
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbtclk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moza USANE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-02 00:00:00.000000000 Z
11
+ date: 2014-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,34 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: timecop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ariete
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: artii
57
85
  requirement: !ruby/object:Gem::Requirement