hoe 1.12.1 → 1.12.2
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.tar.gz.sig +0 -0
- data/History.txt +11 -0
- data/lib/hoe.rb +19 -22
- metadata +44 -5
- metadata.gz.sig +5 -3
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/hoe.rb
CHANGED
@@ -134,7 +134,7 @@ end
|
|
134
134
|
#
|
135
135
|
|
136
136
|
class Hoe
|
137
|
-
VERSION = '1.12.
|
137
|
+
VERSION = '1.12.2'
|
138
138
|
GEMURL = URI.parse 'http://gems.rubyforge.org' # for namespace :deps below
|
139
139
|
|
140
140
|
ruby_prefix = Config::CONFIG['prefix']
|
@@ -407,7 +407,7 @@ class Hoe
|
|
407
407
|
self.author = []
|
408
408
|
self.blog_categories = [name]
|
409
409
|
self.clean_globs = %w(diff diff.txt email.txt ri deps .source_index
|
410
|
-
*.gem **/*~ **/.*~ **/*.rbc)
|
410
|
+
*.gem **/*~ **/.*~ **/*.rbc coverage*)
|
411
411
|
self.description_sections = %w(description)
|
412
412
|
self.email = []
|
413
413
|
self.extra_deps = []
|
@@ -559,20 +559,15 @@ class Hoe
|
|
559
559
|
|
560
560
|
t.test_files = FileList[pattern]
|
561
561
|
t.verbose = true
|
562
|
-
t.rcov_opts << "--threshold 80"
|
563
562
|
t.rcov_opts << "--no-color"
|
563
|
+
t.rcov_opts << "--save coverage.info"
|
564
564
|
t.rcov_opts << "-x ^/"
|
565
565
|
end
|
566
566
|
|
567
|
-
# this is for autotest's rcov... also used by my emacs integration
|
568
|
-
task :rcov_info do
|
569
|
-
pattern = ENV['PATTERN'] || "test/test_*.rb"
|
570
|
-
ruby "-Ilib -S rcov --text-report --save coverage.info --test-unit-only #{pattern}"
|
571
|
-
end
|
572
|
-
|
573
567
|
# this is for my emacs rcov overlay stuff on emacswiki.
|
574
568
|
task :rcov_overlay do
|
575
|
-
|
569
|
+
path = ENV["FILE"]
|
570
|
+
rcov, eol = Marshal.load(File.read("coverage.info")).last[path], 1
|
576
571
|
puts rcov[:lines].zip(rcov[:coverage]).map { |line, coverage|
|
577
572
|
bol, eol = eol, eol + line.length
|
578
573
|
[bol, eol, "#ffcccc"] unless coverage
|
@@ -960,19 +955,21 @@ class Hoe
|
|
960
955
|
task :config_hoe do
|
961
956
|
with_config do |config, path|
|
962
957
|
default_config = {
|
963
|
-
"exclude"
|
958
|
+
"exclude" => /tmp$|CVS|\.svn|\.log$/,
|
964
959
|
"publish_on_announce" => false,
|
965
|
-
"signing_key_file"
|
966
|
-
"signing_cert_file"
|
967
|
-
"blogs" => [
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
960
|
+
"signing_key_file" => "~/.gem/gem-private_key.pem",
|
961
|
+
"signing_cert_file" => "~/.gem/gem-public_cert.pem",
|
962
|
+
"blogs" => [
|
963
|
+
{
|
964
|
+
"user" => "user",
|
965
|
+
"password" => "password",
|
966
|
+
"url" => "url",
|
967
|
+
"blog_id" => "blog_id",
|
968
|
+
"extra_headers" => {
|
969
|
+
"mt_convert_breaks" => "markdown"
|
970
|
+
},
|
971
|
+
}
|
972
|
+
],
|
976
973
|
}
|
977
974
|
File.open(path, "w") do |f|
|
978
975
|
YAML.dump(default_config.merge(config), f)
|
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: 1.12.
|
4
|
+
version: 1.12.2
|
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-04-16 00:00:00 -07:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -53,7 +53,44 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.8.4
|
55
55
|
version:
|
56
|
-
description:
|
56
|
+
description: |-
|
57
|
+
Hoe is a simple rake/rubygems helper for project Rakefiles. It
|
58
|
+
generates all the usual tasks for projects including rdoc generation,
|
59
|
+
testing, packaging, and deployment.
|
60
|
+
|
61
|
+
Tasks Provided:
|
62
|
+
|
63
|
+
* announce - Create news email file and post to rubyforge.
|
64
|
+
* audit - Run ZenTest against the package.
|
65
|
+
* check_extra_deps - Install missing dependencies.
|
66
|
+
* check_manifest - Verify the manifest.
|
67
|
+
* clean - Clean up all the extras.
|
68
|
+
* config_hoe - Create a fresh ~/.hoerc file.
|
69
|
+
* debug_gem - Show information about the gem.
|
70
|
+
* default - Run the default task(s).
|
71
|
+
* deps:email - Print a contact list for gems dependent on this gem
|
72
|
+
* deps:fetch - Fetch all the dependent gems of this gem into tarballs
|
73
|
+
* deps:list - List all the dependent gems of this gem
|
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.
|
92
|
+
|
93
|
+
See class rdoc for help. Hint: ri Hoe
|
57
94
|
email:
|
58
95
|
- ryand-ruby@zenspider.com
|
59
96
|
executables:
|
@@ -82,6 +119,8 @@ files:
|
|
82
119
|
- test/test_hoe.rb
|
83
120
|
has_rdoc: true
|
84
121
|
homepage: http://rubyforge.org/projects/seattlerb/
|
122
|
+
licenses: []
|
123
|
+
|
85
124
|
post_install_message:
|
86
125
|
rdoc_options:
|
87
126
|
- --main
|
@@ -103,9 +142,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
142
|
requirements: []
|
104
143
|
|
105
144
|
rubyforge_project: seattlerb
|
106
|
-
rubygems_version: 1.3.
|
145
|
+
rubygems_version: 1.3.2
|
107
146
|
signing_key:
|
108
|
-
specification_version:
|
147
|
+
specification_version: 3
|
109
148
|
summary: Hoe is a simple rake/rubygems helper for project Rakefiles
|
110
149
|
test_files:
|
111
150
|
- test/test_hoe.rb
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
-
|
2
|
-
��
|
3
|
-
|
1
|
+
��>1��M5;���{e�5>N]�c�㚲
|
2
|
+
�%�"��
|
3
|
+
P�!���%cSE����-���jzL�ǼYh���b�?5]������S�2>H85("
|
4
|
+
�rZ\5ۢ�8#��A�'��b|F
|
5
|
+
lW�ST���Cm�7�f]~�ѡD�A�ީm�������n>-�`��3�/��Q�le��j͜�`q�?+��Jk!Z��#���Bv��u?���
|