ridgepole 0.5.2.beta5 → 0.5.2.beta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/bin/ridgepole +1 -0
- data/lib/ridgepole/client.rb +4 -1
- data/lib/ridgepole/version.rb +1 -1
- data/spec/cli/ridgepole_spec.rb +1 -0
- data/spec/dump/dump_class_method_spec.rb +1 -0
- data/spec/spec_helper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6effc48c80936a6854d0c6e383f2c0d66ca6a695
|
4
|
+
data.tar.gz: 5473eb57a4973ea22aa65f8e816cf9d042084a6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57e97384a442abdf8d8483564f2b7523873310bd76e83e76baf437f1d26df68a14b5adade178d21c5d870fa72126c45717f9978d6711b6bc7e189fc4bed4bc43
|
7
|
+
data.tar.gz: d0f016d533e2a9a7531150841f444c16a88c531dd2ae0c90b74902bd0ea998a5e5587046be02508daae9f755706daf15f607bab092428f0af438e0285a7c3fdd
|
data/README.md
CHANGED
data/bin/ridgepole
CHANGED
@@ -96,6 +96,7 @@ ARGV.options do |opt|
|
|
96
96
|
opt.on('', '--enable-foreigner') { options[:enable_foreigner] = true }
|
97
97
|
opt.on('', '--enable-migration-comments') { options[:enable_migration_comments] = true }
|
98
98
|
opt.on('', '--enable-mysql-awesome') { options[:enable_mysql_awesome] = true }
|
99
|
+
opt.on('', '--mysql-awesome-unsigned-pk') { options[:mysql_awesome_unsigned_pk] = true }
|
99
100
|
opt.on('', '--normalize-mysql-float') { options[:normalize_mysql_float] = true }
|
100
101
|
opt.on('', '--dump-without-table-options') { options[:dump_without_table_options] = true }
|
101
102
|
opt.on('-r' , '--require LIBS', Array) {|v| v.each {|i| require i } }
|
data/lib/ridgepole/client.rb
CHANGED
@@ -21,7 +21,10 @@ class Ridgepole::Client
|
|
21
21
|
|
22
22
|
if @options[:enable_mysql_awesome]
|
23
23
|
require 'activerecord/mysql/awesome/base'
|
24
|
-
|
24
|
+
|
25
|
+
if @options[:mysql_awesome_unsigned_pk]
|
26
|
+
require 'ridgepole/ext/mysql_awesome.rb'
|
27
|
+
end
|
25
28
|
end
|
26
29
|
|
27
30
|
if @options[:enable_foreigner]
|
data/lib/ridgepole/version.rb
CHANGED
data/spec/cli/ridgepole_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -56,6 +56,7 @@ def client(options = {}, config = {})
|
|
56
56
|
if mysql_awesome_enabled?
|
57
57
|
default_options[:enable_mysql_awesome] = true
|
58
58
|
default_options[:dump_without_table_options] = true
|
59
|
+
default_options[:mysql_awesome_unsigned_pk] = true
|
59
60
|
else
|
60
61
|
default_options[:enable_mysql_unsigned] = true
|
61
62
|
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.5.2.
|
4
|
+
version: 0.5.2.beta6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|