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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1715eb2299b54adfbacddd9a752fe8b417a146a7
4
- data.tar.gz: f65fa87636b4f86569ebaef52ff83eca98daa188
3
+ metadata.gz: 184fc31f23a763530f7e09525823088ffe64862d
4
+ data.tar.gz: f518e59e9ddfd309825af2715ef5210a6b3741d4
5
5
  SHA512:
6
- metadata.gz: dac2e2744d7590f485d9e2efc47ac9c463c02064d47669eff44dd051f67dc8bc5a143488eb70aa8a33ff37846fabbfcc88af17998978c514680e55c2759655af
7
- data.tar.gz: 4e50d921cff1dc098664e8f366115d9456d47f200e1a17bf943413efe78f5416ea6883ca6bfbebe3691d24ef5ffc169dbf6dad2959ac01ca45246fd3d274069b
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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Ridgepole
2
- VERSION = '0.6.5.beta13'
2
+ VERSION = '0.6.5.beta14'
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.6.5.beta13
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-19 00:00:00.000000000 Z
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.6.6
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.