mof 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mof/helper.rb +2 -1
- data/lib/mof/version.rb +1 -1
- data/tasks/doc.rake +2 -1
- metadata +4 -4
data/lib/mof/helper.rb
CHANGED
@@ -44,7 +44,8 @@ module Helper
|
|
44
44
|
@includes.each do |incdir|
|
45
45
|
f = File.join(incdir, name)
|
46
46
|
# $stderr.puts "Trying '#{f}': #{File.exists?(f)}"
|
47
|
-
|
47
|
+
f << ".mof" unless File.readable?( f )
|
48
|
+
file = File.open( f ) rescue nil
|
48
49
|
break if file
|
49
50
|
# $stderr.puts "\tNope"
|
50
51
|
end
|
data/lib/mof/version.rb
CHANGED
data/tasks/doc.rake
CHANGED
@@ -7,8 +7,9 @@ begin
|
|
7
7
|
rescue LoadError
|
8
8
|
STDERR.puts "Install yard if you want prettier docs"
|
9
9
|
require 'rdoc/task'
|
10
|
+
require 'mof/version'
|
10
11
|
Rake::RDocTask.new(:doc) do |rdoc|
|
11
12
|
rdoc.rdoc_dir = "doc"
|
12
|
-
rdoc.title = "
|
13
|
+
rdoc.title = "mof #{MOF::VERSION}"
|
13
14
|
end
|
14
15
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 2
|
10
|
+
version: 1.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Klaus K\xC3\xA4mpf"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-06-27 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|