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 +4 -0
- data/README +1 -1
- data/lib/hen/version.rb +1 -1
- data/lib/hens/gem.rake +8 -2
- metadata +7 -9
data/ChangeLog
CHANGED
data/README
CHANGED
data/lib/hen/version.rb
CHANGED
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|
|
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:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
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-
|
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.
|
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.
|
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.
|