mack-orm_common 0.5.1 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/genosaurus_helpers.rb +1 -1
- data/lib/mack-orm_common.rb +10 -0
- data/test/mack-orm_common_test.rb +1 -1
- metadata +2 -2
data/lib/genosaurus_helpers.rb
CHANGED
data/lib/mack-orm_common.rb
CHANGED
@@ -1,3 +1,13 @@
|
|
1
1
|
require File.join(File.dirname(__FILE__), 'genosaurus_helpers')
|
2
2
|
require File.join(File.dirname(__FILE__), 'model_column')
|
3
3
|
require File.join(File.dirname(__FILE__), 'errors')
|
4
|
+
|
5
|
+
module Mack
|
6
|
+
module Configuration
|
7
|
+
|
8
|
+
def self.database_configurations
|
9
|
+
YAML::load(Erubis::Eruby.new(IO.read(File.join(Mack::Configuration.config_directory, "database.yml"))).result)
|
10
|
+
end
|
11
|
+
|
12
|
+
end # Configuration
|
13
|
+
end # Mack
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mack-orm_common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markbates
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-05-
|
12
|
+
date: 2008-05-21 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|