hoe 3.0.1 → 3.0.2
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 +6 -0
- data/lib/hoe.rb +1 -1
- data/lib/hoe/publish.rb +12 -2
- metadata +5 -5
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/hoe.rb
CHANGED
data/lib/hoe/publish.rb
CHANGED
@@ -252,9 +252,19 @@ module Hoe::Publish
|
|
252
252
|
subject = "#{name} #{version} Released"
|
253
253
|
title = "#{name} version #{version} has been released!"
|
254
254
|
body = "#{description}\n\nChanges:\n\n#{changes}".rdoc_to_markdown
|
255
|
-
urls = urls.map { |s| "* <#{s.strip.rdoc_to_markdown}>" }.join("\n")
|
256
255
|
|
257
|
-
|
256
|
+
urls =
|
257
|
+
case self.urls
|
258
|
+
when Hash then
|
259
|
+
self.urls.map { |k,v| "* #{k}: <#{v.strip.rdoc_to_markdown}>" }
|
260
|
+
when Array then
|
261
|
+
self.urls.map { |s| "* <#{s.strip.rdoc_to_markdown}>" }
|
262
|
+
else
|
263
|
+
raise "unknown urls format: #{urls.inspect}"
|
264
|
+
end
|
265
|
+
|
266
|
+
|
267
|
+
return subject, title, body, urls.join("\n")
|
258
268
|
end
|
259
269
|
end
|
260
270
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 2
|
10
|
+
version: 3.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Davis
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
FBHgymkyj/AOSqKRIpXPhjC6
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date: 2012-
|
39
|
+
date: 2012-04-04 00:00:00 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
176
|
requirements: []
|
177
177
|
|
178
178
|
rubyforge_project: seattlerb
|
179
|
-
rubygems_version: 1.8.
|
179
|
+
rubygems_version: 1.8.12
|
180
180
|
signing_key:
|
181
181
|
specification_version: 3
|
182
182
|
summary: Hoe is a rake/rubygems helper for project Rakefiles
|
metadata.gz.sig
CHANGED
Binary file
|