productive 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb8495af53a9c6b229612a0c6de552cd99d21cd1
4
- data.tar.gz: 40bca9c56caded885b01417f46c279b111b95765
3
+ metadata.gz: b4b9100a6ca183300e6400b5414aa8cc3f471f4d
4
+ data.tar.gz: 3ffdd819a63592a1b5fe389338670f3e29fa27c0
5
5
  SHA512:
6
- metadata.gz: d1729e43ac69291a7bb265f104eaf4f1fe30f3bd055262699b3d7ec8850a25f9d9f38d15ce64bebce427eff994165cb238751f941709216f3db46d890102b51b
7
- data.tar.gz: cdcc6cd13433ad714540d9a5c36511b74f6a8a71235b33b38012d3464883844dbbd249705226ef416301ef3084e9a789d63074c90ba99048851e4dc06ec46cab
6
+ metadata.gz: ad3923829acf5a794c08e0c10d7f1f2f988e6b15d600f5f647b243e06e7236dbc5172a314948cc10335bfa97d62ceec2cde06ec5157f0d5d53b2ae3090791061
7
+ data.tar.gz: 726d32a04bbf60bd243cdb6f753d5b361ef477d2f8681ab3ed9dd5983c493d8dcc9336894bce45cedf030f9397b958b8c2cbf2c97dd18e8e420783cd2bbd0ecf
data/README.md CHANGED
@@ -51,16 +51,16 @@ Productive.configure do |config|
51
51
  end
52
52
  ```
53
53
 
54
- By default, this gem utilises the Productive API available at https://productive.io/api/v2/, but if you need to use a different endpoint, you can pass that as a configuration option:
54
+ By default, this gem utilises the Productive API available at https://api.productive.io/api/v2/, but if you need to use a different endpoint, you can pass that as a configuration option:
55
55
  ```ruby
56
56
  Productive.configure do |config|
57
- config.base_url = 'http://productive.dev/api/v2/'
57
+ config.base_url = 'http://api.productive.dev/api/v2/'
58
58
  end
59
59
  ```
60
60
 
61
61
  ## Credits
62
- Productive API client is maintained by [Productive](https://productive.io).and sponsored by [Infinum](https://infinum.co).
62
+ Productive API client is maintained by [Productive](https://productive.io) and sponsored by [Infinum](https://infinum.co).
63
63
 
64
64
  ## License
65
- Copyright © 2016 Productive, Infinum.
65
+ Copyright © 2017 Productive, Infinum.
66
66
  Productive API client is free software, and may be redistributed under the terms specified in the LICENSE file.
data/lib/productive.rb CHANGED
@@ -13,6 +13,7 @@ require 'productive/resources/contact_entry'
13
13
  require 'productive/resources/contract'
14
14
  require 'productive/resources/deal'
15
15
  require 'productive/resources/deal_status'
16
+ require 'productive/resources/document_type'
16
17
  require 'productive/resources/email'
17
18
  require 'productive/resources/invoice'
18
19
  require 'productive/resources/line_item'
@@ -0,0 +1,4 @@
1
+ module Productive
2
+ class DocumentType < BaseAccount
3
+ end
4
+ end
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.5.1'.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.5.0
4
+ version: 0.5.1
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: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -65,6 +65,7 @@ files:
65
65
  - lib/productive/resources/contract.rb
66
66
  - lib/productive/resources/deal.rb
67
67
  - lib/productive/resources/deal_status.rb
68
+ - lib/productive/resources/document_type.rb
68
69
  - lib/productive/resources/email.rb
69
70
  - lib/productive/resources/invoice.rb
70
71
  - lib/productive/resources/line_item.rb