configa 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/configa.rb +5 -1
- data/lib/configa/version.rb +1 -1
- data/spec/configa/configa_spec.rb +1 -0
- metadata +2 -2
data/lib/configa.rb
CHANGED
data/lib/configa/version.rb
CHANGED
@@ -102,6 +102,7 @@ describe Configa do
|
|
102
102
|
path = File.expand_path("../../config.yml", __FILE__)
|
103
103
|
@config = Configa.new(path)
|
104
104
|
@config.production.mysql(:username, :database, hash: true).must_equal({ username: "admin", database: "mysql_prod" })
|
105
|
+
@config.production.mysql(hash: true).must_equal({"adapter"=>"mysql", "encoding"=>"utf8", "host"=>"localhost", "username"=>"admin", "database"=>"mysql_prod", "password"=>"strongone"})
|
105
106
|
end
|
106
107
|
end
|
107
108
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
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:
|
12
|
+
date: 2013-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: YAML configuration file parser
|
15
15
|
email:
|