hoe-telicopter 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +9 -5
- data/lib/hoe/hotelicutter.rb +6 -2
- data/lib/hoe/telicopter.rb +1 -1
- metadata +41 -1
data/Rakefile
CHANGED
@@ -4,15 +4,19 @@ require 'rubygems'
|
|
4
4
|
require 'hoe'
|
5
5
|
|
6
6
|
##
|
7
|
-
# we are publishing to gemcutter straight-away with this gem
|
7
|
+
# we are publishing to gemcutter straight-away with this gem so all we need
|
8
|
+
# to do is delete the :rubyforge plugin
|
9
|
+
|
8
10
|
Hoe.plugins.delete :rubyforge
|
9
11
|
|
10
|
-
Hoe.plugin :git
|
12
|
+
Hoe.plugin :doofus, :git
|
11
13
|
|
12
14
|
Hoe.spec 'hoe-telicopter' do
|
13
|
-
|
14
|
-
|
15
|
-
|
15
|
+
developer('jim nist', 'jim@hotelicopter.com')
|
16
|
+
extra_deps << %w(hoe >=2.5.0)
|
17
|
+
extra_deps << %w(gemcutter >=0.3.0)
|
18
|
+
extra_dev_deps << %w(hoe-doofus >=1.0.0)
|
19
|
+
extra_dev_deps << %w(hoe-git >=1.3.0)
|
16
20
|
end
|
17
21
|
|
18
22
|
# vim: syntax=ruby
|
data/lib/hoe/hotelicutter.rb
CHANGED
@@ -14,7 +14,7 @@ gem "gemcutter" # lame. gemcutter doesn't have a VERSION const.
|
|
14
14
|
|
15
15
|
module Hoe::Hotelicutter
|
16
16
|
|
17
|
-
|
17
|
+
PREFIX = 'g1nn13-'
|
18
18
|
|
19
19
|
def initialize_hotelicutter
|
20
20
|
version = Gem.loaded_specs['gemcutter'].version
|
@@ -28,7 +28,7 @@ module Hoe::Hotelicutter
|
|
28
28
|
gems = Dir["#{pkg}*.gem"]
|
29
29
|
|
30
30
|
gems.each do |g|
|
31
|
-
new_name = "#{File.dirname(g)}/#{
|
31
|
+
new_name = "#{File.dirname(g)}/#{PREFIX}#{File.basename(g)}"
|
32
32
|
# pre-append the prefix before publishing
|
33
33
|
File.rename(g, new_name)
|
34
34
|
# TODO - once gemcutter supports command invocation, use it.
|
@@ -39,4 +39,8 @@ module Hoe::Hotelicutter
|
|
39
39
|
|
40
40
|
task :release_to => :release_to_hotelicutter
|
41
41
|
end
|
42
|
+
|
43
|
+
def add_prefix(name)
|
44
|
+
"#{PREFIX}#{name}"
|
45
|
+
end
|
42
46
|
end unless defined? Hoe::Hotelicutter
|
data/lib/hoe/telicopter.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-telicopter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jim nist
|
@@ -12,6 +12,26 @@ cert_chain: []
|
|
12
12
|
date: 2010-01-23 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: hoe
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.5.0
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: gemcutter
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.3.0
|
34
|
+
version:
|
15
35
|
- !ruby/object:Gem::Dependency
|
16
36
|
name: gemcutter
|
17
37
|
type: :development
|
@@ -22,6 +42,26 @@ dependencies:
|
|
22
42
|
- !ruby/object:Gem::Version
|
23
43
|
version: 0.3.0
|
24
44
|
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: hoe-doofus
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 1.0.0
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: hoe-git
|
57
|
+
type: :development
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.3.0
|
64
|
+
version:
|
25
65
|
- !ruby/object:Gem::Dependency
|
26
66
|
name: hoe
|
27
67
|
type: :development
|