hoe 1.12.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +19 -0
- data/Manifest.txt +12 -0
- data/README.txt +25 -38
- data/Rakefile +12 -19
- data/bin/sow +1 -3
- data/lib/hoe.rb +243 -940
- data/lib/hoe/clean.rb +36 -0
- data/lib/hoe/debug.rb +68 -0
- data/lib/hoe/deps.rb +169 -0
- data/lib/hoe/flay.rb +35 -0
- data/lib/hoe/flog.rb +35 -0
- data/lib/hoe/inline.rb +58 -0
- data/lib/hoe/package.rb +83 -0
- data/lib/hoe/publish.rb +182 -0
- data/lib/hoe/rake.rb +44 -0
- data/lib/hoe/rcov.rb +44 -0
- data/lib/hoe/signing.rb +119 -0
- data/lib/hoe/test.rb +140 -0
- data/template/Rakefile.erb +3 -4
- data/test/test_hoe.rb +7 -9
- metadata +33 -38
- metadata.gz.sig +0 -0
data/template/Rakefile.erb
CHANGED
@@ -2,11 +2,10 @@
|
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'hoe'
|
5
|
-
require './lib/<%= project %>.rb'
|
6
5
|
|
7
|
-
Hoe.
|
8
|
-
#
|
6
|
+
Hoe.spec '<%= project %>' do
|
7
|
+
# self.rubyforge_name = '<%= project %>x' # if different than '<%= project %>'
|
9
8
|
# p.developer('<%= XIF %>', '<%= XIF %>@example.com')
|
10
9
|
end
|
11
10
|
|
12
|
-
# vim: syntax=
|
11
|
+
# vim: syntax=ruby
|
data/test/test_hoe.rb
CHANGED
@@ -32,8 +32,6 @@ class TestHoe < MiniTest::Unit::TestCase
|
|
32
32
|
deps:list
|
33
33
|
docs
|
34
34
|
email
|
35
|
-
flay
|
36
|
-
flog
|
37
35
|
generate_key
|
38
36
|
install_gem
|
39
37
|
multi
|
@@ -48,11 +46,9 @@ class TestHoe < MiniTest::Unit::TestCase
|
|
48
46
|
test_deps)
|
49
47
|
expected += boring
|
50
48
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
spec = Hoe.new('blah', '1.0.0') do |h|
|
55
|
-
h.developer("name", "email")
|
49
|
+
spec = Hoe.spec('blah') do
|
50
|
+
self.version = '1.0.0'
|
51
|
+
developer("name", "email")
|
56
52
|
end
|
57
53
|
|
58
54
|
assert_equal ["name"], spec.author
|
@@ -60,14 +56,16 @@ class TestHoe < MiniTest::Unit::TestCase
|
|
60
56
|
|
61
57
|
tasks = Rake.application.tasks
|
62
58
|
public_tasks = tasks.reject { |t| t.comment.nil? }.map { |t| t.name }.sort
|
59
|
+
public_tasks -= %w(flay flog)
|
63
60
|
|
64
61
|
assert_equal expected.sort, public_tasks
|
65
62
|
end
|
66
63
|
|
67
64
|
def test_possibly_better
|
68
65
|
t = Gem::Specification::TODAY
|
69
|
-
hoe = Hoe.
|
70
|
-
|
66
|
+
hoe = Hoe.spec("blah") do
|
67
|
+
self.version = '1.2.3'
|
68
|
+
developer 'author', 'email'
|
71
69
|
end
|
72
70
|
|
73
71
|
files = File.read("Manifest.txt").split(/\n/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
FBHgymkyj/AOSqKRIpXPhjC6
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date: 2009-
|
33
|
+
date: 2009-06-02 00:00:00 -07:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -54,41 +54,24 @@ dependencies:
|
|
54
54
|
version: 0.8.4
|
55
55
|
version:
|
56
56
|
description: |-
|
57
|
-
Hoe is a
|
58
|
-
|
59
|
-
|
57
|
+
Hoe is a rake/rubygems helper for project Rakefiles. It helps generate
|
58
|
+
rubygems and includes a dynamic plug-in system allowing for easy
|
59
|
+
extensibility. Hoe ships with plug-ins for all your usual project
|
60
|
+
tasks including rdoc generation, testing, packaging, and deployment.
|
60
61
|
|
61
|
-
|
62
|
+
Plug-ins Provided:
|
62
63
|
|
63
|
-
*
|
64
|
-
*
|
65
|
-
*
|
66
|
-
*
|
67
|
-
*
|
68
|
-
*
|
69
|
-
*
|
70
|
-
*
|
71
|
-
*
|
72
|
-
*
|
73
|
-
*
|
74
|
-
* docs - Build the docs HTML Files
|
75
|
-
* email - Generate email announcement file.
|
76
|
-
* flay - Analyze for code duplication.
|
77
|
-
* flog - Analyze code complexity.
|
78
|
-
* gem - Build the gem file hoe-1.9.0.gem
|
79
|
-
* generate_key - Generate a key for signing your gems.
|
80
|
-
* install_gem - Install the package as a gem.
|
81
|
-
* multi - Run the test suite using multiruby.
|
82
|
-
* package - Build all the packages
|
83
|
-
* post_blog - Post announcement to blog.
|
84
|
-
* post_news - Post announcement to rubyforge.
|
85
|
-
* publish_docs - Publish RDoc to RubyForge.
|
86
|
-
* rcov - Analyze code coverage with tests
|
87
|
-
* release - Package and upload the release to rubyforge.
|
88
|
-
* ridocs - Generate ri locally for testing.
|
89
|
-
* tasks - Generate a list of tasks for doco.
|
90
|
-
* test - Run the test suite.
|
91
|
-
* test_deps - Show which test files fail when run alone.
|
64
|
+
* Hoe::Clean
|
65
|
+
* Hoe::Debug
|
66
|
+
* Hoe::Deps
|
67
|
+
* Hoe::Flay
|
68
|
+
* Hoe::Flog
|
69
|
+
* Hoe::Inline
|
70
|
+
* Hoe::Package
|
71
|
+
* Hoe::Publish
|
72
|
+
* Hoe::RCov
|
73
|
+
* Hoe::Signing
|
74
|
+
* Hoe::Test
|
92
75
|
|
93
76
|
See class rdoc for help. Hint: ri Hoe
|
94
77
|
email:
|
@@ -108,6 +91,18 @@ files:
|
|
108
91
|
- Rakefile
|
109
92
|
- bin/sow
|
110
93
|
- lib/hoe.rb
|
94
|
+
- lib/hoe/clean.rb
|
95
|
+
- lib/hoe/debug.rb
|
96
|
+
- lib/hoe/deps.rb
|
97
|
+
- lib/hoe/flay.rb
|
98
|
+
- lib/hoe/flog.rb
|
99
|
+
- lib/hoe/inline.rb
|
100
|
+
- lib/hoe/package.rb
|
101
|
+
- lib/hoe/publish.rb
|
102
|
+
- lib/hoe/rake.rb
|
103
|
+
- lib/hoe/rcov.rb
|
104
|
+
- lib/hoe/signing.rb
|
105
|
+
- lib/hoe/test.rb
|
111
106
|
- template/.autotest.erb
|
112
107
|
- template/History.txt.erb
|
113
108
|
- template/Manifest.txt.erb
|
@@ -137,14 +132,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
132
|
requirements:
|
138
133
|
- - ">="
|
139
134
|
- !ruby/object:Gem::Version
|
140
|
-
version:
|
135
|
+
version: 1.3.1
|
141
136
|
version:
|
142
137
|
requirements: []
|
143
138
|
|
144
139
|
rubyforge_project: seattlerb
|
145
|
-
rubygems_version: 1.3.
|
140
|
+
rubygems_version: 1.3.4
|
146
141
|
signing_key:
|
147
142
|
specification_version: 3
|
148
|
-
summary: Hoe is a
|
143
|
+
summary: Hoe is a rake/rubygems helper for project Rakefiles
|
149
144
|
test_files:
|
150
145
|
- test/test_hoe.rb
|
metadata.gz.sig
CHANGED
Binary file
|