productive 0.6.32 → 0.6.37

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
- SHA1:
3
- metadata.gz: db4d93a380fe4688d0b744d4ee705bb5c845cc48
4
- data.tar.gz: aa5286397a240068649de34de2a96affff21e4ec
2
+ SHA256:
3
+ metadata.gz: 4b151a0093280966c273766476bbf171b732c823927b085abd794492008e6c5a
4
+ data.tar.gz: 13e1abd6050a4816ff4ea6a8336ff906f715f9a7e9a1157300d9a5ccd262f81a
5
5
  SHA512:
6
- metadata.gz: 69303e94f7dd30e564a9502479febe7d49e46e8c782ba5b50fe7b24fbf16ee42947b98e3504d9ad1479abff3f3c7eb53900ca0d499114d7a0e028ad154095cdb
7
- data.tar.gz: b5467d2f51d8b400cc3361604aa6ed9b8f7e7d739cbcdc289cb304b9b98739f46e940db2a3a46b0a8a37a5f3ef1e0ca1d75423795512f20477c47e52c1330899
6
+ metadata.gz: 23f56d60314ebcf1387ebbc46a3e41ee01e48fe0bfceb17ec111ccf06d20d7482f6ac43c34d806d08b720d05e83c7b7ece5c6f8c686f46c138fd5b5e03f375fe
7
+ data.tar.gz: 2d3093dcfa5e92d6b528d1fb05dfa511762ca342865480986422779754b8c5a6794d5d2b3741f11f8d4c0041daf63b92f5b7a70a05860061bacfb833164af1c9
data/lib/productive.rb CHANGED
@@ -22,6 +22,7 @@ require 'productive/resources/deal'
22
22
  require 'productive/resources/deal_status'
23
23
  require 'productive/resources/document_type'
24
24
  require 'productive/resources/email'
25
+ require 'productive/resources/engagement'
25
26
  require 'productive/resources/event'
26
27
  require 'productive/resources/event_report'
27
28
  require 'productive/resources/expense'
@@ -42,14 +43,17 @@ require 'productive/resources/person'
42
43
  require 'productive/resources/profitability_report'
43
44
  require 'productive/resources/project'
44
45
  require 'productive/resources/project_assignment'
46
+ require 'productive/resources/pulse'
47
+ require 'productive/resources/report_category'
48
+ require 'productive/resources/reports/booking_report'
45
49
  require 'productive/resources/reports/budget_report'
46
50
  require 'productive/resources/reports/company_report'
47
51
  require 'productive/resources/reports/deal_report'
52
+ require 'productive/resources/reports/engagement_item_report'
48
53
  require 'productive/resources/reports/expense_report'
49
54
  require 'productive/resources/reports/financial_item_report'
50
55
  require 'productive/resources/reports/invoice_report'
51
56
  require 'productive/resources/reports/new_time_report'
52
- require 'productive/resources/reports/booking_report'
53
57
  require 'productive/resources/reports/payment_report'
54
58
  require 'productive/resources/reports/person_report'
55
59
  require 'productive/resources/reports/project_report'
@@ -59,6 +63,7 @@ require 'productive/resources/reports/time_entry_report'
59
63
  require 'productive/resources/salary'
60
64
  require 'productive/resources/salary_report'
61
65
  require 'productive/resources/sales_report'
66
+ require 'productive/resources/section'
62
67
  require 'productive/resources/service'
63
68
  require 'productive/resources/subsidiary'
64
69
  require 'productive/resources/service_type'
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Engagement < BaseAccount
3
+ end
4
+ end
@@ -1,5 +1,6 @@
1
1
  module Productive
2
2
  class Filter < BaseAccount
3
3
  has_one :organization
4
+ has_one :report_category
4
5
  end
5
6
  end
@@ -0,0 +1,6 @@
1
+ module Productive
2
+ class Pulse < BaseAccount
3
+ has_one :creator, class_name: :person
4
+ has_one :filter
5
+ end
6
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class ReportCategory < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,9 @@
1
+ module Productive
2
+ module Reports
3
+ class EngagementItemReport < BaseAccount
4
+ def self.table_name
5
+ "reports/engagement_item_reports"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ module Productive
2
+ module Reports
3
+ class ServiceReport < BaseAccount
4
+ def self.table_name
5
+ "reports/service_reports"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ module Productive
2
+ class Section < BaseAccount
3
+ has_one :deal
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.6.32'.freeze
2
+ VERSION = '0.6.37'.freeze
3
3
  end
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.32
4
+ version: 0.6.37
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: 2020-09-16 00:00:00.000000000 Z
11
+ date: 2021-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -88,6 +88,7 @@ files:
88
88
  - lib/productive/resources/deal_status.rb
89
89
  - lib/productive/resources/document_type.rb
90
90
  - lib/productive/resources/email.rb
91
+ - lib/productive/resources/engagement.rb
91
92
  - lib/productive/resources/event.rb
92
93
  - lib/productive/resources/event_report.rb
93
94
  - lib/productive/resources/expense.rb
@@ -108,10 +109,13 @@ files:
108
109
  - lib/productive/resources/profitability_report.rb
109
110
  - lib/productive/resources/project.rb
110
111
  - lib/productive/resources/project_assignment.rb
112
+ - lib/productive/resources/pulse.rb
113
+ - lib/productive/resources/report_category.rb
111
114
  - lib/productive/resources/reports/booking_report.rb
112
115
  - lib/productive/resources/reports/budget_report.rb
113
116
  - lib/productive/resources/reports/company_report.rb
114
117
  - lib/productive/resources/reports/deal_report.rb
118
+ - lib/productive/resources/reports/engagement_item_report.rb
115
119
  - lib/productive/resources/reports/expense_report.rb
116
120
  - lib/productive/resources/reports/financial_item_report.rb
117
121
  - lib/productive/resources/reports/invoice_report.rb
@@ -119,11 +123,13 @@ files:
119
123
  - lib/productive/resources/reports/payment_report.rb
120
124
  - lib/productive/resources/reports/person_report.rb
121
125
  - lib/productive/resources/reports/project_report.rb
126
+ - lib/productive/resources/reports/service_report.rb
122
127
  - lib/productive/resources/reports/task_report.rb
123
128
  - lib/productive/resources/reports/time_entry_report.rb
124
129
  - lib/productive/resources/salary.rb
125
130
  - lib/productive/resources/salary_report.rb
126
131
  - lib/productive/resources/sales_report.rb
132
+ - lib/productive/resources/section.rb
127
133
  - lib/productive/resources/service.rb
128
134
  - lib/productive/resources/service_type.rb
129
135
  - lib/productive/resources/subsidiary.rb
@@ -155,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
161
  version: '0'
156
162
  requirements: []
157
163
  rubyforge_project:
158
- rubygems_version: 2.5.2.3
164
+ rubygems_version: 2.7.6.2
159
165
  signing_key:
160
166
  specification_version: 4
161
167
  summary: A JSONAPI-based client to consume Productive API