quaderno 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -4
- data/VERSION +1 -1
- data/changelog.md +2 -2
- data/lib/quaderno-ruby/behavior/crud.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: f9649b303e7b1e03cb52a56fa08d5a61a9e76bbd
|
4
|
+
data.tar.gz: 2cc6d393fa1df698cbc39483f49fa48d02de35df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de3b44d34a02088df8c4d84809bae79664f19f22a3692636d16af35e49aae7d79f814b2dae142f7860aa55994158b04f01e2c35e555e963eb9fbe81561751e47
|
7
|
+
data.tar.gz: cd0e1697959b7cc80fd20cd006bdc98fd7ef098a9728f449de2d7dfbf4a3a929ba260c4841c1a149060a6624bdb9349101a810b98c2786b4cb9dc7f33317898d
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# quaderno-ruby
|
2
2
|
|
3
|
-
Quaderno-ruby is a ruby wrapper for [
|
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
6
|
Current version is 1.4.1. See the changelog [here](https://github.com/quaderno/quaderno-ruby/blob/master/changelog.md)
|
@@ -365,6 +365,19 @@ will update the specified webhook with the data of the hash passed as second par
|
|
365
365
|
|
366
366
|
will calculate the taxes applied for a customer based on the data pased as parameters.
|
367
367
|
|
368
|
-
##
|
368
|
+
## More information
|
369
|
+
|
370
|
+
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).
|
371
|
+
|
372
|
+
## License
|
373
|
+
(The MIT License)
|
374
|
+
|
375
|
+
Copyright © 2013-2014 recreahq.com
|
376
|
+
|
377
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
378
|
+
|
379
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
380
|
+
|
381
|
+
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
382
|
+
|
369
383
|
|
370
|
-
For further information, please visit [quaderno api] (https://github.com/recrea/quaderno-api) wiki
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.2
|
data/changelog.md
CHANGED
@@ -44,7 +44,7 @@ module Quaderno
|
|
44
44
|
def find(id)
|
45
45
|
party_response = get "#{api_model.base_url}/api/v1/#{ api_model.api_path }/#{ id }.json", basic_auth: { username: api_model.auth_token }
|
46
46
|
check_exception_for(party_response, { rate_limit: true, subdomain_or_token: true, id: true })
|
47
|
-
hash =
|
47
|
+
hash = party_response.parsed_response
|
48
48
|
if (api_model == Quaderno::Invoice) || (api_model == Quaderno::Estimate) || (api_model == Quaderno::Expense)
|
49
49
|
api_model.parse(hash)
|
50
50
|
end
|
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.4.
|
5
|
+
# stub: quaderno 1.4.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "quaderno"
|
9
|
-
s.version = "1.4.
|
9
|
+
s.version = "1.4.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-
|
14
|
+
s.date = "2014-12-04"
|
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.4.
|
4
|
+
version: 1.4.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-
|
11
|
+
date: 2014-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|