solidus_support 0.5.0 → 0.5.1

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: e720d17f4c4d0b8dfb852da8ea260bbaa7c069b83b07e102b96633bb65ed9e18
4
- data.tar.gz: 66726d7f7d4ef6acecb63024eb7ac54888efaddb597f997c9cbda545642a4101
3
+ metadata.gz: d0418d7c8da75d25d26361a1df289e43da888b5467ca4117db150f4d48bbcc2f
4
+ data.tar.gz: c7bd4f7e00c64f65e3406419ca109a4ba07f29b0f024421f2cf3326f7968c844
5
5
  SHA512:
6
- metadata.gz: 1b3061f16c942f99c9f6689f03e89875a1e88ff2c0761a5ad10020b7f9c80c2971a70590eeb0eca458929e86c3617ef56e2ade8a0f5f8a01e60e8c285704faa6
7
- data.tar.gz: f22c1b1daa5f11853f1d2625750927349d3e8a2b36ed4eba3a4aea62276be3e9375b4ab19d1b8132644893038a2dc04ac065342dbb28e1146b974870c3ffeb1c
6
+ metadata.gz: d94c4a8544749e76b9e32c7b07df94b2c7e94f9ed7fd08297af4f76c0cea669b0428dc31907ee6b1ebd535c365c181404bf417f835628f3c68503403b296eb41
7
+ data.tar.gz: 5a66ef8363f605ca39417ff732a1b5ae5a7dc2350bc908ebf717a8e55ec543f9524c50dacaaa923cd6afb74ee044eafef5da2431dee3caa34be3b694eb2f2836
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.5.0](https://github.com/solidusio/solidus_support/tree/v0.5.0) (2020-02-18)
4
+
5
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.4.1...v0.5.0)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Load Solidus engine extension files automatically [\#42](https://github.com/solidusio/solidus_support/pull/42) ([aldesantis](https://github.com/aldesantis))
10
+ - Deprecate SolidusSupport.solidus\_gem\_version [\#37](https://github.com/solidusio/solidus_support/pull/37) ([kennyadsl](https://github.com/kennyadsl))
11
+
3
12
  ## [v0.4.1](https://github.com/solidusio/solidus_support/tree/v0.4.1) (2020-01-16)
4
13
 
5
14
  [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.4.0...v0.4.1)
@@ -33,6 +42,7 @@
33
42
  - Remove support for testing and extensions [\#28](https://github.com/solidusio/solidus_support/pull/28) ([MinasMazar](https://github.com/MinasMazar))
34
43
  - Add SolidusSupport::EngineExtension::Decorators to load decorators [\#27](https://github.com/solidusio/solidus_support/pull/27) ([kennyadsl](https://github.com/kennyadsl))
35
44
  - Add support for Codecov [\#24](https://github.com/solidusio/solidus_support/pull/24) ([aldesantis](https://github.com/aldesantis))
45
+ - Add `capybara-screenshot` dependency [\#23](https://github.com/solidusio/solidus_support/pull/23) ([spaghetticode](https://github.com/spaghetticode))
36
46
 
37
47
  ## [v0.3.2](https://github.com/solidusio/solidus_support/tree/v0.3.2) (2019-08-08)
38
48
 
@@ -40,7 +50,6 @@
40
50
 
41
51
  **Merged pull requests:**
42
52
 
43
- - Add `capybara-screenshot` dependency [\#23](https://github.com/solidusio/solidus_support/pull/23) ([spaghetticode](https://github.com/spaghetticode))
44
53
  - Do not reset spree preferences starting from v2.9 [\#22](https://github.com/solidusio/solidus_support/pull/22) ([kennyadsl](https://github.com/kennyadsl))
45
54
  - Update Travis config [\#19](https://github.com/solidusio/solidus_support/pull/19) ([aitbw](https://github.com/aitbw))
46
55
  - Override Capybara JS driver via `CAPYBARA\_DRIVER` ENV variable [\#18](https://github.com/solidusio/solidus_support/pull/18) ([spaghetticode](https://github.com/spaghetticode))
@@ -9,6 +9,10 @@ module SolidusSupport
9
9
  engine.extend ClassMethods
10
10
 
11
11
  engine.class_eval do
12
+ solidus_decorators_root.glob('*') do |decorators_folder|
13
+ config.autoload_paths += [decorators_folder]
14
+ end
15
+
12
16
  config.to_prepare(&method(:activate))
13
17
 
14
18
  enable_solidus_engine_support('backend') if SolidusSupport.backend_available?
@@ -19,14 +23,6 @@ module SolidusSupport
19
23
 
20
24
  module ClassMethods
21
25
  def activate
22
- if Rails.respond_to?(:autoloaders) && Rails.autoloaders.main
23
- # Add decorators folder to the Rails autoloader. This tells Zeitwerk to treat paths
24
- # such as app/decorators/controllers as roots.
25
- solidus_decorators_root.glob('*') do |decorators_folder|
26
- Rails.autoloaders.main.push_dir(decorators_folder)
27
- end
28
- end
29
-
30
26
  load_solidus_decorators_from(solidus_decorators_root)
31
27
  end
32
28
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusSupport
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Hawthorn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-18 00:00:00.000000000 Z
11
+ date: 2020-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport