ridgepole 0.7.5.beta2 → 0.7.5.beta3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a293b069750362ad1735906f29acb1356c172c52b5faa203f32e0ed3872f8e7c
4
- data.tar.gz: 130c175ab57c6583de05a9284df25d9b2733dbf70acf30b891c576d6ad97cd3c
3
+ metadata.gz: 70a11069689c5d7b153352216a17255deb476d36d173f2692e4d96e935a27ece
4
+ data.tar.gz: 73905ac8bebbcaa305c3120be4ff2e23bfdbffe388e4d53548fd1a1fc129b8c6
5
5
  SHA512:
6
- metadata.gz: 3c00a86e1c838fe557769e3e4ed39cfd44dde72f801965d1016e0f6559034f3f9b9ce1ba87836ea8672097e3e2a0812f91f3284e29e49aab29722a6edeaf06ce
7
- data.tar.gz: 7dac04f0b547c86d7ea9f55cb9e977ea248a25beb6fe8a77321ae432a01874dd2f96fe0b14d13ea8791a02cbe0370616b19f22f989c8b366c4b5e182072f6839
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
- [![Gem Version](https://badge.fury.io/rb/ridgepole.svg)](http://badge.fury.io/rb/ridgepole)<!--
9
- [![Unstable Version](https://img.shields.io/badge/unstable-0.7.3.beta3-green.svg?longCache=true&style=flat)](https://rubygems.org/gems/ridgepole/versions/0.7.3.beta3) -->
8
+ [![Gem Version](https://badge.fury.io/rb/ridgepole.svg)](http://badge.fury.io/rb/ridgepole)
9
+ [![Unstable Version](https://img.shields.io/badge/unstable-0.7.5.beta2-green.svg?longCache=true&style=flat)](https://rubygems.org/gems/ridgepole/versions/0.7.5.beta2)
10
10
  [![Build Status](https://travis-ci.org/winebarrel/ridgepole.svg?branch=0.7)](https://travis-ci.org/winebarrel/ridgepole)
11
11
  [![Coverage Status](https://coveralls.io/repos/github/winebarrel/ridgepole/badge.svg?branch=0.7)](https://coveralls.io/github/winebarrel/ridgepole?branch=0.7)
12
12
 
13
- **ChangeLog**
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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Ridgepole
2
- VERSION = '0.7.5.beta2'.freeze
2
+ VERSION = '0.7.5.beta3'.freeze
3
3
  end
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.beta2
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-25 00:00:00.000000000 Z
11
+ date: 2018-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord