git-topic 0.2.4 → 0.2.4.1
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.
- data/History.rdoc +15 -0
- data/Rakefile +14 -0
- data/VERSION.yml +1 -1
- data/lib/git_topic/cli.rb +8 -7
- metadata +4 -3
- data/History.txt +0 -10
data/History.rdoc
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
==== 0.2.4.1
|
|
2
|
+
|
|
3
|
+
* issue 14 closed. Added --completion-help like output to
|
|
4
|
+
+post_install_message+. Also updated the message to simply tell the user to
|
|
5
|
+
install with --no-wrappers.
|
|
6
|
+
|
|
7
|
+
=== 0.2.4
|
|
8
|
+
|
|
9
|
+
* issue 10 closed. Comments did not survive rebase.
|
|
10
|
+
|
|
11
|
+
== 0.1.0 / 2010-03-05
|
|
12
|
+
|
|
13
|
+
* 1 major enhancement
|
|
14
|
+
* Birthday!
|
|
15
|
+
|
data/Rakefile
CHANGED
|
@@ -46,6 +46,20 @@ begin
|
|
|
46
46
|
gem.homepage = "http://github.com/hjdivad/git-topic"
|
|
47
47
|
gem.authors = ["David J. Hamilton"]
|
|
48
48
|
|
|
49
|
+
gem.post_install_message = %Q{
|
|
50
|
+
To make use of bash autocompletion, you must do the following:
|
|
51
|
+
|
|
52
|
+
1. Make sure you source GIT_TOPIC_GEM/share/completion.bash before you
|
|
53
|
+
source git's completion.
|
|
54
|
+
|
|
55
|
+
2. Optionally, install git-topic with the --no-wrappers option.
|
|
56
|
+
This is to sidestep ruby issue 3465 which makes loading gems
|
|
57
|
+
through the generated wrapper far too slow for autocompletion.
|
|
58
|
+
For more information, see:
|
|
59
|
+
|
|
60
|
+
http://redmine.ruby-lang.org/issues/show/3465
|
|
61
|
+
}
|
|
62
|
+
|
|
49
63
|
gem.files.exclude 'git-topic'
|
|
50
64
|
|
|
51
65
|
if File.exists? 'Gemfile'
|
data/VERSION.yml
CHANGED
data/lib/git_topic/cli.rb
CHANGED
|
@@ -49,16 +49,17 @@ module GitTopic
|
|
|
49
49
|
if global_opts[:completion_help]
|
|
50
50
|
root = File.expand_path( "#{File.dirname( __FILE__ )}/../.." )
|
|
51
51
|
completion_bash_file = "#{root}/share/completion.bash"
|
|
52
|
-
completion_bin_file = "#{root}/bin/git-topic-completion"
|
|
53
|
-
gem_bin_dir = Gem.default_bindir
|
|
54
52
|
puts %Q{
|
|
55
53
|
To make use of bash autocompletion, you must do the following:
|
|
56
54
|
|
|
57
|
-
1. Make sure you source
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
1. Make sure you source
|
|
56
|
+
#{completion_bash_file}
|
|
57
|
+
before you source git's completion.
|
|
58
|
+
|
|
59
|
+
2. Optionally, install git-topic with the --no-wrappers option.
|
|
60
|
+
This is to sidestep ruby issue 3465 which makes loading gems
|
|
61
|
+
through the generated wrapper far too slow for autocompletion.
|
|
62
|
+
For more information, see:
|
|
62
63
|
|
|
63
64
|
http://redmine.ruby-lang.org/issues/show/3465
|
|
64
65
|
}.cleanup
|
metadata
CHANGED
|
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
|
|
|
6
6
|
- 0
|
|
7
7
|
- 2
|
|
8
8
|
- 4
|
|
9
|
-
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.2.4.1
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- David J. Hamilton
|
|
@@ -163,7 +164,7 @@ files:
|
|
|
163
164
|
- .vimspell.utf8.add.spl
|
|
164
165
|
- Gemfile
|
|
165
166
|
- Gemfile.lock
|
|
166
|
-
- History.
|
|
167
|
+
- History.rdoc
|
|
167
168
|
- LICENSE
|
|
168
169
|
- README.rdoc
|
|
169
170
|
- Rakefile
|
|
@@ -269,7 +270,7 @@ has_rdoc: true
|
|
|
269
270
|
homepage: http://github.com/hjdivad/git-topic
|
|
270
271
|
licenses: []
|
|
271
272
|
|
|
272
|
-
post_install_message:
|
|
273
|
+
post_install_message: "\n To make use of bash autocompletion, you must do the following:\n\n 1. Make sure you source GIT_TOPIC_GEM/share/completion.bash before you\n source git's completion.\n\n 2. Optionally, install git-topic with the --no-wrappers option.\n This is to sidestep ruby issue 3465 which makes loading gems\n through the generated wrapper far too slow for autocompletion.\n For more information, see:\n\n http://redmine.ruby-lang.org/issues/show/3465\n "
|
|
273
274
|
rdoc_options:
|
|
274
275
|
- --charset=UTF-8
|
|
275
276
|
require_paths:
|