productive 0.6.35 → 0.6.41

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: 0231ace8e566409503b6e85864061e5254aa2020d98d432b43cabb19b9ccd523
4
- data.tar.gz: f22bed008efaf4c723a2fc4bc0fdcbd241d7c64c60f558632f6b3c3730b736b1
3
+ metadata.gz: 4db2abf8442ad0af44185fd75329448b1507ba434f0b5872e289a3daf0654f4b
4
+ data.tar.gz: 649a08f4692b9e58d13401d06fdff7c995cb483485e36bef47a5c3e541e5bbdf
5
5
  SHA512:
6
- metadata.gz: e0ba646ebd0b2e038adf642b1cdc3a2ac643727dff13e77fa2671f0a96cab10e36fdf3c541762bc2016c62e65c243935597a2d594334e684aa738c44468d8b4a
7
- data.tar.gz: 5790c46f43b1c65a58b9fe73a3bb3ada736338a07b8378fa4aefe5e6c175f669f688577f5b307f942692c3d31682a6cd3dd99df249dd92c73ecf3c11ee188352
6
+ metadata.gz: eaf9f2e4ecec10e7fac543a535340cc7bf9dda94e7fbfa3923b856187904dd91ba041737fe5157f99f1157692621a8527c1e140fa9bcf6e8334c1fb953052456
7
+ data.tar.gz: 66675f5b350d64f2c4392a9c88ed80b756ef2a0951f57509ea3c38a7f487a806e7b55df8f8418985c4fff7bcbaa2499b94f65e4e17e223f3927c04ae6186e57e
data/lib/productive.rb CHANGED
@@ -3,6 +3,8 @@ require 'request_store'
3
3
 
4
4
  require 'productive/version'
5
5
  require 'productive/configuration'
6
+ require 'productive/resources/approval_status'
7
+ require 'productive/resources/approval_workflow'
6
8
  require 'productive/resources/base'
7
9
  require 'productive/resources/base_account'
8
10
  require 'productive/resources/billability_report'
@@ -22,6 +24,7 @@ require 'productive/resources/deal'
22
24
  require 'productive/resources/deal_status'
23
25
  require 'productive/resources/document_type'
24
26
  require 'productive/resources/email'
27
+ require 'productive/resources/entitlement'
25
28
  require 'productive/resources/event'
26
29
  require 'productive/resources/event_report'
27
30
  require 'productive/resources/expense'
@@ -44,14 +47,16 @@ require 'productive/resources/project'
44
47
  require 'productive/resources/project_assignment'
45
48
  require 'productive/resources/pulse'
46
49
  require 'productive/resources/report_category'
50
+ require 'productive/resources/reports/booking_report'
47
51
  require 'productive/resources/reports/budget_report'
48
52
  require 'productive/resources/reports/company_report'
49
53
  require 'productive/resources/reports/deal_report'
54
+ require 'productive/resources/reports/entitlement_report'
50
55
  require 'productive/resources/reports/expense_report'
51
56
  require 'productive/resources/reports/financial_item_report'
52
57
  require 'productive/resources/reports/invoice_report'
58
+ require 'productive/resources/reports/new_salary_report'
53
59
  require 'productive/resources/reports/new_time_report'
54
- require 'productive/resources/reports/booking_report'
55
60
  require 'productive/resources/reports/payment_report'
56
61
  require 'productive/resources/reports/person_report'
57
62
  require 'productive/resources/reports/project_report'
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class ApprovalStatus < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,5 @@
1
+ module Productive
2
+ class ApprovalWorkflow < BaseAccount
3
+ has_many :approvers, class_name: :person
4
+ end
5
+ end
@@ -1,5 +1,6 @@
1
1
  module Productive
2
2
  class Booking < BaseAccount
3
3
  has_one :event
4
+ has_many :approval_statuses
4
5
  end
5
6
  end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Entitlement < 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.35'.freeze
2
+ VERSION = '0.6.41'.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.35
4
+ version: 0.6.41
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: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -70,6 +70,8 @@ files:
70
70
  - lib/productive/configuration.rb
71
71
  - lib/productive/railtie.rb
72
72
  - lib/productive/resources/activity.rb
73
+ - lib/productive/resources/approval_status.rb
74
+ - lib/productive/resources/approval_workflow.rb
73
75
  - lib/productive/resources/attachment.rb
74
76
  - lib/productive/resources/base.rb
75
77
  - lib/productive/resources/base_account.rb
@@ -88,6 +90,7 @@ files:
88
90
  - lib/productive/resources/deal_status.rb
89
91
  - lib/productive/resources/document_type.rb
90
92
  - lib/productive/resources/email.rb
93
+ - lib/productive/resources/entitlement.rb
91
94
  - lib/productive/resources/event.rb
92
95
  - lib/productive/resources/event_report.rb
93
96
  - lib/productive/resources/expense.rb
@@ -114,9 +117,11 @@ files:
114
117
  - lib/productive/resources/reports/budget_report.rb
115
118
  - lib/productive/resources/reports/company_report.rb
116
119
  - lib/productive/resources/reports/deal_report.rb
120
+ - lib/productive/resources/reports/entitlement_report.rb
117
121
  - lib/productive/resources/reports/expense_report.rb
118
122
  - lib/productive/resources/reports/financial_item_report.rb
119
123
  - lib/productive/resources/reports/invoice_report.rb
124
+ - lib/productive/resources/reports/new_salary_report.rb
120
125
  - lib/productive/resources/reports/new_time_report.rb
121
126
  - lib/productive/resources/reports/payment_report.rb
122
127
  - lib/productive/resources/reports/person_report.rb
@@ -143,7 +148,7 @@ homepage: https://github.com/productiveio/api_client
143
148
  licenses:
144
149
  - MIT
145
150
  metadata: {}
146
- post_install_message:
151
+ post_install_message:
147
152
  rdoc_options: []
148
153
  require_paths:
149
154
  - lib
@@ -158,9 +163,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
163
  - !ruby/object:Gem::Version
159
164
  version: '0'
160
165
  requirements: []
161
- rubyforge_project:
162
- rubygems_version: 2.7.3
163
- signing_key:
166
+ rubyforge_project:
167
+ rubygems_version: 2.7.6.2
168
+ signing_key:
164
169
  specification_version: 4
165
170
  summary: A JSONAPI-based client to consume Productive API
166
171
  test_files: []