pairwise 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/pairwise/cli.rb +8 -4
  3. metadata +1 -1
@@ -2,4 +2,4 @@
2
2
  :build:
3
3
  :major: 0
4
4
  :minor: 1
5
- :patch: 4
5
+ :patch: 5
@@ -4,9 +4,9 @@ module Pairwise
4
4
  class Cli
5
5
  BUILTIN_FORMATS = {
6
6
  'cucumber' => [Pairwise::Formatter::Cucumber,
7
- 'Generates pairs as tables for Cucumber'],
7
+ 'Tables for Cucumber'],
8
8
  'csv' => [Pairwise::Formatter::Csv,
9
- 'Generate pairs in a comma seperated format']}
9
+ 'Comma seperated values']}
10
10
 
11
11
  max = BUILTIN_FORMATS.keys.map{|s| s.length}.max
12
12
  FORMAT_HELP = (BUILTIN_FORMATS.keys.sort.map do |key|
@@ -31,10 +31,14 @@ module Pairwise
31
31
  "Example:",
32
32
  "pairwise data/inputs.yml", "", "",
33
33
  ].join("\n")
34
- opts.on("-k", "--keep-wild-cards") do
34
+ opts.on("-k", "--keep-wild-cards",
35
+ "Don't automatically replace any wild-cards which appear",
36
+ "in the pairwise data") do
35
37
  @options[:keep_wild_cards] = true
36
38
  end
37
- opts.on('-f FORMAT', '--format FORMAT', *FORMAT_HELP) do |format|
39
+ opts.on('-f FORMAT', '--format FORMAT',
40
+ "How to format pairwise data (Default: cucumber). Available formats:",
41
+ *FORMAT_HELP) do |format|
38
42
  @options[:format] = format
39
43
  end
40
44
  opts.on_tail("--version", "Show version.") do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pairwise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph Wilk