productive 0.6.63 → 0.6.65
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/productive/resources/allocation.rb +7 -0
- data/lib/productive/resources/automation.rb +5 -0
- data/lib/productive/resources/automation_run.rb +6 -0
- data/lib/productive/resources/automation_version.rb +7 -0
- data/lib/productive/resources/deal.rb +4 -0
- data/lib/productive/resources/deleted_item.rb +5 -0
- data/lib/productive/resources/document_style.rb +1 -0
- data/lib/productive/resources/holiday.rb +2 -0
- data/lib/productive/resources/overhead.rb +2 -0
- data/lib/productive/resources/project_preference.rb +10 -0
- data/lib/productive/resources/template.rb +4 -0
- data/lib/productive/resources/widget.rb +1 -0
- data/lib/productive/version.rb +1 -1
- data/lib/productive.rb +7 -0
- metadata +13 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1415eaf4a49d7fcf48161ec813d139ca7a5c43a3ed487568aace1ac9f1ba371
|
4
|
+
data.tar.gz: 6d3e0fc4398345ce352bd0a8e852d82d6a76ff501ab7fcc25c3ba016d9dd0b29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d414974561773d0def3ecc4b1144ccd3f825da9f67619d59dc291ad0fed89aae6750878e15a71a1722c0666f5b39f752bcd07ccbef4afa9d69fb4ed9a656c2b
|
7
|
+
data.tar.gz: d6eaf3034a87080707eb76855a3b21e2130199d70e20537b304442d757a9049a2481244985c68393fa28b1c25de702835f02f1bce19fecab482b3c615bf4f0b1
|
@@ -2,5 +2,9 @@ module Productive
|
|
2
2
|
class Deal < BaseAccount
|
3
3
|
has_one :deal_status
|
4
4
|
has_one :lost_reason
|
5
|
+
|
6
|
+
custom_endpoint :open, on: :member, request_method: :put
|
7
|
+
custom_endpoint :close, on: :member, request_method: :put
|
8
|
+
custom_endpoint :convert_to_budget, on: :member, request_method: :put
|
5
9
|
end
|
6
10
|
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module Productive
|
2
|
+
class ProjectPreference < BaseAccount
|
3
|
+
has_one :person
|
4
|
+
has_one :project
|
5
|
+
has_one :favorite_filter, class_name: :filter
|
6
|
+
has_one :budgets_favorite_filter, class_name: :filter
|
7
|
+
has_one :invoices_favorite_filter, class_name: :filter
|
8
|
+
has_one :docs_favorite_filter, class_name: :filter
|
9
|
+
end
|
10
|
+
end
|
data/lib/productive/version.rb
CHANGED
data/lib/productive.rb
CHANGED
@@ -6,9 +6,13 @@ require 'productive/configuration'
|
|
6
6
|
require 'productive/resources/base'
|
7
7
|
require 'productive/resources/base_account'
|
8
8
|
require 'productive/resources/activity'
|
9
|
+
require 'productive/resources/allocation'
|
9
10
|
require 'productive/resources/attachment'
|
10
11
|
require 'productive/resources/approval_status'
|
11
12
|
require 'productive/resources/approval_workflow'
|
13
|
+
require 'productive/resources/automation'
|
14
|
+
require 'productive/resources/automation_run'
|
15
|
+
require 'productive/resources/automation_version'
|
12
16
|
require 'productive/resources/billability_report'
|
13
17
|
require 'productive/resources/board'
|
14
18
|
require 'productive/resources/booking'
|
@@ -22,6 +26,7 @@ require 'productive/resources/custom_field_option'
|
|
22
26
|
require 'productive/resources/dashboard'
|
23
27
|
require 'productive/resources/deal'
|
24
28
|
require 'productive/resources/deal_status'
|
29
|
+
require 'productive/resources/deleted_item'
|
25
30
|
require 'productive/resources/document_style'
|
26
31
|
require 'productive/resources/document_type'
|
27
32
|
require 'productive/resources/email'
|
@@ -50,6 +55,7 @@ require 'productive/resources/pipeline'
|
|
50
55
|
require 'productive/resources/price'
|
51
56
|
require 'productive/resources/project'
|
52
57
|
require 'productive/resources/project_assignment'
|
58
|
+
require 'productive/resources/project_preference'
|
53
59
|
require 'productive/resources/pulse'
|
54
60
|
require 'productive/resources/rate_card'
|
55
61
|
require 'productive/resources/report_category'
|
@@ -88,6 +94,7 @@ require 'productive/resources/task'
|
|
88
94
|
require 'productive/resources/task_dependency'
|
89
95
|
require 'productive/resources/task_list'
|
90
96
|
require 'productive/resources/team'
|
97
|
+
require 'productive/resources/template'
|
91
98
|
require 'productive/resources/time_entry'
|
92
99
|
require 'productive/resources/time_report'
|
93
100
|
require 'productive/resources/todo'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: productive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.65
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josip Bišćan
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_api_client
|
@@ -62,9 +62,13 @@ files:
|
|
62
62
|
- lib/productive/configuration.rb
|
63
63
|
- lib/productive/railtie.rb
|
64
64
|
- lib/productive/resources/activity.rb
|
65
|
+
- lib/productive/resources/allocation.rb
|
65
66
|
- lib/productive/resources/approval_status.rb
|
66
67
|
- lib/productive/resources/approval_workflow.rb
|
67
68
|
- lib/productive/resources/attachment.rb
|
69
|
+
- lib/productive/resources/automation.rb
|
70
|
+
- lib/productive/resources/automation_run.rb
|
71
|
+
- lib/productive/resources/automation_version.rb
|
68
72
|
- lib/productive/resources/base.rb
|
69
73
|
- lib/productive/resources/base_account.rb
|
70
74
|
- lib/productive/resources/billability_report.rb
|
@@ -80,6 +84,7 @@ files:
|
|
80
84
|
- lib/productive/resources/dashboard.rb
|
81
85
|
- lib/productive/resources/deal.rb
|
82
86
|
- lib/productive/resources/deal_status.rb
|
87
|
+
- lib/productive/resources/deleted_item.rb
|
83
88
|
- lib/productive/resources/discussion.rb
|
84
89
|
- lib/productive/resources/document_style.rb
|
85
90
|
- lib/productive/resources/document_type.rb
|
@@ -109,6 +114,7 @@ files:
|
|
109
114
|
- lib/productive/resources/price.rb
|
110
115
|
- lib/productive/resources/project.rb
|
111
116
|
- lib/productive/resources/project_assignment.rb
|
117
|
+
- lib/productive/resources/project_preference.rb
|
112
118
|
- lib/productive/resources/pulse.rb
|
113
119
|
- lib/productive/resources/rate_card.rb
|
114
120
|
- lib/productive/resources/report_category.rb
|
@@ -147,6 +153,7 @@ files:
|
|
147
153
|
- lib/productive/resources/task_dependency.rb
|
148
154
|
- lib/productive/resources/task_list.rb
|
149
155
|
- lib/productive/resources/team.rb
|
156
|
+
- lib/productive/resources/template.rb
|
150
157
|
- lib/productive/resources/time_entry.rb
|
151
158
|
- lib/productive/resources/time_report.rb
|
152
159
|
- lib/productive/resources/timer.rb
|
@@ -161,7 +168,7 @@ homepage: https://github.com/productiveio/api_client
|
|
161
168
|
licenses:
|
162
169
|
- MIT
|
163
170
|
metadata: {}
|
164
|
-
post_install_message:
|
171
|
+
post_install_message:
|
165
172
|
rdoc_options: []
|
166
173
|
require_paths:
|
167
174
|
- lib
|
@@ -176,8 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
183
|
- !ruby/object:Gem::Version
|
177
184
|
version: '0'
|
178
185
|
requirements: []
|
179
|
-
rubygems_version: 3.3.
|
180
|
-
signing_key:
|
186
|
+
rubygems_version: 3.0.3.1
|
187
|
+
signing_key:
|
181
188
|
specification_version: 4
|
182
189
|
summary: A JSONAPI-based client to consume Productive API
|
183
190
|
test_files: []
|