solidus_frontend 3.2.5 → 3.3.0.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +4 -19
- data/bin/sandbox +1 -1
- data/lib/generators/solidus_frontend/install/install_generator.rb +0 -23
- data/lib/spree/frontend/version.rb +1 -1
- 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: 6d692c8cf2e9d644d15bf0ff289e7c3a66fa43f852a6326d75018a2a4002e637
|
4
|
+
data.tar.gz: 9961933922ae35466d194483514adafb8c89b4181d22c5175616b3a50e13afb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c4bf55673759c0c081d546d9f1ef416f05035548e49e6f1f36e3f54956cc18914af1fd71ef0d323844dad2f3ccd2fe0095e5d7016431d9fabffbb743395d617
|
7
|
+
data.tar.gz: 9b16f639cc7c8b6e3e2f70f73ee444c6cb20916b542761f3068faf0ac965c6084f57c3f706522abfa13b87e55b5d339594d95297d03956058808afffaac13e1e
|
data/.circleci/config.yml
CHANGED
@@ -2,7 +2,6 @@ version: 2.1
|
|
2
2
|
|
3
3
|
orbs:
|
4
4
|
browser-tools: circleci/browser-tools@1.3
|
5
|
-
slack: circleci/slack@4.9.3
|
6
5
|
|
7
6
|
# Always take the latest version of the orb, this allows us to
|
8
7
|
# run specs against Solidus supported versions only without the need
|
@@ -17,13 +16,6 @@ commands:
|
|
17
16
|
name: Install libvips
|
18
17
|
command: sudo apt-get install -y libvips
|
19
18
|
|
20
|
-
notify:
|
21
|
-
steps:
|
22
|
-
- slack/notify:
|
23
|
-
event: fail
|
24
|
-
template: basic_fail_1
|
25
|
-
branch_pattern: master, v[0-9]+\.[0-9]+
|
26
|
-
|
27
19
|
jobs:
|
28
20
|
run-specs-with-postgres:
|
29
21
|
executor: solidusio_extensions/postgres
|
@@ -34,7 +26,6 @@ jobs:
|
|
34
26
|
- libvips
|
35
27
|
- solidusio_extensions/run-tests-solidus-master
|
36
28
|
- solidusio_extensions/store-test-results
|
37
|
-
- notify
|
38
29
|
run-specs-with-mysql:
|
39
30
|
executor: solidusio_extensions/mysql
|
40
31
|
steps:
|
@@ -44,20 +35,16 @@ jobs:
|
|
44
35
|
- libvips
|
45
36
|
- solidusio_extensions/run-tests-solidus-master
|
46
37
|
- solidusio_extensions/store-test-results
|
47
|
-
- notify
|
48
38
|
lint-code:
|
49
39
|
executor: solidusio_extensions/sqlite-memory
|
50
40
|
steps:
|
51
41
|
- solidusio_extensions/lint-code
|
52
|
-
- notify
|
53
42
|
|
54
43
|
workflows:
|
55
44
|
"Run specs on supported Solidus versions":
|
56
45
|
jobs:
|
57
|
-
- run-specs-with-postgres
|
58
|
-
|
59
|
-
- run-specs-with-mysql:
|
60
|
-
context: slack-secrets
|
46
|
+
- run-specs-with-postgres
|
47
|
+
- run-specs-with-mysql
|
61
48
|
|
62
49
|
"Weekly run specs against master":
|
63
50
|
triggers:
|
@@ -68,7 +55,5 @@ workflows:
|
|
68
55
|
only:
|
69
56
|
- master
|
70
57
|
jobs:
|
71
|
-
- run-specs-with-postgres
|
72
|
-
|
73
|
-
- run-specs-with-mysql:
|
74
|
-
context: slack-secrets
|
58
|
+
- run-specs-with-postgres
|
59
|
+
- run-specs-with-mysql
|
data/bin/sandbox
CHANGED
@@ -80,7 +80,7 @@ unbundled bundle exec rails generate solidus:install \
|
|
80
80
|
$@
|
81
81
|
|
82
82
|
unbundled bundle exec rails generate solidus:auth:install
|
83
|
-
unbundled bundle exec rails generate ${extension_name}:install
|
83
|
+
unbundled bundle exec rails generate ${extension_name}:install
|
84
84
|
|
85
85
|
echo
|
86
86
|
echo "🚀 Sandbox app successfully created for $extension_name!"
|
@@ -5,10 +5,6 @@ module SolidusFrontend
|
|
5
5
|
class InstallGenerator < Rails::Generators::Base
|
6
6
|
source_root File.expand_path('templates', __dir__)
|
7
7
|
|
8
|
-
class_option :auto_accept,
|
9
|
-
type: :boolean,
|
10
|
-
default: false
|
11
|
-
|
12
8
|
def copy_initializer
|
13
9
|
template 'initializer.rb', 'config/initializers/solidus_frontend.rb'
|
14
10
|
end
|
@@ -23,25 +19,6 @@ module SolidusFrontend
|
|
23
19
|
template "vendor/assets/javascripts/spree/frontend/all.js"
|
24
20
|
template "vendor/assets/stylesheets/spree/frontend/all.css"
|
25
21
|
end
|
26
|
-
|
27
|
-
def install_solidus_bolt
|
28
|
-
return if ENV['SKIP_SOLIDUS_BOLT'] || !File.exist?('Gemfile') || !(options[:auto_accept] || yes?(<<~MSG))
|
29
|
-
Would you like to add bolt (https://www.bolt.com) as a default payment method?
|
30
|
-
|
31
|
-
If you answer yes, solidus_bolt (https://github.com/solidusio/solidus_bolt)
|
32
|
-
will be added to the installation (y/n):
|
33
|
-
MSG
|
34
|
-
|
35
|
-
gem 'solidus_bolt'
|
36
|
-
bundle_cleanly { `bundle` }
|
37
|
-
generate 'solidus_bolt:install --auto-run-migrations'
|
38
|
-
end
|
39
|
-
|
40
|
-
private
|
41
|
-
|
42
|
-
def bundle_cleanly(&block)
|
43
|
-
Bundler.respond_to?(:with_unbundled_env) ? Bundler.with_unbundled_env(&block) : Bundler.with_clean_env(&block)
|
44
|
-
end
|
45
22
|
end
|
46
23
|
end
|
47
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_frontend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.0.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_api
|
@@ -389,7 +389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
389
389
|
- !ruby/object:Gem::Version
|
390
390
|
version: 1.8.23
|
391
391
|
requirements: []
|
392
|
-
rubygems_version: 3.
|
392
|
+
rubygems_version: 3.1.2
|
393
393
|
signing_key:
|
394
394
|
specification_version: 4
|
395
395
|
summary: Legacy cart and storefront for the Solidus e-commerce project. For new Solidus
|