solidus_support 0.10.1 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/solidus_support/engine_extensions.rb +4 -1
- data/lib/solidus_support/version.rb +1 -1
- data/lib/solidus_support.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3b8268a446799d2154688de5602aef63f7b5c2317c8584f4cf8f38cf30d3ce8
|
4
|
+
data.tar.gz: da32754eaa89c23b6938d6d1885f17b7d9718f58b32ffdcb10037a6aeb1dd3c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58003ca1bf85e2a62b50bafcb6352b726aaa2ec1bbba022b309796311440ee73d286d1e03ba6016a4d320f825aac8d38788fe07e7bbf51fe0f11d027c6f71251
|
7
|
+
data.tar.gz: 64e5be70aeb42c9173c6447cb5cd10d8c0aa155fb015c0b75c6c6236b790746046b66d91e898c2e8956c9b86ed395a18e5ebeca54fab56d4f21f19aaf3551375
|
data/Gemfile
CHANGED
@@ -18,6 +18,7 @@ module SolidusSupport
|
|
18
18
|
enable_solidus_engine_support('backend')
|
19
19
|
enable_solidus_engine_support('frontend')
|
20
20
|
enable_solidus_engine_support('api')
|
21
|
+
enable_solidus_engine_support('admin')
|
21
22
|
end
|
22
23
|
end
|
23
24
|
|
@@ -52,7 +53,7 @@ module SolidusSupport
|
|
52
53
|
# existing classes.
|
53
54
|
def load_solidus_decorators_from(path)
|
54
55
|
path.glob('**/*.rb') do |decorator_path|
|
55
|
-
|
56
|
+
load(decorator_path)
|
56
57
|
end
|
57
58
|
end
|
58
59
|
|
@@ -109,8 +110,10 @@ module SolidusSupport
|
|
109
110
|
if SolidusSupport.send(:"#{engine}_available?")
|
110
111
|
decorators_path = root.join("lib/decorators/#{engine}")
|
111
112
|
controllers_path = root.join("lib/controllers/#{engine}")
|
113
|
+
components_path = root.join("lib/components/#{engine}")
|
112
114
|
config.autoload_paths += decorators_path.glob('*')
|
113
115
|
config.autoload_paths << controllers_path if controllers_path.exist?
|
116
|
+
config.autoload_paths << components_path if components_path.exist?
|
114
117
|
|
115
118
|
engine_context = self
|
116
119
|
config.to_prepare do
|
data/lib/solidus_support.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Hawthorn
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
rubygems_version: 3.
|
183
|
+
rubygems_version: 3.5.22
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: Common runtime helpers for Solidus extensions.
|