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 +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/lunanode/api.rb +2 -1
- data/lib/lunanode/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f47320a6e649faf7d7e7d640d01d9b8bf913b752
|
|
4
|
+
data.tar.gz: 02b48609ceb464cf64fb3b8f4a612ad8ac73c20d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dfcf555e8c0c56abc0d05ef64a62b34a88e20d2370bdfe9c9dfbefbee31aff8d0864a2449c7e7b59323af94175a09ea253b97ac5f76ab6a2833bd3016bb3266e
|
|
7
|
+
data.tar.gz: 548816707a574ec2a3e809312fafa126d58bbf654e178bb4cb061bbd2101eb468970c5e8016ebdfdd3bb87a430669fbfc75fb373756e62e6cc8f54e82f223d9d
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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
|
data/lib/lunanode/api.rb
CHANGED
|
@@ -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)
|
data/lib/lunanode/version.rb
CHANGED