chargebee 1.6.6 → 1.6.7

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: 41c8ab049ae9538dd585c198fbc4efe22d3aa646
4
- data.tar.gz: 8a4ec463750a1f1ef2619d22ca0e27d219018f19
3
+ metadata.gz: 6793d9b20f5c5b5acef90a78541b00e4b205e4a9
4
+ data.tar.gz: f41b1efd2a1fb14e7955ceb38079c337cadc8550
5
5
  SHA512:
6
- metadata.gz: 8f99ad9e6f073b8370a8bf85c46db03d007eb308a0b77b60906322ff0169f10d7ee9db35957c4c0c82f812ad4df21273a765861f224430a487a9c05dafb2274c
7
- data.tar.gz: 15b9dd5cfbe5d5f24fd97293f3ad6599128551ea2ac4c3d0299106f31042968007a51d4055a3da292bbaf08282fc555da6bdd01ef8cec013c293cbd3b117bce4
6
+ metadata.gz: 09b3e3888bf39a9d8f0dfd7127c5abf38f769323c941f1f30ca6458745c92fa37f2e46c8ab89e4fe16401321adf20563b9c098b5c5ef00e3ef1c2dc7e442d4dc
7
+ data.tar.gz: 0687820273062c63cc0d00193ee9692476d668fbca5e7e5f48fdeeb391ce062ba43db96f9d43368ca4c2b7441956411caa78da4cda5c2fe01c837d1e97ca84a0
@@ -1,3 +1,10 @@
1
+ ### v1.6.7 (2015-12-15)
2
+ * * *
3
+
4
+ ** APIs updated**:
5
+
6
+ Wrong API invocation issue if empty/null value passed instead of resource id, is fixed.
7
+
1
8
  ### v1.6.6 (2015-11-24)
2
9
  * * *
3
10
 
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'chargebee'
7
- s.version = '1.6.6'
8
- s.date = '2015-11-24'
7
+ s.version = '1.6.7'
8
+ s.date = '2015-12-15'
9
9
 
10
10
  s.summary = "Ruby client for Chargebee API."
11
11
  s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
@@ -28,7 +28,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
28
28
 
29
29
  module ChargeBee
30
30
 
31
- VERSION = '1.6.6'
31
+ VERSION = '1.6.7'
32
32
 
33
33
  @@default_env = nil
34
34
  @@verify_ca_certs = true
@@ -48,7 +48,14 @@ module ChargeBee
48
48
  end
49
49
 
50
50
  def self.uri_path(*paths)
51
- "/#{paths.map{|path| "#{URI.encode(path)}"}.join('/')}"
51
+ url = ""
52
+ for path in paths
53
+ if(path.nil? || path.strip.length < 1)
54
+ raise "Id is empty or nil"
55
+ end
56
+ url = "#{url}/#{URI.encode(path.strip)}"
57
+ end
58
+ return url
52
59
  end
53
60
 
54
61
  def self.construct(values, sub_types = {})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.6
4
+ version: 1.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajaraman S
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-24 00:00:00.000000000 Z
12
+ date: 2015-12-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure