workarea-variant_list 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +20 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
- data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.gitignore +22 -0
- data/CHANGELOG.md +49 -0
- data/CODE_OF_CONDUCT.md +3 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +10 -0
- data/LICENSE +52 -0
- data/README.md +32 -0
- data/Rakefile +60 -0
- data/app/assets/javascripts/workarea/storefront/variant_list/modules/sortable_tables.js +107 -0
- data/app/assets/stylesheets/workarea/storefront/variant_list/components/_product_details.scss +40 -0
- data/app/controllers/workarea/storefront/cart_bulk_items_controller.rb +30 -0
- data/app/view_models/workarea/storefront/product_templates/variant_list_view_model.rb +20 -0
- data/app/view_models/workarea/storefront/variant_view_model.rb +27 -0
- data/app/views/workarea/storefront/cart_bulk_items/create.html.haml +71 -0
- data/app/views/workarea/storefront/products/templates/_variant_list.html.haml +82 -0
- data/bin/rails +20 -0
- data/config/initializers/appends.rb +9 -0
- data/config/initializers/config.rb +4 -0
- data/config/locales/en.yml +11 -0
- data/config/routes.rb +7 -0
- data/lib/workarea/variant_list.rb +11 -0
- data/lib/workarea/variant_list/engine.rb +8 -0
- data/lib/workarea/variant_list/version.rb +5 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +38 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/bin/yarn +11 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +28 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +10 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +54 -0
- data/test/dummy/config/environments/production.rb +91 -0
- data/test/dummy/config/environments/test.rb +44 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +14 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +33 -0
- data/test/dummy/config/puma.rb +56 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +32 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +2 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/integration/workarea/storefront/cart_bulk_items_integration_test.rb +73 -0
- data/test/system/workarea/storefront/product_variant_list_system_test.rb +92 -0
- data/test/teaspoon_env.rb +6 -0
- data/test/test_helper.rb +10 -0
- data/workarea-variant_list.gemspec +21 -0
- metadata +142 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# The following keys must be escaped otherwise they will not be retrieved by
|
20
|
+
# the default I18n backend:
|
21
|
+
#
|
22
|
+
# true, false, on, off, yes, no
|
23
|
+
#
|
24
|
+
# Instead, surround them with single quotes.
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# 'true': 'foo'
|
28
|
+
#
|
29
|
+
# To learn more, please read the Rails Internationalization guide
|
30
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
31
|
+
|
32
|
+
en:
|
33
|
+
hello: "Hello world"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Puma can serve each request in a thread from an internal thread pool.
|
2
|
+
# The `threads` method setting takes two numbers: a minimum and maximum.
|
3
|
+
# Any libraries that use thread pools should be configured to match
|
4
|
+
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
5
|
+
# and maximum; this matches the default thread size of Active Record.
|
6
|
+
#
|
7
|
+
threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
8
|
+
threads threads_count, threads_count
|
9
|
+
|
10
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
11
|
+
#
|
12
|
+
port ENV.fetch("PORT") { 3000 }
|
13
|
+
|
14
|
+
# Specifies the `environment` that Puma will run in.
|
15
|
+
#
|
16
|
+
environment ENV.fetch("RAILS_ENV") { "development" }
|
17
|
+
|
18
|
+
# Specifies the number of `workers` to boot in clustered mode.
|
19
|
+
# Workers are forked webserver processes. If using threads and workers together
|
20
|
+
# the concurrency of the application would be max `threads` * `workers`.
|
21
|
+
# Workers do not work on JRuby or Windows (both of which do not support
|
22
|
+
# processes).
|
23
|
+
#
|
24
|
+
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
25
|
+
|
26
|
+
# Use the `preload_app!` method when specifying a `workers` number.
|
27
|
+
# This directive tells Puma to first boot the application and load code
|
28
|
+
# before forking the application. This takes advantage of Copy On Write
|
29
|
+
# process behavior so workers use less memory. If you use this option
|
30
|
+
# you need to make sure to reconnect any threads in the `on_worker_boot`
|
31
|
+
# block.
|
32
|
+
#
|
33
|
+
# preload_app!
|
34
|
+
|
35
|
+
# If you are preloading your application and using Active Record, it's
|
36
|
+
# recommended that you close any connections to the database before workers
|
37
|
+
# are forked to prevent connection leakage.
|
38
|
+
#
|
39
|
+
# before_fork do
|
40
|
+
# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
|
41
|
+
# end
|
42
|
+
|
43
|
+
# The code in the `on_worker_boot` will be called if you are using
|
44
|
+
# clustered mode by specifying a number of `workers`. After each worker
|
45
|
+
# process is booted, this block will be run. If you are using the `preload_app!`
|
46
|
+
# option, you will want to use this block to reconnect to any threads
|
47
|
+
# or connections that may have been created at application boot, as Ruby
|
48
|
+
# cannot share connections between processes.
|
49
|
+
#
|
50
|
+
# on_worker_boot do
|
51
|
+
# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
|
55
|
+
# Allow puma to be restarted by `rails restart` command.
|
56
|
+
plugin :tmp_restart
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rails secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
# Shared secrets are available across all environments.
|
14
|
+
|
15
|
+
# shared:
|
16
|
+
# api_key: a1B2c3D4e5F6
|
17
|
+
|
18
|
+
# Environmental secrets are only available for that specific environment.
|
19
|
+
|
20
|
+
development:
|
21
|
+
secret_key_base: c81054d77e196621383803b532fe295ea0c80d17abbddf7ffc8078fedeeb86ce0e803fb474a4efc3a92ec6454cbebe88b5d46859dc6d1ef0a6b0d9d69d172917
|
22
|
+
|
23
|
+
test:
|
24
|
+
secret_key_base: f6523dbc33ca8199314f32186f5c62d0fbcddb5e1332e45107daa6aeacbddb1173f24fa09ac59c1d00e03c35fd6f821c4da4bdc6c64481f6bfe4765eff416f32
|
25
|
+
|
26
|
+
# Do not keep production secrets in the unencrypted secrets file.
|
27
|
+
# Instead, either read values from the environment.
|
28
|
+
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
|
29
|
+
# and move the `production:` environment over there.
|
30
|
+
|
31
|
+
production:
|
32
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
File without changes
|
File without changes
|
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Storefront
|
5
|
+
class CartBulkItemsIntegrationTest < Workarea::IntegrationTest
|
6
|
+
include CatalogCustomizationTestClass
|
7
|
+
|
8
|
+
def test_create
|
9
|
+
product = create_product(
|
10
|
+
template: :variant_list,
|
11
|
+
variants: [
|
12
|
+
{ sku: 'SKU1', regular: 5.to_m },
|
13
|
+
{ sku: 'SKU2', regular: 6.to_m },
|
14
|
+
{ sku: 'SKU3', regular: 7.to_m }
|
15
|
+
]
|
16
|
+
)
|
17
|
+
|
18
|
+
create_inventory(id: 'SKU2', policy: :standard, available: 2)
|
19
|
+
|
20
|
+
post storefront.cart_bulk_items_path,
|
21
|
+
xhr: true,
|
22
|
+
params: {
|
23
|
+
items: [
|
24
|
+
{ sku: 'SKU1', quantity: 1, product_id: product.id },
|
25
|
+
{ sku: 'SKU2', quantity: 3, product_id: product.id },
|
26
|
+
{ sku: 'SKU3', quantity: 0, product_id: product.id }
|
27
|
+
]
|
28
|
+
}
|
29
|
+
|
30
|
+
assert(response.ok?)
|
31
|
+
assert(flash[:error].present?)
|
32
|
+
|
33
|
+
order = Order.first
|
34
|
+
assert_equal(2, order.items.count)
|
35
|
+
|
36
|
+
item = order.items.where(sku: 'SKU1').first
|
37
|
+
assert_equal(1, item.quantity)
|
38
|
+
assert(item.product_attributes.present?)
|
39
|
+
|
40
|
+
item = order.items.where(sku: 'SKU2').first
|
41
|
+
assert_equal(2, item.quantity)
|
42
|
+
assert(item.product_attributes.present?)
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_does_not_any_items_when_customizations_are_invalid
|
46
|
+
product = create_product(
|
47
|
+
template: :variant_list,
|
48
|
+
customizations: 'foo_cust',
|
49
|
+
variants: [
|
50
|
+
{ sku: 'SKU1', regular: 5.to_m },
|
51
|
+
{ sku: 'SKU2', regular: 6.to_m },
|
52
|
+
{ sku: 'SKU3', regular: 7.to_m }
|
53
|
+
]
|
54
|
+
)
|
55
|
+
|
56
|
+
post storefront.cart_bulk_items_path,
|
57
|
+
xhr: true,
|
58
|
+
params: {
|
59
|
+
product_id: product.id,
|
60
|
+
items: [
|
61
|
+
{ sku: 'SKU1', quantity: 1, foo: 'test' },
|
62
|
+
{ sku: 'SKU2', quantity: 3, foo: 'test', bar: 'test' },
|
63
|
+
{ sku: 'SKU3', quantity: 0 }
|
64
|
+
]
|
65
|
+
}
|
66
|
+
|
67
|
+
assert_redirected_to(storefront.product_path(product))
|
68
|
+
assert(flash[:error].present?)
|
69
|
+
assert_equal(0, Order.count)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Storefront
|
5
|
+
class ProductVariantListSystemTest < Workarea::SystemTest
|
6
|
+
def test_adding_skus_to_cart
|
7
|
+
product = create_product(
|
8
|
+
template: :variant_list,
|
9
|
+
variants: [
|
10
|
+
{ sku: 'SKU1', regular: 5.to_m },
|
11
|
+
{ sku: 'SKU2', regular: 6.to_m },
|
12
|
+
{ sku: 'SKU3', regular: 7.to_m }
|
13
|
+
]
|
14
|
+
)
|
15
|
+
|
16
|
+
visit storefront.product_path(product)
|
17
|
+
|
18
|
+
fill_in "quantity_catalog_variant_#{product.variants.first.id}", with: 3
|
19
|
+
fill_in "quantity_catalog_variant_#{product.variants.second.id}", with: 2
|
20
|
+
fill_in "quantity_catalog_variant_#{product.variants.third.id}", with: 1
|
21
|
+
|
22
|
+
click_button 'add_to_cart'
|
23
|
+
|
24
|
+
assert(page.has_content?('Success'))
|
25
|
+
|
26
|
+
visit storefront.cart_path
|
27
|
+
assert(page.has_content?(product.name))
|
28
|
+
|
29
|
+
assert(page.has_content?(product.skus.first))
|
30
|
+
assert(page.has_content?('$15.00'))
|
31
|
+
|
32
|
+
assert(page.has_content?(product.skus.second))
|
33
|
+
assert(page.has_content?('$12.00'))
|
34
|
+
|
35
|
+
assert(page.has_content?(product.skus.third))
|
36
|
+
assert(page.has_content?('$7.00'))
|
37
|
+
end
|
38
|
+
|
39
|
+
def test_sorting_variants
|
40
|
+
product = create_product(
|
41
|
+
template: :variant_list,
|
42
|
+
variants: [
|
43
|
+
{ sku: 'FOOSKU', details: { color: 'red' }, regular: 7.to_m },
|
44
|
+
{ sku: 'BARSKU', details: { color: 'green' }, regular: 6.to_m },
|
45
|
+
{ sku: 'BAZSKU', details: { color: 'blue' }, regular: 5.to_m }
|
46
|
+
]
|
47
|
+
)
|
48
|
+
|
49
|
+
visit storefront.product_path(product)
|
50
|
+
|
51
|
+
assert(page.has_ordered_text?('FOOSKU', 'BARSKU', 'BAZSKU'))
|
52
|
+
assert(page.has_ordered_text?('red', 'green', 'blue'))
|
53
|
+
assert(page.has_ordered_text?('7.00', '6.00', '5.00'))
|
54
|
+
|
55
|
+
header = find('th', text: t('workarea.storefront.variant_list.products.sku'))
|
56
|
+
|
57
|
+
header.click
|
58
|
+
|
59
|
+
header.has_content?('↓')
|
60
|
+
assert(page.has_ordered_text?('BARSKU', 'BAZSKU', 'FOOSKU'))
|
61
|
+
assert(page.has_ordered_text?('green', 'blue', 'red'))
|
62
|
+
assert(page.has_ordered_text?('6.00', '5.00', '7.00'))
|
63
|
+
|
64
|
+
header.click
|
65
|
+
|
66
|
+
header.has_content?('↑')
|
67
|
+
assert(page.has_ordered_text?('FOOSKU', 'BAZSKU', 'BARSKU'))
|
68
|
+
assert(page.has_ordered_text?('red', 'blue', 'green'))
|
69
|
+
assert(page.has_ordered_text?('7.00', '5.00', '6.00'))
|
70
|
+
|
71
|
+
header = find('th', text: 'Color')
|
72
|
+
|
73
|
+
header.click
|
74
|
+
|
75
|
+
header.has_content?('↓')
|
76
|
+
assert(page.has_ordered_text?('BAZSKU', 'BARSKU', 'FOOSKU'))
|
77
|
+
assert(page.has_ordered_text?('blue', 'green', 'red'))
|
78
|
+
assert(page.has_ordered_text?('5.00', '6.00', '7.00'))
|
79
|
+
|
80
|
+
header = find('th', text: t('workarea.storefront.variant_list.products.sku'))
|
81
|
+
|
82
|
+
header.click
|
83
|
+
header.click
|
84
|
+
|
85
|
+
header.has_content?('↑')
|
86
|
+
assert(page.has_ordered_text?('FOOSKU', 'BAZSKU', 'BARSKU'))
|
87
|
+
assert(page.has_ordered_text?('red', 'blue', 'green'))
|
88
|
+
assert(page.has_ordered_text?('7.00', '5.00', '6.00'))
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV['RAILS_ENV'] = 'test'
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
require 'rails/test_help'
|
6
|
+
require 'workarea/test_help'
|
7
|
+
|
8
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
9
|
+
# to be shown.
|
10
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
@@ -0,0 +1,21 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require "workarea/variant_list/version"
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "workarea-variant_list"
|
9
|
+
s.version = Workarea::VariantList::VERSION
|
10
|
+
s.authors = ["Matt Duffy"]
|
11
|
+
s.email = ["mduffy@workarea.com"]
|
12
|
+
s.homepage = "https://github.com/workarea-commerce/workarea-variant-list"
|
13
|
+
s.summary = "Workarea Commerce Platform plugin that provides a variant list template for products."
|
14
|
+
s.description = "Workarea Commerce Platform plugin that provides a variant list template for products."
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
|
18
|
+
s.license = 'Business Software License'
|
19
|
+
|
20
|
+
s.add_dependency 'workarea', '~> 3.x', '>= 3.3.x'
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: workarea-variant_list
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Matt Duffy
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: workarea
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.x
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.3.x
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.x
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.3.x
|
33
|
+
description: Workarea Commerce Platform plugin that provides a variant list template
|
34
|
+
for products.
|
35
|
+
email:
|
36
|
+
- mduffy@workarea.com
|
37
|
+
executables: []
|
38
|
+
extensions: []
|
39
|
+
extra_rdoc_files: []
|
40
|
+
files:
|
41
|
+
- ".editorconfig"
|
42
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
43
|
+
- ".github/ISSUE_TEMPLATE/documentation-request.md"
|
44
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
45
|
+
- ".gitignore"
|
46
|
+
- CHANGELOG.md
|
47
|
+
- CODE_OF_CONDUCT.md
|
48
|
+
- CONTRIBUTING.md
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- app/assets/javascripts/workarea/storefront/variant_list/modules/sortable_tables.js
|
54
|
+
- app/assets/stylesheets/workarea/storefront/variant_list/components/_product_details.scss
|
55
|
+
- app/controllers/workarea/storefront/cart_bulk_items_controller.rb
|
56
|
+
- app/view_models/workarea/storefront/product_templates/variant_list_view_model.rb
|
57
|
+
- app/view_models/workarea/storefront/variant_view_model.rb
|
58
|
+
- app/views/workarea/storefront/cart_bulk_items/create.html.haml
|
59
|
+
- app/views/workarea/storefront/products/templates/_variant_list.html.haml
|
60
|
+
- bin/rails
|
61
|
+
- config/initializers/appends.rb
|
62
|
+
- config/initializers/config.rb
|
63
|
+
- config/locales/en.yml
|
64
|
+
- config/routes.rb
|
65
|
+
- lib/workarea/variant_list.rb
|
66
|
+
- lib/workarea/variant_list/engine.rb
|
67
|
+
- lib/workarea/variant_list/version.rb
|
68
|
+
- test/dummy/Rakefile
|
69
|
+
- test/dummy/app/assets/config/manifest.js
|
70
|
+
- test/dummy/app/assets/images/.keep
|
71
|
+
- test/dummy/app/assets/javascripts/application.js
|
72
|
+
- test/dummy/app/assets/stylesheets/application.css
|
73
|
+
- test/dummy/app/controllers/application_controller.rb
|
74
|
+
- test/dummy/app/controllers/concerns/.keep
|
75
|
+
- test/dummy/app/helpers/application_helper.rb
|
76
|
+
- test/dummy/app/jobs/application_job.rb
|
77
|
+
- test/dummy/app/mailers/application_mailer.rb
|
78
|
+
- test/dummy/app/models/concerns/.keep
|
79
|
+
- test/dummy/app/views/layouts/application.html.erb
|
80
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
81
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
82
|
+
- test/dummy/bin/bundle
|
83
|
+
- test/dummy/bin/rails
|
84
|
+
- test/dummy/bin/rake
|
85
|
+
- test/dummy/bin/setup
|
86
|
+
- test/dummy/bin/update
|
87
|
+
- test/dummy/bin/yarn
|
88
|
+
- test/dummy/config.ru
|
89
|
+
- test/dummy/config/application.rb
|
90
|
+
- test/dummy/config/boot.rb
|
91
|
+
- test/dummy/config/cable.yml
|
92
|
+
- test/dummy/config/environment.rb
|
93
|
+
- test/dummy/config/environments/development.rb
|
94
|
+
- test/dummy/config/environments/production.rb
|
95
|
+
- test/dummy/config/environments/test.rb
|
96
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
97
|
+
- test/dummy/config/initializers/assets.rb
|
98
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
99
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
100
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
101
|
+
- test/dummy/config/initializers/inflections.rb
|
102
|
+
- test/dummy/config/initializers/mime_types.rb
|
103
|
+
- test/dummy/config/initializers/workarea.rb
|
104
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
105
|
+
- test/dummy/config/locales/en.yml
|
106
|
+
- test/dummy/config/puma.rb
|
107
|
+
- test/dummy/config/routes.rb
|
108
|
+
- test/dummy/config/secrets.yml
|
109
|
+
- test/dummy/config/spring.rb
|
110
|
+
- test/dummy/db/seeds.rb
|
111
|
+
- test/dummy/lib/assets/.keep
|
112
|
+
- test/dummy/log/.keep
|
113
|
+
- test/integration/workarea/storefront/cart_bulk_items_integration_test.rb
|
114
|
+
- test/system/workarea/storefront/product_variant_list_system_test.rb
|
115
|
+
- test/teaspoon_env.rb
|
116
|
+
- test/test_helper.rb
|
117
|
+
- workarea-variant_list.gemspec
|
118
|
+
homepage: https://github.com/workarea-commerce/workarea-variant-list
|
119
|
+
licenses:
|
120
|
+
- Business Software License
|
121
|
+
metadata: {}
|
122
|
+
post_install_message:
|
123
|
+
rdoc_options: []
|
124
|
+
require_paths:
|
125
|
+
- lib
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
requirements: []
|
137
|
+
rubygems_version: 3.0.4
|
138
|
+
signing_key:
|
139
|
+
specification_version: 4
|
140
|
+
summary: Workarea Commerce Platform plugin that provides a variant list template for
|
141
|
+
products.
|
142
|
+
test_files: []
|