utsup 0.0.3 → 0.0.4
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.tar.gz.sig +3 -4
- data/lib/sup.rb +7 -6
- metadata +1 -1
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
2`�`�Ay��o�f�sF?��Y��H� ����r��_����K�.y<T����?ջ��uO-�'��F��}�����=������)�-�`���:ۍn_8
|
|
3
|
-
�E*$����Zb"5�O�#�
|
|
1
|
+
�{��'��Y|َ�UC����(�%�K���5��x,�]`�������#Ŭu�S�5�t�>�<�
|
|
4
|
-
|
|
2
|
+
s�d�>���Zc
|
|
3
|
+
�������i�@��P�h�0%'�����tc.b�Y���f�9XOr��D��f����y
|
data/lib/sup.rb
CHANGED
|
@@ -6,7 +6,7 @@ require 'yaml'
|
|
|
6
6
|
require 'git'
|
|
7
7
|
|
|
8
8
|
module Sup
|
|
9
|
-
VERSION = '0.0.
|
|
9
|
+
VERSION = '0.0.4'
|
|
10
10
|
GIT_HOOKS = %w(post-commit post-receive post-merge post-checkout) #TODO: post-rebase?
|
|
11
11
|
|
|
12
12
|
GLOBAL_CONFIG_PATH = '~/.utsup'
|
|
@@ -37,16 +37,15 @@ by Nick Merwin (Lemur Heavy Industries)
|
|
|
37
37
|
init <project name> # initilize current directory
|
|
38
38
|
|
|
39
39
|
"<message>" # send status update for current project
|
|
40
|
-
|
|
40
|
+
nm # destroy your last supdate
|
|
41
|
+
|
|
41
42
|
(no command) # get all user's current status
|
|
43
|
+
all # get all user's statuses over the past day
|
|
42
44
|
|
|
43
45
|
in "<message>" # check in to project
|
|
44
46
|
out "<message>" # check out of project
|
|
45
47
|
|
|
46
|
-
nm # destroy your last supdate
|
|
47
|
-
|
|
48
48
|
users # get list of users in company
|
|
49
|
-
|
|
50
49
|
<user name> # get last day's worth of status updates from specified user
|
|
51
50
|
eos
|
|
52
51
|
|
|
@@ -188,8 +187,10 @@ eos
|
|
|
188
187
|
# ===========================
|
|
189
188
|
|
|
190
189
|
def get_statuses(opts={})
|
|
190
|
+
name = opts[:name]
|
|
191
|
+
|
|
191
192
|
statuses = Api::Status.find :all, :params => {
|
|
192
|
-
:name =>
|
|
193
|
+
:name => name,
|
|
193
194
|
:today => opts[:today]
|
|
194
195
|
}
|
|
195
196
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|