productive 0.6.36 → 0.6.42

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: 4e09a0fc506650c3459039f22c3f2f973980b51b00642ddfb52eaa0d84dc88f8
4
- data.tar.gz: 7fc7067462a3f23c822e4f87f34cec9bd64e0ad377695f2042391ba9de53fe6d
3
+ metadata.gz: 6739bcc638e95f1696cd29b3b078f9866710e1b9d464c9833a6c5f0525ea0e54
4
+ data.tar.gz: c9b962bdd06fccaea39181b91310f7002170dbdd43d45daee9b835549f53b02b
5
5
  SHA512:
6
- metadata.gz: 784e9abec62e521a7ced6ec47de8ae04ea6f626b2445da4882dde351e30b67b9ae7d43937c20ab3d2414bef0d868ebbe9acd050ca1991e86b65a47b28f642e2f
7
- data.tar.gz: 2c4334acec2d815b895eed17ec04a4cbea9d290877f1dff248b440794cff2b399480f4fdae9490b40bdeb4c71f347adc567ad9f383e4ef84278a9d1817c2bfec
6
+ metadata.gz: 02b1d76f14c881d7dc408117c30fa1f5fee8695c2bb5382fb7d1a5a50c93cb906056740ff8f7f0a825722d16572b130996dec30687ff276aefc1ddd0be3ccfa3
7
+ data.tar.gz: a5aec7e6e5bb4bafe671a1dfd55dc399ae663ad263792a05aad01413238f235256a1f8862eae6d58985371eb337400a5e07a444f08ef9bd92c69b02d5d787f6a
data/lib/productive.rb CHANGED
@@ -5,9 +5,11 @@ require 'productive/version'
5
5
  require 'productive/configuration'
6
6
  require 'productive/resources/base'
7
7
  require 'productive/resources/base_account'
8
- require 'productive/resources/billability_report'
9
8
  require 'productive/resources/activity'
10
9
  require 'productive/resources/attachment'
10
+ require 'productive/resources/approval_status'
11
+ require 'productive/resources/approval_workflow'
12
+ require 'productive/resources/billability_report'
11
13
  require 'productive/resources/board'
12
14
  require 'productive/resources/booking'
13
15
  require 'productive/resources/booking_item'
@@ -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,21 +47,22 @@ 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'
58
63
  require 'productive/resources/reports/service_report'
59
64
  require 'productive/resources/reports/task_report'
60
65
  require 'productive/resources/reports/time_entry_report'
61
- require 'productive/resources/reports/engagement_item_report'
62
66
  require 'productive/resources/salary'
63
67
  require 'productive/resources/salary_report'
64
68
  require 'productive/resources/sales_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
@@ -1,8 +1,8 @@
1
1
  module Productive
2
2
  module Reports
3
- class EngagementItemReport < BaseAccount
3
+ class EntitlementReport < BaseAccount
4
4
  def self.table_name
5
- "reports/engagement_item_reports"
5
+ "reports/entitlement_reports"
6
6
  end
7
7
  end
8
8
  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.36'.freeze
2
+ VERSION = '0.6.42'.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.36
4
+ version: 0.6.42
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: 2021-04-13 00:00:00.000000000 Z
11
+ date: 2021-07-09 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,10 +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
117
- - lib/productive/resources/reports/engagement_item_report.rb
120
+ - lib/productive/resources/reports/entitlement_report.rb
118
121
  - lib/productive/resources/reports/expense_report.rb
119
122
  - lib/productive/resources/reports/financial_item_report.rb
120
123
  - lib/productive/resources/reports/invoice_report.rb
124
+ - lib/productive/resources/reports/new_salary_report.rb
121
125
  - lib/productive/resources/reports/new_time_report.rb
122
126
  - lib/productive/resources/reports/payment_report.rb
123
127
  - lib/productive/resources/reports/person_report.rb