pick 0.1.1 → 0.1.2

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/bin/pick +4 -0
  4. data/lib/pick/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f578b9b265c6232d57211cfd3d1ef6e5d2c64c7
4
- data.tar.gz: 1a937ad868bc21e1301045a7b5402c479cec8775
3
+ metadata.gz: 6ec3c9bb0679ede90d4213f7bb49fa4bf28c7ea9
4
+ data.tar.gz: fda0aa1b4ceb45e0c247d73edef3479530448421
5
5
  SHA512:
6
- metadata.gz: 5a43261d19f398144a37004f0cdadacbe35d4786f46990c7ba57ac0c3b25da1ec6f119025e66acfad770609dd4217d722cf895b6860d85ee4b9378cdb048f1fc
7
- data.tar.gz: 657b693f29cf2e8067c26b4963464eb0490233b299905c187243006782aa6740387fea1a030ae0945c25e07e2d0fc8f9043d555180d5223845c402cd2713ea9f
6
+ metadata.gz: 8e9e98946ff638a67a2f840b4082bf70fcfb88c70e973bafd51418358ab0a7494a38800ae69e373ab01b400466f6bfd5fb2ad1d226e47131bc7f7c062ab9d586
7
+ data.tar.gz: b4b9e3832b65f3229961b2696849c0262d1ec1965e8994a9507e76c457d696324931cf8e6d803ddd73e215872aec83dcf5e1c24cafd25a5c85c4a7149c3fa617
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org).
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.1.2] -- 2017-10-17
8
+ - Add docs, prompt if input is a TTY, don't print any output if no items are
9
+ chosen, fix executable under rubygems, allow customizing prompt.
10
+
7
11
  ## [0.1.0] -- 2017-10-17
8
12
 
9
13
  - Add most of the basic pick command line interface.
data/bin/pick CHANGED
@@ -64,6 +64,10 @@ Options:
64
64
  options[:output_delimiter] = "\0"
65
65
  end
66
66
 
67
+ opts.on('-p', '--prompt MSG', 'Prompt with message MSG') do |arg|
68
+ options[:prompt] = arg
69
+ end
70
+
67
71
  opts.on('-c', '--clipboard', 'Copy output to the clipboard') do
68
72
  options[:clipboard] = true
69
73
  raise NotImplementedError.new
@@ -1,3 +1,3 @@
1
1
  module Pick
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Brody