dropkiq 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/dropkiq/constants.rb +1 -0
- data/lib/dropkiq/tasks/dropkiq/schema.rake +7 -0
- data/lib/dropkiq/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: be84b711124a4c51aabab2984269e283852ddc43
|
4
|
+
data.tar.gz: 1582ca81c8be4630c349dafd4bc862ad2c9aae1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 981fe8cba4596c78d2978c3243ed4563f1c18b4d60fff99fc10bc427739434ad73fc62fb18ef2291883e0ba2449e6d6a5aa500988b885f343df6bbeba2a4bff0
|
7
|
+
data.tar.gz: 8e54d25b2efa5964f1d13338c9c707a70f17ac1837bcb4de5d663ff5cc6ea29107ae0aec5636157d8ea47fdb0e7b9480e07ec68f11b83e7b3b4abcb6b831751b
|
data/Gemfile.lock
CHANGED
data/lib/dropkiq/constants.rb
CHANGED
@@ -2,7 +2,14 @@ namespace :dropkiq do
|
|
2
2
|
desc "Generate the fixture schema based on Liquid::Drop classes"
|
3
3
|
task :schema do
|
4
4
|
require "#{Rails.root}/config/environment.rb"
|
5
|
+
|
5
6
|
Dir.glob("#{Rails.root}#{Dropkiq::DEFAULT_DROP_PATH}/**/*.rb").each { |f| load f }
|
7
|
+
Dir.glob("#{Rails.root}#{Dropkiq::DEFAULT_MODEL_PATH}/**/*.rb").each { |f|
|
8
|
+
begin
|
9
|
+
load f
|
10
|
+
rescue
|
11
|
+
end
|
12
|
+
}
|
6
13
|
|
7
14
|
existing_schema_yaml = begin
|
8
15
|
File.read("#{Rails.root}/db/dropkiq_schema.yaml")
|
data/lib/dropkiq/version.rb
CHANGED