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 +4 -4
- data/Gemfile.lock +1 -1
- data/History.txt +4 -0
- data/README.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/octobat/credit_note.rb +2 -2
- data/lib/octobat/invoice.rb +2 -2
- data/lib/octobat/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a3b43f53b50eec91aa7a2753adb3dab9b84b9c6
|
4
|
+
data.tar.gz: b7c62a7f3871de90bc148e29997b3f9f53249f36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bc89ef408e4437bd176fac43b633fbae2b782b432ddac0eb8a729b3c880b6f1b663b292341545362fb3eb79361e0fbe47656784dea5a8815b7421f694170bd3
|
7
|
+
data.tar.gz: 732d5b774d6a213c61c0fa3cca2855e78caf4c9d368e028e69c987efd24ecc82b40cfefe4b0dc90c29e8ad2aff01faac4eaa8e07f46ea99ac8f6299b2183d839
|
data/Gemfile.lock
CHANGED
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -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.
|
1
|
+
2.0.1
|
data/lib/octobat/credit_note.rb
CHANGED
@@ -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
|
|
data/lib/octobat/invoice.rb
CHANGED
@@ -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
|
|
data/lib/octobat/version.rb
CHANGED
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.
|
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-
|
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.
|
118
|
+
rubygems_version: 2.4.5
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: Ruby bindings for the Octobat API
|