standalone_migrations 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/tasks/standalone_migrations.rb +2 -2
- data/standalone_migrations.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
@@ -35,11 +35,11 @@ class MigratorTasks < ::Rake::TaskLib
|
|
35
35
|
require 'active_record'
|
36
36
|
ENV[@env] ||= @default_env
|
37
37
|
|
38
|
-
require 'erb'
|
39
|
-
|
40
38
|
if @config.is_a?(Hash)
|
41
39
|
ActiveRecord::Base.configurations = @config
|
42
40
|
else
|
41
|
+
require 'erb'
|
42
|
+
|
43
43
|
ActiveRecord::Base.configurations = YAML::load(ERB.new(IO.read(@config)).result)
|
44
44
|
end
|
45
45
|
ActiveRecord::Base.establish_connection(ENV[@env])
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{standalone_migrations}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Todd Huss", "Michael Grosser"]
|