spree_product_sort_in_order_of_ids 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ci.yml +49 -0
- data/.gitignore +25 -0
- data/.rspec +3 -0
- data/Gemfile +12 -0
- data/LICENSE +26 -0
- data/README.md +54 -0
- data/Rakefile +21 -0
- data/app/.gitkeep +0 -0
- data/app/controllers/.gitkeep +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/spree_product_sort_in_order_of_ids/configuration.rb +13 -0
- data/app/serializers/.gitkeep +0 -0
- data/app/services/.gitkeep +0 -0
- data/app/sorters/spree_product_sort_in_order_of_ids/spree/products/sort_decorator.rb +30 -0
- data/bin/rails +8 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +3 -0
- data/lib/generators/spree_product_sort_in_order_of_ids/install/install_generator.rb +20 -0
- data/lib/spree_product_sort_in_order_of_ids/engine.rb +24 -0
- data/lib/spree_product_sort_in_order_of_ids/factories.rb +6 -0
- data/lib/spree_product_sort_in_order_of_ids/version.rb +11 -0
- data/lib/spree_product_sort_in_order_of_ids.rb +4 -0
- data/spree_product_sort_in_order_of_ids.gemspec +35 -0
- metadata +150 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: aeb06b8fc4ed241a8d85fa8250ac56f79b265d9109105874d8e5962a048932f6
|
4
|
+
data.tar.gz: b8e43d381819188a54a6505746820b00df7e0373c699f649e4d3b2e813f183f2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: afd9ce0d679e95fbb4ead3887b423de7eec95152b570989fcc5a5a5195786063e84188177dcf38dbba2a24ccc88b06e5a0bb849e76d15da5ff8dbd8642d9ad51
|
7
|
+
data.tar.gz: e9a40461035f5bddb78e169757e323b800a450adde51b28b500f955c63e382b8c9cffe66f320fb68f452ebc8d91b626a5ce4e1dbe14bf6d0c98b2ee3a5de42f2
|
@@ -0,0 +1,49 @@
|
|
1
|
+
name: ci
|
2
|
+
|
3
|
+
on: push
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
ci:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
timeout-minutes: 30
|
9
|
+
env:
|
10
|
+
DB: mysql
|
11
|
+
DATABASE_HOST: 0.0.0.0
|
12
|
+
DATABASE_PASSWORD: mysql123
|
13
|
+
RAILS_ENV: test
|
14
|
+
REDIS_URL: redis://0.0.0.0:6379
|
15
|
+
TZ: Asia/Tokyo
|
16
|
+
|
17
|
+
services:
|
18
|
+
mysql:
|
19
|
+
image: mysql:8.0.23
|
20
|
+
options: --health-cmd "mysqladmin ping -h localhost" --health-interval 20s --health-timeout 10s --health-retries 10
|
21
|
+
env:
|
22
|
+
MYSQL_ROOT_PASSWORD: mysql123
|
23
|
+
ports:
|
24
|
+
- 3306:3306
|
25
|
+
redis:
|
26
|
+
image: redis:6.2-alpine
|
27
|
+
options: --health-cmd "redis-cli -h localhost ping" --health-interval 10s --health-timeout 5s --health-retries 15
|
28
|
+
ports:
|
29
|
+
- 6379:6379
|
30
|
+
|
31
|
+
steps:
|
32
|
+
- uses: actions/checkout@v2
|
33
|
+
- name: Install libvips-dev
|
34
|
+
run: |
|
35
|
+
sudo apt update
|
36
|
+
sudo apt install -y libvips-dev
|
37
|
+
- uses: ruby/setup-ruby@v1
|
38
|
+
with:
|
39
|
+
bundler-cache: true
|
40
|
+
ruby-version: '3.1.0'
|
41
|
+
|
42
|
+
- name: Exec tests 👚
|
43
|
+
env:
|
44
|
+
DB_HOST: 127.0.0.1
|
45
|
+
DB_PASSWORD: ${{ env.DATABASE_PASSWORD }}
|
46
|
+
DB_USERNAME: root
|
47
|
+
run: |
|
48
|
+
bundle exec rake test_app
|
49
|
+
bundle exec rake spec
|
data/.gitignore
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
\#*
|
2
|
+
*~
|
3
|
+
.#*
|
4
|
+
.DS_Store
|
5
|
+
.idea
|
6
|
+
.localeapp/locales
|
7
|
+
.project
|
8
|
+
.vscode
|
9
|
+
coverage
|
10
|
+
default
|
11
|
+
Gemfile.lock
|
12
|
+
tmp
|
13
|
+
nbproject
|
14
|
+
pkg
|
15
|
+
*.sw?
|
16
|
+
spec/dummy
|
17
|
+
.rvmrc
|
18
|
+
.sass-cache
|
19
|
+
public/spree
|
20
|
+
.ruby-version
|
21
|
+
.ruby-gemset
|
22
|
+
*.gem
|
23
|
+
*/*.gem
|
24
|
+
.bundle
|
25
|
+
vendor/bundle
|
data/.rspec
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
git_source(:github) do |repo_name|
|
4
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/')
|
5
|
+
"https://github.com/#{repo_name}.git"
|
6
|
+
end
|
7
|
+
|
8
|
+
gem 'spree' #, github: 'spree/spree', branch: 'main'
|
9
|
+
# gem 'spree_backend', github: 'spree/spree', branch: 'main'
|
10
|
+
gem 'rails-controller-testing'
|
11
|
+
|
12
|
+
gemspec
|
data/LICENSE
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Copyright (c) 2022 ROUTE06, Inc.
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
5
|
+
are permitted provided that the following conditions are met:
|
6
|
+
|
7
|
+
* Redistributions of source code must retain the above copyright notice,
|
8
|
+
this list of conditions and the following disclaimer.
|
9
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
10
|
+
this list of conditions and the following disclaimer in the documentation
|
11
|
+
and/or other materials provided with the distribution.
|
12
|
+
* Neither the name Spree nor the names of its contributors may be used to
|
13
|
+
endorse or promote products derived from this software without specific
|
14
|
+
prior written permission.
|
15
|
+
|
16
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
17
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
18
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
19
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
20
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
21
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
22
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
23
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
24
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
25
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
26
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.md
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# SpreeProductSortInOrderOfIds
|
2
|
+
|
3
|
+
A [Spree](https://github.com/spree/spree) extension that implements storefront products API response sort by specified ids.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
1. Add this extension to your Gemfile with this line:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'spree_product_sort_in_order_of_ids'
|
11
|
+
```
|
12
|
+
|
13
|
+
2. Install the gem using Bundler
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
bundle install
|
17
|
+
```
|
18
|
+
|
19
|
+
3. Copy & run migrations
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
bundle exec rails g spree_product_sort_in_order_of_ids:install
|
23
|
+
```
|
24
|
+
|
25
|
+
4. Restart your server
|
26
|
+
|
27
|
+
If your server was running, restart it so that it can find the assets properly.
|
28
|
+
|
29
|
+
## Testing
|
30
|
+
|
31
|
+
First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.
|
32
|
+
|
33
|
+
```shell
|
34
|
+
bundle update
|
35
|
+
bundle exec rake
|
36
|
+
```
|
37
|
+
|
38
|
+
When testing your applications integration with this extension you may use it's factories.
|
39
|
+
Simply add this require statement to your spec_helper:
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
require 'spree_product_sort_in_order_of_ids/factories'
|
43
|
+
```
|
44
|
+
|
45
|
+
## Releasing
|
46
|
+
|
47
|
+
```shell
|
48
|
+
bundle exec gem bump -p -t
|
49
|
+
bundle exec gem release
|
50
|
+
```
|
51
|
+
|
52
|
+
For more options please see [gem-release REAMDE](https://github.com/svenfuchs/gem-release)
|
53
|
+
|
54
|
+
Copyright (c) 2021 ROUTE06, Inc., released under the New BSD License
|
data/Rakefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
3
|
+
|
4
|
+
require 'rspec/core/rake_task'
|
5
|
+
require 'spree/testing_support/extension_rake'
|
6
|
+
|
7
|
+
RSpec::Core::RakeTask.new
|
8
|
+
|
9
|
+
task :default do
|
10
|
+
if Dir['spec/dummy'].empty?
|
11
|
+
Rake::Task[:test_app].invoke
|
12
|
+
Dir.chdir('../../')
|
13
|
+
end
|
14
|
+
Rake::Task[:spec].invoke
|
15
|
+
end
|
16
|
+
|
17
|
+
desc 'Generates a dummy app for testing'
|
18
|
+
task :test_app do
|
19
|
+
ENV['LIB_NAME'] = 'spree_product_sort_in_order_of_ids'
|
20
|
+
Rake::Task['extension:test_app'].invoke
|
21
|
+
end
|
data/app/.gitkeep
ADDED
File without changes
|
File without changes
|
data/app/models/.gitkeep
ADDED
File without changes
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module SpreeProductSortInOrderOfIds
|
2
|
+
class Configuration < Spree::Preferences::Configuration
|
3
|
+
|
4
|
+
# Some example preferences are shown below, for more information visit:
|
5
|
+
# https://dev-docs.spreecommerce.org/internals/preferences
|
6
|
+
|
7
|
+
preference :enabled, :boolean, default: true
|
8
|
+
# preference :dark_chocolate, :boolean, default: true
|
9
|
+
# preference :color, :string, default: 'Red'
|
10
|
+
# preference :favorite_number, :integer
|
11
|
+
# preference :supported_locales, :array, default: [:en]
|
12
|
+
end
|
13
|
+
end
|
File without changes
|
File without changes
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module SpreeProductSortInOrderOfIds::Spree::Products::SortDecorator
|
2
|
+
def initialize(scope, current_currency, params = {}, allowed_sort_attributes = [])
|
3
|
+
super(scope, current_currency, params, allowed_sort_attributes)
|
4
|
+
@currency = params[:currency] || current_currency
|
5
|
+
@ids_order = params.dig('filter', 'ids')
|
6
|
+
end
|
7
|
+
|
8
|
+
def call
|
9
|
+
if sort_by?('specified_ids_order')
|
10
|
+
products = by_specified_ids_order(scope)
|
11
|
+
else
|
12
|
+
products = by_param_attributes(scope)
|
13
|
+
products = by_price(products)
|
14
|
+
products = by_sku(products)
|
15
|
+
end
|
16
|
+
|
17
|
+
products.distinct
|
18
|
+
end
|
19
|
+
|
20
|
+
protected
|
21
|
+
|
22
|
+
def by_specified_ids_order(scope)
|
23
|
+
if @ids_order.present?
|
24
|
+
scope.order(Arel.sql("FIELD(spree_products.id, #{@ids_order})"))
|
25
|
+
else
|
26
|
+
scope
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
Spree::Products::Sort.prepend(SpreeProductSortInOrderOfIds::Spree::Products::SortDecorator) unless Spree::Products::Sort.included_modules.include?(SpreeProductSortInOrderOfIds::Spree::Products::SortDecorator)
|
data/bin/rails
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" from the root of your extension
|
3
|
+
|
4
|
+
ENGINE_ROOT = File.expand_path('../..', __FILE__)
|
5
|
+
ENGINE_PATH = File.expand_path('../../lib/spree_product_sort_in_order_of_ids/engine', __FILE__)
|
6
|
+
|
7
|
+
require 'rails/all'
|
8
|
+
require 'rails/engine/commands'
|
data/config/routes.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
module SpreeProductSortInOrderOfIds
|
2
|
+
module Generators
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
4
|
+
class_option :migrate, type: :boolean, default: true
|
5
|
+
|
6
|
+
def add_migrations
|
7
|
+
run 'bundle exec rake railties:install:migrations FROM=spree_product_sort_in_order_of_ids'
|
8
|
+
end
|
9
|
+
|
10
|
+
def run_migrations
|
11
|
+
run_migrations = options[:migrate] || ['', 'y', 'Y'].include?(ask('Would you like to run the migrations now? [Y/n]'))
|
12
|
+
if run_migrations
|
13
|
+
run 'bundle exec rails db:migrate'
|
14
|
+
else
|
15
|
+
puts 'Skipping rails db:migrate, don\'t forget to run it!'
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module SpreeProductSortInOrderOfIds
|
2
|
+
class Engine < Rails::Engine
|
3
|
+
require 'spree/core'
|
4
|
+
isolate_namespace Spree
|
5
|
+
engine_name 'spree_product_sort_in_order_of_ids'
|
6
|
+
|
7
|
+
# use rspec for tests
|
8
|
+
config.generators do |g|
|
9
|
+
g.test_framework :rspec
|
10
|
+
end
|
11
|
+
|
12
|
+
initializer 'spree_product_sort_in_order_of_ids.environment', before: :load_config_initializers do |_app|
|
13
|
+
SpreeProductSortInOrderOfIds::Config = SpreeProductSortInOrderOfIds::Configuration.new
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.activate
|
17
|
+
Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c|
|
18
|
+
Rails.configuration.cache_classes ? require(c) : load(c)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
config.to_prepare(&method(:activate).to_proc)
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,6 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
# Define your Spree extensions Factories within this file to enable applications, and other extensions to use and override them.
|
3
|
+
#
|
4
|
+
# Example adding this to your spec_helper will load these Factories for use:
|
5
|
+
# require 'spree_product_sort_in_order_of_ids/factories'
|
6
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
lib = File.expand_path('../lib/', __FILE__)
|
3
|
+
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
|
4
|
+
|
5
|
+
require 'spree_product_sort_in_order_of_ids/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.name = 'spree_product_sort_in_order_of_ids'
|
10
|
+
s.version = SpreeProductSortInOrderOfIds.version
|
11
|
+
s.summary = 'Add extension summary here'
|
12
|
+
s.description = 'Add (optional) extension description here'
|
13
|
+
s.required_ruby_version = '>= 2.5'
|
14
|
+
|
15
|
+
s.author = 'ROUTE06'
|
16
|
+
s.email = 'development+rubygems@route06.co.jp'
|
17
|
+
s.homepage = 'https://github.com/route06/spree_product_sort_in_order_of_ids'
|
18
|
+
s.license = 'BSD-3-Clause'
|
19
|
+
|
20
|
+
s.files = `git ls-files`.split("\n").reject { |f| f.match(/^spec/) && !f.match(/^spec\/fixtures/) }
|
21
|
+
s.require_path = 'lib'
|
22
|
+
s.requirements << 'none'
|
23
|
+
|
24
|
+
s.add_dependency 'spree', '>= 4.3.0'
|
25
|
+
# s.add_dependency 'spree_backend' # uncomment to include Admin Panel changes
|
26
|
+
s.add_dependency 'spree_extension'
|
27
|
+
|
28
|
+
s.add_development_dependency 'spree_dev_tools'
|
29
|
+
# net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1, but is used by the `mail` gem.
|
30
|
+
s.add_development_dependency 'net-smtp'
|
31
|
+
s.add_development_dependency 'mysql2'
|
32
|
+
|
33
|
+
# needed for running rspec
|
34
|
+
s.add_development_dependency 'actionmailer'
|
35
|
+
end
|
metadata
ADDED
@@ -0,0 +1,150 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spree_product_sort_in_order_of_ids
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ROUTE06
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-01-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: spree
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.3.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.3.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: spree_extension
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: spree_dev_tools
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: net-smtp
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mysql2
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: actionmailer
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Add (optional) extension description here
|
98
|
+
email: development+rubygems@route06.co.jp
|
99
|
+
executables: []
|
100
|
+
extensions: []
|
101
|
+
extra_rdoc_files: []
|
102
|
+
files:
|
103
|
+
- ".github/workflows/ci.yml"
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- Gemfile
|
107
|
+
- LICENSE
|
108
|
+
- README.md
|
109
|
+
- Rakefile
|
110
|
+
- app/.gitkeep
|
111
|
+
- app/controllers/.gitkeep
|
112
|
+
- app/models/.gitkeep
|
113
|
+
- app/models/spree_product_sort_in_order_of_ids/configuration.rb
|
114
|
+
- app/serializers/.gitkeep
|
115
|
+
- app/services/.gitkeep
|
116
|
+
- app/sorters/spree_product_sort_in_order_of_ids/spree/products/sort_decorator.rb
|
117
|
+
- bin/rails
|
118
|
+
- config/locales/en.yml
|
119
|
+
- config/routes.rb
|
120
|
+
- lib/generators/spree_product_sort_in_order_of_ids/install/install_generator.rb
|
121
|
+
- lib/spree_product_sort_in_order_of_ids.rb
|
122
|
+
- lib/spree_product_sort_in_order_of_ids/engine.rb
|
123
|
+
- lib/spree_product_sort_in_order_of_ids/factories.rb
|
124
|
+
- lib/spree_product_sort_in_order_of_ids/version.rb
|
125
|
+
- spree_product_sort_in_order_of_ids.gemspec
|
126
|
+
homepage: https://github.com/route06/spree_product_sort_in_order_of_ids
|
127
|
+
licenses:
|
128
|
+
- BSD-3-Clause
|
129
|
+
metadata: {}
|
130
|
+
post_install_message:
|
131
|
+
rdoc_options: []
|
132
|
+
require_paths:
|
133
|
+
- lib
|
134
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.5'
|
139
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
requirements:
|
145
|
+
- none
|
146
|
+
rubygems_version: 3.1.2
|
147
|
+
signing_key:
|
148
|
+
specification_version: 4
|
149
|
+
summary: Add extension summary here
|
150
|
+
test_files: []
|