productive 0.6.60 → 0.6.62

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b0581cbf5e2dd654905d5cbfb67e5cceca461b3db48757e0e1cae3a569e9a17
4
- data.tar.gz: 1771d2708b58d47c891bbc63cd6ab59a17109d6cfbc476b97c8d63928f2ded18
3
+ metadata.gz: 90d0f46088ae2bd0debd9fcfe873fabc34636170bacd80b98dbb3690cb186fd2
4
+ data.tar.gz: 8dd427efb1ebee80d39372644372689d36bbfee8843cff71229331e1ca1e50f9
5
5
  SHA512:
6
- metadata.gz: 180bc3286195bac1465b0997353e104c88dbec6a2b98590b791f4799c70548d9236e4aba6509c92116bcfea74dbc7b0962919db03e5f07b4434641d0a1d5c580
7
- data.tar.gz: 2969164942aa23e8e6e7b0cd6666a6a273045d0306b8b2e822ea67d711961951fb1db1bae7e1c1ba855cbc1a41d387948b56bdeab734d45b5095dd054dcfa534
6
+ metadata.gz: d23dd41c0e0cb5086d3a9d8cc8d2b7b14d72db883f0c9fd26c9fdfff016908458e57268722a6e79fe8c405af6b998f424116487c422de59f800997e75b9249d7
7
+ data.tar.gz: a302f63623e68543483e6d855c6898e55a45597fe5e26dbbb0c9b2f9225bb0f14d0f8844dde1d1988dfa1d573f2be5848b703c8707e2d06cfd88dc4260c0f921
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class DocumentStyle < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Holiday < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Overhead < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,9 @@
1
+ module Productive
2
+ module Reports
3
+ class SalaryReport < BaseAccount
4
+ def self.table_name
5
+ "reports/salary_reports"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ module Productive
2
+ module Reports
3
+ class TimeReport < BaseAccount
4
+ def self.table_name
5
+ "reports/time_reports"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Tag < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,5 @@
1
+ module Productive
2
+ class Widget < BaseAccount
3
+ has_one: dashboard
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.6.60'.freeze
2
+ VERSION = '0.6.62'.freeze
3
3
  end
data/lib/productive.rb CHANGED
@@ -22,13 +22,14 @@ require 'productive/resources/custom_field_option'
22
22
  require 'productive/resources/dashboard'
23
23
  require 'productive/resources/deal'
24
24
  require 'productive/resources/deal_status'
25
+ require 'productive/resources/document_style'
25
26
  require 'productive/resources/document_type'
26
27
  require 'productive/resources/email'
27
28
  require 'productive/resources/entitlement'
28
29
  require 'productive/resources/event'
29
- require 'productive/resources/event_report'
30
30
  require 'productive/resources/expense'
31
31
  require 'productive/resources/filter'
32
+ require 'productive/resources/holiday'
32
33
  require 'productive/resources/holiday_calendar'
33
34
  require 'productive/resources/integration'
34
35
  require 'productive/resources/invoice'
@@ -41,12 +42,12 @@ require 'productive/resources/organization_invoice'
41
42
  require 'productive/resources/organization_membership'
42
43
  require 'productive/resources/organization_membership_count'
43
44
  require 'productive/resources/organization_subscription'
45
+ require 'productive/resources/overhead'
44
46
  require 'productive/resources/page'
45
47
  require 'productive/resources/payment'
46
48
  require 'productive/resources/person'
47
49
  require 'productive/resources/pipeline'
48
50
  require 'productive/resources/price'
49
- require 'productive/resources/profitability_report'
50
51
  require 'productive/resources/project'
51
52
  require 'productive/resources/project_assignment'
52
53
  require 'productive/resources/pulse'
@@ -69,19 +70,20 @@ require 'productive/resources/reports/payroll_item_report'
69
70
  require 'productive/resources/reports/person_report'
70
71
  require 'productive/resources/reports/price_report'
71
72
  require 'productive/resources/reports/project_report'
73
+ require 'productive/resources/reports/salary_report'
72
74
  require 'productive/resources/reports/service_report'
73
75
  require 'productive/resources/reports/task_report'
74
76
  require 'productive/resources/reports/time_entry_report'
77
+ require 'productive/resources/reports/time_report'
75
78
  require 'productive/resources/role'
76
79
  require 'productive/resources/salary'
77
- require 'productive/resources/salary_report'
78
- require 'productive/resources/sales_report'
79
80
  require 'productive/resources/section'
80
81
  require 'productive/resources/service'
81
82
  require 'productive/resources/subsidiary'
82
83
  require 'productive/resources/service_type'
83
84
  require 'productive/resources/service_type_assignment'
84
85
  require 'productive/resources/service_assignment'
86
+ require 'productive/resources/tag'
85
87
  require 'productive/resources/task'
86
88
  require 'productive/resources/task_dependency'
87
89
  require 'productive/resources/task_list'
@@ -90,6 +92,7 @@ require 'productive/resources/time_entry'
90
92
  require 'productive/resources/time_report'
91
93
  require 'productive/resources/todo'
92
94
  require 'productive/resources/user'
95
+ require 'productive/resources/widget'
93
96
  require 'productive/resources/workflow'
94
97
  require 'productive/resources/workflow_status'
95
98
  require 'productive/resources/timer'
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.60
4
+ version: 0.6.62
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: 2022-12-06 00:00:00.000000000 Z
11
+ date: 2023-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json_api_client
@@ -81,13 +81,14 @@ files:
81
81
  - lib/productive/resources/deal.rb
82
82
  - lib/productive/resources/deal_status.rb
83
83
  - lib/productive/resources/discussion.rb
84
+ - lib/productive/resources/document_style.rb
84
85
  - lib/productive/resources/document_type.rb
85
86
  - lib/productive/resources/email.rb
86
87
  - lib/productive/resources/entitlement.rb
87
88
  - lib/productive/resources/event.rb
88
- - lib/productive/resources/event_report.rb
89
89
  - lib/productive/resources/expense.rb
90
90
  - lib/productive/resources/filter.rb
91
+ - lib/productive/resources/holiday.rb
91
92
  - lib/productive/resources/holiday_calendar.rb
92
93
  - lib/productive/resources/integration.rb
93
94
  - lib/productive/resources/invoice.rb
@@ -100,12 +101,12 @@ files:
100
101
  - lib/productive/resources/organization_membership.rb
101
102
  - lib/productive/resources/organization_membership_count.rb
102
103
  - lib/productive/resources/organization_subscription.rb
104
+ - lib/productive/resources/overhead.rb
103
105
  - lib/productive/resources/page.rb
104
106
  - lib/productive/resources/payment.rb
105
107
  - lib/productive/resources/person.rb
106
108
  - lib/productive/resources/pipeline.rb
107
109
  - lib/productive/resources/price.rb
108
- - lib/productive/resources/profitability_report.rb
109
110
  - lib/productive/resources/project.rb
110
111
  - lib/productive/resources/project_assignment.rb
111
112
  - lib/productive/resources/pulse.rb
@@ -128,19 +129,20 @@ files:
128
129
  - lib/productive/resources/reports/person_report.rb
129
130
  - lib/productive/resources/reports/price_report.rb
130
131
  - lib/productive/resources/reports/project_report.rb
132
+ - lib/productive/resources/reports/salary_report.rb
131
133
  - lib/productive/resources/reports/service_report.rb
132
134
  - lib/productive/resources/reports/task_report.rb
133
135
  - lib/productive/resources/reports/time_entry_report.rb
136
+ - lib/productive/resources/reports/time_report.rb
134
137
  - lib/productive/resources/role.rb
135
138
  - lib/productive/resources/salary.rb
136
- - lib/productive/resources/salary_report.rb
137
- - lib/productive/resources/sales_report.rb
138
139
  - lib/productive/resources/section.rb
139
140
  - lib/productive/resources/service.rb
140
141
  - lib/productive/resources/service_assignment.rb
141
142
  - lib/productive/resources/service_type.rb
142
143
  - lib/productive/resources/service_type_assignment.rb
143
144
  - lib/productive/resources/subsidiary.rb
145
+ - lib/productive/resources/tag.rb
144
146
  - lib/productive/resources/task.rb
145
147
  - lib/productive/resources/task_dependency.rb
146
148
  - lib/productive/resources/task_list.rb
@@ -150,6 +152,7 @@ files:
150
152
  - lib/productive/resources/timer.rb
151
153
  - lib/productive/resources/todo.rb
152
154
  - lib/productive/resources/user.rb
155
+ - lib/productive/resources/widget.rb
153
156
  - lib/productive/resources/workflow.rb
154
157
  - lib/productive/resources/workflow_status.rb
155
158
  - lib/productive/version.rb
@@ -1,6 +0,0 @@
1
- module Productive
2
- class EventReport < BaseAccount
3
- has_one :person
4
- has_one :event
5
- end
6
- end
@@ -1,8 +0,0 @@
1
- module Productive
2
- class ProfitabilityReport < BaseAccount
3
- has_one :deal
4
- has_one :company
5
- has_one :project
6
- has_one :manager, class_name: :person
7
- end
8
- end
@@ -1,5 +0,0 @@
1
- module Productive
2
- class SalaryReport < BaseAccount
3
- has_one :person
4
- end
5
- end
@@ -1,6 +0,0 @@
1
- module Productive
2
- class SalesReport < BaseAccount
3
- has_one :deal
4
- has_one :manager, class_name: :person
5
- end
6
- end