productive 0.6.34 → 0.6.39

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: be9dc31bb098c0e50c16bf9c1b7533ea46384cf97ef2162d86101823e84ce58d
4
- data.tar.gz: 8801a94da5a360e149efc671ae8d08d5899c000f16944bcd79d8e48602f8658b
3
+ metadata.gz: e74b16dca17cf82c1db7c9be9694088523d85600f44d0b36c67f291ecbe7f555
4
+ data.tar.gz: d2afb7bcdc43403497d50b9de7e867dfeb4ab0ccb5485aa6e5200bc264aa7ac8
5
5
  SHA512:
6
- metadata.gz: 1b28064bff2ce8a3427afa6733f281b2ef4db09fb07baabd13fcf0d811e1e78bc9d97970d6496c191d23a01826d6ebaf2fd44f82d5bd782cc60056517ccb000e
7
- data.tar.gz: 167141b0de87b5edcd46afe0b382303a14cd2ad2e512d13299aa237fdbef5d86b20a0806a85e3781f15e0a6de2581e78901defcde0248acb7d8be1fcf5902e9a
6
+ metadata.gz: 38bdbec38cfe2e63d48cf9b1fe667f76d98c04e98e53c3984985d564ddd4bd4c3bbf41d64faf46437b5fddc851cc35cbb7c7fb01c4b9848f2711805a59124924
7
+ data.tar.gz: 8a37cfea748bfdadd1d442e8afff9a7c2a4728ac3bb67c281a7f58652ecfae1d6a347b0b0b4e87bf5843d4ea32049f71b9ae9e5af4a13bf1bc5fdefcaa4942b2
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/entitlement'
25
26
  require 'productive/resources/event'
26
27
  require 'productive/resources/event_report'
27
28
  require 'productive/resources/expense'
@@ -42,14 +43,18 @@ 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/entitlement_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'
56
+ require 'productive/resources/reports/new_salary_report'
51
57
  require 'productive/resources/reports/new_time_report'
52
- require 'productive/resources/reports/booking_report'
53
58
  require 'productive/resources/reports/payment_report'
54
59
  require 'productive/resources/reports/person_report'
55
60
  require 'productive/resources/reports/project_report'
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Entitlement < 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 EntitlementReport < BaseAccount
4
+ def self.table_name
5
+ "reports/entitlement_reports"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ module Productive
2
+ module Reports
3
+ class NewSalaryReport < BaseAccount
4
+ def self.table_name
5
+ "reports/salary_reports"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.6.34'.freeze
2
+ VERSION = '0.6.39'.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.34
4
+ version: 0.6.39
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-12-23 00:00:00.000000000 Z
11
+ date: 2021-06-07 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/entitlement.rb
91
92
  - lib/productive/resources/event.rb
92
93
  - lib/productive/resources/event_report.rb
93
94
  - lib/productive/resources/expense.rb
@@ -108,13 +109,17 @@ 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/entitlement_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
122
+ - lib/productive/resources/reports/new_salary_report.rb
118
123
  - lib/productive/resources/reports/new_time_report.rb
119
124
  - lib/productive/resources/reports/payment_report.rb
120
125
  - lib/productive/resources/reports/person_report.rb
@@ -157,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
162
  version: '0'
158
163
  requirements: []
159
164
  rubyforge_project:
160
- rubygems_version: 2.7.3
165
+ rubygems_version: 2.7.6.2
161
166
  signing_key:
162
167
  specification_version: 4
163
168
  summary: A JSONAPI-based client to consume Productive API