franz 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Readme.md +3 -1
  3. data/VERSION +1 -1
  4. data/bin/franz +9 -4
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc7a5d6d178dc1e69c3bae41689803b001818b91
4
- data.tar.gz: e95d2d372a2babcef729283e16065a6bcbff0d79
3
+ metadata.gz: 4ab67878a33a64705a5a546e9e98616c763a1007
4
+ data.tar.gz: 94d3def362509f2a8804fd99914ccf3d2d03f926
5
5
  SHA512:
6
- metadata.gz: aefde13b6cdf69d0bdda0ab5188762d478a291adb717e854d5532c2b2cb71f4f1e1dcc616eb537ce1f85d738f2da9160c6d3b10eae7005570743c583c166ada2
7
- data.tar.gz: 992e197e977ac5b80117c01c25d9145661463a2a6e0f8d19c00136211f01485eccf96dbbe6c66e423a2df3a53b58cbe1640651bcd09c3794a16b0c319fd5d4b7
6
+ metadata.gz: ed1e406ff1202a326e49c874ebdebfe50ba55281564a3ab4d28e546f953f2c072478eb9bae5bb66923f91da60e36ce859e7b2bbe06d0e71fc5925a5fa40aaaf4
7
+ data.tar.gz: 0e471cbe59903ce9f1220431ff6a0d96972306b690b197d4badf762a97e5ffa421046374bb862e9cc5456d2fe41054c8b2f927d9f0415433bdcbf16aed8b24a2
data/Readme.md CHANGED
@@ -226,8 +226,10 @@ for Chef.
226
226
 
227
227
  ### v2.2
228
228
 
229
- - Updated dependencies
229
+ - Updated dependencies, improved packaging
230
230
  - No more `TRACE`-level logging (demoted to `DEBUG`)
231
+ - Better command-line options backed by environment variables
232
+
231
233
 
232
234
  #### v2.1
233
235
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.0
1
+ 2.2.1
data/bin/franz CHANGED
@@ -21,13 +21,18 @@ parser = Trollop::Parser.new do
21
21
 
22
22
  Options:
23
23
  EOS
24
- opt :config, 'Configuration file to use', type: :string, required: true
25
- opt :debug, 'Enable debugging output', default: false
26
- opt :log, 'Log to file, not STDOUT', type: :string, default: nil
24
+
25
+ opt :config, 'Configuration file to use [FRANZ_CONFIG] (required)', \
26
+ type: :string, required: !ENV['FRANZ_CONFIG'], default: ENV['FRANZ_CONFIG']
27
+
28
+ opt :log, 'Log to file, not STDOUT [FRANZ_LOG] (optional)', \
29
+ type: :string, required: false, default: ENV['FRANZ_LOG']
30
+
31
+ opt :debug, 'Enable debugging output [FRANZ_DEBUG]', \
32
+ default: !!ENV['FRANZ_DEBUG']
27
33
  end
28
34
 
29
35
  opts = Trollop.with_standard_exception_handling(parser) do
30
- raise Trollop::HelpNeeded if ARGV.empty?
31
36
  parser.parse ARGV
32
37
  end
33
38
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: franz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slog