lunchy 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07dc58fb1d8df9832cdd1e06b8c0912b140f92ce
4
- data.tar.gz: 64a162c04b414c99d58fad53e8fb0bdefca2f92f
3
+ metadata.gz: 3cc33019d47173ea4f40e3f681f286844d4462bd
4
+ data.tar.gz: d80f49a03acb118cd4310e5b1cc30cf0849816ff
5
5
  SHA512:
6
- metadata.gz: 49a0d51f2d0994bd14a2592d8c9614f42a1272a95bc685677402728159a04d9c348d5dcc8fde471027e22d5e88d9140ddbfbdcaa373804dc2483c1f1f214fd90
7
- data.tar.gz: 50446916542c4a3aaf1a09e918ff6582af4b6357dc70f7b1b797248a29b3ea572db8d22efab07f03d5fc4f4479f2c2e5adcd17998ee730720e9479b065b2eec2
6
+ metadata.gz: 0041da7acd2e131c9d83825732d68b6f26653c3c4f92c3b50f73dba8c629bdd2402f9833479c6d07eeb8bd7ea6e399b528beed5d44e2c21c908fee1f23ee76be
7
+ data.tar.gz: 4285b9805df49402adf7eb044cf19d42fe78ce9a9361f4ef769306b1c9dfeee5c62e58ea682c7b3ab1efa36c7a7e2e53ab02b246644f99b71dbc78351f4b2c16
data/History.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Changes
2
2
  ================
3
3
 
4
+ 0.10.0
5
+ ----
6
+
7
+ - Add flag for exact match - [bunnymatic](https://github.com/bunnymatic) [alexeyshockov](https://github.com/alexeyshockov) via [#53](https://github.com/eddiezane/lunchy/pull/53)
8
+
4
9
  0.9.0
5
10
  ----
6
11
 
data/README.md CHANGED
@@ -52,7 +52,7 @@ Thanks
52
52
 
53
53
  Thanks to all the individual contributors who've improved Lunchy, see credits in History.md.
54
54
 
55
- Lunchy was written as part of my project time at [Carbon Five](http://carbonfive.com). [They're hiring](http://carbonfive.com/jobs) if you love working on Ruby and open source.
55
+ Lunchy was written as part of my project time at [Carbon Five](http://carbonfive.com). [They're hiring](http://www.carbonfive.com/careers/) if you love working on Ruby and open source.
56
56
 
57
57
 
58
58
  About
@@ -0,0 +1,18 @@
1
+ ###
2
+ # completion written by Alexey Shockov
3
+ # on github : alexeyshockov
4
+ #
5
+ function _lunchy {
6
+ COMPREPLY=()
7
+ local cur=${COMP_WORDS[COMP_CWORD]}
8
+ local cur_pos=$COMP_CWORD;
9
+
10
+ case "$cur_pos" in
11
+ 1) COMPREPLY=($(compgen -W 'ls list start stop restart status install uninstall show edit' -- $cur))
12
+ ;;
13
+ *) COMPREPLY=($(compgen -W '$(lunchy list)' -- $cur))
14
+ ;;
15
+ esac
16
+ }
17
+
18
+ complete -F _lunchy -o default lunchy
data/lib/lunchy.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'fileutils'
2
2
 
3
3
  class Lunchy
4
- VERSION = '0.9.0'
4
+ VERSION = '0.10.0'
5
5
 
6
6
  def start(params)
7
7
  raise ArgumentError, "start [-wF] [name]" if params.empty?
data/lunchy.gemspec CHANGED
@@ -1,6 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  require "./lib/lunchy"
3
3
 
4
+ post_install_message = <<-EOS
5
+ -------
6
+
7
+ Thanks for installing Lunchy. We know you're going to love it!
8
+
9
+ If you want to add tab-completion (for bash), add the following
10
+ to your .bash_profile, .bashrc or .profile
11
+
12
+ LUNCHY_DIR=$(dirname `gem which lunchy`)/../extras
13
+ if [ -f $LUNCH_DIR/lunchy-completion.bash ]; then
14
+ . $LUNCHY_DIR/lunchy-completion.bash
15
+ fi
16
+
17
+ -------
18
+ EOS
19
+
4
20
  Gem::Specification.new do |s|
5
21
  s.name = "lunchy"
6
22
  s.version = Lunchy::VERSION
@@ -9,6 +25,7 @@ Gem::Specification.new do |s|
9
25
  s.email = ["mperham@gmail.com"]
10
26
  s.homepage = "http://github.com/mperham/lunchy"
11
27
  s.summary = s.description = %q{Friendly wrapper around launchctl}
28
+ s.post_install_message = post_install_message
12
29
  s.licenses = ['MIT']
13
30
 
14
31
  s.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lunchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Perham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-02 00:00:00.000000000 Z
11
+ date: 2015-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -39,13 +39,18 @@ files:
39
39
  - README.md
40
40
  - Rakefile
41
41
  - bin/lunchy
42
+ - extras/lunchy-completion.bash
42
43
  - lib/lunchy.rb
43
44
  - lunchy.gemspec
44
45
  homepage: http://github.com/mperham/lunchy
45
46
  licenses:
46
47
  - MIT
47
48
  metadata: {}
48
- post_install_message:
49
+ post_install_message: "-------\n\nThanks for installing Lunchy. We know you're going
50
+ to love it!\n\nIf you want to add tab-completion (for bash), add the following \nto
51
+ your .bash_profile, .bashrc or .profile\n\n LUNCHY_DIR=$(dirname `gem which lunchy`)/../extras\n
52
+ \ if [ -f $LUNCH_DIR/lunchy-completion.bash ]; then\n . $LUNCHY_DIR/lunchy-completion.bash\n
53
+ \ fi\n\n-------\n"
49
54
  rdoc_options: []
50
55
  require_paths:
51
56
  - lib