productive 0.3.1 → 0.3.2

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: 51227b6cc288af8172dc319f31442a4abac45cd1
4
- data.tar.gz: 9b97e3f4bd616d8e4ab2fa0dd39e8d997bb30334
3
+ metadata.gz: 2bf4d73e7d00026de4da9198522fda4e2c3a2735
4
+ data.tar.gz: 58e63190e157a9e4bc160bee649312540a87a02a
5
5
  SHA512:
6
- metadata.gz: 63cb6e69d9f7e8cbbeb25f8b6c16b3351ef70e9d040f0246b3fd1edf00c3cb10490ebf5dcc69485edf7cbcb0a4d641a148aabdacde86f140f777cd85f55282d3
7
- data.tar.gz: 6b390214e9a5df8c58e819f363525adb69f673227ed22c1bdbd0060bbe6be31795c6177a31a500c30483b0f3de6275a988f2b8262a25991fb0705e073b56869d
6
+ metadata.gz: b9362685f64cd4ad11d1b20dc7a7ca2220508306da80650e649dd4cc5d3c48af9e3e9035715e7513fdd732a833c8c9dd7a655685832b0aa84ac580adedda77e5
7
+ data.tar.gz: 9a8776e7d56fbff4bc04169a7c424ab7ce007e036dfe869494ebef49d3f275040d2985d6d6324b64b4c887ec12268a6968022b86766dcb362bc08afaf8949bf7
@@ -3,7 +3,12 @@ require 'json_api_client'
3
3
  require 'productive/version'
4
4
  require 'productive/configuration'
5
5
  require 'productive/resources/base'
6
+ require 'productive/resources/attachment'
6
7
  require 'productive/resources/client'
8
+ require 'productive/resources/contract'
9
+ require 'productive/resources/deal'
10
+ require 'productive/resources/deal_status'
11
+ require 'productive/resources/invoice'
7
12
  require 'productive/resources/person'
8
13
  require 'productive/resources/project'
9
14
 
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class Attachment < Base
3
+ end
4
+ end
@@ -0,0 +1,5 @@
1
+ module Productive
2
+ class Contract < Base
3
+ has_one :template, class_name: :deal
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module Productive
2
+ class Deal < Base
3
+ has_one :deal_status
4
+ end
5
+ end
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class DealStatus < Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module Productive
2
+ class Invoice < Base
3
+ has_one :deal
4
+ has_one :attachment
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
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.3.1
4
+ version: 0.3.2
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: 2016-08-07 00:00:00.000000000 Z
11
+ date: 2016-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -53,8 +53,13 @@ files:
53
53
  - lib/productive.rb
54
54
  - lib/productive/configuration.rb
55
55
  - lib/productive/railtie.rb
56
+ - lib/productive/resources/attachment.rb
56
57
  - lib/productive/resources/base.rb
57
58
  - lib/productive/resources/client.rb
59
+ - lib/productive/resources/contract.rb
60
+ - lib/productive/resources/deal.rb
61
+ - lib/productive/resources/deal_status.rb
62
+ - lib/productive/resources/invoice.rb
58
63
  - lib/productive/resources/person.rb
59
64
  - lib/productive/resources/project.rb
60
65
  - lib/productive/version.rb