workarea-product_documents 1.0.0
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/.github/workflows/ci.yml +57 -0
- data/.gitignore +18 -0
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +16 -0
- data/CODE_OF_CONDUCT.md +3 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +10 -0
- data/LICENSE.md +3 -0
- data/README.md +39 -0
- data/Rakefile +116 -0
- data/app/assets/javascripts/workarea/admin/modules/sort_documents.js +68 -0
- data/app/assets/stylesheets/workarea/storefront/product_documents/components/product_documents.scss +22 -0
- data/app/controllers/workarea/.keep +0 -0
- data/app/controllers/workarea/admin/catalog_product_documents_controller.rb +59 -0
- data/app/models/workarea/catalog/product.decorator +7 -0
- data/app/models/workarea/catalog/product_document.rb +29 -0
- data/app/view_models/workarea/admin/product_view_model.decorator +7 -0
- data/app/view_models/workarea/storefront/product_view_model.decorator +7 -0
- data/app/views/workarea/.keep +0 -0
- data/app/views/workarea/admin/catalog_product_documents/_product_documents.html.haml +14 -0
- data/app/views/workarea/admin/catalog_product_documents/index.html.haml +40 -0
- data/app/views/workarea/admin/catalog_product_documents/new.html.haml +44 -0
- data/app/views/workarea/admin/catalog_products/_documents_card.haml +22 -0
- data/app/views/workarea/storefront/products/_product_documents.html.haml +9 -0
- data/bin/rails +20 -0
- data/config/initializers/appends.rb +21 -0
- data/config/initializers/workarea.rb +0 -0
- data/config/locales/en.yml +34 -0
- data/config/routes.rb +9 -0
- data/lib/workarea/product_documents.rb +11 -0
- data/lib/workarea/product_documents/engine.rb +8 -0
- data/lib/workarea/product_documents/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 +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +27 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +51 -0
- data/test/dummy/config/environments/production.rb +83 -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 +11 -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/new_framework_defaults.rb +18 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +22 -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/admin/product_documents_integration_test.rb +85 -0
- data/test/integration/workarea/storefront/product_documents_integration_test.rb +28 -0
- data/test/teaspoon_env.rb +6 -0
- data/test/test_helper.rb +15 -0
- data/test/view_models/workarea/admin/product_view_model_test.decorator +28 -0
- data/workarea-product_documents.gemspec +18 -0
- metadata +144 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains migration options to ease your Rails 5.0 upgrade.
|
4
|
+
#
|
5
|
+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
6
|
+
|
7
|
+
# Enable per-form CSRF tokens. Previous versions had false.
|
8
|
+
Rails.application.config.action_controller.per_form_csrf_tokens = true
|
9
|
+
|
10
|
+
# Enable origin-checking CSRF mitigation. Previous versions had false.
|
11
|
+
Rails.application.config.action_controller.forgery_protection_origin_check = true
|
12
|
+
|
13
|
+
# Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`.
|
14
|
+
# Previous versions had false.
|
15
|
+
ActiveSupport.to_time_preserves_timezone = true
|
16
|
+
|
17
|
+
# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
|
18
|
+
Rails.application.config.ssl_options = { hsts: { subdomains: true } }
|
@@ -0,0 +1,9 @@
|
|
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
|
@@ -0,0 +1,23 @@
|
|
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
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,47 @@
|
|
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 }.to_i
|
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
|
+
# The code in the `on_worker_boot` will be called if you are using
|
36
|
+
# clustered mode by specifying a number of `workers`. After each worker
|
37
|
+
# process is booted this block will be run, if you are using `preload_app!`
|
38
|
+
# option you will want to use this block to reconnect to any threads
|
39
|
+
# or connections that may have been created at application boot, Ruby
|
40
|
+
# cannot share connections between processes.
|
41
|
+
#
|
42
|
+
# on_worker_boot do
|
43
|
+
# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
|
44
|
+
# end
|
45
|
+
|
46
|
+
# Allow puma to be restarted by `rails restart` command.
|
47
|
+
plugin :tmp_restart
|
@@ -0,0 +1,22 @@
|
|
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
|
+
development:
|
14
|
+
secret_key_base: 7edbdcb022a6792bd6a0196d8187f787c998f875a03e84efb9d9fea02adf65123f4bde9d9dff0bec17e2678281261de967eb7d2b8fc0ba10987a2b14952315ce
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 8a8012b3faeb75331d6ef306c10d4a223b14dc0fb1553cba9d1173902696ed6986a4d107d8ece8b36a1e22bc4dae7b4b00fa3b7d76f13b537f4e93d44ac8ed78
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
File without changes
|
File without changes
|
@@ -0,0 +1,85 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
class ProductDocumentIntegrationTest < Workarea::IntegrationTest
|
6
|
+
include Admin::IntegrationTest
|
7
|
+
setup :create_document_product
|
8
|
+
|
9
|
+
def create_document_product
|
10
|
+
@product = create_product
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_adding_a_new_document
|
14
|
+
post admin.catalog_product_documents_path(@product),
|
15
|
+
params: {
|
16
|
+
document: {
|
17
|
+
display_name: "product document display name",
|
18
|
+
document: product_image_file_path
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
@product.reload
|
23
|
+
|
24
|
+
assert_equal(1, @product.product_documents.size)
|
25
|
+
|
26
|
+
document = @product.product_documents.first
|
27
|
+
assert_equal("product document display name", document.display_name)
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_ordering_documents
|
31
|
+
@product.product_documents.build(
|
32
|
+
display_name: "document 1",
|
33
|
+
document: product_image_file_path
|
34
|
+
)
|
35
|
+
@product.save
|
36
|
+
|
37
|
+
@product.product_documents.build(
|
38
|
+
display_name: "document 2",
|
39
|
+
document: product_image_file_path
|
40
|
+
)
|
41
|
+
@product.save
|
42
|
+
|
43
|
+
@product.reload
|
44
|
+
|
45
|
+
document_1 = @product.product_documents.detect { |d| d.display_name == "document 1" }
|
46
|
+
document_2 = @product.product_documents.detect { |d| d.display_name == "document 2" }
|
47
|
+
|
48
|
+
position_params = {
|
49
|
+
positions: {
|
50
|
+
"#{document_2.id.to_s}" => 0,
|
51
|
+
"#{document_1.id.to_s}" => 1
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
post admin.move_catalog_product_documents_path(@product),
|
56
|
+
params: position_params
|
57
|
+
|
58
|
+
@product.reload
|
59
|
+
document_1.reload
|
60
|
+
document_2.reload
|
61
|
+
|
62
|
+
assert_equal(1, document_1.position)
|
63
|
+
assert_equal(0, document_2.position)
|
64
|
+
end
|
65
|
+
|
66
|
+
def test_removing_a_document
|
67
|
+
@product.product_documents.build(
|
68
|
+
display_name: "product document display name",
|
69
|
+
document: product_image_file_path
|
70
|
+
)
|
71
|
+
|
72
|
+
@product.save
|
73
|
+
@product.reload
|
74
|
+
|
75
|
+
document = @product.product_documents.first
|
76
|
+
|
77
|
+
delete admin.catalog_product_document_path(@product, document)
|
78
|
+
|
79
|
+
@product.reload
|
80
|
+
|
81
|
+
assert_equal(0, @product.product_documents.size)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Storefront
|
5
|
+
class ProductDocumentIntegrationTest < Workarea::IntegrationTest
|
6
|
+
setup :create_document_product
|
7
|
+
|
8
|
+
def create_document_product
|
9
|
+
product = create_product
|
10
|
+
product.product_documents.build(
|
11
|
+
display_name: "document display name",
|
12
|
+
document: product_image_file_path
|
13
|
+
).save
|
14
|
+
|
15
|
+
product.save
|
16
|
+
@product = product
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_document_display
|
20
|
+
get storefront.product_path(@product)
|
21
|
+
|
22
|
+
document = @product.product_documents.first
|
23
|
+
assert_includes(response.body, document.display_name)
|
24
|
+
assert_includes(response.body, document.url)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require "simplecov"
|
2
|
+
|
3
|
+
SimpleCov.start "rails" do
|
4
|
+
add_filter "lib/workarea/product_documents/version.rb"
|
5
|
+
end
|
6
|
+
|
7
|
+
ENV["RAILS_ENV"] = "test"
|
8
|
+
|
9
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
10
|
+
require "rails/test_help"
|
11
|
+
require "workarea/test_help"
|
12
|
+
|
13
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
14
|
+
# to be shown.
|
15
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Admin
|
5
|
+
decorate ProductViewModelTest, with: :product_documents do
|
6
|
+
def test_documents_by_type
|
7
|
+
@product.product_documents.build(
|
8
|
+
display_name: "Instructions",
|
9
|
+
document: product_image_file_path
|
10
|
+
)
|
11
|
+
@product.product_documents.build(
|
12
|
+
display_name: "Instructions",
|
13
|
+
document: product_image_file_path
|
14
|
+
)
|
15
|
+
@product.product_documents.build(
|
16
|
+
display_name: "Warranty",
|
17
|
+
document: product_image_file_path
|
18
|
+
)
|
19
|
+
|
20
|
+
documents = @view_model.documents_by_type
|
21
|
+
assert_equal(2, documents.keys.size)
|
22
|
+
assert_equal(2, documents["Instructions"].size)
|
23
|
+
assert_equal(1, documents["Warranty"].size)
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
$LOAD_PATH.push File.expand_path("lib", __dir__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require "workarea/product_documents/version"
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "workarea-product_documents"
|
9
|
+
s.version = Workarea::ProductDocuments::VERSION
|
10
|
+
s.authors = ["Jeff Yucis"]
|
11
|
+
s.email = ["jyucis@weblinc.com"]
|
12
|
+
s.homepage = "https://github.com/workarea-commerce/workarea-product-documents"
|
13
|
+
s.summary = "workarea product documents plugin"
|
14
|
+
s.description = "Add documents to a product which are displayed on the detail page for downloading"
|
15
|
+
s.files = `git ls-files`.split("\n")
|
16
|
+
|
17
|
+
s.add_dependency "workarea", "~> 3.x"
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: workarea-product_documents
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeff Yucis
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-11-26 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
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.x
|
27
|
+
description: Add documents to a product which are displayed on the detail page for
|
28
|
+
downloading
|
29
|
+
email:
|
30
|
+
- jyucis@weblinc.com
|
31
|
+
executables: []
|
32
|
+
extensions: []
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
35
|
+
- ".editorconfig"
|
36
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
37
|
+
- ".github/ISSUE_TEMPLATE/documentation-request.md"
|
38
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
39
|
+
- ".github/workflows/ci.yml"
|
40
|
+
- ".gitignore"
|
41
|
+
- ".rubocop.yml"
|
42
|
+
- CHANGELOG.md
|
43
|
+
- CODE_OF_CONDUCT.md
|
44
|
+
- CONTRIBUTING.md
|
45
|
+
- Gemfile
|
46
|
+
- LICENSE.md
|
47
|
+
- README.md
|
48
|
+
- Rakefile
|
49
|
+
- app/assets/javascripts/workarea/admin/modules/sort_documents.js
|
50
|
+
- app/assets/stylesheets/workarea/storefront/product_documents/components/product_documents.scss
|
51
|
+
- app/controllers/workarea/.keep
|
52
|
+
- app/controllers/workarea/admin/catalog_product_documents_controller.rb
|
53
|
+
- app/models/workarea/catalog/product.decorator
|
54
|
+
- app/models/workarea/catalog/product_document.rb
|
55
|
+
- app/view_models/workarea/admin/product_view_model.decorator
|
56
|
+
- app/view_models/workarea/storefront/product_view_model.decorator
|
57
|
+
- app/views/workarea/.keep
|
58
|
+
- app/views/workarea/admin/catalog_product_documents/_product_documents.html.haml
|
59
|
+
- app/views/workarea/admin/catalog_product_documents/index.html.haml
|
60
|
+
- app/views/workarea/admin/catalog_product_documents/new.html.haml
|
61
|
+
- app/views/workarea/admin/catalog_products/_documents_card.haml
|
62
|
+
- app/views/workarea/storefront/products/_product_documents.html.haml
|
63
|
+
- bin/rails
|
64
|
+
- config/initializers/appends.rb
|
65
|
+
- config/initializers/workarea.rb
|
66
|
+
- config/locales/en.yml
|
67
|
+
- config/routes.rb
|
68
|
+
- lib/workarea/product_documents.rb
|
69
|
+
- lib/workarea/product_documents/engine.rb
|
70
|
+
- lib/workarea/product_documents/version.rb
|
71
|
+
- test/dummy/Rakefile
|
72
|
+
- test/dummy/app/assets/config/manifest.js
|
73
|
+
- test/dummy/app/assets/images/.keep
|
74
|
+
- test/dummy/app/assets/javascripts/application.js
|
75
|
+
- test/dummy/app/assets/stylesheets/application.css
|
76
|
+
- test/dummy/app/controllers/application_controller.rb
|
77
|
+
- test/dummy/app/controllers/concerns/.keep
|
78
|
+
- test/dummy/app/helpers/application_helper.rb
|
79
|
+
- test/dummy/app/jobs/application_job.rb
|
80
|
+
- test/dummy/app/mailers/application_mailer.rb
|
81
|
+
- test/dummy/app/models/concerns/.keep
|
82
|
+
- test/dummy/app/views/layouts/application.html.erb
|
83
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
84
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
85
|
+
- test/dummy/bin/bundle
|
86
|
+
- test/dummy/bin/rails
|
87
|
+
- test/dummy/bin/rake
|
88
|
+
- test/dummy/bin/setup
|
89
|
+
- test/dummy/bin/update
|
90
|
+
- test/dummy/config.ru
|
91
|
+
- test/dummy/config/application.rb
|
92
|
+
- test/dummy/config/boot.rb
|
93
|
+
- test/dummy/config/cable.yml
|
94
|
+
- test/dummy/config/environment.rb
|
95
|
+
- test/dummy/config/environments/development.rb
|
96
|
+
- test/dummy/config/environments/production.rb
|
97
|
+
- test/dummy/config/environments/test.rb
|
98
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
99
|
+
- test/dummy/config/initializers/assets.rb
|
100
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
101
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
102
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
103
|
+
- test/dummy/config/initializers/inflections.rb
|
104
|
+
- test/dummy/config/initializers/mime_types.rb
|
105
|
+
- test/dummy/config/initializers/new_framework_defaults.rb
|
106
|
+
- test/dummy/config/initializers/workarea.rb
|
107
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
108
|
+
- test/dummy/config/locales/en.yml
|
109
|
+
- test/dummy/config/puma.rb
|
110
|
+
- test/dummy/config/routes.rb
|
111
|
+
- test/dummy/config/secrets.yml
|
112
|
+
- test/dummy/config/spring.rb
|
113
|
+
- test/dummy/db/seeds.rb
|
114
|
+
- test/dummy/lib/assets/.keep
|
115
|
+
- test/dummy/log/.keep
|
116
|
+
- test/integration/workarea/admin/product_documents_integration_test.rb
|
117
|
+
- test/integration/workarea/storefront/product_documents_integration_test.rb
|
118
|
+
- test/teaspoon_env.rb
|
119
|
+
- test/test_helper.rb
|
120
|
+
- test/view_models/workarea/admin/product_view_model_test.decorator
|
121
|
+
- workarea-product_documents.gemspec
|
122
|
+
homepage: https://github.com/workarea-commerce/workarea-product-documents
|
123
|
+
licenses: []
|
124
|
+
metadata: {}
|
125
|
+
post_install_message:
|
126
|
+
rdoc_options: []
|
127
|
+
require_paths:
|
128
|
+
- lib
|
129
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
requirements: []
|
140
|
+
rubygems_version: 3.0.6
|
141
|
+
signing_key:
|
142
|
+
specification_version: 4
|
143
|
+
summary: workarea product documents plugin
|
144
|
+
test_files: []
|