hoe 4.5.0 → 4.5.2.beta.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.rdoc +7 -0
- data/README.rdoc +6 -6
- data/lib/hoe/publish.rb +3 -2
- data/lib/hoe.rb +12 -2
- data/test/test_hoe.rb +10 -6
- data.tar.gz.sig +0 -0
- metadata +21 -18
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d1851b3c9d255a8738934a9eb7bbc80b5cfb37217c5195e65ae0eb4c0e22c67
|
|
4
|
+
data.tar.gz: da566f85c20634a0090b44dbf759e780c646226ee32b92fd1962ba1616890897
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9c3eb9066e15ef894b94fa5f8c52a03380280400cc3449b3aedb9b04ce08083410e65e941c01a8dc9be8124767dbf0af8e89250667a243274acf1208128f35d
|
|
7
|
+
data.tar.gz: 8b2baab3cf387a4e68fb9f9360eab3e014e8212a90aea77fa7684789c2e5ce7749dcd177033c5787ce8c39ab1948c52ac9505be3bcaedc02570857cd4f867b0a
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
= Hoe
|
|
2
2
|
|
|
3
|
-
home ::
|
|
3
|
+
home :: https://zenspider.com/projects/hoe.html
|
|
4
4
|
code :: https://github.com/seattlerb/hoe
|
|
5
5
|
bugs :: https://github.com/seattlerb/hoe/issues
|
|
6
|
-
rdoc ::
|
|
7
|
-
doco ::
|
|
6
|
+
rdoc :: https://docs.seattlerb.org/hoe/
|
|
7
|
+
doco :: https://docs.seattlerb.org/hoe/Hoe.pdf
|
|
8
8
|
clog :: https://github.com/seattlerb/hoe/blob/master/History.rdoc
|
|
9
|
-
other ::
|
|
9
|
+
other :: https://github.com/jbarnette/hoe-plugin-examples
|
|
10
10
|
|
|
11
11
|
== DESCRIPTION:
|
|
12
12
|
|
|
@@ -19,7 +19,7 @@ testing, packaging, deployment, and announcement.
|
|
|
19
19
|
See class rdoc for help. Hint: `ri Hoe` or any of the plugins listed
|
|
20
20
|
below.
|
|
21
21
|
|
|
22
|
-
For extra goodness, see:
|
|
22
|
+
For extra goodness, see: https://docs.seattlerb.org/hoe/Hoe.pdf
|
|
23
23
|
|
|
24
24
|
== FEATURES/PROBLEMS:
|
|
25
25
|
|
|
@@ -205,7 +205,7 @@ Again, this must be done before the Hoe spec, or it won't be useful.
|
|
|
205
205
|
* hoe-rubygems - A Hoe plugin with additional RubyGems tasks (John Barnette)
|
|
206
206
|
* hoe-seattlerb - Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/announce automation. (Ryan Davis)
|
|
207
207
|
* hoe-telicopter - Hoe plugin providing tasks used by hotelicopter, currently just the email plugin from the seattlerb plugin by Ryan Davis (jim nist)
|
|
208
|
-
* hoe-travis - hoe-travis is a Hoe plugin that allows your gem to gain maximum benefit from
|
|
208
|
+
* hoe-travis - hoe-travis is a Hoe plugin that allows your gem to gain maximum benefit from https://travis-ci.org (Eric Hodel)
|
|
209
209
|
* hoe-version - Hoe plugin to provide rake tasks to bump version (bhenderson)
|
|
210
210
|
* hoe-yard - A Hoe plugin for generating YARD documentation (Postmodern)
|
|
211
211
|
|
data/lib/hoe/publish.rb
CHANGED
|
@@ -100,7 +100,7 @@ module Hoe::Publish
|
|
|
100
100
|
# Declare a dependency on rdoc, IF NEEDED.
|
|
101
101
|
|
|
102
102
|
def activate_publish_deps
|
|
103
|
-
dependency "rdoc", [">=
|
|
103
|
+
dependency "rdoc", [">= 6.0", "< 8"], :developer if need_rdoc
|
|
104
104
|
end
|
|
105
105
|
|
|
106
106
|
##
|
|
@@ -117,7 +117,8 @@ module Hoe::Publish
|
|
|
117
117
|
|
|
118
118
|
desc "Generate rdoc coverage report"
|
|
119
119
|
task :dcov => :isolate do
|
|
120
|
-
|
|
120
|
+
level = ENV["L"]
|
|
121
|
+
sh(*make_rdoc_cmd("-C#{level}"))
|
|
121
122
|
end
|
|
122
123
|
|
|
123
124
|
desc "Remove RDoc files"
|
data/lib/hoe.rb
CHANGED
|
@@ -87,7 +87,7 @@ class Hoe
|
|
|
87
87
|
include Rake::DSL if defined?(Rake::DSL)
|
|
88
88
|
|
|
89
89
|
# duh
|
|
90
|
-
VERSION = "4.5.
|
|
90
|
+
VERSION = "4.5.2.beta.1"
|
|
91
91
|
|
|
92
92
|
@@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
|
|
93
93
|
:publish, :gemcutter, :signing, :test]
|
|
@@ -162,6 +162,13 @@ class Hoe
|
|
|
162
162
|
|
|
163
163
|
attr_accessor :description_sections
|
|
164
164
|
|
|
165
|
+
##
|
|
166
|
+
# Optional: Add a (hopefully hidden) H2 to the description to force
|
|
167
|
+
# rubygems.org to properly render the description as rdoc. Defaults
|
|
168
|
+
# to true.
|
|
169
|
+
|
|
170
|
+
attr_accessor :description_rdoc_hack
|
|
171
|
+
|
|
165
172
|
##
|
|
166
173
|
# *MANDATORY*: The author's email address(es). (can be array)
|
|
167
174
|
#
|
|
@@ -428,7 +435,8 @@ class Hoe
|
|
|
428
435
|
names.reject! { |n| n =~ /^[A-Z_]+$/ }
|
|
429
436
|
|
|
430
437
|
names.each do |name|
|
|
431
|
-
|
|
438
|
+
underscored = name.gsub(/(?<!^)(?=[A-Z])/, "_").downcase.intern
|
|
439
|
+
next unless Hoe.plugins.include? underscored
|
|
432
440
|
warn "extend #{name}" if $DEBUG
|
|
433
441
|
self.extend Hoe.const_get(name)
|
|
434
442
|
end
|
|
@@ -644,6 +652,7 @@ class Hoe
|
|
|
644
652
|
self.changes = nil
|
|
645
653
|
self.description = nil
|
|
646
654
|
self.description_sections = %w[description]
|
|
655
|
+
self.description_rdoc_hack = true
|
|
647
656
|
self.email = []
|
|
648
657
|
self.extra_deps = []
|
|
649
658
|
self.extra_dev_deps = []
|
|
@@ -695,6 +704,7 @@ class Hoe
|
|
|
695
704
|
|
|
696
705
|
unless readme.empty? then
|
|
697
706
|
desc = readme.values_at(*description_sections).join("\n\n")
|
|
707
|
+
desc += "\n#--\n== Force Rdoc\n#++\n" if description_rdoc_hack
|
|
698
708
|
summ = desc.split(/\.\s+/).first(summary_sentences).join(". ")
|
|
699
709
|
|
|
700
710
|
self.urls ||= parse_urls(readme.values.first)
|
data/test/test_hoe.rb
CHANGED
|
@@ -258,13 +258,17 @@ class TestHoe < Minitest::Test
|
|
|
258
258
|
end
|
|
259
259
|
|
|
260
260
|
desc = mrww_readme.lines[10..11].join.chomp
|
|
261
|
+
summ = desc.chomp(".")
|
|
262
|
+
rdoc = "\n#--\n== Force Rdoc\n#++\n"
|
|
263
|
+
desc += rdoc
|
|
264
|
+
|
|
261
265
|
urls = {
|
|
262
266
|
"home" => "https://github.com/seattlerb/makerakeworkwell",
|
|
263
267
|
"rdoc" => "http://docs.seattlerb.org/makerakeworkwell"
|
|
264
268
|
}
|
|
265
269
|
|
|
266
270
|
assert_equal desc, h.description
|
|
267
|
-
assert_equal
|
|
271
|
+
assert_equal summ, h.summary
|
|
268
272
|
assert_equal urls, h.urls
|
|
269
273
|
end
|
|
270
274
|
|
|
@@ -365,13 +369,13 @@ class TestHoe < Minitest::Test
|
|
|
365
369
|
spec.date = nil # forces Date.today. default switched to 1980 for some reason
|
|
366
370
|
|
|
367
371
|
urls = {
|
|
368
|
-
"home" => "
|
|
372
|
+
"home" => "https://zenspider.com/projects/hoe.html",
|
|
369
373
|
"code" => "https://github.com/seattlerb/hoe",
|
|
370
374
|
"bugs" => "https://github.com/seattlerb/hoe/issues",
|
|
371
|
-
"rdoc" => "
|
|
372
|
-
"doco" => "
|
|
375
|
+
"rdoc" => "https://docs.seattlerb.org/hoe/",
|
|
376
|
+
"doco" => "https://docs.seattlerb.org/hoe/Hoe.pdf",
|
|
373
377
|
"clog" => "https://github.com/seattlerb/hoe/blob/master/History.rdoc",
|
|
374
|
-
"other" => "
|
|
378
|
+
"other" => "https://github.com/jbarnette/hoe-plugin-examples",
|
|
375
379
|
}
|
|
376
380
|
|
|
377
381
|
assert_equal urls, hoe.urls
|
|
@@ -399,7 +403,7 @@ class TestHoe < Minitest::Test
|
|
|
399
403
|
|
|
400
404
|
expected = [
|
|
401
405
|
["hoe", :development, "~> #{Hoe::VERSION.sub(/\.\d+$/, "")}"],
|
|
402
|
-
["rdoc", :development, "<
|
|
406
|
+
["rdoc", :development, "< 8", ">= 6.0"],
|
|
403
407
|
]
|
|
404
408
|
|
|
405
409
|
assert_equal expected, deps.map { |dep|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
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.5.
|
|
4
|
+
version: 4.5.2.beta.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Davis
|
|
@@ -9,9 +9,9 @@ bindir: bin
|
|
|
9
9
|
cert_chain:
|
|
10
10
|
- |
|
|
11
11
|
-----BEGIN CERTIFICATE-----
|
|
12
|
-
|
|
12
|
+
MIIDPjCCAiagAwIBAgIBCjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
|
13
13
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
|
14
|
-
|
|
14
|
+
GRYDY29tMB4XDTI2MDEwNzAxMDkxNFoXDTI3MDEwNzAxMDkxNFowRTETMBEGA1UE
|
|
15
15
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
|
16
16
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
|
17
17
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
|
@@ -21,12 +21,12 @@ cert_chain:
|
|
|
21
21
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
|
22
22
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
|
23
23
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
AQA/X8/PKTTc/IkYQEUL6XWtfK8fAfbuLJzmLcz6f2ZWrtBvPsYvqRuwI1bWUtil
|
|
25
|
+
2ibJEfIuSIHX6BsUTX18+hlaIussf6EWq/YkE7e2BKmgQE42vSOZMce0kCEAPbx0
|
|
26
|
+
rQtqonfWTHQ8UbQ7GqCL3gDQ0QDD2B+HUlb4uaCZ2icxqa/eOtxMvHC2tj+h0xKY
|
|
27
|
+
xL84ipM5kr0bHGf9/MRZJWcw51urueNycBXu1Xh+pEN8qBmYsFRR4SIODLClybAO
|
|
28
|
+
6cbm2PyPQgKNiqE4H+IQrDVHd9bJs1XgLElk3qoaJBWXc/5fy0J1imYb25UqmiHG
|
|
29
|
+
snGe1hrppvBRdcyEzvhfIPjI
|
|
30
30
|
-----END CERTIFICATE-----
|
|
31
31
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
32
32
|
dependencies:
|
|
@@ -50,20 +50,20 @@ dependencies:
|
|
|
50
50
|
requirements:
|
|
51
51
|
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
53
|
+
version: '6.0'
|
|
54
54
|
- - "<"
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: '
|
|
56
|
+
version: '8'
|
|
57
57
|
type: :development
|
|
58
58
|
prerelease: false
|
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
|
60
60
|
requirements:
|
|
61
61
|
- - ">="
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
|
-
version: '
|
|
63
|
+
version: '6.0'
|
|
64
64
|
- - "<"
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: '
|
|
66
|
+
version: '8'
|
|
67
67
|
- !ruby/object:Gem::Dependency
|
|
68
68
|
name: simplecov
|
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -78,7 +78,7 @@ dependencies:
|
|
|
78
78
|
- - "~>"
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
80
|
version: '0.21'
|
|
81
|
-
description:
|
|
81
|
+
description: |
|
|
82
82
|
Hoe is a rake/rubygems helper for project Rakefiles. It helps you
|
|
83
83
|
manage, maintain, and release your project and includes a dynamic
|
|
84
84
|
plug-in system allowing for easy extensibility. Hoe ships with
|
|
@@ -88,7 +88,10 @@ description: |-
|
|
|
88
88
|
See class rdoc for help. Hint: `ri Hoe` or any of the plugins listed
|
|
89
89
|
below.
|
|
90
90
|
|
|
91
|
-
For extra goodness, see:
|
|
91
|
+
For extra goodness, see: https://docs.seattlerb.org/hoe/Hoe.pdf
|
|
92
|
+
#--
|
|
93
|
+
== Force Rdoc
|
|
94
|
+
#++
|
|
92
95
|
email:
|
|
93
96
|
- ryand-ruby@zenspider.com
|
|
94
97
|
executables:
|
|
@@ -140,14 +143,14 @@ files:
|
|
|
140
143
|
- test/test_hoe_package.rb
|
|
141
144
|
- test/test_hoe_publish.rb
|
|
142
145
|
- test/test_hoe_test.rb
|
|
143
|
-
homepage:
|
|
146
|
+
homepage: https://zenspider.com/projects/hoe.html
|
|
144
147
|
licenses:
|
|
145
148
|
- MIT
|
|
146
149
|
metadata:
|
|
147
|
-
homepage_uri:
|
|
150
|
+
homepage_uri: https://zenspider.com/projects/hoe.html
|
|
148
151
|
source_code_uri: https://github.com/seattlerb/hoe
|
|
149
152
|
bug_tracker_uri: https://github.com/seattlerb/hoe/issues
|
|
150
|
-
documentation_uri:
|
|
153
|
+
documentation_uri: https://docs.seattlerb.org/hoe/Hoe.pdf
|
|
151
154
|
changelog_uri: https://github.com/seattlerb/hoe/blob/master/History.rdoc
|
|
152
155
|
rdoc_options:
|
|
153
156
|
- "--main"
|
metadata.gz.sig
CHANGED
|
Binary file
|