appl 1.14 → 1.15

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/appl.rb +4 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45ad7f9759023d5910cca734d856a368baf06770ad4e193b6dee940e7b417beb
4
- data.tar.gz: 55bc842b3ac4fced98fc3c9574bf6a048e838590d26e709b8f4cd3d38cdeab4f
3
+ metadata.gz: 56c30027cafdb226bc4406d7e61c635a851ebdd6803db91619f7304ba8cb6aa6
4
+ data.tar.gz: ed5ff7e4c34536b77c992825ae62c5bcce3bb2c0ab279af23dadca6126e40eed
5
5
  SHA512:
6
- metadata.gz: a7a30d4159280cef5ca6692decc3f561fd2073bcac52f45234936c75f4aa32e20175ba41bc1495aed79383e69cc9ac84410d9b72c89fcdf0d8043e2b12245a7b
7
- data.tar.gz: 82e73a96e8e23b880feeeb783d491b52d0d5c2ae29f368ac2d86c26875b5d86fb39a1c6c244c4b38881423ba171d502e034e51e63354727045f37fce529c2256
6
+ metadata.gz: ca350b770a585c31c2d0f5f0cc3f49d9a284632cc59acb8acbaa5258660587bae444a299bd97057a3a734383b98c8cca702dc4c01da38c8c0469704311fe4ccb
7
+ data.tar.gz: e1e5e52163995309fbe55621e816265477889996466a3c74f6efd50e07f88b7fd07d0f048a309b193f3c0606769250534c3c846824c0f8f5153eca673eb999b8
data/lib/appl.rb CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  class Application
7
7
 
8
- APPL_VERSION = "1.14".freeze
8
+ APPL_VERSION = "1.15".freeze
9
9
 
10
10
  OPTIONS_ENV = nil
11
11
 
@@ -209,7 +209,9 @@ class Application
209
209
  arg &&= "#{arg}"
210
210
  dfl &&= "[#{dfl}]"
211
211
  arg << dfl if arg && dfl
212
- puts " %-*s %-*s %s" % [ root::W_OPTS, opt, root::W_ARGS, arg, desc]
212
+ l = " %-*s %-*s %s" % [ root::W_OPTS, opt, root::W_ARGS, arg, desc]
213
+ l.rstrip!
214
+ puts l
213
215
  end
214
216
  end
215
217
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appl
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.14'
4
+ version: '1.15'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bertram Scharpf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-01 00:00:00.000000000 Z
11
+ date: 2022-03-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  A base class for command line applications doing options parsing