hoe 2.3.0 → 2.3.1
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 +12 -0
- data/lib/hoe.rb +2 -2
- data/lib/hoe/clean.rb +1 -1
- data/lib/hoe/package.rb +9 -1
- data/lib/hoe/publish.rb +2 -0
- data/template/Manifest.txt.erb +1 -0
- data/template/Rakefile.erb +2 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
=== 2.3.1 / 2009-06-24
|
2
|
+
|
3
|
+
* 2 minor enhancements:
|
4
|
+
|
5
|
+
* Removed email.txt from clean_globs, added TAGS.
|
6
|
+
* Use Gem::PackageTask if available, since Rake's package task will go away
|
7
|
+
|
8
|
+
* 2 bug fixes:
|
9
|
+
|
10
|
+
* Added require time where used
|
11
|
+
* JB nitpicks too much. fixed templates.
|
12
|
+
|
1
13
|
=== 2.3.0 / 2009-06-23
|
2
14
|
|
3
15
|
* 1 major enhancement:
|
data/lib/hoe.rb
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'rake'
|
5
|
-
require 'rake/gempackagetask'
|
6
5
|
require 'rake/testtask'
|
7
6
|
require 'rubyforge'
|
8
7
|
require 'yaml'
|
@@ -60,7 +59,7 @@ require 'hoe/rake'
|
|
60
59
|
|
61
60
|
class Hoe
|
62
61
|
# duh
|
63
|
-
VERSION = '2.3.
|
62
|
+
VERSION = '2.3.1'
|
64
63
|
|
65
64
|
@@plugins = [:clean, :debug, :deps, :flay, :flog, :package, :publish,
|
66
65
|
:rcov, :signing, :test]
|
@@ -532,6 +531,7 @@ class Hoe
|
|
532
531
|
# Provide a linear degrading value from n to m over start to finis dates.
|
533
532
|
|
534
533
|
def timebomb n, m, finis = '2010-04-01', start = '2009-03-14'
|
534
|
+
require 'time'
|
535
535
|
finis = Time.parse finis
|
536
536
|
start = Time.parse start
|
537
537
|
rest = (finis - Time.now)
|
data/lib/hoe/clean.rb
CHANGED
@@ -15,7 +15,7 @@ module Hoe::Clean
|
|
15
15
|
# Initialize variables for plugin.
|
16
16
|
|
17
17
|
def initialize_clean
|
18
|
-
self.clean_globs ||= %w(diff diff.txt
|
18
|
+
self.clean_globs ||= %w(diff diff.txt TAGS ri deps .source_index
|
19
19
|
*.gem **/*~ **/.*~ **/*.rbc coverage*)
|
20
20
|
end
|
21
21
|
|
data/lib/hoe/package.rb
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
begin
|
2
|
+
require 'rubygems/package_task'
|
3
|
+
rescue LoadError
|
4
|
+
# rake/gempackagetask will go away some day
|
5
|
+
require 'rake/gempackagetask'
|
6
|
+
Gem::PackageTask = Rake::GemPackageTask
|
7
|
+
end
|
8
|
+
|
1
9
|
##
|
2
10
|
# Package plugin for hoe.
|
3
11
|
#
|
@@ -29,7 +37,7 @@ module Hoe::Package
|
|
29
37
|
# Define tasks for plugin.
|
30
38
|
|
31
39
|
def define_package_tasks
|
32
|
-
|
40
|
+
Gem::PackageTask.new spec do |pkg|
|
33
41
|
abort "Fix your version before you release" if
|
34
42
|
spec.version.version =~ /borked/
|
35
43
|
pkg.need_tar = @need_tar
|
data/lib/hoe/publish.rb
CHANGED
data/template/Manifest.txt.erb
CHANGED
data/template/Rakefile.erb
CHANGED
@@ -4,8 +4,9 @@ require 'rubygems'
|
|
4
4
|
require 'hoe'
|
5
5
|
|
6
6
|
Hoe.spec '<%= project %>' do
|
7
|
+
# developer('<%= XIF %>', '<%= XIF %>@example.com')
|
8
|
+
|
7
9
|
# self.rubyforge_name = '<%= project %>x' # if different than '<%= project %>'
|
8
|
-
# p.developer('<%= XIF %>', '<%= XIF %>@example.com')
|
9
10
|
end
|
10
11
|
|
11
12
|
# vim: syntax=ruby
|
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: 2.3.
|
4
|
+
version: 2.3.1
|
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-06-
|
33
|
+
date: 2009-06-24 00:00:00 -07:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
Binary file
|