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 +4 -4
- data/README.md +1 -0
- data/lib/ridgepole/dsl_parser.rb +1 -1
- data/lib/ridgepole/version.rb +1 -1
- data/ridgepole.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e907b4bef3d7a181ac9c118a7b75c225188127b8
|
4
|
+
data.tar.gz: c658118bb1bf200595fe5267dc30d56c55e3bf24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/ridgepole/dsl_parser.rb
CHANGED
@@ -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)
|
data/lib/ridgepole/version.rb
CHANGED
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.
|
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:
|
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:
|
124
|
+
version: 1.7.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: activerecord-mysql-pkdump
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|