productive 0.6.38 → 0.6.43

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: 6210b7f30cb1dbe8cca922b9716d6ec17e45b4898b866984ee32311160119b55
4
- data.tar.gz: 899d0db9434c13b17ebf75c817747bac1d14fb62c78629defe1de827af777710
3
+ metadata.gz: 13b97555542190ecb746d7a7e276fde73de755c595621a451d61da129a7a7631
4
+ data.tar.gz: 6981dde2782abd1bc2fb2d0e44d0981212a08f91cd72fa026183a7d7b005ffa5
5
5
  SHA512:
6
- metadata.gz: c70dc8b6b9ba5d4618cdf3d3f23745b2dfc32995b1a6f1c25ecf91d36ac989c2d62b2486b982b9c0cb38f22cdf69ea1bf1b26ee95cb8396ef7f8a3f8b23fe1c5
7
- data.tar.gz: 9b1376ef3214d14531d8c332d7b605c454a275da92d96de6afb56bee004b93a0d02b8a04283d4236790e32f7e561fa8555df03f57172eeb8f99429088a900ebd
6
+ metadata.gz: c5a97050c29c428cf2e507e1918bcb0b700194aea164a60637530fc9caafb572df80c8c2f313fec528335ebfb2355e2d84e7b29612e1a1cb43cdbaff4a80a67d
7
+ data.tar.gz: bc79b2d71944f260fc4dad7a62ed68ffeeaf53c9ed62bcdb58a9dd1fbaf3f9f7c669c013457ad42955e691b286db39df248c00f85a45951c40b493593ba1be8c
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'
@@ -27,6 +29,7 @@ require 'productive/resources/event'
27
29
  require 'productive/resources/event_report'
28
30
  require 'productive/resources/expense'
29
31
  require 'productive/resources/filter'
32
+ require 'productive/resources/holiday_calendar'
30
33
  require 'productive/resources/integration'
31
34
  require 'productive/resources/invoice'
32
35
  require 'productive/resources/invoice_attribution'
@@ -49,11 +52,11 @@ require 'productive/resources/reports/booking_report'
49
52
  require 'productive/resources/reports/budget_report'
50
53
  require 'productive/resources/reports/company_report'
51
54
  require 'productive/resources/reports/deal_report'
52
- require 'productive/resources/reports/engagement_report'
53
55
  require 'productive/resources/reports/entitlement_report'
54
56
  require 'productive/resources/reports/expense_report'
55
57
  require 'productive/resources/reports/financial_item_report'
56
58
  require 'productive/resources/reports/invoice_report'
59
+ require 'productive/resources/reports/new_salary_report'
57
60
  require 'productive/resources/reports/new_time_report'
58
61
  require 'productive/resources/reports/payment_report'
59
62
  require 'productive/resources/reports/person_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 HolidayCalendar < BaseAccount
3
+ end
4
+ end
@@ -1,8 +1,8 @@
1
1
  module Productive
2
2
  module Reports
3
- class EngagementReport < BaseAccount
3
+ class NewSalaryReport < BaseAccount
4
4
  def self.table_name
5
- "reports/engagement_reports"
5
+ "reports/salary_reports"
6
6
  end
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.6.38'.freeze
2
+ VERSION = '0.6.43'.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.38
4
+ version: 0.6.43
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-04-20 00:00:00.000000000 Z
11
+ date: 2021-08-11 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
@@ -93,6 +95,7 @@ files:
93
95
  - lib/productive/resources/event_report.rb
94
96
  - lib/productive/resources/expense.rb
95
97
  - lib/productive/resources/filter.rb
98
+ - lib/productive/resources/holiday_calendar.rb
96
99
  - lib/productive/resources/integration.rb
97
100
  - lib/productive/resources/invoice.rb
98
101
  - lib/productive/resources/invoice_attribution.rb
@@ -115,11 +118,11 @@ files:
115
118
  - lib/productive/resources/reports/budget_report.rb
116
119
  - lib/productive/resources/reports/company_report.rb
117
120
  - lib/productive/resources/reports/deal_report.rb
118
- - lib/productive/resources/reports/engagement_report.rb
119
121
  - lib/productive/resources/reports/entitlement_report.rb
120
122
  - lib/productive/resources/reports/expense_report.rb
121
123
  - lib/productive/resources/reports/financial_item_report.rb
122
124
  - lib/productive/resources/reports/invoice_report.rb
125
+ - lib/productive/resources/reports/new_salary_report.rb
123
126
  - lib/productive/resources/reports/new_time_report.rb
124
127
  - lib/productive/resources/reports/payment_report.rb
125
128
  - lib/productive/resources/reports/person_report.rb
@@ -146,7 +149,7 @@ homepage: https://github.com/productiveio/api_client
146
149
  licenses:
147
150
  - MIT
148
151
  metadata: {}
149
- post_install_message:
152
+ post_install_message:
150
153
  rdoc_options: []
151
154
  require_paths:
152
155
  - lib
@@ -161,8 +164,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
164
  - !ruby/object:Gem::Version
162
165
  version: '0'
163
166
  requirements: []
164
- rubygems_version: 3.2.11
165
- signing_key:
167
+ rubyforge_project:
168
+ rubygems_version: 2.7.6.2
169
+ signing_key:
166
170
  specification_version: 4
167
171
  summary: A JSONAPI-based client to consume Productive API
168
172
  test_files: []