gem-ripper-tags 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/gem-ripper-tags.gemspec +1 -1
- data/lib/rubygems_plugin.rb +10 -4
- metadata +2 -2
data/gem-ripper-tags.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "gem-ripper-tags"
|
6
|
-
s.version = "1.0.
|
6
|
+
s.version = "1.0.1"
|
7
7
|
s.authors = ["Tim Pope", "Lukas Zapletal"]
|
8
8
|
s.email = ["code@tpop"+'e.net', "lzap+rpm@red"+'hat.com']
|
9
9
|
s.homepage = "https://github.com/lzap/gem-ripper-tags"
|
data/lib/rubygems_plugin.rb
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
require 'rubygems/command_manager'
|
2
|
-
|
2
|
+
begin
|
3
|
+
require 'rubygems/commands/ripper_tags_command'
|
4
|
+
rescue LoadError => e
|
5
|
+
old_ruby = true
|
6
|
+
end
|
3
7
|
|
4
|
-
|
8
|
+
unless old_ruby
|
9
|
+
Gem::CommandManager.instance.register_command :ripper
|
5
10
|
|
6
|
-
Gem.post_install do |installer|
|
7
|
-
|
11
|
+
Gem.post_install do |installer|
|
12
|
+
Gem::Commands::RipperTagsCommand.index(installer.spec)
|
13
|
+
end
|
8
14
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem-ripper-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-06-
|
13
|
+
date: 2013-06-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ripper-tags
|