ridgepole 0.5.2.beta2 → 0.5.2.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
  SHA1:
3
- metadata.gz: 7736b373af1f2d21a0daac512947613e8b0f177a
4
- data.tar.gz: f19ee4c3d025fef7fc6937d7d3f83e7da768a196
3
+ metadata.gz: edcf3bd8115ecd4b50bb2012fd3a934d2975996a
4
+ data.tar.gz: 89ab03e8aa999e31fc2dd600b51448bc86229c7d
5
5
  SHA512:
6
- metadata.gz: d8177bba6eaad6aef5bf8dc07384285310ce7672a1f4028722a25fdfe7b26a1435a601debd1a519d98cdaa49f0376eab8f3850e196fcfaed7b510504e2977585
7
- data.tar.gz: c8fd2a7892296d7bcb072e1d20fdb047f07a29638d8c74ead934409c77134ba8d6bc254c088920abf4a6249f7a08f3721f42df9f2362e469218e60fdbe404cf1
6
+ metadata.gz: dfbea354e1973696e56be6eded21ef34ad866bea323b6394b4f47d767aba63a3bba96b4503f674f12d683308555e8e7003c68d5745b67b1fa6bf4a026287cbe4
7
+ data.tar.gz: 912bca18c6cfa3c0d66f2ce2f8045a686f4b0fcf61fef9cc6f75550948a07028cd69aad776f1f7827b204275c0b67b12566ac2559fab95842a05c4f2b6c53833
data/README.md CHANGED
@@ -280,3 +280,6 @@ remove_column("articles", "author")
280
280
  * https://github.com/winebarrel/ridgepole-example
281
281
  * https://github.com/winebarrel/ridgepole-example/pull/1
282
282
  * https://github.com/winebarrel/ridgepole-example/pull/2
283
+
284
+ ## Similar tools
285
+ * [Codenize.tools](http://codenize.tools/)
data/bin/ridgepole CHANGED
@@ -114,6 +114,14 @@ ARGV.options do |opt|
114
114
  puts opt.help
115
115
  exit 1
116
116
  end
117
+
118
+ if options[:enable_mysql_awesome]
119
+ if options[:enable_migration_comments]
120
+ raise "It is not possible to enable both `--enable-mysql-awesome` and `--enable-migration-comments`"
121
+ elsif options[:enable_mysql_unsigned]
122
+ raise "It is not possible to enable both `--enable-mysql-awesome` and `--enable-mysql-unsigned`"
123
+ end
124
+ end
117
125
  rescue => e
118
126
  $stderr.puts("[ERROR] #{e.message}")
119
127
  exit 1
@@ -121,10 +129,6 @@ ARGV.options do |opt|
121
129
  end
122
130
 
123
131
  begin
124
- if options[:enable_migration_comments] and options[:enable_mysql_awesome]
125
- raise "It is not possible to enable both `--enable-migration-comments` and `--enable-mysql-awesome`"
126
- end
127
-
128
132
  logger = Ridgepole::Logger.instance
129
133
  logger.set_debug(options[:debug])
130
134
 
@@ -1,3 +1,3 @@
1
1
  module Ridgepole
2
- VERSION = '0.5.2.beta2'
2
+ VERSION = '0.5.2.beta3'
3
3
  end
data/ridgepole.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['sugawara@cookpad.com']
11
11
  spec.summary = %q{Ridgepole is a tool to manage DB schema.}
12
12
  spec.description = %q{Ridgepole is a tool to manage DB schema. It defines DB schema using Rails DSL, and updates DB schema according to DSL.}
13
- spec.homepage = 'https://github.com/winebarrel/ridgepole'
13
+ spec.homepage = 'http://ridgepole.codenize.tools/'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
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.beta2
4
+ version: 0.5.2.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: 2015-01-10 00:00:00.000000000 Z
11
+ date: 2015-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -253,7 +253,7 @@ files:
253
253
  - spec/spec_helper.rb
254
254
  - spec/string_ext.rb
255
255
  - spec/~pkdump/pkdump_spec.rb
256
- homepage: https://github.com/winebarrel/ridgepole
256
+ homepage: http://ridgepole.codenize.tools/
257
257
  licenses:
258
258
  - MIT
259
259
  metadata: {}