hen 0.0.3.149 → 0.0.3.151
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hen.rb +2 -2
- data/lib/hens/gem.rake +4 -0
- metadata +2 -2
data/lib/hen.rb
CHANGED
@@ -194,7 +194,7 @@ class Hen
|
|
194
194
|
# call-seq:
|
195
195
|
# hen.lay!
|
196
196
|
#
|
197
|
-
# Runs the definition block, exposing the DSL
|
197
|
+
# Runs the definition block, exposing helper methods from the DSL.
|
198
198
|
def lay!
|
199
199
|
return if laid?
|
200
200
|
|
@@ -264,7 +264,7 @@ end
|
|
264
264
|
# call-seq:
|
265
265
|
# Hen!(args) { ... }
|
266
266
|
#
|
267
|
-
# Same as
|
267
|
+
# Same as above, but overwrites any existing hen with the same name.
|
268
268
|
def Hen!(args, &block)
|
269
269
|
Hen.new(args, true, &block)
|
270
270
|
end
|
data/lib/hens/gem.rake
CHANGED
@@ -38,6 +38,10 @@ Hen :gem => :rdoc do
|
|
38
38
|
gem_options[:homepage] ||= "#{rf_project}.rubyforge.org/#{gem_options[:name]}"
|
39
39
|
end
|
40
40
|
|
41
|
+
if gem_options[:homepage] && gem_options[:homepage] !~ /:\/\//
|
42
|
+
gem_options[:homepage] = 'http://' << gem_options[:homepage]
|
43
|
+
end
|
44
|
+
|
41
45
|
### extra_rdoc_files, files, executables, bindir
|
42
46
|
|
43
47
|
gem_options[:files] ||= []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.3.
|
4
|
+
version: 0.0.3.151
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
@@ -55,7 +55,7 @@ files:
|
|
55
55
|
- example/Rakefile
|
56
56
|
- example/.henrc
|
57
57
|
has_rdoc: true
|
58
|
-
homepage: prometheus.rubyforge.org/hen
|
58
|
+
homepage: http://prometheus.rubyforge.org/hen
|
59
59
|
post_install_message:
|
60
60
|
rdoc_options:
|
61
61
|
- --all
|