harvested 0.3.1 → 0.3.2
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/HISTORY +5 -0
- data/VERSION +1 -1
- data/harvested.gemspec +2 -2
- data/lib/harvest/time_entry.rb +2 -0
- metadata +4 -4
data/HISTORY
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
0.3.2 - January 27, 2010
|
|
2
|
+
* Add of_user support to Time Entry (Benjamin Wong - tkwong)
|
|
3
|
+
0.3.1 - October 14, 2010
|
|
4
|
+
* Updated docs removing :ssl => false since Harvest released SSL to everyone
|
|
5
|
+
* Added department to the User model (Steve McKinney - )
|
|
1
6
|
0.3.0 - April 11, 2010
|
|
2
7
|
* Added users
|
|
3
8
|
* Added clients
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.2
|
data/harvested.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{harvested}
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Zach Moazeni"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2011-01-27}
|
|
13
13
|
s.description = %q{Harvested wraps the Harvest API concisely without the use of Rails dependencies. More information about the Harvest API can be found on their website (http://www.getharvest.com/api). For support hit up the Mailing List (http://groups.google.com/group/harvested)}
|
|
14
14
|
s.email = %q{zach.moazeni@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/harvest/time_entry.rb
CHANGED
|
@@ -19,6 +19,7 @@ module Harvest
|
|
|
19
19
|
element :user_id, Integer
|
|
20
20
|
element :closed, Boolean, :tag => 'is-closed'
|
|
21
21
|
element :billed, Boolean, :tag => 'is-billed'
|
|
22
|
+
element :of_user, Integer
|
|
22
23
|
|
|
23
24
|
def spent_at=(date)
|
|
24
25
|
@spent_at = (String === date ? Time.parse(date) : date)
|
|
@@ -32,6 +33,7 @@ module Harvest
|
|
|
32
33
|
r.tag!('project_id', project_id) if project_id
|
|
33
34
|
r.tag!('task_id', task_id) if task_id
|
|
34
35
|
r.tag!('spent_at', spent_at) if spent_at
|
|
36
|
+
r.tag!('of_user', of_user) if of_user
|
|
35
37
|
end
|
|
36
38
|
end
|
|
37
39
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: harvested
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 23
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.3.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Zach Moazeni
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date:
|
|
18
|
+
date: 2011-01-27 00:00:00 -05:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|