harvested 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.5.0
data/harvested.gemspec CHANGED
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{harvested}
8
- s.version = "0.4.0"
7
+ s.name = "harvested"
8
+ s.version = "0.5.0"
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{2011-08-04}
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
- s.email = %q{zach.moazeni@gmail.com}
12
+ s.date = "2012-06-18"
13
+ s.description = "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
+ s.email = "zach.moazeni@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "README.md",
17
17
  "TODO"
@@ -100,10 +100,10 @@ Gem::Specification.new do |s|
100
100
  "spec/support/json_examples.rb",
101
101
  "spec/test_rubies"
102
102
  ]
103
- s.homepage = %q{http://github.com/zmoazeni/harvested}
103
+ s.homepage = "http://github.com/zmoazeni/harvested"
104
104
  s.require_paths = ["lib"]
105
- s.rubygems_version = %q{1.6.2}
106
- s.summary = %q{A Ruby Wrapper for the Harvest API http://www.getharvest.com/}
105
+ s.rubygems_version = "1.8.21"
106
+ s.summary = "A Ruby Wrapper for the Harvest API http://www.getharvest.com/"
107
107
 
108
108
  if s.respond_to? :specification_version then
109
109
  s.specification_version = 3
@@ -20,6 +20,7 @@ module Harvest
20
20
  property :is_billed
21
21
  property :timer_started_at
22
22
  property :adjustment_record
23
+ property :hours_without_timer
23
24
 
24
25
  skip_json_root true
25
26
 
@@ -42,4 +43,4 @@ module Harvest
42
43
  alias_method :closed?, :is_closed
43
44
  alias_method :billed?, :is_billed
44
45
  end
45
- end
46
+ end
data/lib/harvest/user.rb CHANGED
@@ -51,6 +51,8 @@ module Harvest
51
51
  property :default_expense_project_id
52
52
  property :identity_url
53
53
  property :timestamp_timers
54
+ property :weekly_digest_sent_on
55
+ property :wants_weekly_digest
54
56
 
55
57
  alias_method :active?, :is_active
56
58
  alias_method :admin?, :is_admin
metadata CHANGED
@@ -1,173 +1,186 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: harvested
3
- version: !ruby/object:Gem::Version
4
- hash: 15
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 0
10
- version: 0.4.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Zach Moazeni
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-08-04 00:00:00 -04:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2012-06-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: httparty
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- name: httparty
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: hashie
32
+ requirement: !ruby/object:Gem::Requirement
38
33
  none: false
39
- requirements:
34
+ requirements:
40
35
  - - ~>
41
- - !ruby/object:Gem::Version
42
- hash: 1
43
- segments:
44
- - 1
45
- version: "1"
36
+ - !ruby/object:Gem::Version
37
+ version: '1'
46
38
  type: :runtime
47
- name: hashie
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
39
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
52
41
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
60
- type: :runtime
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '1'
46
+ - !ruby/object:Gem::Dependency
61
47
  name: json
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
64
55
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec
64
+ requirement: !ruby/object:Gem::Requirement
66
65
  none: false
67
- requirements:
66
+ requirements:
68
67
  - - ~>
69
- - !ruby/object:Gem::Version
70
- hash: 7
71
- segments:
72
- - 2
73
- version: "2"
68
+ - !ruby/object:Gem::Version
69
+ version: '2'
74
70
  type: :development
75
- name: rspec
76
- version_requirements: *id004
77
- - !ruby/object:Gem::Dependency
78
71
  prerelease: false
79
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
80
73
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
88
- type: :development
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '2'
78
+ - !ruby/object:Gem::Dependency
89
79
  name: ruby-debug
90
- version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
- prerelease: false
93
- requirement: &id006 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
94
81
  none: false
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- hash: 3
99
- segments:
100
- - 0
101
- version: "0"
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
102
86
  type: :development
103
- name: ruby-debug19
104
- version_requirements: *id006
105
- - !ruby/object:Gem::Dependency
106
87
  prerelease: false
107
- requirement: &id007 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
108
89
  none: false
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- hash: 3
113
- segments:
114
- - 0
115
- version: "0"
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: ruby-debug19
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
116
102
  type: :development
117
- name: jruby-openssl
118
- version_requirements: *id007
119
- - !ruby/object:Gem::Dependency
120
103
  prerelease: false
121
- requirement: &id008 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
122
105
  none: false
123
- requirements:
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- hash: 3
127
- segments:
128
- - 0
129
- version: "0"
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: jruby-openssl
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
130
118
  type: :development
131
- name: webmock
132
- version_requirements: *id008
133
- - !ruby/object:Gem::Dependency
134
119
  prerelease: false
135
- requirement: &id009 !ruby/object:Gem::Requirement
120
+ version_requirements: !ruby/object:Gem::Requirement
136
121
  none: false
137
- requirements:
138
- - - ">="
139
- - !ruby/object:Gem::Version
140
- hash: 3
141
- segments:
142
- - 0
143
- version: "0"
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: webmock
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
144
134
  type: :development
145
- name: vcr
146
- version_requirements: *id009
147
- - !ruby/object:Gem::Dependency
148
135
  prerelease: false
149
- requirement: &id010 !ruby/object:Gem::Requirement
136
+ version_requirements: !ruby/object:Gem::Requirement
150
137
  none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- hash: 3
155
- segments:
156
- - 0
157
- version: "0"
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: vcr
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
158
150
  type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
159
159
  name: jeweler
160
- version_requirements: *id010
161
- description: 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)
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ description: Harvested wraps the Harvest API concisely without the use of Rails dependencies.
175
+ More information about the Harvest API can be found on their website (http://www.getharvest.com/api).
176
+ For support hit up the Mailing List (http://groups.google.com/group/harvested)
162
177
  email: zach.moazeni@gmail.com
163
178
  executables: []
164
-
165
179
  extensions: []
166
-
167
- extra_rdoc_files:
180
+ extra_rdoc_files:
168
181
  - README.md
169
182
  - TODO
170
- files:
183
+ files:
171
184
  - .document
172
185
  - Gemfile
173
186
  - HISTORY
@@ -250,39 +263,31 @@ files:
250
263
  - spec/support/harvested_helpers.rb
251
264
  - spec/support/json_examples.rb
252
265
  - spec/test_rubies
253
- has_rdoc: true
254
266
  homepage: http://github.com/zmoazeni/harvested
255
267
  licenses: []
256
-
257
268
  post_install_message:
258
269
  rdoc_options: []
259
-
260
- require_paths:
270
+ require_paths:
261
271
  - lib
262
- required_ruby_version: !ruby/object:Gem::Requirement
272
+ required_ruby_version: !ruby/object:Gem::Requirement
263
273
  none: false
264
- requirements:
265
- - - ">="
266
- - !ruby/object:Gem::Version
267
- hash: 3
268
- segments:
274
+ requirements:
275
+ - - ! '>='
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
278
+ segments:
269
279
  - 0
270
- version: "0"
271
- required_rubygems_version: !ruby/object:Gem::Requirement
280
+ hash: -4368329564395950604
281
+ required_rubygems_version: !ruby/object:Gem::Requirement
272
282
  none: false
273
- requirements:
274
- - - ">="
275
- - !ruby/object:Gem::Version
276
- hash: 3
277
- segments:
278
- - 0
279
- version: "0"
283
+ requirements:
284
+ - - ! '>='
285
+ - !ruby/object:Gem::Version
286
+ version: '0'
280
287
  requirements: []
281
-
282
288
  rubyforge_project:
283
- rubygems_version: 1.6.2
289
+ rubygems_version: 1.8.21
284
290
  signing_key:
285
291
  specification_version: 3
286
292
  summary: A Ruby Wrapper for the Harvest API http://www.getharvest.com/
287
293
  test_files: []
288
-