workarea-wish_lists 3.0.4
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/.eslintignore +2 -0
- data/.eslintrc +24 -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 +15 -0
- data/.scss-lint.yml +188 -0
- data/.yardopts +1 -0
- data/CHANGELOG.md +610 -0
- data/CODE_OF_CONDUCT.md +3 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +6 -0
- data/LICENSE +52 -0
- data/README.md +58 -0
- data/Rakefile +53 -0
- data/app/assets/javascripts/workarea/storefront/wish_lists/modules/wish_list_button.js +35 -0
- data/app/assets/javascripts/workarea/storefront/wish_lists/modules/wish_list_public_quantity_fields.js +42 -0
- data/app/assets/javascripts/workarea/storefront/wish_lists/templates/hidden_input.jst.ejs +1 -0
- data/app/assets/stylesheets/workarea/storefront/wish_lists/components/_wish_list_button.scss +6 -0
- data/app/assets/stylesheets/workarea/storefront/wish_lists/components/_wish_lists.scss +24 -0
- data/app/controllers/workarea/admin/users_controller.decorator +20 -0
- data/app/controllers/workarea/storefront/users/wish_lists_controller.rb +128 -0
- data/app/controllers/workarea/storefront/wish_lists_controller.rb +22 -0
- data/app/models/workarea/wish_list.rb +212 -0
- data/app/models/workarea/wish_list/item.rb +76 -0
- data/app/models/workarea/wish_list/pricing.rb +14 -0
- data/app/models/workarea/wish_list/pricing/calculators/totals_calculator.rb +26 -0
- data/app/models/workarea/wish_list/public_search.rb +34 -0
- data/app/models/workarea/wish_list/request.rb +36 -0
- data/app/seeds/workarea/wish_list_seeds.rb +24 -0
- data/app/services/workarea/set_wish_list_details.rb +49 -0
- data/app/services/workarea/wish_list_session.rb +53 -0
- data/app/view_models/workarea/admin/user_view_model.decorator +12 -0
- data/app/view_models/workarea/storefront/user_view_model.decorator +31 -0
- data/app/view_models/workarea/storefront/wish_list_item_view_model.rb +35 -0
- data/app/view_models/workarea/storefront/wish_list_view_model.rb +75 -0
- data/app/views/layouts/workarea/storefront/_wish_lists_link.html.haml +6 -0
- data/app/views/workarea/admin/users/_wish_list_card.html.haml +24 -0
- data/app/views/workarea/admin/users/_wish_list_item_summary.html.haml +8 -0
- data/app/views/workarea/admin/users/wish_list.html.haml +26 -0
- data/app/views/workarea/storefront/carts/_move_to_wish_list.html.haml +4 -0
- data/app/views/workarea/storefront/products/_add_to_wish_list.html.haml +4 -0
- data/app/views/workarea/storefront/style_guides/_wish_lists_product_list_docs.html.haml +158 -0
- data/app/views/workarea/storefront/users/accounts/_wish_list_summary.html.haml +15 -0
- data/app/views/workarea/storefront/users/wish_lists/show.html.haml +125 -0
- data/app/views/workarea/storefront/wish_lists/_wish_lists_link.html.haml +4 -0
- data/app/views/workarea/storefront/wish_lists/index.html.haml +32 -0
- data/app/views/workarea/storefront/wish_lists/show.html.haml +97 -0
- data/app/workers/workarea/mark_wish_list_items_purchased.rb +18 -0
- data/app/workers/workarea/update_wish_list_details.rb +19 -0
- data/bin/rails +18 -0
- data/config/initializers/append_points.rb +46 -0
- data/config/initializers/configuration.rb +10 -0
- data/config/locales/en.yml +60 -0
- data/config/routes.rb +23 -0
- data/lib/workarea/testing/factories/wish_lists.rb +22 -0
- data/lib/workarea/wish_lists.rb +13 -0
- data/lib/workarea/wish_lists/engine.rb +15 -0
- data/lib/workarea/wish_lists/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 +24 -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 +54 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +43 -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 +21 -0
- data/test/dummy/config/initializers/session_store.rb +3 -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 +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 +3 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/workarea/storefront/wish_lists_integration_test.rb +211 -0
- data/test/models/workarea/wish_list/public_search_test.rb +82 -0
- data/test/models/workarea/wish_list_test.rb +158 -0
- data/test/services/workarea/set_wish_list_details_test.rb +62 -0
- data/test/services/workarea/wish_list_session_test.rb +47 -0
- data/test/system/workarea/admin/wish_lists_system_test.rb +46 -0
- data/test/system/workarea/storefront/wish_lists_system_test.rb +287 -0
- data/test/test_helper.rb +10 -0
- data/test/view_models/workarea/storefront/user_view_model_test.rb +46 -0
- data/test/view_models/workarea/storefront/wish_list_item_view_model_test.rb +47 -0
- data/test/view_models/workarea/storefront/wish_list_view_model_test.rb +74 -0
- data/test/workers/workarea/mark_wish_list_items_purchased_test.rb +21 -0
- data/workarea-wish_lists.gemspec +21 -0
- metadata +188 -0
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Storefront
|
5
|
+
class WishListUserViewModelTest < TestCase
|
6
|
+
setup :user, :products
|
7
|
+
|
8
|
+
def user
|
9
|
+
@user ||= create_user(
|
10
|
+
email: 'bcrouse@workarea.com',
|
11
|
+
first_name: 'Ben',
|
12
|
+
last_name: 'Crouse'
|
13
|
+
)
|
14
|
+
end
|
15
|
+
|
16
|
+
def wish_list
|
17
|
+
@wish_list ||= WishList.for_user(user.id)
|
18
|
+
end
|
19
|
+
|
20
|
+
def products
|
21
|
+
@products ||= [
|
22
|
+
create_product(id: 'PROD1', variants: [{ sku: 'SKU1' }]),
|
23
|
+
create_product(id: 'PROD2', variants: [{ sku: 'SKU2' }, { sku: 'SKU3' }])
|
24
|
+
]
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_wish_list_items
|
28
|
+
wish_list.add_item('PROD1', 'SKU1')
|
29
|
+
wish_list.add_item('PROD2', 'SKU2')
|
30
|
+
wish_list.add_item('PROD2', 'SKU3')
|
31
|
+
wish_list.items.second.update_attributes!(purchased: true)
|
32
|
+
|
33
|
+
view_model = UserViewModel.new(user)
|
34
|
+
assert_equal(2, view_model.wish_list_items.size)
|
35
|
+
assert_includes(view_model.wish_list_items.map(&:sku), 'SKU1')
|
36
|
+
assert_includes(view_model.wish_list_items.map(&:sku), 'SKU3')
|
37
|
+
|
38
|
+
products.first.update_attributes!(active: false)
|
39
|
+
|
40
|
+
view_model = UserViewModel.new(user)
|
41
|
+
assert_equal(1, view_model.wish_list_items.count)
|
42
|
+
assert_equal('SKU3', view_model.wish_list_items.first.sku)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Storefront
|
5
|
+
class WishListItemViewModelTest < TestCase
|
6
|
+
def test_product
|
7
|
+
product = create_product
|
8
|
+
item = create_wish_list.items.create(
|
9
|
+
product_id: product.id,
|
10
|
+
sku: 'VERYSKUMUCHPRODUCT'
|
11
|
+
)
|
12
|
+
|
13
|
+
view_model = WishListItemViewModel.wrap(item)
|
14
|
+
assert_equal(ProductViewModel, view_model.product.class)
|
15
|
+
end
|
16
|
+
|
17
|
+
def test_purchasable?
|
18
|
+
product = create_product(
|
19
|
+
variants: [
|
20
|
+
{ sku: 'SKU1', regular: 5.to_m },
|
21
|
+
{ sku: 'SKU2', regular: 5.to_m }
|
22
|
+
]
|
23
|
+
)
|
24
|
+
|
25
|
+
Inventory::Sku
|
26
|
+
.find_or_create_by(id: 'SKU1')
|
27
|
+
.update_attributes(policy: 'standard', available: 5)
|
28
|
+
|
29
|
+
Inventory::Sku
|
30
|
+
.find_or_create_by(id: 'SKU2')
|
31
|
+
.update_attributes(policy: 'standard', available: 0)
|
32
|
+
|
33
|
+
wish_list = create_wish_list
|
34
|
+
wish_list.add_item(product.id, 'SKU1')
|
35
|
+
view_model = WishListItemViewModel.wrap(wish_list.items.first)
|
36
|
+
|
37
|
+
assert(view_model.purchasable?)
|
38
|
+
|
39
|
+
wish_list = create_wish_list
|
40
|
+
wish_list.add_item(product.id, 'SKU2')
|
41
|
+
view_model = WishListItemViewModel.wrap(wish_list.items.first)
|
42
|
+
|
43
|
+
refute(view_model.purchasable?)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
module Storefront
|
5
|
+
class WishListViewModelTest < TestCase
|
6
|
+
def test_name
|
7
|
+
user = create_user(email: 'test@workarea.com', first_name: 'Ben', last_name: 'Crouse')
|
8
|
+
wish_list = create_wish_list(user_id: user.id)
|
9
|
+
|
10
|
+
view_model = WishListViewModel.new(wish_list)
|
11
|
+
assert_equal('Ben Crouse', view_model.name)
|
12
|
+
|
13
|
+
wish_list.destroy!
|
14
|
+
user.update_attributes!(first_name: nil, last_name: nil)
|
15
|
+
wish_list = WishList.for_user(user.id)
|
16
|
+
view_model = WishListViewModel.new(wish_list)
|
17
|
+
|
18
|
+
assert_equal('test@workarea.com', view_model.name)
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_items
|
22
|
+
products = [
|
23
|
+
create_product(id: '1', variants: [{ sku: 'sku1' }]),
|
24
|
+
create_product(id: '2', variants: [{ sku: 'sku2' }, { sku: 'sku3' }])
|
25
|
+
]
|
26
|
+
|
27
|
+
wish_list = create_wish_list
|
28
|
+
wish_list.add_item('1', 'sku1')
|
29
|
+
wish_list.add_item('2', 'sku2')
|
30
|
+
wish_list.add_item('2', 'sku3')
|
31
|
+
|
32
|
+
view_model = WishListViewModel.new(wish_list)
|
33
|
+
assert_equal(3, view_model.items.count)
|
34
|
+
|
35
|
+
wish_list.items.second.update_attributes!(purchased: true)
|
36
|
+
view_model = WishListViewModel.new(wish_list, state: 'purchased')
|
37
|
+
assert_equal(1, view_model.items.count)
|
38
|
+
|
39
|
+
products.first.update_attributes!(active: false)
|
40
|
+
view_model = WishListViewModel.new(wish_list)
|
41
|
+
assert_equal(1, view_model.items.count)
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_state_options
|
45
|
+
values = WishListViewModel.new(create_wish_list).state_options.map(&:last)
|
46
|
+
assert_equal(%i(unpurchased purchased), values)
|
47
|
+
end
|
48
|
+
|
49
|
+
def test_empty_state
|
50
|
+
wish_list = WishListViewModel.new(create_wish_list)
|
51
|
+
|
52
|
+
assert_equal(t('workarea.storefront.wish_lists.empty.states.unpurchased'), wish_list.empty_state)
|
53
|
+
wish_list.stubs(:empty_state).returns('purchased')
|
54
|
+
assert_equal(t('workarea.storefront.wish_lists.empty.states.purchased'), wish_list.empty_state)
|
55
|
+
end
|
56
|
+
|
57
|
+
def test_empty_text
|
58
|
+
wish_list = WishListViewModel.new(create_wish_list)
|
59
|
+
unpurchased = t(
|
60
|
+
'workarea.storefront.wish_lists.empty.message',
|
61
|
+
state: t('workarea.storefront.wish_lists.empty.states.unpurchased')
|
62
|
+
)
|
63
|
+
purchased = t(
|
64
|
+
'workarea.storefront.wish_lists.empty.message',
|
65
|
+
state: t('workarea.storefront.wish_lists.empty.states.purchased')
|
66
|
+
)
|
67
|
+
|
68
|
+
assert_equal(unpurchased, wish_list.empty_text)
|
69
|
+
wish_list.stubs(:empty_state).returns('purchased')
|
70
|
+
assert_equal(purchased, wish_list.empty_text)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module Workarea
|
4
|
+
class MarkWishListItemsPurchasedTest < TestCase
|
5
|
+
def test_perform
|
6
|
+
user = create_user
|
7
|
+
order = create_order(email: user.email, user_id: user.id)
|
8
|
+
order.items.build(product_id: 'PROD1', sku: 'SKU1', quantity: 3)
|
9
|
+
order.save!
|
10
|
+
|
11
|
+
wish_list = WishList.for_user(user.id)
|
12
|
+
wish_list.add_item('PROD1', 'SKU1', 3)
|
13
|
+
|
14
|
+
MarkWishListItemsPurchased.new.perform(order.id)
|
15
|
+
|
16
|
+
wish_list.reload
|
17
|
+
assert_equal(3, wish_list.items.first.received)
|
18
|
+
assert(wish_list.items.first.purchased?)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
2
|
+
|
3
|
+
require 'workarea/wish_lists/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'workarea-wish_lists'
|
7
|
+
s.version = Workarea::WishLists::VERSION
|
8
|
+
s.authors = ['bcrouse']
|
9
|
+
s.email = ['bcrouse@weblinc.com']
|
10
|
+
s.homepage = 'https://github.com/workarea-commerce/workarea-wish-lists'
|
11
|
+
s.summary = 'Wish Lists plugin for the Workarea ecommerce platform'
|
12
|
+
s.description = "Adds a wish list to user's account in the Workarea ecommerce platform"
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
|
16
|
+
s.license = 'Business Software License'
|
17
|
+
|
18
|
+
s.required_ruby_version = '>= 2.3.0'
|
19
|
+
|
20
|
+
s.add_dependency 'workarea', '~> 3.x', '>= 3.3.x'
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: workarea-wish_lists
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- bcrouse
|
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: Adds a wish list to user's account in the Workarea ecommerce platform
|
34
|
+
email:
|
35
|
+
- bcrouse@weblinc.com
|
36
|
+
executables: []
|
37
|
+
extensions: []
|
38
|
+
extra_rdoc_files: []
|
39
|
+
files:
|
40
|
+
- ".editorconfig"
|
41
|
+
- ".eslintignore"
|
42
|
+
- ".eslintrc"
|
43
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
44
|
+
- ".github/ISSUE_TEMPLATE/documentation-request.md"
|
45
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
46
|
+
- ".gitignore"
|
47
|
+
- ".scss-lint.yml"
|
48
|
+
- ".yardopts"
|
49
|
+
- CHANGELOG.md
|
50
|
+
- CODE_OF_CONDUCT.md
|
51
|
+
- CONTRIBUTING.md
|
52
|
+
- Gemfile
|
53
|
+
- LICENSE
|
54
|
+
- README.md
|
55
|
+
- Rakefile
|
56
|
+
- app/assets/javascripts/workarea/storefront/wish_lists/modules/wish_list_button.js
|
57
|
+
- app/assets/javascripts/workarea/storefront/wish_lists/modules/wish_list_public_quantity_fields.js
|
58
|
+
- app/assets/javascripts/workarea/storefront/wish_lists/templates/hidden_input.jst.ejs
|
59
|
+
- app/assets/stylesheets/workarea/storefront/wish_lists/components/_wish_list_button.scss
|
60
|
+
- app/assets/stylesheets/workarea/storefront/wish_lists/components/_wish_lists.scss
|
61
|
+
- app/controllers/workarea/admin/users_controller.decorator
|
62
|
+
- app/controllers/workarea/storefront/users/wish_lists_controller.rb
|
63
|
+
- app/controllers/workarea/storefront/wish_lists_controller.rb
|
64
|
+
- app/models/workarea/wish_list.rb
|
65
|
+
- app/models/workarea/wish_list/item.rb
|
66
|
+
- app/models/workarea/wish_list/pricing.rb
|
67
|
+
- app/models/workarea/wish_list/pricing/calculators/totals_calculator.rb
|
68
|
+
- app/models/workarea/wish_list/public_search.rb
|
69
|
+
- app/models/workarea/wish_list/request.rb
|
70
|
+
- app/seeds/workarea/wish_list_seeds.rb
|
71
|
+
- app/services/workarea/set_wish_list_details.rb
|
72
|
+
- app/services/workarea/wish_list_session.rb
|
73
|
+
- app/view_models/workarea/admin/user_view_model.decorator
|
74
|
+
- app/view_models/workarea/storefront/user_view_model.decorator
|
75
|
+
- app/view_models/workarea/storefront/wish_list_item_view_model.rb
|
76
|
+
- app/view_models/workarea/storefront/wish_list_view_model.rb
|
77
|
+
- app/views/layouts/workarea/storefront/_wish_lists_link.html.haml
|
78
|
+
- app/views/workarea/admin/users/_wish_list_card.html.haml
|
79
|
+
- app/views/workarea/admin/users/_wish_list_item_summary.html.haml
|
80
|
+
- app/views/workarea/admin/users/wish_list.html.haml
|
81
|
+
- app/views/workarea/storefront/carts/_move_to_wish_list.html.haml
|
82
|
+
- app/views/workarea/storefront/products/_add_to_wish_list.html.haml
|
83
|
+
- app/views/workarea/storefront/style_guides/_wish_lists_product_list_docs.html.haml
|
84
|
+
- app/views/workarea/storefront/users/accounts/_wish_list_summary.html.haml
|
85
|
+
- app/views/workarea/storefront/users/wish_lists/show.html.haml
|
86
|
+
- app/views/workarea/storefront/wish_lists/_wish_lists_link.html.haml
|
87
|
+
- app/views/workarea/storefront/wish_lists/index.html.haml
|
88
|
+
- app/views/workarea/storefront/wish_lists/show.html.haml
|
89
|
+
- app/workers/workarea/mark_wish_list_items_purchased.rb
|
90
|
+
- app/workers/workarea/update_wish_list_details.rb
|
91
|
+
- bin/rails
|
92
|
+
- config/initializers/append_points.rb
|
93
|
+
- config/initializers/configuration.rb
|
94
|
+
- config/locales/en.yml
|
95
|
+
- config/routes.rb
|
96
|
+
- lib/workarea/testing/factories/wish_lists.rb
|
97
|
+
- lib/workarea/wish_lists.rb
|
98
|
+
- lib/workarea/wish_lists/engine.rb
|
99
|
+
- lib/workarea/wish_lists/version.rb
|
100
|
+
- test/dummy/Rakefile
|
101
|
+
- test/dummy/app/assets/config/manifest.js
|
102
|
+
- test/dummy/app/assets/images/.keep
|
103
|
+
- test/dummy/app/assets/javascripts/application.js
|
104
|
+
- test/dummy/app/assets/stylesheets/application.css
|
105
|
+
- test/dummy/app/controllers/application_controller.rb
|
106
|
+
- test/dummy/app/controllers/concerns/.keep
|
107
|
+
- test/dummy/app/helpers/application_helper.rb
|
108
|
+
- test/dummy/app/jobs/application_job.rb
|
109
|
+
- test/dummy/app/mailers/application_mailer.rb
|
110
|
+
- test/dummy/app/models/concerns/.keep
|
111
|
+
- test/dummy/app/views/layouts/application.html.erb
|
112
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
113
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
114
|
+
- test/dummy/bin/bundle
|
115
|
+
- test/dummy/bin/rails
|
116
|
+
- test/dummy/bin/rake
|
117
|
+
- test/dummy/bin/setup
|
118
|
+
- test/dummy/bin/update
|
119
|
+
- test/dummy/config.ru
|
120
|
+
- test/dummy/config/application.rb
|
121
|
+
- test/dummy/config/boot.rb
|
122
|
+
- test/dummy/config/cable.yml
|
123
|
+
- test/dummy/config/environment.rb
|
124
|
+
- test/dummy/config/environments/development.rb
|
125
|
+
- test/dummy/config/environments/production.rb
|
126
|
+
- test/dummy/config/environments/test.rb
|
127
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
128
|
+
- test/dummy/config/initializers/assets.rb
|
129
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
130
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
131
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
132
|
+
- test/dummy/config/initializers/inflections.rb
|
133
|
+
- test/dummy/config/initializers/mime_types.rb
|
134
|
+
- test/dummy/config/initializers/new_framework_defaults.rb
|
135
|
+
- test/dummy/config/initializers/session_store.rb
|
136
|
+
- test/dummy/config/initializers/workarea.rb
|
137
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
138
|
+
- test/dummy/config/locales/en.yml
|
139
|
+
- test/dummy/config/puma.rb
|
140
|
+
- test/dummy/config/routes.rb
|
141
|
+
- test/dummy/config/secrets.yml
|
142
|
+
- test/dummy/config/spring.rb
|
143
|
+
- test/dummy/db/seeds.rb
|
144
|
+
- test/dummy/lib/assets/.keep
|
145
|
+
- test/dummy/log/.keep
|
146
|
+
- test/dummy/public/404.html
|
147
|
+
- test/dummy/public/422.html
|
148
|
+
- test/dummy/public/500.html
|
149
|
+
- test/dummy/public/apple-touch-icon-precomposed.png
|
150
|
+
- test/dummy/public/apple-touch-icon.png
|
151
|
+
- test/dummy/public/favicon.ico
|
152
|
+
- test/integration/workarea/storefront/wish_lists_integration_test.rb
|
153
|
+
- test/models/workarea/wish_list/public_search_test.rb
|
154
|
+
- test/models/workarea/wish_list_test.rb
|
155
|
+
- test/services/workarea/set_wish_list_details_test.rb
|
156
|
+
- test/services/workarea/wish_list_session_test.rb
|
157
|
+
- test/system/workarea/admin/wish_lists_system_test.rb
|
158
|
+
- test/system/workarea/storefront/wish_lists_system_test.rb
|
159
|
+
- test/test_helper.rb
|
160
|
+
- test/view_models/workarea/storefront/user_view_model_test.rb
|
161
|
+
- test/view_models/workarea/storefront/wish_list_item_view_model_test.rb
|
162
|
+
- test/view_models/workarea/storefront/wish_list_view_model_test.rb
|
163
|
+
- test/workers/workarea/mark_wish_list_items_purchased_test.rb
|
164
|
+
- workarea-wish_lists.gemspec
|
165
|
+
homepage: https://github.com/workarea-commerce/workarea-wish-lists
|
166
|
+
licenses:
|
167
|
+
- Business Software License
|
168
|
+
metadata: {}
|
169
|
+
post_install_message:
|
170
|
+
rdoc_options: []
|
171
|
+
require_paths:
|
172
|
+
- lib
|
173
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: 2.3.0
|
178
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
requirements: []
|
184
|
+
rubygems_version: 3.0.4
|
185
|
+
signing_key:
|
186
|
+
specification_version: 4
|
187
|
+
summary: Wish Lists plugin for the Workarea ecommerce platform
|
188
|
+
test_files: []
|