configured 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/configured/configured.rb +3 -1
- data/lib/configured/version.rb +1 -1
- metadata +3 -3
@@ -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)
|
data/lib/configured/version.rb
CHANGED
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.
|
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-
|
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.
|
52
|
+
summary: configured 1.0.3
|
53
53
|
test_files: []
|