hen 0.3.4 → 0.3.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.
data/ChangeLog CHANGED
@@ -1,5 +1,9 @@
1
1
  = Revision history for hen
2
2
 
3
+ == 0.3.5 [2011-04-05]
4
+
5
+ * RubyGems 1.7.0 deprecated Gem::Specification#has_rdoc=.
6
+
3
7
  == 0.3.4 [2011-03-09]
4
8
 
5
9
  * Some minor changes/fixes.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to hen version 0.3.4
5
+ This documentation refers to hen version 0.3.5
6
6
 
7
7
 
8
8
  == DESCRIPTION
data/lib/hen/version.rb CHANGED
@@ -4,7 +4,7 @@ class Hen
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 3
7
- TINY = 4
7
+ TINY = 5
8
8
 
9
9
  class << self
10
10
 
data/lib/hens/gem.rake CHANGED
@@ -26,7 +26,7 @@ Hen :gem => :rdoc do
26
26
 
27
27
  if Object.const_defined?(:RDOC_OPTIONS)
28
28
  rdoc_files = RDOC_OPTIONS[:rdoc_files]
29
- gem_options[:has_rdoc] = !rdoc_files.empty?
29
+ gem_options[:has_rdoc] = !rdoc_files.empty? if Gem::VERSION < '1.7'
30
30
 
31
31
  gem_options[:rdoc_options] ||= RDOC_OPTIONS[:options]
32
32
  end
@@ -110,7 +110,13 @@ Hen :gem => :rdoc do
110
110
 
111
111
  ### => set options!
112
112
 
113
- gem_options.each { |option, value| spec.send("#{option}=", value) }
113
+ gem_options.each { |option, value|
114
+ if spec.respond_to?(setter = "#{option}=")
115
+ spec.send(setter, value)
116
+ else
117
+ warn "Unknown Gem option: #{option}"
118
+ end
119
+ }
114
120
  }
115
121
 
116
122
  desc 'Display the gem specification'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hen
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 4
10
- version: 0.3.4
9
+ - 5
10
+ version: 0.3.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jens Wille
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-09 00:00:00 +01:00
19
- default_executable:
18
+ date: 2011-04-05 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: ruby-nuggets
@@ -81,7 +80,6 @@ files:
81
80
  - example/project/lib/__progname__.rb
82
81
  - example/project/_gitignore
83
82
  - example/project/COPYING
84
- has_rdoc: true
85
83
  homepage: http://prometheus.rubyforge.org/hen
86
84
  licenses: []
87
85
 
@@ -90,11 +88,11 @@ rdoc_options:
90
88
  - --line-numbers
91
89
  - --main
92
90
  - README
93
- - --all
94
91
  - --charset
95
92
  - UTF-8
96
93
  - --title
97
- - hen Application documentation (v0.3.4)
94
+ - hen Application documentation (v0.3.5)
95
+ - --all
98
96
  require_paths:
99
97
  - lib
100
98
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -118,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
116
  requirements: []
119
117
 
120
118
  rubyforge_project: prometheus
121
- rubygems_version: 1.6.2
119
+ rubygems_version: 1.7.1
122
120
  signing_key:
123
121
  specification_version: 3
124
122
  summary: Hoe or Echoe? No, thanks! Just a Rake helper that fits my own personal style.