lono 7.0.3 → 7.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8be9fefa227ea8e810d55b39b86550a9bd712575d92886d545de612b092dca1c
4
- data.tar.gz: c5b189d514f18331e5edee251653815416f50e2790bbab61d6b0f3a97d447ee6
3
+ metadata.gz: 51a04aa19c67011e6f32ba9e032f439d281820a97e2ad41c6187aa4aa55971be
4
+ data.tar.gz: ad2e51a8917fb855e6e7e5cbf230b3445f3d0a1bd9bae478c78189a4ac6b14fe
5
5
  SHA512:
6
- metadata.gz: 44b7820ece17a7e62b98384f9b21718ae67851fc4ca8128429a76257a23e1abf917a47d649ec804ef8d2e4fac4094d5af2293b65cd18ecaa2df71b29ef0597d7
7
- data.tar.gz: 2e1edfcf3e4dcc33835e43c4f2de7e3eeea74f551854ed435a4c7709827e9532d62f716b571536976f2bcbb54969e9a730714717a5a4b5de43a57db3f131449c
6
+ metadata.gz: 01caf3e4f07a635acffb67a8a437b6714af1bace864f5ddf016b49aecef0e90b2c5fe387e693adc5e5f91fcea34b7ee8428c9bd2f39ea27779a578ea812c51b8
7
+ data.tar.gz: 539801feb80ed5fc8e8fe8cb97b012ef9e5fbd7bb172497380a7808abcbb99def14b0ff221c6470ca3fcf9713f41ec3829e9df26fd74ea126b98baa95edc8490
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
+ ## [7.0.4]
7
+ - #40 fix lono summary total
8
+
6
9
  ## [7.0.3]
7
10
  - #39 improve param parser. allow surrounding quotes
8
11
 
@@ -79,7 +79,8 @@ module Lono::Inspector
79
79
  type, count = a
80
80
  printf "%3s %s\n", count, type
81
81
  end
82
- printf "%3s %s\n", resource_types.size, "Total"
82
+ total = types.inject(0) { |sum,(type,count)| sum += count }
83
+ printf "%3s %s\n", total, "Total"
83
84
  end
84
85
 
85
86
  def output_template
data/lib/lono/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "7.0.3"
2
+ VERSION = "7.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.3
4
+ version: 7.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-26 00:00:00.000000000 Z
11
+ date: 2020-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport