productive 0.6.39 → 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: e74b16dca17cf82c1db7c9be9694088523d85600f44d0b36c67f291ecbe7f555
4
- data.tar.gz: d2afb7bcdc43403497d50b9de7e867dfeb4ab0ccb5485aa6e5200bc264aa7ac8
3
+ metadata.gz: 4db2abf8442ad0af44185fd75329448b1507ba434f0b5872e289a3daf0654f4b
4
+ data.tar.gz: 649a08f4692b9e58d13401d06fdff7c995cb483485e36bef47a5c3e541e5bbdf
5
5
  SHA512:
6
- metadata.gz: 38bdbec38cfe2e63d48cf9b1fe667f76d98c04e98e53c3984985d564ddd4bd4c3bbf41d64faf46437b5fddc851cc35cbb7c7fb01c4b9848f2711805a59124924
7
- data.tar.gz: 8a37cfea748bfdadd1d442e8afff9a7c2a4728ac3bb67c281a7f58652ecfae1d6a347b0b0b4e87bf5843d4ea32049f71b9ae9e5af4a13bf1bc5fdefcaa4942b2
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'
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.6.39'.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.39
4
+ version: 0.6.41
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-06-07 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