ridgepole 0.6.5.beta13 → 0.6.5.beta14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/ridgepole/client.rb +1 -1
- data/lib/ridgepole/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 184fc31f23a763530f7e09525823088ffe64862d
|
4
|
+
data.tar.gz: f518e59e9ddfd309825af2715ef5210a6b3741d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8e70c39e3c216266d9be688c91e2514f4fe634e86cac7072cc8774ef5d38567d95b57336e2068d782ec7ab8ec85280ddd6c9a485277197d227119045a8de6c0
|
7
|
+
data.tar.gz: a266ae1c90b63f139760b9ac34b3e5e741114d330afaeed42c1432b3b815b48f033537eb80f2bc455fe641c33aa9012b1a49898306eeca6071231e8bb774f351
|
data/README.md
CHANGED
@@ -205,6 +205,10 @@ add_index "child", ["parent_id"], name: "par_ind", using: :btree
|
|
205
205
|
add_foreign_key "child", "parent", name: "child_ibfk_1"
|
206
206
|
```
|
207
207
|
|
208
|
+
**Notice:** It is recommended to give a name to the index explicitly.
|
209
|
+
|
210
|
+
Please pass `--dump-with-default-fk-name` option if you want to use the nameless index.
|
211
|
+
|
208
212
|
## Collation/Charset
|
209
213
|
You can use the column collation by passing `--enable-mysql-awesome` ([activerecord-mysql-awesome](https://github.com/kamipo/activerecord-mysql-awesome) is required)
|
210
214
|
|
data/lib/ridgepole/client.rb
CHANGED
@@ -43,7 +43,7 @@ class Ridgepole::Client
|
|
43
43
|
logger.verbose_info('# Parse DSL')
|
44
44
|
expected_definition, expected_execute = @parser.parse(dsl, opts)
|
45
45
|
logger.verbose_info('# Load tables')
|
46
|
-
current_definition, current_execute = @parser.parse(@dumper.dump)
|
46
|
+
current_definition, current_execute = @parser.parse(@dumper.dump, opts)
|
47
47
|
logger.verbose_info('# Compare definitions')
|
48
48
|
@diff.diff(current_definition, expected_definition, :execute => expected_execute)
|
49
49
|
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.6.5.
|
4
|
+
version: 0.6.5.beta14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -365,7 +365,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
365
365
|
version: 1.3.1
|
366
366
|
requirements: []
|
367
367
|
rubyforge_project:
|
368
|
-
rubygems_version: 2.
|
368
|
+
rubygems_version: 2.5.1
|
369
369
|
signing_key:
|
370
370
|
specification_version: 4
|
371
371
|
summary: Ridgepole is a tool to manage DB schema.
|