configured 1.0.2 → 1.0.3

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.
@@ -1,10 +1,12 @@
1
1
  module Configured
2
2
  class << self
3
+
4
+ @@config_initters = {}
5
+
3
6
  # Load configuration data stored in YAML.
4
7
  # Filename can be passed as parameter.
5
8
  def in_yaml(filename = "config/database.yml")
6
9
  begin
7
- @@config_initters ||= {}
8
10
  @@config_initters[filename] ||=
9
11
  begin
10
12
  data = YAML::load(File.open filename)
@@ -2,7 +2,7 @@ module Configured # :nodoc:
2
2
  module Version # :nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configured
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-20 00:00:00.000000000Z
12
+ date: 2011-09-30 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: configured. Use your database.yaml in rails initters. For redis, redis-store
15
15
  and e.t.c.
@@ -49,5 +49,5 @@ rubyforge_project:
49
49
  rubygems_version: 1.8.10
50
50
  signing_key:
51
51
  specification_version: 3
52
- summary: configured 1.0.2
52
+ summary: configured 1.0.3
53
53
  test_files: []