quaderno 1.12.3 → 1.12.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/changelog.md +3 -0
- data/lib/quaderno-ruby/tax.rb +3 -3
- data/quaderno.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89d49f7283f9a82860cdccb324d5f143b43453f9
|
4
|
+
data.tar.gz: 7dfa0a8d1b8808705fb8097aa0b294f09fb8c842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c28a9a1815179b1b6b6034dcdd05c44c454216259a21cbb960846bb6be425a2e6249e0a39878601bc5aeea6e19d6fc7dd555017d0978b12e9b47fd44cffdaba1
|
7
|
+
data.tar.gz: 91d71ef1c50a398623ed3753047f12e53122300758e28fb5d0dd3a3c3b67c505f6906a4d480f53623554818cd89c10d04ad7a6fe5fcec248aa0f7a1fee328dc4
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Quaderno-ruby is a ruby wrapper for [Quaderno API] (https://github.com/quaderno/quaderno-api).
|
4
4
|
As the API, it's mostly CRUD.
|
5
5
|
|
6
|
-
Current version is 1.12.
|
6
|
+
Current version is 1.12.4 See the changelog [here](https://github.com/quaderno/quaderno-ruby/blob/master/changelog.md)
|
7
7
|
|
8
8
|
## Installation & Configuration
|
9
9
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.12.
|
1
|
+
1.12.4
|
data/changelog.md
CHANGED
data/lib/quaderno-ruby/tax.rb
CHANGED
@@ -17,7 +17,7 @@ module Quaderno
|
|
17
17
|
response = get("#{authentication[:url]}taxes/calculate.json",
|
18
18
|
query: params,
|
19
19
|
basic_auth: authentication[:basic_auth],
|
20
|
-
headers: authentication[:headers]
|
20
|
+
headers: version_header.merge(authentication[:headers])
|
21
21
|
)
|
22
22
|
|
23
23
|
check_exception_for(response, { rate_limit: true, subdomain_or_token: true, id: true })
|
@@ -30,7 +30,7 @@ module Quaderno
|
|
30
30
|
response = get("#{authentication[:url]}taxes/validate.json",
|
31
31
|
query: { country: country, vat_number: vat_number },
|
32
32
|
basic_auth: authentication[:basic_auth],
|
33
|
-
headers: authentication[:headers]
|
33
|
+
headers: version_header.merge(authentication[:headers])
|
34
34
|
)
|
35
35
|
|
36
36
|
check_exception_for(response, { rate_limit: true, subdomain_or_token: true, id: true })
|
@@ -45,7 +45,7 @@ module Quaderno
|
|
45
45
|
response = get("#{authentication[:url]}taxes/reports.json",
|
46
46
|
query: params,
|
47
47
|
basic_auth: authentication[:basic_auth],
|
48
|
-
headers: authentication[:headers]
|
48
|
+
headers: version_header.merge(authentication[:headers])
|
49
49
|
)
|
50
50
|
|
51
51
|
array = response.parsed_response
|
data/quaderno.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: quaderno 1.12.
|
5
|
+
# stub: quaderno 1.12.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "quaderno"
|
9
|
-
s.version = "1.12.
|
9
|
+
s.version = "1.12.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Recrea"]
|
14
|
-
s.date = "2017-07-
|
14
|
+
s.date = "2017-07-27"
|
15
15
|
s.description = " A ruby wrapper for Quaderno API "
|
16
16
|
s.email = "carlos@recrea.es"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quaderno
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recrea
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|