ridgepole 0.5.2.beta3 → 0.5.2.beta4

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: edcf3bd8115ecd4b50bb2012fd3a934d2975996a
4
- data.tar.gz: 89ab03e8aa999e31fc2dd600b51448bc86229c7d
3
+ metadata.gz: e907b4bef3d7a181ac9c118a7b75c225188127b8
4
+ data.tar.gz: c658118bb1bf200595fe5267dc30d56c55e3bf24
5
5
  SHA512:
6
- metadata.gz: dfbea354e1973696e56be6eded21ef34ad866bea323b6394b4f47d767aba63a3bba96b4503f674f12d683308555e8e7003c68d5745b67b1fa6bf4a026287cbe4
7
- data.tar.gz: 912bca18c6cfa3c0d66f2ce2f8045a686f4b0fcf61fef9cc6f75550948a07028cd69aad776f1f7827b204275c0b67b12566ac2559fab95842a05c4f2b6c53833
6
+ metadata.gz: bb3798aed413b710d9a2161dd81c896a299f67fe302d87f8470f508961d453907e3f4424e0a4cdbd2039f482754ebeaaa22badf304513b84761f15f05a97d432
7
+ data.tar.gz: 4d1e8c3717861db095e2dec9d925d17039a5df09a0a053252ab716c84c2595786d269f92c4aa5170aadcf4219fdf35c2f8b41b54a48e48c380e0781817889e22
data/README.md CHANGED
@@ -26,6 +26,7 @@ It defines DB schema using [Rails DSL](http://guides.rubyonrails.org/migrations.
26
26
  * `>= 0.5.2`
27
27
  * Add `--enable-mysql-awesome` option ([activerecord-mysql-awesome](https://github.com/kamipo/activerecord-mysql-awesome) is required)
28
28
  * It is not possible to enable both `--enable-migration-comments` and `--enable-mysql-awesome`
29
+ * Fix foreigner version `<= 1.7.1`
29
30
 
30
31
  ## Installation
31
32
 
@@ -121,7 +121,7 @@ class Ridgepole::DSLParser
121
121
  end
122
122
 
123
123
  def require(file)
124
- schemafile = File.join(@__working_dir, file)
124
+ schemafile = (file =~ %r|\A/|) ? file : File.join(@__working_dir, file)
125
125
 
126
126
  if File.exist?(schemafile)
127
127
  instance_eval(File.read(schemafile), schemafile)
@@ -1,3 +1,3 @@
1
1
  module Ridgepole
2
- VERSION = '0.5.2.beta3'
2
+ VERSION = '0.5.2.beta4'
3
3
  end
data/ridgepole.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency 'mysql2'
26
26
  spec.add_development_dependency 'coveralls'
27
27
  spec.add_development_dependency 'activerecord-mysql-unsigned', '~> 0.3.1'
28
- spec.add_development_dependency 'foreigner'
28
+ spec.add_development_dependency 'foreigner', '<= 1.7.1'
29
29
  spec.add_development_dependency 'activerecord-mysql-pkdump', '>= 0.1.0'
30
30
  spec.add_development_dependency 'migration_comments'
31
31
  spec.add_development_dependency 'activerecord-mysql-awesome'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridgepole
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2.beta3
4
+ version: 0.5.2.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
@@ -112,16 +112,16 @@ dependencies:
112
112
  name: foreigner
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - <=
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 1.7.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - <=
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: 1.7.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: activerecord-mysql-pkdump
127
127
  requirement: !ruby/object:Gem::Requirement