laters 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +3 -0
- data/lib/laters.rb +2 -7
- data/{app/models/concerns → lib}/laters/concern.rb +0 -0
- data/{app/jobs → lib}/laters/instance_method_job.rb +0 -0
- data/lib/laters/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2aee3b69a94b76dc761316d2e253ffff6088ada2a7eb497ecf4961a30282c590
|
4
|
+
data.tar.gz: 0c8ae9f7a7a0c68de7a8c4ffa01f74139e4dca5dc965d547188eccb26e00dd2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7537a040568057b45520ab42e17a6e78634c4b01328d1c62ed9a70a1850eee8ba5dc7944c7a82614b6d9a985be855f584f37196dbd49a17dba89ca611c259b0a
|
7
|
+
data.tar.gz: 609d062a4e36d0734a488d7c7e57112d20fc1739643889a8c80af5dbe4183e94c0a2b68aac3d2d5c81bb1e954181467341eb75f2580418fb0ae55c689696fec8
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
Run any instance_method of ActiveRecord models via a job by adding `_later` to it. Laters 👋, means See you later in
|
4
4
|
Dutch 🇳🇱
|
5
5
|
|
6
|
+
[![Actions Status](https://github.com/kieranklaassen/laters/workflows/build/badge.svg)](https://github.com/kieranklaassen/laters/actions)
|
7
|
+
[![Gem Version](https://badge.fury.io/rb/laters.svg)](https://badge.fury.io/rb/laters)
|
8
|
+
|
6
9
|
## Installation
|
7
10
|
|
8
11
|
Add to your Gemfile
|
data/lib/laters.rb
CHANGED
@@ -1,14 +1,9 @@
|
|
1
1
|
require 'laters/version'
|
2
2
|
require 'active_model'
|
3
3
|
require 'active_job'
|
4
|
-
require '
|
5
|
-
|
6
|
-
loader.push_dir('app/models/concerns')
|
7
|
-
loader.push_dir('app/jobs')
|
8
|
-
loader.setup
|
4
|
+
require 'laters/concern'
|
5
|
+
require 'laters/instance_method_job'
|
9
6
|
|
10
7
|
module Laters
|
11
8
|
class Error < StandardError; end
|
12
9
|
end
|
13
|
-
|
14
|
-
loader.eager_load
|
File without changes
|
File without changes
|
data/lib/laters/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: laters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kieran Klaassen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-08-
|
12
|
+
date: 2020-08-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -25,20 +25,6 @@ dependencies:
|
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '4.2'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: zeitwerk
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
42
28
|
description: Deferrable empowers a class to run every single defined method wrapped
|
43
29
|
in an ActiveJob of any class that includes it
|
44
30
|
email:
|
@@ -52,9 +38,9 @@ files:
|
|
52
38
|
- LICENSE.txt
|
53
39
|
- README.md
|
54
40
|
- Rakefile
|
55
|
-
- app/jobs/laters/instance_method_job.rb
|
56
|
-
- app/models/concerns/laters/concern.rb
|
57
41
|
- lib/laters.rb
|
42
|
+
- lib/laters/concern.rb
|
43
|
+
- lib/laters/instance_method_job.rb
|
58
44
|
- lib/laters/version.rb
|
59
45
|
homepage: https://github.com/kieranklaassen/laters
|
60
46
|
licenses:
|