lunchy 0.9.0 → 0.10.0
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.
- checksums.yaml +4 -4
- data/History.md +5 -0
- data/README.md +1 -1
- data/extras/lunchy-completion.bash +18 -0
- data/lib/lunchy.rb +1 -1
- data/lunchy.gemspec +17 -0
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cc33019d47173ea4f40e3f681f286844d4462bd
|
4
|
+
data.tar.gz: d80f49a03acb118cd4310e5b1cc30cf0849816ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0041da7acd2e131c9d83825732d68b6f26653c3c4f92c3b50f73dba8c629bdd2402f9833479c6d07eeb8bd7ea6e399b528beed5d44e2c21c908fee1f23ee76be
|
7
|
+
data.tar.gz: 4285b9805df49402adf7eb044cf19d42fe78ce9a9361f4ef769306b1c9dfeee5c62e58ea682c7b3ab1efa36c7a7e2e53ab02b246644f99b71dbc78351f4b2c16
|
data/History.md
CHANGED
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/
|
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
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.
|
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-
|
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
|