yaml_model 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -3,7 +3,8 @@ require 'yaml_model'
3
3
  class YamlModel
4
4
  class Rails < ::YamlModel
5
5
  def self.yaml_file
6
- @yaml_file ||= ::Rails.root + "/config/#{name.to_s.underscore.pluralize}.yml"
6
+ @yaml_file ||= ::Rails.root.to_s + "/config/#{name.to_s.underscore.pluralize}.yml"
7
+ super
7
8
  end
8
9
  end
9
10
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{yaml_model}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Bleigh"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Bleigh