hoe 4.2.3 → 4.3.0
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 +9 -0
- data/README.rdoc +29 -24
- data/Rakefile +9 -5
- data/lib/hoe/deps.rb +1 -25
- data/lib/hoe.rb +1 -1
- data/test/test_hoe.rb +1 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: 232664e1c18f9f6b79de0bab5fcf3688f2b8a4e15678b64ade007348e0a4ea79
|
4
|
+
data.tar.gz: 3e0f8ee572a3d43d264a9d73deadf9cdcc56fe1e8afe3debe9c584316f8bc0ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4c79031e28176a1975dca3b1631b0d31db90ee56abea92a37f7038095a9f102f4cdf36025917a93a8e9ad77ccbaf21178d324f53e6495f52be11c7a9599dcea
|
7
|
+
data.tar.gz: 8a5ceb14b19e6eb056f279c0b7240b4654b2fca73b8fc0ae35bd69a5b39240fe83e26c7e3f5ca527bdec61a0b15963c89c73a3336f15cd81d4c6dc6b3a38548d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
=== 4.3.0 / 2025-06-17
|
2
|
+
|
3
|
+
* 4 bug fixes:
|
4
|
+
|
5
|
+
* Fix Gem index inflation. (halostatue)
|
6
|
+
* Fix known_plugins task for Gem::SpecFetcher API changes. (segiddins)
|
7
|
+
* Removed defunct deps:email task.
|
8
|
+
* Update list of known plugins. (segiddins)
|
9
|
+
|
1
10
|
=== 4.2.3 / 2025-03-25
|
2
11
|
|
3
12
|
* 2 minor enhancements:
|
data/README.rdoc
CHANGED
@@ -178,30 +178,35 @@ Again, this must be done before the Hoe spec, or it won't be useful.
|
|
178
178
|
|
179
179
|
=== Known 3rd-Party Plugins:
|
180
180
|
|
181
|
-
* hoe-bundler -
|
182
|
-
* hoe-debugging - A Hoe plugin to help you debug your
|
183
|
-
* hoe-deveiate - A collection of Rake tasks and utility functions
|
184
|
-
* hoe-doofus - A Hoe plugin that helps me keep from messing up gem releases
|
185
|
-
* hoe-gemcutter - Adds gemcutter release automation to Hoe.
|
186
|
-
* hoe-geminabox -
|
187
|
-
* hoe-gemspec - Generate a prerelease gemspec based on a Hoe spec.
|
188
|
-
* hoe-gemspec2 -
|
189
|
-
* hoe-git - A set of Hoe plugins for tighter Git integration
|
190
|
-
* hoe-
|
191
|
-
* hoe-
|
192
|
-
* hoe-
|
193
|
-
* hoe-
|
194
|
-
* hoe-
|
195
|
-
* hoe-
|
196
|
-
* hoe-
|
197
|
-
* hoe-
|
198
|
-
* hoe-
|
199
|
-
* hoe-
|
200
|
-
* hoe-
|
201
|
-
* hoe-
|
202
|
-
* hoe-
|
203
|
-
* hoe-
|
204
|
-
* hoe-
|
181
|
+
* hoe-bundler - Generate a Gemfile based on a Hoe spec's declared dependencies. (Mike Dalessio)
|
182
|
+
* hoe-debugging - A Hoe plugin to help you debug your C extensions (John Barnette)
|
183
|
+
* hoe-deveiate - A collection of Rake tasks and utility functions I use to maintain my Open Source projects (Michael Granger)
|
184
|
+
* hoe-doofus - A Hoe plugin that helps me (and you, maybe?) keep from messing up gem releases (John Barnette)
|
185
|
+
* hoe-gemcutter - Adds gemcutter release automation to Hoe. (James Tucker)
|
186
|
+
* hoe-geminabox - A small hoe plugin that allows you to push your gems to geminabox (Ben Bleything)
|
187
|
+
* hoe-gemspec - Generate a prerelease gemspec based on a Hoe spec. (Mike Dalessio)
|
188
|
+
* hoe-gemspec2 - Adds support for generation of gemspec files to Hoe (raggi)
|
189
|
+
* hoe-git - A set of Hoe plugins for tighter Git integration (John Barnette)
|
190
|
+
* hoe-git2 - A set of Hoe plugins for tighter Git integration (John Barnette)
|
191
|
+
* hoe-halostatue - Hoe::Halostatue is a Hoe meta-plugin that provides improved support for Markdown README files, provides features from other plugins, and enables improved support for trusted publishing. (Austin Ziegler)
|
192
|
+
* hoe-heroku - A Hoe plugin that helps you get your stuff on Heroku (Ben Bleything)
|
193
|
+
* hoe-hg - A Hoe plugin for Mercurial integration (McClain Looney)
|
194
|
+
* hoe-highline - A Hoe plugin for building interactive Rake tasks (Michael Granger)
|
195
|
+
* hoe-ignore - FIX (describe your package) (Evan Phoenix)
|
196
|
+
* hoe-manns - Collection of some personal used tasks (Sascha Manns)
|
197
|
+
* hoe-manualgen - A manual-generation plugin for Hoe (Michael Granger)
|
198
|
+
* hoe-markdown - Hoe plugin with helpers for markdown documentation files. (Mike Dalessio)
|
199
|
+
* hoe-mercurial - This is a fork of the hoe-hg plugin (Michael Granger)
|
200
|
+
* hoe-packaging - Collection of some personal used tasks for creating and deploying RPM and DEB packages. (Sascha Manns)
|
201
|
+
* hoe-reek - Tasks to integrate the reek code smell engine into your hoe projects (Sascha Manns)
|
202
|
+
* hoe-roodi - hoe-roodi is a Hoe plugin to integrate the roodi code smell tool into your hoe projects. (Erik Hollensbe)
|
203
|
+
* hoe-rubocop - This hoe plugin extends hoe for using some rake tasks to control rubocop. (Sascha Manns)
|
204
|
+
* hoe-rubygems - A Hoe plugin with additional RubyGems tasks (John Barnette)
|
205
|
+
* 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)
|
206
|
+
* hoe-telicopter - Hoe plugin providing tasks used by hotelicopter, currently just the email plugin from the seattlerb plugin by Ryan Davis (jim nist)
|
207
|
+
* hoe-travis - hoe-travis is a Hoe plugin that allows your gem to gain maximum benefit from http://travis-ci.org (Eric Hodel)
|
208
|
+
* hoe-version - Hoe plugin to provide rake tasks to bump version (bhenderson)
|
209
|
+
* hoe-yard - A Hoe plugin for generating YARD documentation (Postmodern)
|
205
210
|
|
206
211
|
=== Writing Plugins:
|
207
212
|
|
data/Rakefile
CHANGED
@@ -32,13 +32,17 @@ end
|
|
32
32
|
task :known_plugins do
|
33
33
|
dep = Gem::Dependency.new(/^hoe-/, Gem::Requirement.default)
|
34
34
|
fetcher = Gem::SpecFetcher.fetcher
|
35
|
-
spec_tuples = fetcher.
|
35
|
+
spec_tuples = fetcher.search_for_dependency(dep).flatten(1)
|
36
36
|
|
37
|
-
max = spec_tuples.map { |(tuple, _source)| tuple.
|
37
|
+
max = spec_tuples.map { |(tuple, _source)| tuple.name.size }.max
|
38
38
|
|
39
|
-
spec_tuples.each do |(tuple, source)|
|
40
|
-
spec =
|
41
|
-
|
39
|
+
spec_tuples.sort_by { |(tuple, _source)| tuple.name }.each do |(tuple, source)|
|
40
|
+
spec = source.fetch_spec(tuple)
|
41
|
+
summary = spec
|
42
|
+
.summary
|
43
|
+
.gsub(/\[([^\]]+)\](?:[\[\(].*?[\]\)])?/, '\1')
|
44
|
+
|
45
|
+
puts "* %-#{max}s - %s (%s)" % [spec.name, summary, spec.authors.first]
|
42
46
|
end
|
43
47
|
end
|
44
48
|
|
data/lib/hoe/deps.rb
CHANGED
@@ -82,30 +82,6 @@ module Hoe::Deps
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
def deps_email_task # :nodoc:
|
86
|
-
gems = self.get_gems_by_name
|
87
|
-
gem = gems[self.name]
|
88
|
-
|
89
|
-
abort "Couldn't find gem: #{self.name}" unless gem
|
90
|
-
|
91
|
-
deps = self.dependent_upon self.name
|
92
|
-
email = deps.map(&:email).compact.flatten.sort.uniq
|
93
|
-
email = email.map { |s| s.split(/,\s*/) }.flatten.sort.uniq
|
94
|
-
|
95
|
-
email.map! { |s| # don't you people realize how easy this is?
|
96
|
-
s.gsub(/ at | _at_ |\s*(atmark|@nospam@|-at?-|@at?@|<at?>|\[at?\]|\(at?\))\s*/i, "@").gsub(/\s*(dot|\[d(ot)?\]|\.dot\.)\s*/i, ".").gsub(/\s+com$/, ".com")
|
97
|
-
}
|
98
|
-
|
99
|
-
bad, good = email.partition { |e| e !~ /^[\w.+-]+\@[\w.+-]+$/ }
|
100
|
-
|
101
|
-
warn "Rejecting #{bad.size} email. I couldn't unmunge them." unless
|
102
|
-
bad.empty?
|
103
|
-
|
104
|
-
puts good.join(", ")
|
105
|
-
|
106
|
-
warn "Warning: couldn't extract any email addresses" if good.empty?
|
107
|
-
end
|
108
|
-
|
109
85
|
def deps_fetch_task # :nodoc:
|
110
86
|
deps = self.dependent_upon self.name
|
111
87
|
|
@@ -154,7 +130,7 @@ module Hoe::Deps
|
|
154
130
|
warn "Fetching full index and caching. This can take a while."
|
155
131
|
url = GEMURL + "Marshal.#{Gem.marshal_version}.Z"
|
156
132
|
dump = Gem::RemoteFetcher.fetcher.fetch_path url
|
157
|
-
dump = Gem.inflate dump
|
133
|
+
dump = Gem::Util.inflate dump
|
158
134
|
|
159
135
|
warn "stripping index to latest gems"
|
160
136
|
ary = Marshal.load dump
|
data/lib/hoe.rb
CHANGED
data/test/test_hoe.rb
CHANGED
@@ -365,6 +365,7 @@ class TestHoe < Minitest::Test
|
|
365
365
|
files = File.read("Manifest.txt").split(/\n/)
|
366
366
|
|
367
367
|
spec = hoe.spec
|
368
|
+
spec.date = nil # forces Date.today. default switched to 1980 for some reason
|
368
369
|
|
369
370
|
urls = {
|
370
371
|
"home" => "http://www.zenspider.com/projects/hoe.html",
|
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.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
bwfinv7Yp5fA6AysuZLhCykyfDuZVRrUp0Vb68YCKsLjJly/Theak+euNTxvHsB+
|
29
29
|
al9oSgPPHICMEX65qvLywitx
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date:
|
31
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rake
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '3.0'
|
175
175
|
requirements: []
|
176
|
-
rubygems_version: 3.
|
176
|
+
rubygems_version: 3.7.1
|
177
177
|
specification_version: 4
|
178
178
|
summary: Hoe is a rake/rubygems helper for project Rakefiles
|
179
179
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|