lono 3.2.0 → 3.2.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: 6960654946363019c9b4f49f0dbd174939c09949
4
- data.tar.gz: 170581eadc5099100aba6146a6ed51d14c89e01a
3
+ metadata.gz: 1fcfb65ffb6cccd0eb663bbe404f30f139348df2
4
+ data.tar.gz: a63760ba51191ed56fb91e0bf016291092155c4c
5
5
  SHA512:
6
- metadata.gz: 9b06de16d5ce5912eedc70f5c821f578a4a01f1a794d0ffe8369a2c8b3d0df7840962ca635b5b3f3878996cd7f15945e183a861579a71a8b05f57a511c31dc8f
7
- data.tar.gz: 675ec16efffaf96b22dd69034ba7a636314a45f22d530a818c11f0ca32cbfe1c91c9d5c70346a350d8cfa1c5fa048e967fd1c8d2fcce6e40ee49da35cc5d9adf
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"].select { |logical_id, p| p["Default"] }
22
+ data["Parameters"].reject { |logical_id, p| p["Default"] }
23
23
  end
24
24
 
25
25
  def optional_parameters
26
- data["Parameters"].reject { |logical_id, p| p["Default"] }
26
+ data["Parameters"].select { |logical_id, p| p["Default"] }
27
27
  end
28
28
  end
data/lib/lono/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "3.2.0"
2
+ VERSION = "3.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen