<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hcl/test, branch log-for-past-days--squashed</title>
<subtitle>Command-line tool for manipulating Harvest timesheets</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/'/>
<entry>
<title>Add date argument to `log` command</title>
<updated>2018-01-31T19:47:10+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-26T23:31:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=873325ebce6d0451263d115a8f02f40e0a6fbd40'/>
<id>873325ebce6d0451263d115a8f02f40e0a6fbd40</id>
<content type='text'>
Adds an optional date argument to the `log` command that can be
specified just before the task alias.

Some examples from @skoppelmanCC:

    hcl log yesterday @documentation +2 Ran spellcheck
    hcl log 3 days ago @wireframes +3.5
    hcl log last friday @admin +1 filed timesheets

Commands#log:
Copy over the contents of `Commands#start` and replace `task.start` with
`task.add`. This allows us to log the time without actually starting a
timer (and thus having to subsequently stop that timer).

command_test.rb(#test_start):
Update expected method call arguments with `spent_at`. Now that we're
passing in `spent_at`, the expected arguments should include it.

command_test.rb(#test_log_failure):
Delete this test because I've rewritten the `Commands#log` method to no
longer use timers.

utility_test.rb: Add tests for `#get_date`

Fixes #83.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds an optional date argument to the `log` command that can be
specified just before the task alias.

Some examples from @skoppelmanCC:

    hcl log yesterday @documentation +2 Ran spellcheck
    hcl log 3 days ago @wireframes +3.5
    hcl log last friday @admin +1 filed timesheets

Commands#log:
Copy over the contents of `Commands#start` and replace `task.start` with
`task.add`. This allows us to log the time without actually starting a
timer (and thus having to subsequently stop that timer).

command_test.rb(#test_start):
Update expected method call arguments with `spent_at`. Now that we're
passing in `spent_at`, the expected arguments should include it.

command_test.rb(#test_log_failure):
Delete this test because I've rewritten the `Commands#log` method to no
longer use timers.

utility_test.rb: Add tests for `#get_date`

Fixes #83.
</pre>
</div>
</content>
</entry>
<entry>
<title>This test was failing b/c the year is now 2015- now ought to work any year.</title>
<updated>2015-06-02T00:00:40+00:00</updated>
<author>
<name>Nick C. Kaye</name>
</author>
<published>2015-06-01T19:21:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=bc29b19c842fc9954e28251570cdee841f7e9a09'/>
<id>bc29b19c842fc9954e28251570cdee841f7e9a09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>net_test: cover failure cases</title>
<updated>2014-04-21T23:19:18+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2014-04-21T23:19:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=4c1d1dfec55c8c7240b5a6325174667461ba6099'/>
<id>4c1d1dfec55c8c7240b5a6325174667461ba6099</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix build on 1.9.3 and rbx</title>
<updated>2014-04-21T22:57:49+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2014-04-21T22:57:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=065d0823f2b7d4c766b281c2c828bdf87bc10a40'/>
<id>065d0823f2b7d4c766b281c2c828bdf87bc10a40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>coverage game</title>
<updated>2014-04-21T22:44:03+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2014-04-21T22:31:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=d3a47641290396abeb5ccb2964350a6f5a4ddb86'/>
<id>d3a47641290396abeb5ccb2964350a6f5a4ddb86</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use byebug  for development</title>
<updated>2014-04-21T21:20:08+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2014-04-21T21:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=e0ade5d3b92734cebb86336077664b524a606984'/>
<id>e0ade5d3b92734cebb86336077664b524a606984</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove dependency on fakeweb and net::http</title>
<updated>2014-04-21T20:06:14+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2014-04-21T19:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=3bc51e96c7a88dfdf8d003c669d4af33d92ab90c'/>
<id>3bc51e96c7a88dfdf8d003c669d4af33d92ab90c</id>
<content type='text'>
By using pure faraday for the test and error handling code,
the way is cleared for dropping in alternative http clients.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By using pure faraday for the test and error handling code,
the way is cleared for dropping in alternative http clients.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove ssl option, fixes #57</title>
<updated>2014-04-21T19:05:02+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2014-04-21T19:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=4a26eafea9d3bf396d57b7fc79dcb02039a1dbfe'/>
<id>4a26eafea9d3bf396d57b7fc79dcb02039a1dbfe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CommandTest#task_test: mock the full http stack instead of an internal method</title>
<updated>2014-02-04T18:45:19+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2014-02-04T18:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=34de47f901292fb5f8e4147a0d3cd608b50da790'/>
<id>34de47f901292fb5f8e4147a0d3cd608b50da790</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>command_test: fix stop yesterday test</title>
<updated>2014-01-29T18:06:51+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2014-01-29T18:06:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=20556078f1614b57cf331884a6f346fec4579d4b'/>
<id>20556078f1614b57cf331884a6f346fec4579d4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
