hutils 0.3.2 → 0.3.3

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/bin/lviz +6 -8
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7232561c47cb8693614861300475c9739734f402
4
- data.tar.gz: ce13d5ea93097070824f0c71f290498a27802a61
3
+ metadata.gz: 7b546acaae4843d6ec169c1ea77b6f7b3a717a55
4
+ data.tar.gz: 68f4d190228f5f3c311966d92f6a65b8e9c23c2f
5
5
  SHA512:
6
- metadata.gz: 5f20364c613330d16f752d3f3da6224a76658ce990e1186668c353b6b9c8dbc3067d3aa0a6f8de8bbdb4dbd18e7c23aac7e3442c56d56c856294d62671c344ba
7
- data.tar.gz: 6889e6098c6b8d3047930f4b309ef8ce621890618f3e5e7d52c6ee9ffe38b3f552602b88890f7e5b55c773178cc7ceade44d141096fa9680c8a965f06587163e
6
+ metadata.gz: c426017de5c189c95d8bc18e5033c407685fc772cdef5c767b1c6b628cdc94a0b567fb83bbb45b80ec5d83afdefea1cd67d44ae43e0e7cf5129fdd741e9f2fbf
7
+ data.tar.gz: c0cb013a88cfa3f9beb024a06324ae85c373495eec71022f87e8ba66ba4add079481a190e911af87206b125b7537074d6d651ef183a63744aab1f65ec4bfda9b
data/bin/lviz CHANGED
@@ -22,16 +22,14 @@ opts = OptionParser.new do |opts|
22
22
  opts.banner = "Usage: lviz [options] <file> ..."
23
23
  opts.on("--compact", "Compact display") { |c| compact = c }
24
24
  opts.on("-h", "--help", "Show this help string") { |h|
25
- if h
26
- puts(opts.help)
27
- exit(0)
28
- end
25
+ puts(opts.help)
26
+ exit(0)
29
27
  }
30
- opts.on("--highlights", "Keys to highlight (comma separated)") { |h|
31
- highlights = h.split(",") rescue []
28
+ opts.on("--highlights ...", Array, "Keys to highlight (comma separated)") { |h|
29
+ highlights = h
32
30
  }
33
- opts.on("--ignore", "Keys to ignore (comma separated)") { |i|
34
- ignore = i.split(",") rescue []
31
+ opts.on("--ignore ...", Array, "Keys to ignore (comma separated)") { |i|
32
+ ignore = i
35
33
  }
36
34
  opts.on("-i", "--interactive", "Interactive mode") { |i| interactive = i }
37
35
  opts.on("--no-color", "Disable colors") { |c| colors = false }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-20 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon