schema_monkey 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/schema_monkey/railtie.rb +6 -2
- data/lib/schema_monkey/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d7581fe8672d2cf1ef4115bbfc10955a0a2e4c1
|
4
|
+
data.tar.gz: 5d05d31605887dfcd26fb82f546b94adc73a8d9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 210fc83e5898dec122f9a20441e04a4386eaf5fd68dca7b0ff20d3c69641bee79363f945dd6bc247101468bc71a3be0df5dfcb6da89a4045383e2ab093014b6a
|
7
|
+
data.tar.gz: f3ca1407f7c2f19cc329eb382ccab6279e5403b1016855f323cb8007a55058b73aa584957d23e8245c0196be4f49d22ebf39456effbc207c708b498d01ade76a
|
@@ -8,10 +8,14 @@ module SchemaMonkey
|
|
8
8
|
end
|
9
9
|
|
10
10
|
rake_tasks do
|
11
|
-
|
11
|
+
namespace :schema_monkey do
|
12
|
+
task :insert do
|
13
|
+
SchemaMonkey.insert
|
14
|
+
end
|
15
|
+
end
|
12
16
|
['db:schema:dump', 'db:schema:load'].each do |name|
|
13
17
|
if task = Rake.application.tasks.find { |task| task.name == name }
|
14
|
-
task.enhance(["schema_monkey:
|
18
|
+
task.enhance(["schema_monkey:insert"])
|
15
19
|
end
|
16
20
|
end
|
17
21
|
end
|