hen 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/README +1 -1
- data/lib/hen.rb +5 -12
- data/lib/hen/dsl.rb +1 -1
- data/lib/hen/version.rb +1 -1
- data/lib/hens/gem.rake +1 -0
- metadata +10 -10
data/ChangeLog
CHANGED
data/README
CHANGED
data/lib/hen.rb
CHANGED
@@ -194,18 +194,11 @@ class Hen
|
|
194
194
|
# environment variable +HENRC+ and in each directory named in RCDIRS.
|
195
195
|
# If +must_exist+ is false, no readability checks will be performed.
|
196
196
|
def find_henrc(must_exist = true)
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
RCDIRS.each { |dir|
|
204
|
-
dir_henrc = File.join(dir, HENRC_NAME)
|
205
|
-
found << dir_henrc if !must_exist || File.readable?(dir_henrc)
|
206
|
-
}
|
207
|
-
|
208
|
-
found
|
197
|
+
RCDIRS.map { |dir|
|
198
|
+
File.join(dir, HENRC_NAME)
|
199
|
+
}.unshift(ENV['HENRC']).compact.map { |file|
|
200
|
+
File.expand_path(file) if !must_exist || File.readable?(file)
|
201
|
+
}.compact.uniq
|
209
202
|
end
|
210
203
|
|
211
204
|
# call-seq:
|
data/lib/hen/dsl.rb
CHANGED
data/lib/hen/version.rb
CHANGED
data/lib/hens/gem.rake
CHANGED
@@ -70,6 +70,7 @@ Hen :gem => :rdoc do
|
|
70
70
|
if homepage = gem_options[:homepage]
|
71
71
|
homepage = "github.com/#{homepage}/#{gem_name}" if homepage.is_a?(Symbol)
|
72
72
|
homepage.insert(0, 'http://') unless homepage.empty? || homepage =~ %r{://}
|
73
|
+
gem_options[:homepage] = homepage
|
73
74
|
end
|
74
75
|
|
75
76
|
### extra_rdoc_files, files, extensions, executables, bindir
|
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: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 4
|
10
|
+
version: 0.3.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jens Wille
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-03-09 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -87,14 +87,14 @@ licenses: []
|
|
87
87
|
|
88
88
|
post_install_message:
|
89
89
|
rdoc_options:
|
90
|
-
- --
|
91
|
-
- UTF-8
|
92
|
-
- --all
|
90
|
+
- --line-numbers
|
93
91
|
- --main
|
94
92
|
- README
|
93
|
+
- --all
|
94
|
+
- --charset
|
95
|
+
- UTF-8
|
95
96
|
- --title
|
96
|
-
- hen Application documentation (v0.3.
|
97
|
-
- --line-numbers
|
97
|
+
- hen Application documentation (v0.3.4)
|
98
98
|
require_paths:
|
99
99
|
- lib
|
100
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
requirements: []
|
119
119
|
|
120
120
|
rubyforge_project: prometheus
|
121
|
-
rubygems_version: 1.
|
121
|
+
rubygems_version: 1.6.2
|
122
122
|
signing_key:
|
123
123
|
specification_version: 3
|
124
124
|
summary: Hoe or Echoe? No, thanks! Just a Rake helper that fits my own personal style.
|