ridgepoler-rails 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/ridgepoler/rails/tasks/ridgepole.rake +8 -1
- data/lib/ridgepoler/rails/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8a40e137a4638da6a5880e4df0b0c7158f2f1825709aecd016cd77520e892ec3
|
4
|
+
data.tar.gz: 4f0b5ae3c34da482d3df5686adea75001a54278989d7151a99916a490cbc818d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fa1476bf3119f45bedea25796fff4038ed99f56952e6add9d2aa73203548486d8484dcb4383b5e7208e1e19ddc08bf1f159bf38895056c14ca990adee0358f4
|
7
|
+
data.tar.gz: 9a23f99d28b15faeb5dfe073512eb841d6961dae33912c4df9aa68b06507dee68626e72f6b779d928479f44e67f1ebe25f5b2b2b8e5b4670f5c1292fd894b485
|
@@ -18,7 +18,14 @@ namespace :ridgepole do
|
|
18
18
|
private
|
19
19
|
|
20
20
|
def ridgepole(env: Rails.env, dry_run: false)
|
21
|
-
args = ['ridgepole', '-a'
|
21
|
+
args = ['ridgepole', '-a']
|
22
|
+
|
23
|
+
if ENV['DATABASE_URL'].to_s.empty?
|
24
|
+
args << ['-c', 'config/database.yml', '-E', env]
|
25
|
+
else
|
26
|
+
args << ['-c', ENV['DATABASE_URL']]
|
27
|
+
end
|
28
|
+
|
22
29
|
args.push('--dry-run') if dry_run
|
23
30
|
args.push('--debug') if config.debug
|
24
31
|
args.push('--verbose') if config.verbose
|
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.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sho Kusano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -103,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
|
107
|
-
rubygems_version: 2.6.13
|
106
|
+
rubygems_version: 3.0.2
|
108
107
|
signing_key:
|
109
108
|
specification_version: 4
|
110
109
|
summary: Provides integration between ridgepole and rails 5 newer
|