old_sql 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/old_sql/shell_report_facade.rb +1 -1
- metadata +2 -2
@@ -69,7 +69,7 @@ module OldSql
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def self.set_connection(env)
|
72
|
-
dbconfig = YAML::load(File.
|
72
|
+
dbconfig = YAML::load(Erubis::Eruby.new(File.read(Rails.root.join("config/database.yml"))).result)
|
73
73
|
ActiveRecord::Base.establish_connection(dbconfig[env])
|
74
74
|
end
|
75
75
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: old_sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.
|
5
|
+
version: 1.8.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Eddie Gonzales
|
@@ -182,7 +182,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
182
|
requirements:
|
183
183
|
- - ">="
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
hash: -
|
185
|
+
hash: -2032947249375379625
|
186
186
|
segments:
|
187
187
|
- 0
|
188
188
|
version: "0"
|