utsup 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data.tar.gz.sig +3 -4
  2. data/lib/sup.rb +7 -6
  3. metadata +1 -1
  4. 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
- !n���߅�3Y)iiW(^�`"Ǒ�Y R�������h�&�R�BkC=���A4t����P��0o
2
+ sd�>���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.3'
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 => opts[:name],
193
+ :name => name,
193
194
  :today => opts[:today]
194
195
  }
195
196
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utsup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Merwin
metadata.gz.sig CHANGED
Binary file