ft_42 0.4.1 → 0.4.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 +4 -4
- data/lib/ft_42.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1d0e7585af9816ac9cf986346841e2c94d49390
|
|
4
|
+
data.tar.gz: d03c53ef28ca9c6266e3e1cd129eebd4447068ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 370a07ccc0846f3c61dd255247689f4a8ac19dda244cb50f93c9cf8e6806e52606f6ccea7dc908236922ea0cbb06f3cb5774ed6ca80b620d364e990fdb62f833
|
|
7
|
+
data.tar.gz: ba72bd0203aad36ef2d3caab809afdba4bf0845a91b8e2db1c782008133509b522a9ff0eff21b6af7baf51eef58c1d0de211e37421c508a32c0c0b42566faba7
|
data/lib/ft_42.rb
CHANGED
|
@@ -65,6 +65,10 @@ class FT_42
|
|
|
65
65
|
end
|
|
66
66
|
user_print.all
|
|
67
67
|
user_sessions_print.all
|
|
68
|
+
elsif args.second == "progress"
|
|
69
|
+
user_print.all
|
|
70
|
+
user_sessions_print.all
|
|
71
|
+
user_sessions_print.progress_bar
|
|
68
72
|
else
|
|
69
73
|
puts"Wrong arguments. Usage ft_42 [USER_LOGIN] [OPTIONAL CMD]"
|
|
70
74
|
end
|
|
@@ -512,6 +516,10 @@ class UserSessionsPrinter
|
|
|
512
516
|
|
|
513
517
|
def hours_this_week
|
|
514
518
|
puts "Has " + highlight("#{hours} #{hours_pluralize}") + " in the clusters this week, starting #{last_monday}."
|
|
519
|
+
|
|
520
|
+
end
|
|
521
|
+
|
|
522
|
+
def progress_bar
|
|
515
523
|
hours_progress_bar
|
|
516
524
|
hours_progress_bar_achievement
|
|
517
525
|
hours_progress_bar_challenge
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ft_42
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matias Fernandez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-12-
|
|
11
|
+
date: 2016-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|