ridgepoler-rails 1.1.0 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +2 -0
- data/lib/ridgepoler/rails/tasks/override.rake +3 -3
- data/lib/ridgepoler/rails/tasks/ridgepole.rake +5 -5
- data/lib/ridgepoler/rails/version.rb +1 -1
- metadata +6 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5aa143800404bd844a13eb4f8a8d496c9bdabf33367ebf4219c509e04753075
|
4
|
+
data.tar.gz: f4f68863001502a83c7cbe30f4e7b6261644d822fcd1739f5db2e05748d5e1a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84a3387fefc2f816ac7e227f72a728de1efbda98e968ee9993008ed9fd053d7771ed9eca426269caabda2e84ea8f3a15b817a5c7434b62a3f6e6c24d1530242b
|
7
|
+
data.tar.gz: c06eef72661fdccffbef27cbd3ff48dc600c1e995ece467a95902b10d2cf7f2aabe35a77dc45c8bdb6e3177a805577232d101930c2c6285a7fecb57a41e5a46d
|
data/README.md
CHANGED
@@ -23,7 +23,7 @@ Once installed, Ridgepoler will generate migration files instead of ActiveRecord
|
|
23
23
|
|
24
24
|
## Rake tasks
|
25
25
|
|
26
|
-
Ridgepoler will replace or clear some db tasks. If you doesn't need that overrides, you can set `config.
|
26
|
+
Ridgepoler will replace or clear some db tasks. If you doesn't need that overrides, you can set `config.ridgepole.override_db_tasks = false`.
|
27
27
|
|
28
28
|
### Clear tasks
|
29
29
|
|
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
db:structure:load
|
14
14
|
db:version
|
15
15
|
].each do |task|
|
16
|
-
Rake::Task[task]
|
16
|
+
Rake::Task[task]&.clear
|
17
17
|
end
|
18
18
|
|
19
19
|
namespace :db do
|
@@ -23,8 +23,8 @@ namespace :db do
|
|
23
23
|
end
|
24
24
|
|
25
25
|
{
|
26
|
-
:
|
27
|
-
:
|
26
|
+
migrate: 'ridgepole:apply',
|
27
|
+
setup: 'ridgepole:setup'
|
28
28
|
}.each_pair do |new, old|
|
29
29
|
alias_task(new, old)
|
30
30
|
end
|
@@ -20,11 +20,11 @@ namespace :ridgepole do
|
|
20
20
|
def ridgepole(env: Rails.env, dry_run: false)
|
21
21
|
args = ['ridgepole', '-a']
|
22
22
|
|
23
|
-
if ENV['DATABASE_URL'].to_s.empty?
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
23
|
+
args += if ENV['DATABASE_URL'].to_s.empty?
|
24
|
+
['-c', 'config/database.yml', '-E', env]
|
25
|
+
else
|
26
|
+
['-c', ENV['DATABASE_URL']]
|
27
|
+
end
|
28
28
|
|
29
29
|
args.push('--dry-run') if dry_run
|
30
30
|
args.push('--debug') if config.debug
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ridgepoler-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Kusano
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 5.0.0
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '5.3'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 5.0.0
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '5.3'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: ridgepole
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,7 +82,7 @@ homepage: https://github.com/space-pirates-llc/ridgepoler-rails
|
|
88
82
|
licenses:
|
89
83
|
- MIT
|
90
84
|
metadata: {}
|
91
|
-
post_install_message:
|
85
|
+
post_install_message:
|
92
86
|
rdoc_options: []
|
93
87
|
require_paths:
|
94
88
|
- lib
|
@@ -103,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
97
|
- !ruby/object:Gem::Version
|
104
98
|
version: '0'
|
105
99
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
107
|
-
signing_key:
|
100
|
+
rubygems_version: 3.2.3
|
101
|
+
signing_key:
|
108
102
|
specification_version: 4
|
109
103
|
summary: Provides integration between ridgepole and rails 5 newer
|
110
104
|
test_files: []
|