forecasted 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +3 -0
- data/.gitignore +39 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/.travis.yml +16 -0
- data/Gemfile +19 -0
- data/HISTORY.md +19 -0
- data/MIT-LICENSE +20 -0
- data/README.md +109 -0
- data/Rakefile +22 -0
- data/examples/basics.rb +35 -0
- data/examples/clear_account.rb +28 -0
- data/examples/project_create_script.rb +93 -0
- data/examples/task_assignments.rb +27 -0
- data/examples/user_assignments.rb +24 -0
- data/forecasted.gemspec +25 -0
- data/lib/ext/array.rb +52 -0
- data/lib/ext/date.rb +9 -0
- data/lib/ext/hash.rb +17 -0
- data/lib/ext/time.rb +5 -0
- data/lib/forecast/aggregate.rb +8 -0
- data/lib/forecast/api/account.rb +22 -0
- data/lib/forecast/api/aggregates.rb +20 -0
- data/lib/forecast/api/assignments.rb +63 -0
- data/lib/forecast/api/base.rb +68 -0
- data/lib/forecast/api/clients.rb +10 -0
- data/lib/forecast/api/expense_categories.rb +9 -0
- data/lib/forecast/api/expenses.rb +27 -0
- data/lib/forecast/api/invoice_categories.rb +26 -0
- data/lib/forecast/api/invoice_messages.rb +75 -0
- data/lib/forecast/api/invoice_payments.rb +31 -0
- data/lib/forecast/api/invoices.rb +35 -0
- data/lib/forecast/api/milestones.rb +21 -0
- data/lib/forecast/api/projects.rb +23 -0
- data/lib/forecast/api/reports.rb +53 -0
- data/lib/forecast/api/tasks.rb +36 -0
- data/lib/forecast/api/time.rb +48 -0
- data/lib/forecast/api/user_assignments.rb +34 -0
- data/lib/forecast/api/users.rb +21 -0
- data/lib/forecast/assignment.rb +7 -0
- data/lib/forecast/base.rb +111 -0
- data/lib/forecast/behavior/activatable.rb +31 -0
- data/lib/forecast/behavior/crud.rb +75 -0
- data/lib/forecast/client.rb +22 -0
- data/lib/forecast/credentials.rb +42 -0
- data/lib/forecast/errors.rb +26 -0
- data/lib/forecast/expense.rb +27 -0
- data/lib/forecast/expense_category.rb +10 -0
- data/lib/forecast/hardy_client.rb +80 -0
- data/lib/forecast/invoice.rb +107 -0
- data/lib/forecast/invoice_category.rb +9 -0
- data/lib/forecast/invoice_message.rb +8 -0
- data/lib/forecast/invoice_payment.rb +8 -0
- data/lib/forecast/line_item.rb +4 -0
- data/lib/forecast/model.rb +154 -0
- data/lib/forecast/project.rb +37 -0
- data/lib/forecast/rate_limit_status.rb +23 -0
- data/lib/forecast/task.rb +22 -0
- data/lib/forecast/time_entry.rb +25 -0
- data/lib/forecast/timezones.rb +130 -0
- data/lib/forecast/trackable_project.rb +38 -0
- data/lib/forecast/user_assignment.rb +30 -0
- data/lib/forecast/version.rb +3 -0
- data/lib/forecasted.rb +87 -0
- data/spec/factories.rb +17 -0
- data/spec/forecast/base_spec.rb +11 -0
- data/spec/functional/aggregates_spec.rb +64 -0
- data/spec/functional/assignments_spec.rb +131 -0
- data/spec/functional/errors_spec.rb +22 -0
- data/spec/functional/hardy_client_spec.rb +33 -0
- data/spec/functional/milestones_spec.rb +82 -0
- data/spec/functional/people_spec.rb +85 -0
- data/spec/functional/project_spec.rb +41 -0
- data/spec/spec_helper.rb +41 -0
- data/spec/support/forecast_credentials.example.yml +6 -0
- data/spec/support/forecasted_helpers.rb +66 -0
- data/spec/support/json_examples.rb +9 -0
- metadata +189 -0
metadata
ADDED
@@ -0,0 +1,189 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: forecasted
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Weston Platter
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-11-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httparty
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: hashie
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: json
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: business_time
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description:
|
70
|
+
email:
|
71
|
+
executables: []
|
72
|
+
extensions: []
|
73
|
+
extra_rdoc_files: []
|
74
|
+
files:
|
75
|
+
- ".document"
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec"
|
78
|
+
- ".ruby-version"
|
79
|
+
- ".travis.yml"
|
80
|
+
- Gemfile
|
81
|
+
- HISTORY.md
|
82
|
+
- MIT-LICENSE
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- examples/basics.rb
|
86
|
+
- examples/clear_account.rb
|
87
|
+
- examples/project_create_script.rb
|
88
|
+
- examples/task_assignments.rb
|
89
|
+
- examples/user_assignments.rb
|
90
|
+
- forecasted.gemspec
|
91
|
+
- lib/ext/array.rb
|
92
|
+
- lib/ext/date.rb
|
93
|
+
- lib/ext/hash.rb
|
94
|
+
- lib/ext/time.rb
|
95
|
+
- lib/forecast/aggregate.rb
|
96
|
+
- lib/forecast/api/account.rb
|
97
|
+
- lib/forecast/api/aggregates.rb
|
98
|
+
- lib/forecast/api/assignments.rb
|
99
|
+
- lib/forecast/api/base.rb
|
100
|
+
- lib/forecast/api/clients.rb
|
101
|
+
- lib/forecast/api/expense_categories.rb
|
102
|
+
- lib/forecast/api/expenses.rb
|
103
|
+
- lib/forecast/api/invoice_categories.rb
|
104
|
+
- lib/forecast/api/invoice_messages.rb
|
105
|
+
- lib/forecast/api/invoice_payments.rb
|
106
|
+
- lib/forecast/api/invoices.rb
|
107
|
+
- lib/forecast/api/milestones.rb
|
108
|
+
- lib/forecast/api/projects.rb
|
109
|
+
- lib/forecast/api/reports.rb
|
110
|
+
- lib/forecast/api/tasks.rb
|
111
|
+
- lib/forecast/api/time.rb
|
112
|
+
- lib/forecast/api/user_assignments.rb
|
113
|
+
- lib/forecast/api/users.rb
|
114
|
+
- lib/forecast/assignment.rb
|
115
|
+
- lib/forecast/base.rb
|
116
|
+
- lib/forecast/behavior/activatable.rb
|
117
|
+
- lib/forecast/behavior/crud.rb
|
118
|
+
- lib/forecast/client.rb
|
119
|
+
- lib/forecast/credentials.rb
|
120
|
+
- lib/forecast/errors.rb
|
121
|
+
- lib/forecast/expense.rb
|
122
|
+
- lib/forecast/expense_category.rb
|
123
|
+
- lib/forecast/hardy_client.rb
|
124
|
+
- lib/forecast/invoice.rb
|
125
|
+
- lib/forecast/invoice_category.rb
|
126
|
+
- lib/forecast/invoice_message.rb
|
127
|
+
- lib/forecast/invoice_payment.rb
|
128
|
+
- lib/forecast/line_item.rb
|
129
|
+
- lib/forecast/model.rb
|
130
|
+
- lib/forecast/project.rb
|
131
|
+
- lib/forecast/rate_limit_status.rb
|
132
|
+
- lib/forecast/task.rb
|
133
|
+
- lib/forecast/time_entry.rb
|
134
|
+
- lib/forecast/timezones.rb
|
135
|
+
- lib/forecast/trackable_project.rb
|
136
|
+
- lib/forecast/user_assignment.rb
|
137
|
+
- lib/forecast/version.rb
|
138
|
+
- lib/forecasted.rb
|
139
|
+
- spec/factories.rb
|
140
|
+
- spec/forecast/base_spec.rb
|
141
|
+
- spec/functional/aggregates_spec.rb
|
142
|
+
- spec/functional/assignments_spec.rb
|
143
|
+
- spec/functional/errors_spec.rb
|
144
|
+
- spec/functional/hardy_client_spec.rb
|
145
|
+
- spec/functional/milestones_spec.rb
|
146
|
+
- spec/functional/people_spec.rb
|
147
|
+
- spec/functional/project_spec.rb
|
148
|
+
- spec/spec_helper.rb
|
149
|
+
- spec/support/forecast_credentials.example.yml
|
150
|
+
- spec/support/forecasted_helpers.rb
|
151
|
+
- spec/support/json_examples.rb
|
152
|
+
homepage: http://github.com/westonplater/forecasted
|
153
|
+
licenses:
|
154
|
+
- MIT
|
155
|
+
metadata: {}
|
156
|
+
post_install_message:
|
157
|
+
rdoc_options: []
|
158
|
+
require_paths:
|
159
|
+
- lib
|
160
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '2.0'
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
requirements: []
|
171
|
+
rubyforge_project:
|
172
|
+
rubygems_version: 2.5.1
|
173
|
+
signing_key:
|
174
|
+
specification_version: 4
|
175
|
+
summary: A Ruby Wrapper for the HarvestForecast (unofficial) API
|
176
|
+
test_files:
|
177
|
+
- spec/factories.rb
|
178
|
+
- spec/forecast/base_spec.rb
|
179
|
+
- spec/functional/aggregates_spec.rb
|
180
|
+
- spec/functional/assignments_spec.rb
|
181
|
+
- spec/functional/errors_spec.rb
|
182
|
+
- spec/functional/hardy_client_spec.rb
|
183
|
+
- spec/functional/milestones_spec.rb
|
184
|
+
- spec/functional/people_spec.rb
|
185
|
+
- spec/functional/project_spec.rb
|
186
|
+
- spec/spec_helper.rb
|
187
|
+
- spec/support/forecast_credentials.example.yml
|
188
|
+
- spec/support/forecasted_helpers.rb
|
189
|
+
- spec/support/json_examples.rb
|