standalone_migrations 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/lib/standalone_migrations/configurator.rb +2 -0
- data/lib/standalone_migrations/tasks.rb +3 -1
- data/spec/standalone_migrations_spec.rb +0 -1
- data/standalone_migrations.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTJmMmQ1NTE4N2YxNDhmYmQ2Y2IyYWJkZTE0YjkyYzdlNjA3NDBiYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjcyOTYzMDVlNTBhZWJiNmQ5MTk3MTFmYzhlM2Q0NWNhNTQ2MzIxZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjhjMmY4NGU3YTE2Mjg3MjM0YTAxZTAyMjk0OTk5Mzk4MzYzZmNlODhlNTJh
|
10
|
+
ODZlNTljZWZlOTlmMzJjYzYwOWZlZmMzMDQwZTEyNzdkNWY1YWM1NTEyMDM2
|
11
|
+
OGIxNDhjMjY3NzJkNmJiY2E2ZWUzZmY0MzI1M2NjMDAxY2NkMWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWY2MGJiM2M4NGU5MDVjMGRjMjE3MTVjNzVkYjUyMjViMDc2OThkZmM5YmQ3
|
14
|
+
NzVkYzdlMGQ4NzBmMmE1Zjg1OTdhZTk4MDdkNWQ1YmI4ODRmYWMyODdiYTEz
|
15
|
+
NmRmMTJjZTgzN2Y1NjgwMmMzY2UxNjRmY2E0ZjgyOGQ5MDhhZjg=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.0.
|
1
|
+
4.0.1
|
@@ -12,7 +12,9 @@ module StandaloneMigrations
|
|
12
12
|
|
13
13
|
def load_tasks
|
14
14
|
configure
|
15
|
-
|
15
|
+
Configurator.environments_config do |proxy|
|
16
|
+
ActiveRecord::Tasks::DatabaseTasks.database_configuration = proxy.configurations
|
17
|
+
end
|
16
18
|
MinimalRailtieConfig.load_tasks
|
17
19
|
%w(
|
18
20
|
connection
|
@@ -44,7 +44,6 @@ describe 'Standalone migrations' do
|
|
44
44
|
$LOAD_PATH.unshift '#{File.expand_path('lib')}'
|
45
45
|
begin
|
46
46
|
require "standalone_migrations"
|
47
|
-
ActiveRecord::Tasks::DatabaseTasks.database_configuration = YAML.load_file('db/config.yml')
|
48
47
|
StandaloneMigrations::Tasks.load_tasks
|
49
48
|
rescue LoadError => e
|
50
49
|
puts "gem install standalone_migrations to get db:migrate:* tasks! (Error: \#{e})"
|
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: standalone_migrations 4.0.
|
5
|
+
# stub: standalone_migrations 4.0.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "standalone_migrations"
|
9
|
-
s.version = "4.0.
|
9
|
+
s.version = "4.0.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Todd Huss", "Michael Grosser"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-04-01"
|
15
15
|
s.email = "thuss@gabrito.com"
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standalone_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd Huss
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|