octobat 2.0.0 → 2.0.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: 041400ae286b51b2e0aaabcc19780b1b7e422640
4
- data.tar.gz: 3db20d4d584da54c530ece341ce3451b11ef5bcf
3
+ metadata.gz: 7a3b43f53b50eec91aa7a2753adb3dab9b84b9c6
4
+ data.tar.gz: b7c62a7f3871de90bc148e29997b3f9f53249f36
5
5
  SHA512:
6
- metadata.gz: 4cf9162c36bfa08b72dc53e069053a9d88513e438ffec9f49d42855a0b7259e756afdd808682e0c9c32844302777f6a9bfe54bd99f9237049b069d356143ceeb
7
- data.tar.gz: 3b4792604be22a61edaa987e98da891801ca187ec8ecc241da9d15bb0dfc09df734525b972d6cc253a2ed2c1df726d1d5d153d74012155b59aee55aacce8dced
6
+ metadata.gz: 0bc89ef408e4437bd176fac43b633fbae2b782b432ddac0eb8a729b3c880b6f1b663b292341545362fb3eb79361e0fbe47656784dea5a8815b7421f694170bd3
7
+ data.tar.gz: 732d5b774d6a213c61c0fa3cca2855e78caf4c9d368e028e69c987efd24ecc82b40cfefe4b0dc90c29e8ad2aff01faac4eaa8e07f46ea99ac8f6299b2183d839
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- octobat (2.0.0)
4
+ octobat (2.0.1)
5
5
  rest-client (>= 1.4, < 4.0)
6
6
 
7
7
  GEM
@@ -1,3 +1,7 @@
1
+ === 2.0.1 2017-02-13
2
+ * 1 minor enhancement:
3
+ * Add confirmation date as an option for invoices & credit notes
4
+
1
5
  === 2.0.0 2017-01-23
2
6
  * 1 major enhancement:
3
7
  * Bump to Octobat v2 API endpoint
@@ -1,5 +1,9 @@
1
1
  = Octobat Ruby bindings
2
2
 
3
+ == Important notice
4
+ octobat > 2.0.0 is built to work only with Octobat v2 endpoint and your Octobat v2 credentials.
5
+ If you don't use Octobat v2 yet, please use version 0.0.12.
6
+
3
7
  == Installation
4
8
 
5
9
  You don't need this source code unless you want to modify the gem. If
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
@@ -9,8 +9,8 @@ module Octobat
9
9
  refresh_from(response, api_key)
10
10
  end
11
11
 
12
- def confirm
13
- response, api_key = Octobat.request(:patch, confirm_url, @api_key)
12
+ def confirm(confirmation_data = {})
13
+ response, api_key = Octobat.request(:patch, confirm_url, @api_key, confirmation_data)
14
14
  refresh_from(response, api_key)
15
15
  end
16
16
 
@@ -33,8 +33,8 @@ module Octobat
33
33
  refresh_from(response, api_key)
34
34
  end
35
35
 
36
- def confirm
37
- response, api_key = Octobat.request(:patch, confirm_url, @api_key)
36
+ def confirm(confirmation_data = {})
37
+ response, api_key = Octobat.request(:patch, confirm_url, @api_key, confirmation_data)
38
38
  refresh_from(response, api_key)
39
39
  end
40
40
 
@@ -1,3 +1,3 @@
1
1
  module Octobat
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
metadata CHANGED
@@ -1,33 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octobat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaultier Laperche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-23 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.4'
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '4.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.4'
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '4.0'
33
33
  description: Octobat is the easiest way to generate invoices online. See https://www.octobat.com
@@ -39,8 +39,8 @@ executables:
39
39
  extensions: []
40
40
  extra_rdoc_files: []
41
41
  files:
42
- - .gitignore
43
- - .travis.yml
42
+ - ".gitignore"
43
+ - ".travis.yml"
44
44
  - CONTRIBUTORS
45
45
  - Gemfile
46
46
  - Gemfile.lock
@@ -105,17 +105,17 @@ require_paths:
105
105
  - lib
106
106
  required_ruby_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - '>='
113
+ - - ">="
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
117
  rubyforge_project:
118
- rubygems_version: 2.0.14.1
118
+ rubygems_version: 2.4.5
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Ruby bindings for the Octobat API