timestreamapp 0.0.8 → 0.0.9
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.
- data/lib/timestream.rb +12 -0
- data/lib/timestream/version.rb +1 -1
- metadata +3 -3
data/lib/timestream.rb
CHANGED
|
@@ -52,6 +52,8 @@ module Timestream
|
|
|
52
52
|
map "-w" => :web
|
|
53
53
|
map "-W" => :web
|
|
54
54
|
|
|
55
|
+
map "intro" => :info
|
|
56
|
+
|
|
55
57
|
# Define some private functions
|
|
56
58
|
no_tasks do
|
|
57
59
|
# Used to check the credentials
|
|
@@ -308,6 +310,16 @@ module Timestream
|
|
|
308
310
|
# VERSION
|
|
309
311
|
end
|
|
310
312
|
|
|
313
|
+
desc "info", "Learn about TimeStream"
|
|
314
|
+
def info
|
|
315
|
+
say("Welcome to TimeStream! TimeStream is a minimalist, web-based time-tracking system.")
|
|
316
|
+
say("You can learn more at: https://timestreamapp.com")
|
|
317
|
+
|
|
318
|
+
if yes?("Would you like to go TimeStreamApp.com now?", :green)
|
|
319
|
+
system("open https://timestreamapp.com")
|
|
320
|
+
end
|
|
321
|
+
end
|
|
322
|
+
|
|
311
323
|
end
|
|
312
324
|
|
|
313
325
|
end
|
data/lib/timestream/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: timestreamapp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 9
|
|
10
|
+
version: 0.0.9
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ahmad Varoqua
|