flickwerk 0.1.0 → 0.2.0

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: 8e651efd8959c74f5444b298eee3a2cd6025be555990fab13877af551bfb23c3
4
- data.tar.gz: a204baaa6ca697496c95cb17afa877c1be9c68f2e7bd8160ee68c94ddd41bfb3
3
+ metadata.gz: 4d2a4d44e16f6ffde47572e6eb07314095fb3699141f86042e612a9c6d096203
4
+ data.tar.gz: eb5f26ce60eaf28bef486e7985cfcda0d5f818832a6f74c9a62df288984b4eec
5
5
  SHA512:
6
- metadata.gz: e05aeceb1d30f4763a4f0fe31d064c3eed9251a51da3a8498ec2cdb92d1ebd658017ea39204b7553c2734d8f254b9a9fed19703e9c309b508e2bfc930789e0ba
7
- data.tar.gz: c960be6af80cf1d42b710c20c3815284197b93fad2ec1a688730dd2f058f5386c6d2416f4ba5a4ec45e6203538be2cfbcb8eb2d7defede7ea4c290ec163be5e9
6
+ metadata.gz: 073d1b4b045bd85a5916377d562bcc8399e858dbd8a0961cc31a043a48e9a00f73784c1c733369c970d26cae265bbad94b2d92f165e98426a7a93b9f40522298
7
+ data.tar.gz: 606f5c40e0d1270d2dd3861d2ce3b35918e41973e358c026fc146e10ff5c83b596d8dbaf3d5707af34133491cfc61811a81a89fb9f0276eeb2f30429c41ede24
data/README.md CHANGED
@@ -129,7 +129,7 @@ class MyGem::Engine < Rails::Engine
129
129
  include Flickwerk
130
130
 
131
131
  initializer "my_gem.patch_user_class", before: "flickwerk.add_patches" do
132
- Flickwerk.patch(Spree.class_variable_get(:@@user_class), "MyGem::UserClassPatch"
132
+ Flickwerk.patch(Spree.class_variable_get(:@@user_class), "MyGem::UserClassPatch")
133
133
  end
134
134
  end
135
135
  ```
@@ -10,10 +10,13 @@ class Flickwerk::Railtie < Rails::Railtie
10
10
  end
11
11
  end
12
12
 
13
- initializer "flickwerk.add_patches", after: :setup_main_autoloader do
13
+ initializer "flickwerk.find_patches", after: :setup_main_autoloader do
14
14
  Flickwerk.patch_paths.each do |path|
15
15
  Flickwerk::PatchFinder.new(path).call
16
16
  end
17
+ end
18
+
19
+ initializer "flickwerk.add_patches", after: "flickwerk.find_patches" do
17
20
  Flickwerk::PatchLoader.call
18
21
  end
19
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Flickwerk
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flickwerk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Meyerhoff
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-02 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties