lono 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/lono/inspector/params.rb +3 -3
- data/lib/lono/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: 1fcfb65ffb6cccd0eb663bbe404f30f139348df2
|
4
|
+
data.tar.gz: a63760ba51191ed56fb91e0bf016291092155c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9931cd07307ec8eb0d9b9f49f66d29d338e5617af43c5d99dc3a51704bae702df62c5e58388b39b8f1ce2c93a25605072b72fc325399b78ca15e44b92145b7a0
|
7
|
+
data.tar.gz: 6b8213235b3e8c403ee3415566d3f6f76be399f333146738bb3224fa562158e60ccb2653a8fafadc16daeace959d3e17688621549ac26d3425dc34d8adff4f58
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [3.2.1]
|
7
|
+
- fix lono inspect params
|
8
|
+
|
6
9
|
## [3.2.0]
|
7
10
|
- lono inspect depends
|
8
11
|
- lono inspect params
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class Lono::Inspector::Params < Lono::Inspector::Base
|
2
2
|
def perform
|
3
|
-
puts "Parameters Summary:"
|
3
|
+
puts "Parameters Summary:".colorize(:green)
|
4
4
|
return if @options[:noop]
|
5
5
|
|
6
6
|
print_parameters("Required", required_parameters)
|
@@ -19,10 +19,10 @@ class Lono::Inspector::Params < Lono::Inspector::Base
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def required_parameters
|
22
|
-
data["Parameters"].
|
22
|
+
data["Parameters"].reject { |logical_id, p| p["Default"] }
|
23
23
|
end
|
24
24
|
|
25
25
|
def optional_parameters
|
26
|
-
data["Parameters"].
|
26
|
+
data["Parameters"].select { |logical_id, p| p["Default"] }
|
27
27
|
end
|
28
28
|
end
|
data/lib/lono/version.rb
CHANGED