dropkiq 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/lib/dropkiq.rb +4 -0
- data/lib/dropkiq/version.rb +1 -1
- data/lib/tasks/dropkiq_models_migrate.rake +12 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 950efeb574c42b0103eeaaf86a980c88cbbe661f8e62b5065a0458ef3c2c0290
|
4
|
+
data.tar.gz: 93c8cb4258ba14394c959a77d9e6119e62a7ceba5742d386610002aa6d6d2860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fdd64185ddcb76f686852af1c4a1333b5304a7e0eef42f0d3a663f7f5e6eada14f2640f8b6095af6701fa9ac9c0ea30923b31caaaa067bc54dd319b3373862a
|
7
|
+
data.tar.gz: 8e786e90553a1ce32cc24b74b52fcd7a2c420b1ac951f1d3273f052a562ae36d72d602dfa06f7c411d5eb7709cd29bbafb5cf3e49eb9c4321b17524b405cd2b1
|
data/Gemfile.lock
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dropkiq (0.1.
|
4
|
+
dropkiq (0.1.13)
|
5
5
|
activerecord (>= 4.2)
|
6
6
|
liquid (~> 4.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (6.0.3.
|
12
|
-
activesupport (= 6.0.3.
|
13
|
-
activerecord (6.0.3.
|
14
|
-
activemodel (= 6.0.3.
|
15
|
-
activesupport (= 6.0.3.
|
16
|
-
activesupport (6.0.3.
|
11
|
+
activemodel (6.0.3.4)
|
12
|
+
activesupport (= 6.0.3.4)
|
13
|
+
activerecord (6.0.3.4)
|
14
|
+
activemodel (= 6.0.3.4)
|
15
|
+
activesupport (= 6.0.3.4)
|
16
|
+
activesupport (6.0.3.4)
|
17
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
18
|
i18n (>= 0.7, < 2)
|
19
19
|
minitest (~> 5.1)
|
20
20
|
tzinfo (~> 1.1)
|
21
21
|
zeitwerk (~> 2.2, >= 2.2.2)
|
22
22
|
coderay (1.1.2)
|
23
|
-
concurrent-ruby (1.1.
|
24
|
-
i18n (1.8.
|
23
|
+
concurrent-ruby (1.1.7)
|
24
|
+
i18n (1.8.5)
|
25
25
|
concurrent-ruby (~> 1.0)
|
26
26
|
liquid (4.0.3)
|
27
27
|
method_source (0.9.2)
|
@@ -35,9 +35,9 @@ GEM
|
|
35
35
|
rake (13.0.1)
|
36
36
|
sqlite3 (1.3.13)
|
37
37
|
thread_safe (0.3.6)
|
38
|
-
tzinfo (1.2.
|
38
|
+
tzinfo (1.2.8)
|
39
39
|
thread_safe (~> 0.1)
|
40
|
-
zeitwerk (2.
|
40
|
+
zeitwerk (2.4.2)
|
41
41
|
|
42
42
|
PLATFORMS
|
43
43
|
ruby
|
@@ -53,4 +53,4 @@ DEPENDENCIES
|
|
53
53
|
sqlite3 (~> 1.3.13)
|
54
54
|
|
55
55
|
BUNDLED WITH
|
56
|
-
2.
|
56
|
+
2.1.4
|
data/lib/dropkiq.rb
CHANGED
@@ -10,6 +10,10 @@ require "dropkiq/drop_method_name_classifier"
|
|
10
10
|
require "dropkiq/drop_method_instance_simulator"
|
11
11
|
require 'dropkiq/railtie' if defined?(Rails)
|
12
12
|
|
13
|
+
Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each do |rake|
|
14
|
+
load rake
|
15
|
+
end
|
16
|
+
|
13
17
|
module Dropkiq
|
14
18
|
class Error < StandardError; end
|
15
19
|
end
|
data/lib/dropkiq/version.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
# https://coderwall.com/p/qhdhgw/adding-a-post-execution-hook-to-the-rails-db-migrate-task
|
2
|
+
|
3
|
+
namespace :db do
|
4
|
+
def run_dropkiq_schema
|
5
|
+
puts "\nRunning `bundle exec rake dropkiq:schema` ...\n\n"
|
6
|
+
Rake::Task['dropkiq:schema'].invoke
|
7
|
+
end
|
8
|
+
|
9
|
+
task :migrate do
|
10
|
+
run_dropkiq_schema
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropkiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Darrah
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11
|
11
|
+
date: 2020-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -165,6 +165,7 @@ files:
|
|
165
165
|
- lib/dropkiq/railtie.rb
|
166
166
|
- lib/dropkiq/tasks/dropkiq/schema.rake
|
167
167
|
- lib/dropkiq/version.rb
|
168
|
+
- lib/tasks/dropkiq_models_migrate.rake
|
168
169
|
homepage: https://github.com/akdarrah/dropkiq-gem
|
169
170
|
licenses:
|
170
171
|
- MIT
|