ridgepole 0.7.5.beta2 → 0.7.5.beta3
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.md +5 -3
- data/lib/ridgepole/cli/config.rb +3 -3
- data/lib/ridgepole/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70a11069689c5d7b153352216a17255deb476d36d173f2692e4d96e935a27ece
|
|
4
|
+
data.tar.gz: 73905ac8bebbcaa305c3120be4ff2e23bfdbffe388e4d53548fd1a1fc129b8c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cfd43dbb6d37abdab5670210ba173f20a8e5d43d9fc06d13312ef069061e8d0a180e12ea9da63e690fbafe372217dd6d5e6c00bb191b99badf456af6ce941054
|
|
7
|
+
data.tar.gz: 9b2af133a0d23a3bb556eac26f06019a8e8544b77f4736300df4261475f274bd2c41c8cf98b6abf939e8d59d3719e48a8d031c7e46cc125933d19eed7a1846de
|
data/README.md
CHANGED
|
@@ -5,12 +5,12 @@ Ridgepole is a tool to manage DB schema.
|
|
|
5
5
|
It defines DB schema using [Rails DSL](http://guides.rubyonrails.org/migrations.html#types-of-schema-dumps), and updates DB schema according to DSL.
|
|
6
6
|
(like Chef/Puppet)
|
|
7
7
|
|
|
8
|
-
[](http://badge.fury.io/rb/ridgepole)
|
|
9
|
-
[](http://badge.fury.io/rb/ridgepole)
|
|
9
|
+
[](https://rubygems.org/gems/ridgepole/versions/0.7.5.beta2)
|
|
10
10
|
[](https://travis-ci.org/winebarrel/ridgepole)
|
|
11
11
|
[](https://coveralls.io/github/winebarrel/ridgepole?branch=0.7)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<details><summary>ChangeLog</summary>
|
|
14
14
|
|
|
15
15
|
* `>= 0.4.8`
|
|
16
16
|
* `activerecord-mysql-unsigned` is now optional. Please pass `--enable-mysql-unsigned` after you install [activerecord-mysql-unsigned](https://github.com/waka/activerecord-mysql-unsigned) if you want to use.
|
|
@@ -92,6 +92,8 @@ It defines DB schema using [Rails DSL](http://guides.rubyonrails.org/migrations.
|
|
|
92
92
|
* `>= 0.7.5`
|
|
93
93
|
* Fix polymorphic options ([pull#263](https://github.com/winebarrel/ridgepole/pull/263))
|
|
94
94
|
* Fix `--mysql-use-alter` option ([pull#246](https://github.com/winebarrel/ridgepole/pull/264))
|
|
95
|
+
* Fix Database URI parsing ([pull#265](https://github.com/winebarrel/ridgepole/pull/265))
|
|
96
|
+
</details>
|
|
95
97
|
|
|
96
98
|
## Installation
|
|
97
99
|
|
data/lib/ridgepole/cli/config.rb
CHANGED
|
@@ -55,11 +55,11 @@ module Ridgepole
|
|
|
55
55
|
|
|
56
56
|
{
|
|
57
57
|
'adapter' => uri.scheme,
|
|
58
|
-
'username' => uri.user,
|
|
59
|
-
'password' => uri.password,
|
|
58
|
+
'username' => CGI.unescape(uri.user),
|
|
59
|
+
'password' => CGI.unescape(uri.password),
|
|
60
60
|
'host' => uri.host,
|
|
61
61
|
'port' => uri.port,
|
|
62
|
-
'database' => uri.path.sub(%r{\A/}, ''),
|
|
62
|
+
'database' => CGI.unescape(uri.path.sub(%r{\A/}, '')),
|
|
63
63
|
}
|
|
64
64
|
end
|
|
65
65
|
end
|
data/lib/ridgepole/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ridgepole
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.5.
|
|
4
|
+
version: 0.7.5.beta3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Genki Sugawara
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-11-
|
|
11
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|