tot 0.0.3.4 → 0.0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/tot/version.rb +1 -1
- data/lib/tot.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWJiNWQxN2U0MTQwNmVlYmQ0MWZiYmYwMzZkZjJjZWYyM2MwNjBiZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZmZlZmViMjVlZWY0YmM4OTY5Yjk3Yzc0NjcxZmVlYjk4MTE4MjBjZA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjkxMTBkMTc1MmU1MjdjOTI5NjVhZjI2NTA3OWJjY2M5ODRkNjIyMDRhMzhi
|
10
|
+
NDhmODU1ZGQzYWQzNTU4MjIyMjBiN2U5YTAxZjgxZTBhNzdlNDM0N2U0Y2Fl
|
11
|
+
NjE5NzA2ZjNmZTZhNDg4Y2Q5ZDM1OGQwMzlkZWY3MTA2ZjQyYjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjFjZDE2NzU3OTU2OGZmYWUwODU3ZGE0NzY4MzgwZDMwYTQyZjdhZTM3ZWE2
|
14
|
+
M2Q1YjUwNWY4YThjZDlhMDU5Njc0NjE5ZWVhZmIyN2NmNGUxYTViM2JkMThk
|
15
|
+
ZmEwNTY2ZmNlNmQ4ZmUwMWIwNWViYzY0OTAwMjM5YjExNTUxNGM=
|
data/lib/tot/version.rb
CHANGED
data/lib/tot.rb
CHANGED
@@ -77,15 +77,17 @@ module Tot
|
|
77
77
|
#https://github.com/flori/term-ansicolor/blob/master/examples/example.rb
|
78
78
|
case (Date.parse(todo['date'].to_s) - Date.parse(Time.now.to_s)).to_i
|
79
79
|
when -10 .. -1
|
80
|
-
print Term::ANSIColor.
|
80
|
+
print Term::ANSIColor.blue
|
81
81
|
when 0..1
|
82
82
|
print Term::ANSIColor.bold, Term::ANSIColor.red
|
83
83
|
when 2..3
|
84
84
|
print Term::ANSIColor.bold, Term::ANSIColor.yellow
|
85
85
|
when 4..7
|
86
|
-
print Term::ANSIColor.
|
86
|
+
print Term::ANSIColor.dark, Term::ANSIColor.cyan
|
87
|
+
when 7..30
|
88
|
+
print Term::ANSIColor.white
|
87
89
|
else
|
88
|
-
print Term::ANSIColor.
|
90
|
+
print Term::ANSIColor.magenta
|
89
91
|
end
|
90
92
|
|
91
93
|
puts [("<<#{idx}>>" if with_index),
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.3.
|
4
|
+
version: 0.0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shohei Fujii
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|