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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: beda14ff3fe9442864505f6053972ecc5ba7b2de
4
- data.tar.gz: 09e590d3b7096b480e94ceda5b5c85861a607f53
3
+ metadata.gz: 6d7581fe8672d2cf1ef4115bbfc10955a0a2e4c1
4
+ data.tar.gz: 5d05d31605887dfcd26fb82f546b94adc73a8d9e
5
5
  SHA512:
6
- metadata.gz: c9080023d0be47340572c56ebe7675ce00134a9a89f57f427277f0e2bad0041e8ded274df698a0f3aac997b00771e45ed4c74b8b1be95088abf54196088b8d31
7
- data.tar.gz: affd1076d8fc160253196df9c2130f759a1d24c7fbdda9ce1a41975c920771d0e6ade0b414cfcfa289d0d6bdb67ad11107b16eee775cf1f53f5f08fd3fd14ae9
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
- load 'rails/tasks/database.rake'
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:load"])
18
+ task.enhance(["schema_monkey:insert"])
15
19
  end
16
20
  end
17
21
  end
@@ -1,3 +1,3 @@
1
1
  module SchemaMonkey
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_monkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel