lunanode 0.3.0 → 0.3.1

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: 25b84a457a8cec75b71c9506f0c7a1989507cb24
4
- data.tar.gz: 592c51192a8a11f6582375a55552da9c2dfea090
3
+ metadata.gz: f47320a6e649faf7d7e7d640d01d9b8bf913b752
4
+ data.tar.gz: 02b48609ceb464cf64fb3b8f4a612ad8ac73c20d
5
5
  SHA512:
6
- metadata.gz: 7380c1d7d2f152936d26827182e694738e80518a56891589dfae3f2b0278ec86edff4bb648e5ed50727180d302b7e9ebe48aece47f7df80154e1d31b03648d2c
7
- data.tar.gz: 3d4d6d8a385269a9ba2e70d5236534a6b8d6422e1a29bc7c464702b2d1e39f50e3323cc88add8e0727be9a437c6447cb81f462d91bf226e6d9c8c8fe5b629c46
6
+ metadata.gz: dfcf555e8c0c56abc0d05ef64a62b34a88e20d2370bdfe9c9dfbefbee31aff8d0864a2449c7e7b59323af94175a09ea253b97ac5f76ab6a2833bd3016bb3266e
7
+ data.tar.gz: 548816707a574ec2a3e809312fafa126d58bbf654e178bb4cb061bbd2101eb468970c5e8016ebdfdd3bb87a430669fbfc75fb373756e62e6cc8f54e82f223d9d
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.1] - 2017-02-11
10
+ ### Fixed
11
+ - All unspecified optional parameters were being sent as empty strings.
12
+
9
13
  ## [0.3.0] - 2017-02-10
10
14
  ### Added
11
15
  - New `api#image_rename` and `api#volume_rename` actions in the API. Thanks to
@@ -56,7 +60,8 @@ This is the first point of reasonable functionality/stability.
56
60
  ### Added
57
61
  - Initial commit, not publicly released
58
62
 
59
- [Unreleased]: https://github.com/nomoon/lunanode/compare/v0.3.0...HEAD
63
+ [Unreleased]: https://github.com/nomoon/lunanode/compare/v0.3.1...HEAD
64
+ [0.3.1]: https://github.com/nomoon/lunanode/compare/v0.3.0...v0.3.1
60
65
  [0.3.0]: https://github.com/nomoon/lunanode/compare/v0.2.0...v0.3.0
61
66
  [0.2.0]: https://github.com/nomoon/lunanode/compare/v0.1.6...v0.2.0
62
67
  [0.1.6]: https://github.com/nomoon/lunanode/compare/v0.1.5...v0.1.6
@@ -147,10 +147,11 @@ module Lunanode
147
147
  # Clean empty request parameters
148
148
  def clean_params(params)
149
149
  params.each_with_object({}) do |(param, value), acc|
150
+ next if param.nil? || value.nil?
150
151
  next unless param.respond_to?(:to_sym) && value.respond_to?(:to_s)
151
152
  acc[param.to_sym] = value.to_s
152
153
  end
153
- end # :reek:ManualDispatch
154
+ end # :reek:NilCheck :reek:ManualDispatch
154
155
 
155
156
  # Create signed request data
156
157
  def auth_request_formdata(handler_path, params)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Lunanode
3
- VERSION = "0.3.0".freeze
3
+ VERSION = "0.3.1".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lunanode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Bellefleur