luno 0.2.1 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5f25f490b782056e3d1092b08e76e3139519d4594506946bcf4f3a94fbc7c52
4
- data.tar.gz: 6b83708a92db84e946db79b3656a4a36f8864e7becb32c1f7707c7c0ce02b68f
3
+ metadata.gz: 7cb327dac23e013eeb890c1fadac8a791b988c62aa4b8e541f0637f97ce8003a
4
+ data.tar.gz: daeb065c505b364c4438354493e65a736c82ed30fbb7c78fa1abeb45261c01e8
5
5
  SHA512:
6
- metadata.gz: d6dda7bc29eaeb756006786a6f0da89881a8f7c36f0f7e7b25ad87980413785657ad15559e1bcf70b23aea2eea70705e84776a6c11ecdc6224634ce75d1d0879
7
- data.tar.gz: 8142e9f12a38f3b0cf6961f9c999d22588738096d5283ade0f5bfeb74d21dd9f999b00850a934709b7c6c6de31c32cb01a41f8d53e64d311e87bbe3ed8d818dd
6
+ metadata.gz: 0ac185bf7b585d8aca16a6b60b4f9bc002ec363684cab3006cca098908ac1ab066612aec14407778dea430338e3edbac4ebd5027d1327fcf9869fa35dee94eda
7
+ data.tar.gz: 47344ffeff6064c3aaef8ccb3cc17803ccd4d831d0880586ed116060469e4f3840bd0ff9d9d792d64d38d95fd68107ec74cae724e474df15a1dc940e6b56ef27
@@ -120,7 +120,7 @@ module Luno
120
120
  def construct_base_path(path, params)
121
121
  constructed_path = "#{base_path}/#{path}"
122
122
 
123
- if params != {}
123
+ if params == {}
124
124
  constructed_path
125
125
  else
126
126
  "#{constructed_path}?#{process_params(params)}"
@@ -1,3 +1,3 @@
1
1
  module Luno
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-30 00:00:00.000000000 Z
11
+ date: 2020-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 3.0.3
236
+ rubygems_version: 3.1.4
237
237
  signing_key:
238
238
  specification_version: 4
239
239
  summary: A client for using the Luno API in Ruby.