productive 0.4.6 → 0.4.7

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
  SHA1:
3
- metadata.gz: a78b6b430845af42362a013823004795c0e489a0
4
- data.tar.gz: 5052c91c92194bfd60a334b9bd0e883354b591a1
3
+ metadata.gz: 2bb215ef65c3ecb012f0421e9626e24701ff6a38
4
+ data.tar.gz: 53d973b0b6162de8e0cc4ef3134115124e4bf509
5
5
  SHA512:
6
- metadata.gz: 249d5b65c52c517b6dceb679ed643f08c4cd45846741a0cba1ef111a7ba2fd84822b436aa529d1b438549946bac9d490d182712d6492e02a69062635a82a88c5
7
- data.tar.gz: 9db46a4c89cdc8f3804615dc18b86400f14ee753c1962ed03ad8b2ab562385d06f6c98c032d8f6659af823dd58c58c87e8855962653feb950b4c04d1417a7566
6
+ metadata.gz: 8000319654da5c5c9307fb30fe60d5e85039a9f439e2689af8b76e39a88efa14d1aceaf15274a26ea6a9b5682889eeaafd7831804f73ef332d6d17c1e6dc5dc4
7
+ data.tar.gz: 1f66fad60ccf291923f0c9cfee944c0706deced6f0f769f529253d13d2656df329f5beeb7e1e370b47611dd4781b40311591d96d1c8185f50cd5ee087c0b9319
@@ -5,6 +5,7 @@ require 'productive/configuration'
5
5
  require 'productive/resources/base'
6
6
  require 'productive/resources/base_account'
7
7
  require 'productive/resources/billability_report'
8
+ require 'productive/resources/activity'
8
9
  require 'productive/resources/attachment'
9
10
  require 'productive/resources/comment'
10
11
  require 'productive/resources/company'
@@ -12,6 +13,7 @@ require 'productive/resources/contact_entry'
12
13
  require 'productive/resources/contract'
13
14
  require 'productive/resources/deal'
14
15
  require 'productive/resources/deal_status'
16
+ require 'productive/resources/email'
15
17
  require 'productive/resources/invoice'
16
18
  require 'productive/resources/lost_reason'
17
19
  require 'productive/resources/new_invoice'
@@ -25,6 +27,8 @@ require 'productive/resources/salary_report'
25
27
  require 'productive/resources/sales_report'
26
28
  require 'productive/resources/service'
27
29
  require 'productive/resources/service_type'
30
+ require 'productive/resources/task'
31
+ require 'productive/resources/task_list'
28
32
  require 'productive/resources/time_entry'
29
33
  require 'productive/resources/user'
30
34
 
@@ -0,0 +1,7 @@
1
+ module Productive
2
+ class Activity < BaseAccount
3
+ has_one :creator, class_name: :person
4
+ has_many :comments
5
+ has_many :tasks
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Email < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Task < BaseAccount
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class TaskList < BaseAccount
3
+ end
4
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.4.6'.freeze
2
+ VERSION = '0.4.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: productive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josip Bišćan
@@ -54,6 +54,7 @@ files:
54
54
  - lib/productive.rb
55
55
  - lib/productive/configuration.rb
56
56
  - lib/productive/railtie.rb
57
+ - lib/productive/resources/activity.rb
57
58
  - lib/productive/resources/attachment.rb
58
59
  - lib/productive/resources/base.rb
59
60
  - lib/productive/resources/base_account.rb
@@ -64,6 +65,7 @@ files:
64
65
  - lib/productive/resources/contract.rb
65
66
  - lib/productive/resources/deal.rb
66
67
  - lib/productive/resources/deal_status.rb
68
+ - lib/productive/resources/email.rb
67
69
  - lib/productive/resources/invoice.rb
68
70
  - lib/productive/resources/lost_reason.rb
69
71
  - lib/productive/resources/new_invoice.rb
@@ -77,6 +79,8 @@ files:
77
79
  - lib/productive/resources/sales_report.rb
78
80
  - lib/productive/resources/service.rb
79
81
  - lib/productive/resources/service_type.rb
82
+ - lib/productive/resources/task.rb
83
+ - lib/productive/resources/task_list.rb
80
84
  - lib/productive/resources/time_entry.rb
81
85
  - lib/productive/resources/user.rb
82
86
  - lib/productive/version.rb