hoe 1.1.4 → 1.1.5

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.
Files changed (3) hide show
  1. data/History.txt +5 -0
  2. data/lib/hoe.rb +13 -5
  3. metadata +3 -3
@@ -1,3 +1,8 @@
1
+ = 1.1.5 2006-11-29
2
+
3
+ * Reduced check_manifest dependencies to just diff for windows.
4
+ * Don't use default author in summary, description or changes.
5
+
1
6
  = 1.1.4 2006-11-12
2
7
 
3
8
  * Added need_tar and need_zip to customize package requirements. Stupid windoze.
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.4'
92
+ VERSION = '1.1.5'
93
93
 
94
94
  rubyprefix = Config::CONFIG['prefix']
95
95
  sitelibdir = Config::CONFIG['sitelibdir']
@@ -119,9 +119,9 @@ class Hoe
119
119
  self.email = "ryand-ruby@zenspider.com"
120
120
  self.clean_globs = %w(diff diff.txt email.txt ri *.gem **/*~)
121
121
  self.test_globs = ['test/**/test_*.rb']
122
- self.changes = "#{author} is too lazy to write a changeset"
123
- self.description = "#{author} is too lazy to write a description"
124
- self.summary = "#{author} is too lazy to write a summary"
122
+ self.changes = "The author was too lazy to write a changeset"
123
+ self.description = "The author was too lazy to write a description"
124
+ self.summary = "The author was too lazy to write a summary"
125
125
  self.rdoc_pattern = /^(lib|bin)|txt$/
126
126
  self.extra_deps = []
127
127
  self.spec_extras = {}
@@ -383,7 +383,15 @@ class Hoe
383
383
  desc "Verify the manifest"
384
384
  task :check_manifest => :clean do
385
385
  f = "Manifest.tmp"
386
- system "find . -type f | egrep -v 'svn|tmp$' | cut -c3- | sort > #{f}"
386
+ require 'find'
387
+ files = []
388
+ Find.find '.' do |path|
389
+ next unless File.file? path
390
+ next if path =~ /svn|tmp$/
391
+ files << path[2..-1]
392
+ end
393
+ files = files.sort.join "\n"
394
+ File.open f, 'w' do |fp| fp.puts files end
387
395
  system "diff -du Manifest.txt #{f}"
388
396
  rm f
389
397
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
2
+ rubygems_version: 0.9.0.7
3
3
  specification_version: 1
4
4
  name: hoe
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.4
7
- date: 2006-11-13 00:00:00 -05:00
6
+ version: 1.1.5
7
+ date: 2006-11-29 00:00:00 -08:00
8
8
  summary: Hoe is a way to write Rakefiles much easier and cleaner.
9
9
  require_paths:
10
10
  - lib