productive 0.6.39 → 0.6.44

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: e74b16dca17cf82c1db7c9be9694088523d85600f44d0b36c67f291ecbe7f555
4
- data.tar.gz: d2afb7bcdc43403497d50b9de7e867dfeb4ab0ccb5485aa6e5200bc264aa7ac8
3
+ metadata.gz: e316f45d43cd800eb7db20a551fc5a27c13bca7363ff43f90b8311f66549363a
4
+ data.tar.gz: c550b5fb8c9735c9e1769c1726477a84628bb180ce00f75b9352ff88d16ba1b2
5
5
  SHA512:
6
- metadata.gz: 38bdbec38cfe2e63d48cf9b1fe667f76d98c04e98e53c3984985d564ddd4bd4c3bbf41d64faf46437b5fddc851cc35cbb7c7fb01c4b9848f2711805a59124924
7
- data.tar.gz: 8a37cfea748bfdadd1d442e8afff9a7c2a4728ac3bb67c281a7f58652ecfae1d6a347b0b0b4e87bf5843d4ea32049f71b9ae9e5af4a13bf1bc5fdefcaa4942b2
6
+ metadata.gz: b1eeec97fa479e2f01be7c8122107493616b653b2fcb8f520620141e23b124a2c9495f740b2a951f050466062d19376fe62580b79004bf85c0f4a0ed6db62273
7
+ data.tar.gz: 8d57c83d3425a2ab094e0098574f0af77b5ed2417d7a797b50ce8e1831b989624a0301ad45c58caf0c5232eaf2d0c40b9cc7948e025c0251c3e66d2964d45af0
@@ -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
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Workflow < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class WorkflowStatus < BaseAccount
3
+ end
4
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.6.39'.freeze
2
+ VERSION = '0.6.44'.freeze
3
3
  end
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'
@@ -74,6 +77,8 @@ require 'productive/resources/time_entry'
74
77
  require 'productive/resources/time_report'
75
78
  require 'productive/resources/todo'
76
79
  require 'productive/resources/user'
80
+ require 'productive/resources/workflow'
81
+ require 'productive/resources/workflow_status'
77
82
 
78
83
  require 'productive/railtie' if defined?(Rails::Railtie)
79
84
 
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.39
4
+ version: 0.6.44
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-06-07 00:00:00.000000000 Z
11
+ date: 2021-09-27 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
@@ -140,13 +143,15 @@ files:
140
143
  - lib/productive/resources/time_report.rb
141
144
  - lib/productive/resources/todo.rb
142
145
  - lib/productive/resources/user.rb
146
+ - lib/productive/resources/workflow.rb
147
+ - lib/productive/resources/workflow_status.rb
143
148
  - lib/productive/version.rb
144
149
  - productive.gemspec
145
150
  homepage: https://github.com/productiveio/api_client
146
151
  licenses:
147
152
  - MIT
148
153
  metadata: {}
149
- post_install_message:
154
+ post_install_message:
150
155
  rdoc_options: []
151
156
  require_paths:
152
157
  - lib
@@ -161,9 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
166
  - !ruby/object:Gem::Version
162
167
  version: '0'
163
168
  requirements: []
164
- rubyforge_project:
165
- rubygems_version: 2.7.6.2
166
- signing_key:
169
+ rubygems_version: 3.2.11
170
+ signing_key:
167
171
  specification_version: 4
168
172
  summary: A JSONAPI-based client to consume Productive API
169
173
  test_files: []