standalone_migrations 5.2.3 → 5.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.markdown +1 -1
- data/VERSION +1 -1
- data/lib/standalone_migrations/configurator.rb +2 -2
- data/spec/standalone_migrations/configurator_spec.rb +1 -1
- data/standalone_migrations.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef32d8cc8a1c46698b257c1d27f1899f13f43a8e
|
|
4
|
+
data.tar.gz: c164b0d1f01acc762aa62fb8e9a23a4618513e70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6e12e99716ffe2b141dc78c44b087b76ff86266503711b5fba1273f1de8b11b160ab1e60ea770b230e766411175e290992ee0b0469fae3ffe760dfde03d54d2
|
|
7
|
+
data.tar.gz: 5a3222f1a7079c7d5d6009a2c761c993d488e460f518400c60de838dedb9b0cc5eded6aea4f27a0bc0afa041821190243bdb7b358c974412a5a8e90f45f9641b
|
data/README.markdown
CHANGED
|
@@ -8,7 +8,7 @@ In the 5.x release we have moved to using Rails 5 migrations instead of maintain
|
|
|
8
8
|
|
|
9
9
|
CONTRIBUTE
|
|
10
10
|
==========
|
|
11
|
-
[Standalone Migrations](https://github.com/thuss/standalone-migrations) relies on the contributions of the open-source community! To submit a fix or an enhancement fork the repository,
|
|
11
|
+
[Standalone Migrations](https://github.com/thuss/standalone-migrations) relies on the contributions of the open-source community! To submit a fix or an enhancement fork the repository, make your changes, add your name to the *Contributors* section in README.markdown, and send us a pull request! If you're active and do good work we'll add you as a collaborator!
|
|
12
12
|
|
|
13
13
|
USAGE
|
|
14
14
|
=====
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.2.
|
|
1
|
+
5.2.4
|
|
@@ -33,14 +33,14 @@ module StandaloneMigrations
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def initialize(options = {})
|
|
36
|
+
default_schema = ENV['SCHEMA'] || ActiveRecord::Tasks::DatabaseTasks.schema_file(ActiveRecord::Base.schema_format)
|
|
36
37
|
defaults = {
|
|
37
38
|
:config => "db/config.yml",
|
|
38
39
|
:migrate_dir => "db/migrate",
|
|
39
40
|
:seeds => "db/seeds.rb",
|
|
40
|
-
:schema =>
|
|
41
|
+
:schema => default_schema
|
|
41
42
|
}
|
|
42
43
|
@options = load_from_file(defaults.dup) || defaults.merge(options)
|
|
43
|
-
ENV['SCHEMA'] = ENV['SCHEMA'] || File.expand_path(schema)
|
|
44
44
|
|
|
45
45
|
Rails.application.config.root = Pathname.pwd
|
|
46
46
|
Rails.application.config.paths["config/database"] = config
|
|
@@ -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 5.2.
|
|
5
|
+
# stub: standalone_migrations 5.2.4 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "standalone_migrations"
|
|
9
|
-
s.version = "5.2.
|
|
9
|
+
s.version = "5.2.4"
|
|
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 = "
|
|
14
|
+
s.date = "2018-03-19"
|
|
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: 5.2.
|
|
4
|
+
version: 5.2.4
|
|
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:
|
|
12
|
+
date: 2018-03-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|