quaderno 1.5.1 → 1.5.2
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/README.md +14 -1
- data/VERSION +1 -1
- data/changelog.md +5 -1
- data/lib/quaderno-ruby/exceptions/exceptions.rb +1 -1
- 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: 5e23b1598201122ad5c4862ddba902cf6ab99042
|
4
|
+
data.tar.gz: 6d6e84f98d3132194e00ee7baaa04ab26a485700
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d266fee84e76e0c104006f89433d89a9a9da7bf2ac4fd4efa7b880e7cb5c09a55a8631ec5177e2eb98c39d071347cd7d77ac5e821bf76d4dbb6a3c1c0501db50
|
7
|
+
data.tar.gz: 7783e07debc8f356d8257d4c38d1dc7fcb1dea8939fac86a6ebb130682fb2273acbd0fa7b8961e758e0440348becb8b4289d0ac400a1ed8f16920a89f526bf06
|
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.5.
|
6
|
+
Current version is 1.5.2. See the changelog [here](https://github.com/quaderno/quaderno-ruby/blob/master/changelog.md)
|
7
7
|
|
8
8
|
## Installation & Configuration
|
9
9
|
|
@@ -391,6 +391,19 @@ will delete the transaction with the id passed as parameter.
|
|
391
391
|
|
392
392
|
will calculate the taxes applied for a customer based on the data pased as parameters.
|
393
393
|
|
394
|
+
|
395
|
+
## Exceptions
|
396
|
+
Quaderno-ruby exceptions raise depending on the type of error:
|
397
|
+
|
398
|
+
```ruby
|
399
|
+
Quaderno::Exceptions::InvalidSubdomainOrToken # Raised when the credentials are wrong, missing or do not match the permission for some object.
|
400
|
+
|
401
|
+
Quaderno::Exceptions::RateLimitExceeded # Raised when the rate limit is exceeded.
|
402
|
+
|
403
|
+
Quaderno::Exceptions::RequiredFieldsEmptyOrInvalid # Raised if the format of the request is right but some validations failed.
|
404
|
+
```
|
405
|
+
|
406
|
+
|
394
407
|
## More information
|
395
408
|
|
396
409
|
Remember this is only a ruby wrapper for the original API. If you want more information about the API itself, head to the original [API documentation](https://github.com/quaderno/quaderno-api).
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.2
|
data/changelog.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
#Changelog
|
2
|
+
##1.5.1 and 1.5.2
|
3
|
+
* Remove debugger
|
4
|
+
* `Quaderno::Exceptions::RequiredFieldsEmpty` replaced with `Quaderno::Exceptions::RequiredFieldsEmptyOrInvalid`
|
5
|
+
|
2
6
|
##1.5.0
|
3
7
|
* Added transactions
|
4
|
-
* Raise `Quaderno::Exceptions::RequiredFieldsEmpty for 422 responses
|
8
|
+
* Raise `Quaderno::Exceptions::RequiredFieldsEmpty` for 422 responses
|
5
9
|
|
6
10
|
##1.4.2
|
7
11
|
* Find method hotfix
|
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.5.
|
5
|
+
# stub: quaderno 1.5.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "quaderno"
|
9
|
-
s.version = "1.5.
|
9
|
+
s.version = "1.5.2"
|
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 = "2014-12-
|
14
|
+
s.date = "2014-12-10"
|
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.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recrea
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|