mlins-godwit 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/lib/godwit/base.rb +4 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/godwit/base.rb
CHANGED
@@ -29,10 +29,13 @@ module Godwit
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def run_all #:nodoc:
|
32
|
+
Godwit::Config[:skip_migrations].each do |mig|
|
33
|
+
mig.camelize.constantize.is_completed
|
34
|
+
end
|
32
35
|
Dir.foreach(File.join(Godwit::Config[:godwit_root], 'app', 'migrations')) do |file|
|
33
36
|
next unless file.ends_with?('migration.rb')
|
34
37
|
migration = file[0..-4].camelize.constantize
|
35
|
-
unless migration.completed?
|
38
|
+
unless migration.completed?
|
36
39
|
migration.new.run(Godwit::Config[:skip_dependencies])
|
37
40
|
migration.is_completed
|
38
41
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mlins-godwit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Lins
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-12-30 00:00:00 -08:00
|
13
13
|
default_executable: godwit
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|