bitpesa 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74bd36d89669145db6a865d70d83020d39a7e2bd
4
- data.tar.gz: 4f4736901eab3a8fdbba4e0f719d90aae8ee5238
3
+ metadata.gz: 4c51526f5c019b6a8ab1889ae7ce3eb992f004f4
4
+ data.tar.gz: 34a4615004471147f4d632a7ed69ec63878ddc35
5
5
  SHA512:
6
- metadata.gz: 0ad96e52dc73824f1cd4630a38b095350a44265a1abec22ba21ddba396f4d594150022ba32524c3bd6e346f612fc4e5b4d9822ba0d504ff0e99296fa79238f7b
7
- data.tar.gz: 3dada06deae052308a62db5cb8a74fa6fd0c3e9c6d7f0cc1e5236a0864170c20e73d705ab28afbf913aaa01ea4af158ceeebaedf4a066083a3807b5497b72935
6
+ metadata.gz: ceb54b052b3541248c1d83a80e6f167d45d269504a0f0fbdcc0acda139e1df4d23fd805341325f16b5dd36563f0b5018c76e0ed6373dbf50e30ffb5f07e57b4e
7
+ data.tar.gz: ba1d344c79f06a67563fb454e2ae5278edad7059fb1de85e0a855e4ab7e6c7dddfb1ae2d5b6c1322e91687b04008275ad22a8abc53abcba0a2212c101c835499
@@ -22,7 +22,7 @@ module BitPesa
22
22
  def get(endpoint, payload=nil)
23
23
  url = request_url(endpoint)
24
24
  query_string = payload && payload.reduce([]) {|r,item| r << item[1].to_query(item[0])}.join("&")
25
- url += "?" + URI.encode_www_form(query_string) if query_string
25
+ url += "?" + query_string if query_string
26
26
  request "GET", url
27
27
  end
28
28
 
@@ -1,3 +1,3 @@
1
1
  module BitPesa
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitpesa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bitbond