quaderno 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a856c49bdf181c9122a299d38bf1c6f4feb9b88
4
- data.tar.gz: 707680768d69048f3e519935fa4376e78ca3da59
3
+ metadata.gz: 3c7092d2e9567771f1a1f018a52817b6d68b9fd2
4
+ data.tar.gz: f78c6522b0b34e8476d855c224ee2d70c619d286
5
5
  SHA512:
6
- metadata.gz: 06b18625ae1df44c45478df0c967a51a7c1a96fe6f5c2239bf2624afd4e16dd7260e6ed9e16a907b9f9531055bd92c73d5205bf153ebb910bd728bc4ec232259
7
- data.tar.gz: ec16cf079c71679f5b0b785991d59425f117aaea939928c4d299843c2a9ba2e1268bf40fe1e83bbe4b9baf9c8a2dc2cdc08814f3ad24b6968bd6e254526b77f1
6
+ metadata.gz: 5b4b84020703bdce5af4aaa78492142f4eabfc2d78b1affcf747e92546ea3aa80e628106be00f8c54524b5ddeb0d2910c2842169016c295ac327f823f6838957
7
+ data.tar.gz: 9164f5671958a88618c432626e803a6a9077033e8e7f3bd3cfd49ba725193f65f174a8b63218770e505882fe1220d2bae0f3444753adfcbd6f1b0fbab980769c
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Quaderno-ruby is a ruby wrapper for [quaderno api] (https://github.com/recrea/quaderno-api).
4
4
  As the API, it's mostly CRUD.
5
5
 
6
- Current version is 1.3.2. See the changelog [here](https://github.com/recrea/quaderno-ruby/blob/master/changelog.md)
6
+ Current version is 1.4.1. See the changelog [here](https://github.com/quaderno/quaderno-ruby/blob/master/changelog.md)
7
7
 
8
8
  ## Installation & Configuration
9
9
 
data/Rakefile CHANGED
@@ -15,10 +15,10 @@ require 'jeweler'
15
15
  Jeweler::Tasks.new do |gem|
16
16
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
17
  gem.name = "quaderno"
18
- gem.homepage = "http://github.com/recrea/quaderno-ruby"
18
+ gem.homepage = "http://github.com/quaderno/quaderno-ruby"
19
19
  gem.license = "MIT"
20
20
  gem.summary = %Q{one-line summary of your gem}
21
- gem.description = %Q{longer description of your gem}
21
+ gem.description = %Q{ A ruby wrapper for Quaderno API }
22
22
  gem.email = "carlos@recrea.es"
23
23
  gem.authors = ["Recrea"]
24
24
  # dependencies defined in Gemfile
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.4.1
data/changelog.md CHANGED
@@ -1,4 +1,9 @@
1
1
  #Changelog
2
+ ##1.4.0
3
+ * Fix wrong method name
4
+ * Use correct organization in url
5
+ * Add short description of the gem
6
+
2
7
  ##1.4.0
3
8
  * Added taxes calculations support
4
9
  * Added webhooks documentation
@@ -54,7 +54,7 @@ module Quaderno
54
54
  def create(params)
55
55
  party_response = post "#{api_model.base_url}/api/v1/#{ api_model.api_path }.json", body: params, basic_auth: { username: api_model.auth_token }
56
56
  check_exception_for(party_response, { rate_limit: true, subdomain_or_token: true, required_fields: true })
57
- hash = party_response..parsed_response
57
+ hash = party_response.parsed_response
58
58
  if (api_model == Quaderno::Invoice) || (api_model == Quaderno::Estimate) || (api_model == Quaderno::Expense)
59
59
  api_model.parse(hash)
60
60
  end
@@ -64,7 +64,7 @@ module Quaderno
64
64
  def update(id, params)
65
65
  party_response = put "#{api_model.base_url}/api/v1/#{ api_model.api_path }/#{ id }.json", body: params, basic_auth: { username: api_model.auth_token }
66
66
  check_exception_for(party_response, { rate_limit: true, subdomain_or_token: true, id: true })
67
- hash = party_response..parsed_response
67
+ hash = party_response.parsed_response
68
68
  if (api_model == Quaderno::Invoice) || (api_model == Quaderno::Estimate) || (api_model == Quaderno::Expense)
69
69
  api_model.parse(hash)
70
70
  end
data/quaderno.gemspec CHANGED
@@ -2,17 +2,17 @@
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.0 ruby lib
5
+ # stub: quaderno 1.4.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "quaderno"
9
- s.version = "1.4.0"
9
+ s.version = "1.4.1"
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-11-27"
15
- s.description = "longer description of your gem"
14
+ s.date = "2014-11-29"
15
+ s.description = " A ruby wrapper for Quaderno API "
16
16
  s.email = "carlos@recrea.es"
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
@@ -93,7 +93,7 @@ Gem::Specification.new do |s|
93
93
  "test/unit/test_quaderno_tax.rb",
94
94
  "test/unit/test_quaderno_webhooks.rb"
95
95
  ]
96
- s.homepage = "http://github.com/recrea/quaderno-ruby"
96
+ s.homepage = "http://github.com/quaderno/quaderno-ruby"
97
97
  s.licenses = ["MIT"]
98
98
  s.rubygems_version = "2.2.2"
99
99
  s.summary = "one-line summary of your gem"
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.0
4
+ version: 1.4.1
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-27 00:00:00.000000000 Z
11
+ date: 2014-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.0.1
55
- description: longer description of your gem
55
+ description: " A ruby wrapper for Quaderno API "
56
56
  email: carlos@recrea.es
57
57
  executables: []
58
58
  extensions: []
@@ -133,7 +133,7 @@ files:
133
133
  - test/unit/test_quaderno_items.rb
134
134
  - test/unit/test_quaderno_tax.rb
135
135
  - test/unit/test_quaderno_webhooks.rb
136
- homepage: http://github.com/recrea/quaderno-ruby
136
+ homepage: http://github.com/quaderno/quaderno-ruby
137
137
  licenses:
138
138
  - MIT
139
139
  metadata: {}