mof 1.2.0 → 1.2.2

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.
@@ -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
- file = File.open( f ) if File.readable?( f )
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
@@ -1,3 +1,3 @@
1
1
  module MOF
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.2'
3
3
  end
@@ -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 = "dm-keeper-adapter #{CIM::VERSION}"
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: 31
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
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-05-03 00:00:00 +02:00
18
+ date: 2012-06-27 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency