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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6ad4e042b43cac1765ea61b494fc1ec86ebe4fcfb68c888be4e2a7fdded4985
4
- data.tar.gz: 86b3ffe9dab1b85dc2ca73dac4417d3a8b71d25aadda551927e32d4389784a64
3
+ metadata.gz: 2aee3b69a94b76dc761316d2e253ffff6088ada2a7eb497ecf4961a30282c590
4
+ data.tar.gz: 0c8ae9f7a7a0c68de7a8c4ffa01f74139e4dca5dc965d547188eccb26e00dd2d
5
5
  SHA512:
6
- metadata.gz: ce904311b5114eef4e8c7b4d2569a49c46ca17e184a570ae3829eda0a7f508b850fba966307d8de583eecb253e683a3280aee9ebfe793b90ee67d9d58085199e
7
- data.tar.gz: 2c8d9566b52771b4494bc01736f5db1e677d68a5ff36798534d18440ee0e9245c5bd8380ac6b8dcb73916523382b7de4c66e7e7e311384e235308b808d5a0073
6
+ metadata.gz: 7537a040568057b45520ab42e17a6e78634c4b01328d1c62ed9a70a1850eee8ba5dc7944c7a82614b6d9a985be855f584f37196dbd49a17dba89ca611c259b0a
7
+ data.tar.gz: 609d062a4e36d0734a488d7c7e57112d20fc1739643889a8c80af5dbe4183e94c0a2b68aac3d2d5c81bb1e954181467341eb75f2580418fb0ae55c689696fec8
@@ -1,3 +1,10 @@
1
+ # Master
2
+
3
+ # 0.1.2 (26-8-2020)
4
+
5
+ - Add build badge to readme
6
+ - Remove Zeitwerk
7
+
1
8
  # 0.1.1 (23-8-2020)
2
9
 
3
10
  - Rename gem to `laters`
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
@@ -1,14 +1,9 @@
1
1
  require 'laters/version'
2
2
  require 'active_model'
3
3
  require 'active_job'
4
- require 'zeitwerk'
5
- loader = Zeitwerk::Loader.for_gem
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
@@ -1,3 +1,3 @@
1
1
  module Laters
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
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.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-23 00:00:00.000000000 Z
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: