timestreamapp 0.0.6 → 0.0.7

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/README.md ADDED
@@ -0,0 +1,130 @@
1
+ TimeStream
2
+ ==========
3
+
4
+ Description
5
+ -----------
6
+ TimeStream is a minimalist time-tracking solution where you use live status messages to track what you're working on.
7
+ It's similar to Twitter or Facebook statuses, but private, secure and with time-tracking functionality.
8
+
9
+ Learn more at:
10
+ [https://timestreamapp.com](https://timestreamapp.com)
11
+
12
+ Installation
13
+ ------------
14
+ gem install timestreamapp
15
+
16
+ Usage and documentation
17
+ -----------------------
18
+ After installation, login with your TimeStream credentials:
19
+
20
+ ts login
21
+
22
+ To view a list of available commands:
23
+
24
+ ts help
25
+
26
+ Will output:
27
+
28
+ Tasks:
29
+ ts commit # Commit and push up your Git changes to the remote master with your current TimeStream status as the commit message
30
+ ts current # Get your current task
31
+ ts date "YYYY-MM-DD" # Show tasks for a specific date, uses typical formats, e.g.: YYYY-MM-DD, "last monday", MM/DD/YY
32
+ ts help [TASK] # Describe available tasks or one specific task
33
+ ts login # Login to your TimeStream account
34
+ ts logout # Logout of your TimeStream account
35
+ ts new "Some new status" # Add a new task
36
+ ts search "search terms" # Search tasks
37
+ ts task-time # Get the task and time together
38
+ ts time # Get the duration of your current task
39
+ ts time-task # Get the time and task together
40
+ ts today # Get a list of all of today's tasks
41
+
42
+ Many of the commands have optional arguments (command line switches). For e.g., to learn more about the "ts current" command, enter the following:
43
+
44
+ ts help current
45
+
46
+ This will output:
47
+
48
+ Usage:
49
+ ts current
50
+
51
+ Options:
52
+ -f, [--format=FORMAT] # Specify what you want: time, task, task-time, time-task. If specified, only returns txt.
53
+ # Default: task
54
+ -o, [--output=OUTPUT] # Specify an output format: csv, json, pdf, rss, txt or xml
55
+ # Default: txt
56
+ -i, [--inline] # Specify if you want the output inline, i.e. with NO newline after the output. Useful when scripting.
57
+
58
+ Examples
59
+ --------
60
+
61
+ Show the duration of your current task:
62
+
63
+ ts time
64
+
65
+ Will output something like:
66
+
67
+ 04:41:45
68
+
69
+ Show your current time and task together:
70
+
71
+ ts time-task
72
+
73
+ Will output:
74
+
75
+ [04:34:22] This is my awesome task
76
+
77
+ Add a new task:
78
+
79
+ ts new "This is some other awesome task"
80
+
81
+ Show all of today's tasks:
82
+
83
+ ts today
84
+
85
+ Will output something like:
86
+
87
+ 00:02:00 This is my awesome task
88
+ 00:15:54 This is some other awesome task
89
+
90
+ Search for entries:
91
+
92
+ ts search "awesome"
93
+
94
+ Will output:
95
+
96
+ 00:00:49 This is my awesome task 2011-06-07 10:10:46 2011-06-07 10:11:35
97
+ 00:04:09 This is some other awesome task 2011-04-07 17:03:42 2011-04-07 17:07:51
98
+
99
+ Show your current task in JSON format:
100
+
101
+ ts current -o=json
102
+
103
+ Will output:
104
+
105
+ {
106
+ "task":"This is my awesome task",
107
+ "duration":"04:44:35",
108
+ "seconds":"17075",
109
+ "created_at":"2011-06-30 11:53:26",
110
+ "timezone":"America/Los_Angeles",
111
+ "source":"quicksilver",
112
+ "ip":"67.188.42.153"
113
+ }
114
+
115
+ Show entries for a specific date:
116
+
117
+ ts date "2011-05-11"
118
+
119
+ Will output something like:
120
+
121
+ 01:19:03 SOMECLIENT > Phone > Meeting about 3.x items
122
+ 00:11:05 ROCKERISTA > CM > Creating header image for Concert Post
123
+ 00:00:36 VGTRACKER > Dev > Defining responders > PDF > Trying to get webfonts to work
124
+ 00:00:24 VGTRACKER > Dev > Making root point to home
125
+ 00:30:50 VGTRACKER > IT > Install production SSL certs
126
+ 00:17:40 VGTRACKER > IT > Rerouting all traffic through https
127
+
128
+ Automatically add changed files, commit them with your current TimeStream status as the commit message and push it up to the remote master with Git:
129
+
130
+ ts commit
data/lib/timestream.rb CHANGED
@@ -289,6 +289,11 @@ module Timestream
289
289
  end
290
290
  end
291
291
 
292
+ desc "web", "Open TimeStream in your web browser"
293
+ def web
294
+ system("open https://timestreamapp.com/#{get_username}")
295
+ end
296
+
292
297
  end
293
298
 
294
299
  end
@@ -1,3 +1,3 @@
1
1
  module Timestream
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ahmad Varoqua
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-30 00:00:00 Z
18
+ date: 2011-07-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thor
@@ -72,6 +72,7 @@ files:
72
72
  - .DS_Store
73
73
  - .gitignore
74
74
  - Gemfile
75
+ - README.md
75
76
  - Rakefile
76
77
  - bin/ts
77
78
  - lib/timestream.rb