<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hcl/lib, branch tw</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>Merge branch 'log-for-past-days--squashed--v2' into tw</title>
<updated>2018-01-31T20:08:30+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-31T20:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=948c511df10913548ad8646b14daaa992ff695d8'/>
<id>948c511df10913548ad8646b14daaa992ff695d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>App#save_password: Shell escape password</title>
<updated>2018-01-31T20:08:08+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-28T23:07:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=e820b8a2c7901e25231b68274fa3c853573e4fa0'/>
<id>e820b8a2c7901e25231b68274fa3c853573e4fa0</id>
<content type='text'>
Escape special shell characters so that passwords with single quotes can
be saved to the keychain. Otherwise, the single quotes surrounding the
"-w '%s'" cause an error on passwords with single quotes.

I know testing private methods is not recommended, but this seemed like
something that would be good to test. Maybe the method should be made
public if that's a concern?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Escape special shell characters so that passwords with single quotes can
be saved to the keychain. Otherwise, the single quotes surrounding the
"-w '%s'" cause an error on passwords with single quotes.

I know testing private methods is not recommended, but this seemed like
something that would be good to test. Maybe the method should be made
public if that's a concern?
</pre>
</div>
</content>
</entry>
<entry>
<title>App#read_config: Clarify the meaning of 'subdomain' when asking for it</title>
<updated>2018-01-31T20:08:07+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-28T15:46:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=327fde066844d6e35d7b723a052f6f8157536e9c'/>
<id>327fde066844d6e35d7b723a052f6f8157536e9c</id>
<content type='text'>
The first time I saw it, I wasn't sure what format of subdomain this
prompt wanted, and entered 'acme.harvestapp.com'. Since it's not
documented in the README either, I had to source-dive to find the
answer. Clarify what should be entered here by including an example in
the prompt.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The first time I saw it, I wasn't sure what format of subdomain this
prompt wanted, and entered 'acme.harvestapp.com'. Since it's not
documented in the README either, I had to source-dive to find the
answer. Clarify what should be entered here by including an example in
the prompt.
</pre>
</div>
</content>
</entry>
<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>v0.4.16</title>
<updated>2017-02-12T21:16:07+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2017-02-12T21:16:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=549f861b4e5a10b9236dde287b34415883468033'/>
<id>549f861b4e5a10b9236dde287b34415883468033</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix deprecated impls, closes #72</title>
<updated>2017-02-09T15:48:16+00:00</updated>
<author>
<name>Charney Kaye</name>
</author>
<published>2017-02-06T15:13:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=45771b01dae493024b1a9de93eab55d26281bfa6'/>
<id>45771b01dae493024b1a9de93eab55d26281bfa6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>version 0.4.15</title>
<updated>2015-06-13T00:42:06+00:00</updated>
<author>
<name>Zack Hobson</name>
</author>
<published>2015-06-13T00:42:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=91e2192540982ab4e82a2ade2de66bf9481eeffe'/>
<id>91e2192540982ab4e82a2ade2de66bf9481eeffe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>parse and output response</title>
<updated>2015-06-03T19:16:27+00:00</updated>
<author>
<name>Lorenzo Manacorda</name>
</author>
<published>2015-06-03T19:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=7c025df3c27c3090417d2fdbb174ad0942e24d86'/>
<id>7c025df3c27c3090417d2fdbb174ad0942e24d86</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove harvest middleware</title>
<updated>2015-06-03T17:56:53+00:00</updated>
<author>
<name>Lorenzo Manacorda</name>
</author>
<published>2015-06-03T17:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=4e7b486093d85d52083f93d6bb68ae5584351473'/>
<id>4e7b486093d85d52083f93d6bb68ae5584351473</id>
<content type='text'>
it always uses HTTP Basic Auth, whereas our endpoint is publicly
available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it always uses HTTP Basic Auth, whereas our endpoint is publicly
available.
</pre>
</div>
</content>
</entry>
<entry>
<title>change status API endpoint</title>
<updated>2015-06-03T17:56:39+00:00</updated>
<author>
<name>Lorenzo Manacorda</name>
</author>
<published>2015-06-03T17:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/hcl/commit/?id=7a0ee394d3a110a05726d70232fc89e1f61ea123'/>
<id>7a0ee394d3a110a05726d70232fc89e1f61ea123</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
