productive 0.6.63 → 0.6.64
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/widget.rb +1 -0
- data/lib/productive/version.rb +1 -1
- data/lib/productive.rb +6 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8fde6a3ff65fb5aa99e87ac2160d03904a1822abf74da0ab775d8552f03d4a2
|
4
|
+
data.tar.gz: e9a32965b81b7b09ee2bdc348261e155be2cf47bb0229eb94fcbf4519c0290ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16bc7ceef3ebbf23ffe42e89a2af5138953f22e0736b0544128209bd9e234a8be3432dce9d0ef50e2940e1f4125abf8fd2f748c863372b7490a99e5340fe0905
|
7
|
+
data.tar.gz: 74b4cdfc879b1c0561d33ec394b8b337e14d19b21ebb3bc9b62ccc59cb394d802d433646cffb49335dd8625486fa355f0bff8a589a08c88f8aa10054f87da5a7
|
@@ -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'
|
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.64
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josip Bišćan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-30 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
|