timestreamapp 0.0.7 → 0.0.8
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/version.rb +1 -1
- data/lib/timestream.rb +14 -0
- metadata +3 -3
data/lib/timestream/version.rb
CHANGED
data/lib/timestream.rb
CHANGED
@@ -3,6 +3,7 @@ require 'rubygems'
|
|
3
3
|
require 'thor'
|
4
4
|
require 'json'
|
5
5
|
require 'httparty'
|
6
|
+
require 'timestream/version'
|
6
7
|
|
7
8
|
module Timestream
|
8
9
|
|
@@ -44,6 +45,13 @@ module Timestream
|
|
44
45
|
map "-cm" => :commit
|
45
46
|
map "commit" => :commit
|
46
47
|
|
48
|
+
map "-v" => :version
|
49
|
+
map "-V" => :version
|
50
|
+
map "--version" => :version
|
51
|
+
|
52
|
+
map "-w" => :web
|
53
|
+
map "-W" => :web
|
54
|
+
|
47
55
|
# Define some private functions
|
48
56
|
no_tasks do
|
49
57
|
# Used to check the credentials
|
@@ -294,6 +302,12 @@ module Timestream
|
|
294
302
|
system("open https://timestreamapp.com/#{get_username}")
|
295
303
|
end
|
296
304
|
|
305
|
+
desc "version", "Show the version of the TimeStream gem"
|
306
|
+
def version
|
307
|
+
say(Timestream::VERSION)
|
308
|
+
# VERSION
|
309
|
+
end
|
310
|
+
|
297
311
|
end
|
298
312
|
|
299
313
|
end
|
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: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ahmad Varoqua
|