hoe 1.1.5 → 1.1.6
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/History.txt +4 -0
- data/lib/hoe.rb +9 -12
- metadata +1 -1
data/History.txt
CHANGED
data/lib/hoe.rb
CHANGED
@@ -89,7 +89,7 @@ require 'rbconfig'
|
|
89
89
|
# * RUBY_FLAGS - Used to specify flags to ruby [has smart default].
|
90
90
|
|
91
91
|
class Hoe
|
92
|
-
VERSION = '1.1.
|
92
|
+
VERSION = '1.1.6'
|
93
93
|
|
94
94
|
rubyprefix = Config::CONFIG['prefix']
|
95
95
|
sitelibdir = Config::CONFIG['sitelibdir']
|
@@ -152,7 +152,7 @@ class Hoe
|
|
152
152
|
desc 'Show which test files fail when run alone.'
|
153
153
|
task :test_deps do
|
154
154
|
tests = Dir["test/**/test_*.rb"] + Dir["test/**/*_test.rb"]
|
155
|
-
|
155
|
+
|
156
156
|
tests.each do |test|
|
157
157
|
if not system "ruby -Ibin:lib:test #{test} &> /dev/null" then
|
158
158
|
puts "Dependency Issues: #{test}"
|
@@ -167,7 +167,7 @@ class Hoe
|
|
167
167
|
|
168
168
|
############################################################
|
169
169
|
# Packaging and Installing
|
170
|
-
|
170
|
+
|
171
171
|
self.spec = Gem::Specification.new do |s|
|
172
172
|
s.name = name
|
173
173
|
s.version = version
|
@@ -276,15 +276,12 @@ class Hoe
|
|
276
276
|
c["release_changes"] = changes if changes
|
277
277
|
c["preformatted"] = true
|
278
278
|
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
else
|
286
|
-
abort "Couldn't get release_id"
|
287
|
-
end
|
279
|
+
files = [(@need_tar ? "#{pkg}.tgz" : nil),
|
280
|
+
(@need_zip ? "#{pkg}.zip" : nil),
|
281
|
+
"#{pkg}.gem"].compact
|
282
|
+
|
283
|
+
puts "Releasing #{name} v. #{version}"
|
284
|
+
rf.add_release rubyforge_name, name, version, *files
|
288
285
|
end
|
289
286
|
|
290
287
|
############################################################
|
metadata
CHANGED