- <%= link_to "Edit this product", shop_now.edit_product_path(@product) %> |
- <%= link_to "Back to products", shop_now.products_path %>
-
- <%= button_to "Destroy this product", shop_now.product_path(@product), method: :delete %>
-
diff --git a/vendor/plugins/shop_now/bin/rails b/vendor/plugins/shop_now/bin/rails
deleted file mode 100755
index 2e4a1b7..0000000
--- a/vendor/plugins/shop_now/bin/rails
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env ruby
-# This command will automatically be run when you run "rails" with Rails gems
-# installed from the root of your application.
-
-ENGINE_ROOT = File.expand_path("..", __dir__)
-ENGINE_PATH = File.expand_path("../lib/shop_now/engine", __dir__)
-APP_PATH = File.expand_path("../test/dummy/config/application", __dir__)
-
-# Set up gems listed in the Gemfile.
-ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
-require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
-
-require "rails/all"
-require "rails/engine/commands"
diff --git a/vendor/plugins/shop_now/bin/rubocop b/vendor/plugins/shop_now/bin/rubocop
deleted file mode 100755
index 40330c0..0000000
--- a/vendor/plugins/shop_now/bin/rubocop
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env ruby
-require "rubygems"
-require "bundler/setup"
-
-# explicit rubocop config increases performance slightly while avoiding config confusion.
-ARGV.unshift("--config", File.expand_path("../.rubocop.yml", __dir__))
-
-load Gem.bin_path("rubocop", "rubocop")
diff --git a/vendor/plugins/shop_now/config/routes.rb b/vendor/plugins/shop_now/config/routes.rb
deleted file mode 100644
index b5560e5..0000000
--- a/vendor/plugins/shop_now/config/routes.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-
-ShopNow::Engine.routes.draw do
- resources :products
- # Within the engine, controllers are namespaced automatically (ShopNow::ProductsController)
- root to: "shop_now/products#index"
- get "contact", to: "products#contact"
-end
diff --git a/vendor/plugins/shop_now/db/migrate/20251102092955_create_products.rb b/vendor/plugins/shop_now/db/migrate/20251102092955_create_products.rb
deleted file mode 100644
index 305a029..0000000
--- a/vendor/plugins/shop_now/db/migrate/20251102092955_create_products.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-class CreateProducts < ActiveRecord::Migration[8.0]
- def change
- create_table :products do |t|
- t.string :name
- t.text :description
- t.decimal :price
-
- t.timestamps
- end
- end
-end
diff --git a/vendor/plugins/shop_now/lib/shop_now.rb b/vendor/plugins/shop_now/lib/shop_now.rb
deleted file mode 100644
index c28b501..0000000
--- a/vendor/plugins/shop_now/lib/shop_now.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-require "shop_now/version"
-require "shop_now/engine"
-
-module ShopNow
- # Your code goes here...
-end
diff --git a/vendor/plugins/shop_now/lib/shop_now/engine.rb b/vendor/plugins/shop_now/lib/shop_now/engine.rb
deleted file mode 100644
index 6714745..0000000
--- a/vendor/plugins/shop_now/lib/shop_now/engine.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-module ShopNow
- class Engine < ::Rails::Engine
- isolate_namespace ShopNow
- end
-end
diff --git a/vendor/plugins/shop_now/lib/shop_now/version.rb b/vendor/plugins/shop_now/lib/shop_now/version.rb
deleted file mode 100644
index 9ea7c90..0000000
--- a/vendor/plugins/shop_now/lib/shop_now/version.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-module ShopNow
- VERSION = "0.1.0"
-end
diff --git a/vendor/plugins/shop_now/lib/tasks/shop_now_tasks.rake b/vendor/plugins/shop_now/lib/tasks/shop_now_tasks.rake
deleted file mode 100644
index 0994a4f..0000000
--- a/vendor/plugins/shop_now/lib/tasks/shop_now_tasks.rake
+++ /dev/null
@@ -1,4 +0,0 @@
-# desc "Explaining what the task does"
-# task :shop_now do
-# # Task goes here
-# end
diff --git a/vendor/plugins/shop_now/shop_now.gemspec b/vendor/plugins/shop_now/shop_now.gemspec
deleted file mode 100644
index af04c65..0000000
--- a/vendor/plugins/shop_now/shop_now.gemspec
+++ /dev/null
@@ -1,26 +0,0 @@
-require_relative "lib/shop_now/version"
-
-Gem::Specification.new do |spec|
- spec.name = "shop_now"
- spec.version = ShopNow::VERSION
- spec.authors = [ "niyas301" ]
- spec.email = [ "niyumon301@gmail.com" ]
- spec.homepage = "https://example.com/shop_now"
- spec.summary = "ShopNow plugin for Badar Madeena (local)"
- spec.description = "Local ShopNow plugin used by the application. Replace with your project's description."
-
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the "allowed_push_host"
- # to allow pushing to a single host or delete this section to allow pushing to any host.
- # If you publish this gem, set allowed_push_host appropriately. Left unset for local use.
- # spec.metadata["allowed_push_host"] = "http://mygemserver.com"
-
- spec.metadata["homepage_uri"] = spec.homepage
- spec.metadata["source_code_uri"] = "https://example.com/shop_now/source"
- spec.metadata["changelog_uri"] = "https://example.com/shop_now/CHANGELOG.md"
-
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
- Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
- end
-
- spec.add_dependency "rails", ">= 8.0.3"
-end
diff --git a/vendor/plugins/shop_now/test/controllers/.keep b/vendor/plugins/shop_now/test/controllers/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/vendor/plugins/shop_now/test/controllers/products_controller_test.rb b/vendor/plugins/shop_now/test/controllers/products_controller_test.rb
deleted file mode 100644
index 97174d1..0000000
--- a/vendor/plugins/shop_now/test/controllers/products_controller_test.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-require "test_helper"
-
-class ProductsControllerTest < ActionDispatch::IntegrationTest
- setup do
- @product = products(:one)
- end
-
- test "should get index" do
- get products_url
- assert_response :success
- end
-
- test "should get new" do
- get new_product_url
- assert_response :success
- end
-
- test "should create product" do
- assert_difference("Product.count") do
- post products_url, params: { product: { name: @product.name, price: @product.price } }
- end
-
- assert_redirected_to product_url(Product.last)
- end
-
- test "should show product" do
- get product_url(@product)
- assert_response :success
- end
-
- test "should get edit" do
- get edit_product_url(@product)
- assert_response :success
- end
-
- test "should update product" do
- patch product_url(@product), params: { product: { name: @product.name, price: @product.price } }
- assert_redirected_to product_url(@product)
- end
-
- test "should destroy product" do
- assert_difference("Product.count", -1) do
- delete product_url(@product)
- end
-
- assert_redirected_to products_url
- end
-end
diff --git a/vendor/plugins/shop_now/test/dummy/Rakefile b/vendor/plugins/shop_now/test/dummy/Rakefile
deleted file mode 100644
index 9a5ea73..0000000
--- a/vendor/plugins/shop_now/test/dummy/Rakefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require_relative "config/application"
-
-Rails.application.load_tasks
diff --git a/vendor/plugins/shop_now/test/dummy/app/assets/images/.keep b/vendor/plugins/shop_now/test/dummy/app/assets/images/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/vendor/plugins/shop_now/test/dummy/app/assets/stylesheets/application.css b/vendor/plugins/shop_now/test/dummy/app/assets/stylesheets/application.css
deleted file mode 100644
index 0ebd7fe..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/assets/stylesheets/application.css
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
- * files in this directory. Styles in this file should be added after the last require_* statement.
- * It is generally better to create a new file per style scope.
- *
- *= require_tree .
- *= require_self
- */
diff --git a/vendor/plugins/shop_now/test/dummy/app/controllers/application_controller.rb b/vendor/plugins/shop_now/test/dummy/app/controllers/application_controller.rb
deleted file mode 100644
index 0d95db2..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class ApplicationController < ActionController::Base
- # Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
- allow_browser versions: :modern
-end
diff --git a/vendor/plugins/shop_now/test/dummy/app/controllers/concerns/.keep b/vendor/plugins/shop_now/test/dummy/app/controllers/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/vendor/plugins/shop_now/test/dummy/app/helpers/application_helper.rb b/vendor/plugins/shop_now/test/dummy/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/vendor/plugins/shop_now/test/dummy/app/jobs/application_job.rb b/vendor/plugins/shop_now/test/dummy/app/jobs/application_job.rb
deleted file mode 100644
index d394c3d..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/jobs/application_job.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class ApplicationJob < ActiveJob::Base
- # Automatically retry jobs that encountered a deadlock
- # retry_on ActiveRecord::Deadlocked
-
- # Most jobs are safe to ignore if the underlying records are no longer available
- # discard_on ActiveJob::DeserializationError
-end
diff --git a/vendor/plugins/shop_now/test/dummy/app/mailers/application_mailer.rb b/vendor/plugins/shop_now/test/dummy/app/mailers/application_mailer.rb
deleted file mode 100644
index 3c34c81..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/mailers/application_mailer.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-class ApplicationMailer < ActionMailer::Base
- default from: "from@example.com"
- layout "mailer"
-end
diff --git a/vendor/plugins/shop_now/test/dummy/app/models/application_record.rb b/vendor/plugins/shop_now/test/dummy/app/models/application_record.rb
deleted file mode 100644
index b63caeb..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/models/application_record.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-class ApplicationRecord < ActiveRecord::Base
- primary_abstract_class
-end
diff --git a/vendor/plugins/shop_now/test/dummy/app/models/concerns/.keep b/vendor/plugins/shop_now/test/dummy/app/models/concerns/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/vendor/plugins/shop_now/test/dummy/app/views/layouts/application.html.erb b/vendor/plugins/shop_now/test/dummy/app/views/layouts/application.html.erb
deleted file mode 100644
index f25ae92..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- <%= content_for(:title) || "Dummy" %>
-
-
-
- <%= csrf_meta_tags %>
- <%= csp_meta_tag %>
-
- <%= yield :head %>
-
- <%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
- <%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>
-
-
-
-
-
- <%# Includes all stylesheet files in app/assets/stylesheets %>
- <%= stylesheet_link_tag :app %>
-
-
-
- <%= yield %>
-
-
diff --git a/vendor/plugins/shop_now/test/dummy/app/views/layouts/mailer.html.erb b/vendor/plugins/shop_now/test/dummy/app/views/layouts/mailer.html.erb
deleted file mode 100644
index 3aac900..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/views/layouts/mailer.html.erb
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
- <%= yield %>
-
-
diff --git a/vendor/plugins/shop_now/test/dummy/app/views/layouts/mailer.text.erb b/vendor/plugins/shop_now/test/dummy/app/views/layouts/mailer.text.erb
deleted file mode 100644
index 37f0bdd..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/views/layouts/mailer.text.erb
+++ /dev/null
@@ -1 +0,0 @@
-<%= yield %>
diff --git a/vendor/plugins/shop_now/test/dummy/app/views/pwa/manifest.json.erb b/vendor/plugins/shop_now/test/dummy/app/views/pwa/manifest.json.erb
deleted file mode 100644
index a3c046e..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/views/pwa/manifest.json.erb
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "Dummy",
- "icons": [
- {
- "src": "/icon.png",
- "type": "image/png",
- "sizes": "512x512"
- },
- {
- "src": "/icon.png",
- "type": "image/png",
- "sizes": "512x512",
- "purpose": "maskable"
- }
- ],
- "start_url": "/",
- "display": "standalone",
- "scope": "/",
- "description": "Dummy.",
- "theme_color": "red",
- "background_color": "red"
-}
diff --git a/vendor/plugins/shop_now/test/dummy/app/views/pwa/service-worker.js b/vendor/plugins/shop_now/test/dummy/app/views/pwa/service-worker.js
deleted file mode 100644
index b3a13fb..0000000
--- a/vendor/plugins/shop_now/test/dummy/app/views/pwa/service-worker.js
+++ /dev/null
@@ -1,26 +0,0 @@
-// Add a service worker for processing Web Push notifications:
-//
-// self.addEventListener("push", async (event) => {
-// const { title, options } = await event.data.json()
-// event.waitUntil(self.registration.showNotification(title, options))
-// })
-//
-// self.addEventListener("notificationclick", function(event) {
-// event.notification.close()
-// event.waitUntil(
-// clients.matchAll({ type: "window" }).then((clientList) => {
-// for (let i = 0; i < clientList.length; i++) {
-// let client = clientList[i]
-// let clientPath = (new URL(client.url)).pathname
-//
-// if (clientPath == event.notification.data.path && "focus" in client) {
-// return client.focus()
-// }
-// }
-//
-// if (clients.openWindow) {
-// return clients.openWindow(event.notification.data.path)
-// }
-// })
-// )
-// })
diff --git a/vendor/plugins/shop_now/test/dummy/bin/dev b/vendor/plugins/shop_now/test/dummy/bin/dev
deleted file mode 100755
index 5f91c20..0000000
--- a/vendor/plugins/shop_now/test/dummy/bin/dev
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/usr/bin/env ruby
-exec "./bin/rails", "server", *ARGV
diff --git a/vendor/plugins/shop_now/test/dummy/bin/rails b/vendor/plugins/shop_now/test/dummy/bin/rails
deleted file mode 100755
index efc0377..0000000
--- a/vendor/plugins/shop_now/test/dummy/bin/rails
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env ruby
-APP_PATH = File.expand_path("../config/application", __dir__)
-require_relative "../config/boot"
-require "rails/commands"
diff --git a/vendor/plugins/shop_now/test/dummy/bin/rake b/vendor/plugins/shop_now/test/dummy/bin/rake
deleted file mode 100755
index 4fbf10b..0000000
--- a/vendor/plugins/shop_now/test/dummy/bin/rake
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env ruby
-require_relative "../config/boot"
-require "rake"
-Rake.application.run
diff --git a/vendor/plugins/shop_now/test/dummy/bin/setup b/vendor/plugins/shop_now/test/dummy/bin/setup
deleted file mode 100755
index be3db3c..0000000
--- a/vendor/plugins/shop_now/test/dummy/bin/setup
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env ruby
-require "fileutils"
-
-APP_ROOT = File.expand_path("..", __dir__)
-
-def system!(*args)
- system(*args, exception: true)
-end
-
-FileUtils.chdir APP_ROOT do
- # This script is a way to set up or update your development environment automatically.
- # This script is idempotent, so that you can run it at any time and get an expectable outcome.
- # Add necessary setup steps to this file.
-
- puts "== Installing dependencies =="
- system("bundle check") || system!("bundle install")
-
- # puts "\n== Copying sample files =="
- # unless File.exist?("config/database.yml")
- # FileUtils.cp "config/database.yml.sample", "config/database.yml"
- # end
-
- puts "\n== Preparing database =="
- system! "bin/rails db:prepare"
-
- puts "\n== Removing old logs and tempfiles =="
- system! "bin/rails log:clear tmp:clear"
-
- unless ARGV.include?("--skip-server")
- puts "\n== Starting development server =="
- STDOUT.flush # flush the output before exec(2) so that it displays
- exec "bin/dev"
- end
-end
diff --git a/vendor/plugins/shop_now/test/dummy/config.ru b/vendor/plugins/shop_now/test/dummy/config.ru
deleted file mode 100644
index 4a3c09a..0000000
--- a/vendor/plugins/shop_now/test/dummy/config.ru
+++ /dev/null
@@ -1,6 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require_relative "config/environment"
-
-run Rails.application
-Rails.application.load_server
diff --git a/vendor/plugins/shop_now/test/dummy/config/application.rb b/vendor/plugins/shop_now/test/dummy/config/application.rb
deleted file mode 100644
index 6e61f6b..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/application.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-require_relative "boot"
-
-require "rails/all"
-
-# Require the gems listed in Gemfile, including any gems
-# you've limited to :test, :development, or :production.
-Bundler.require(*Rails.groups)
-
-module Dummy
- class Application < Rails::Application
- config.load_defaults Rails::VERSION::STRING.to_f
-
- # For compatibility with applications that use this config
- config.action_controller.include_all_helpers = false
-
- # Please, add to the `ignore` list any other `lib` subdirectories that do
- # not contain `.rb` files, or that should not be reloaded or eager loaded.
- # Common ones are `templates`, `generators`, or `middleware`, for example.
- config.autoload_lib(ignore: %w[assets tasks])
-
- # Configuration for the application, engines, and railties goes here.
- #
- # These settings can be overridden in specific environments using the files
- # in config/environments, which are processed later.
- #
- # config.time_zone = "Central Time (US & Canada)"
- # config.eager_load_paths << Rails.root.join("extras")
- end
-end
diff --git a/vendor/plugins/shop_now/test/dummy/config/boot.rb b/vendor/plugins/shop_now/test/dummy/config/boot.rb
deleted file mode 100644
index 116591a..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/boot.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Set up gems listed in the Gemfile.
-ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../Gemfile", __dir__)
-
-require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
-$LOAD_PATH.unshift File.expand_path("../../../lib", __dir__)
diff --git a/vendor/plugins/shop_now/test/dummy/config/cable.yml b/vendor/plugins/shop_now/test/dummy/config/cable.yml
deleted file mode 100644
index 98367f8..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/cable.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-development:
- adapter: async
-
-test:
- adapter: test
-
-production:
- adapter: redis
- url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
- channel_prefix: dummy_production
diff --git a/vendor/plugins/shop_now/test/dummy/config/database.yml b/vendor/plugins/shop_now/test/dummy/config/database.yml
deleted file mode 100644
index 01bebb5..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/database.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-# SQLite. Versions 3.8.0 and up are supported.
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem "sqlite3"
-#
-default: &default
- adapter: sqlite3
- pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
- timeout: 5000
-
-development:
- <<: *default
- database: storage/development.sqlite3
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- <<: *default
- database: storage/test.sqlite3
-
-
-# SQLite3 write its data on the local filesystem, as such it requires
-# persistent disks. If you are deploying to a managed service, you should
-# make sure it provides disk persistence, as many don't.
-#
-# Similarly, if you deploy your application as a Docker container, you must
-# ensure the database is located in a persisted volume.
-production:
- <<: *default
- # database: path/to/persistent/storage/production.sqlite3
diff --git a/vendor/plugins/shop_now/test/dummy/config/environment.rb b/vendor/plugins/shop_now/test/dummy/config/environment.rb
deleted file mode 100644
index cac5315..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the Rails application.
-require_relative "application"
-
-# Initialize the Rails application.
-Rails.application.initialize!
diff --git a/vendor/plugins/shop_now/test/dummy/config/environments/development.rb b/vendor/plugins/shop_now/test/dummy/config/environments/development.rb
deleted file mode 100644
index 263e0c4..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/environments/development.rb
+++ /dev/null
@@ -1,69 +0,0 @@
-require "active_support/core_ext/integer/time"
-
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Make code changes take effect immediately without server restart.
- config.enable_reloading = true
-
- # Do not eager load code on boot.
- config.eager_load = false
-
- # Show full error reports.
- config.consider_all_requests_local = true
-
- # Enable server timing.
- config.server_timing = true
-
- # Enable/disable Action Controller caching. By default Action Controller caching is disabled.
- # Run rails dev:cache to toggle Action Controller caching.
- if Rails.root.join("tmp/caching-dev.txt").exist?
- config.action_controller.perform_caching = true
- config.action_controller.enable_fragment_cache_logging = true
- config.public_file_server.headers = { "cache-control" => "public, max-age=#{2.days.to_i}" }
- else
- config.action_controller.perform_caching = false
- end
-
- # Change to :null_store to avoid any caching.
- config.cache_store = :memory_store
-
- # Store uploaded files on the local file system (see config/storage.yml for options).
- config.active_storage.service = :local
-
- # Don't care if the mailer can't send.
- config.action_mailer.raise_delivery_errors = false
-
- # Make template changes take effect immediately.
- config.action_mailer.perform_caching = false
-
- # Set localhost to be used by links generated in mailer templates.
- config.action_mailer.default_url_options = { host: "localhost", port: 3000 }
-
- # Print deprecation notices to the Rails logger.
- config.active_support.deprecation = :log
-
- # Raise an error on page load if there are pending migrations.
- config.active_record.migration_error = :page_load
-
- # Highlight code that triggered database queries in logs.
- config.active_record.verbose_query_logs = true
-
- # Append comments with runtime information tags to SQL queries in logs.
- config.active_record.query_log_tags_enabled = true
-
- # Highlight code that enqueued background job in logs.
- config.active_job.verbose_enqueue_logs = true
-
- # Raises error for missing translations.
- # config.i18n.raise_on_missing_translations = true
-
- # Annotate rendered view with file names.
- config.action_view.annotate_rendered_view_with_filenames = true
-
- # Uncomment if you wish to allow Action Cable access from any origin.
- # config.action_cable.disable_request_forgery_protection = true
-
- # Raise error when a before_action's only/except options reference missing actions.
- config.action_controller.raise_on_missing_callback_actions = true
-end
diff --git a/vendor/plugins/shop_now/test/dummy/config/environments/production.rb b/vendor/plugins/shop_now/test/dummy/config/environments/production.rb
deleted file mode 100644
index 1749607..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/environments/production.rb
+++ /dev/null
@@ -1,89 +0,0 @@
-require "active_support/core_ext/integer/time"
-
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # Code is not reloaded between requests.
- config.enable_reloading = false
-
- # Eager load code on boot for better performance and memory savings (ignored by Rake tasks).
- config.eager_load = true
-
- # Full error reports are disabled.
- config.consider_all_requests_local = false
-
- # Turn on fragment caching in view templates.
- config.action_controller.perform_caching = true
-
- # Cache assets for far-future expiry since they are all digest stamped.
- config.public_file_server.headers = { "cache-control" => "public, max-age=#{1.year.to_i}" }
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
- # config.asset_host = "http://assets.example.com"
-
- # Store uploaded files on the local file system (see config/storage.yml for options).
- config.active_storage.service = :local
-
- # Assume all access to the app is happening through a SSL-terminating reverse proxy.
- config.assume_ssl = true
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- config.force_ssl = true
-
- # Skip http-to-https redirect for the default health check endpoint.
- # config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
-
- # Log to STDOUT with the current request id as a default log tag.
- config.log_tags = [ :request_id ]
- config.logger = ActiveSupport::TaggedLogging.logger(STDOUT)
-
- # Change to "debug" to log everything (including potentially personally-identifiable information!)
- config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
-
- # Prevent health checks from clogging up the logs.
- config.silence_healthcheck_path = "/up"
-
- # Don't log any deprecations.
- config.active_support.report_deprecations = false
-
- # Replace the default in-process memory cache store with a durable alternative.
- # config.cache_store = :mem_cache_store
-
- # Replace the default in-process and non-durable queuing backend for Active Job.
- # config.active_job.queue_adapter = :resque
-
- # Ignore bad email addresses and do not raise email delivery errors.
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
- # config.action_mailer.raise_delivery_errors = false
-
- # Set host to be used by links generated in mailer templates.
- config.action_mailer.default_url_options = { host: "example.com" }
-
- # Specify outgoing SMTP server. Remember to add smtp/* credentials via rails credentials:edit.
- # config.action_mailer.smtp_settings = {
- # user_name: Rails.application.credentials.dig(:smtp, :user_name),
- # password: Rails.application.credentials.dig(:smtp, :password),
- # address: "smtp.example.com",
- # port: 587,
- # authentication: :plain
- # }
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation cannot be found).
- config.i18n.fallbacks = true
-
- # Do not dump schema after migrations.
- config.active_record.dump_schema_after_migration = false
-
- # Only use :id for inspections in production.
- config.active_record.attributes_for_inspect = [ :id ]
-
- # Enable DNS rebinding protection and other `Host` header attacks.
- # config.hosts = [
- # "example.com", # Allow requests from example.com
- # /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
- # ]
- #
- # Skip DNS rebinding protection for the default health check endpoint.
- # config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
-end
diff --git a/vendor/plugins/shop_now/test/dummy/config/environments/test.rb b/vendor/plugins/shop_now/test/dummy/config/environments/test.rb
deleted file mode 100644
index c2095b1..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/environments/test.rb
+++ /dev/null
@@ -1,53 +0,0 @@
-# The test environment is used exclusively to run your application's
-# test suite. You never need to work with it otherwise. Remember that
-# your test database is "scratch space" for the test suite and is wiped
-# and recreated between test runs. Don't rely on the data there!
-
-Rails.application.configure do
- # Settings specified here will take precedence over those in config/application.rb.
-
- # While tests run files are not watched, reloading is not necessary.
- config.enable_reloading = false
-
- # Eager loading loads your entire application. When running a single test locally,
- # this is usually not necessary, and can slow down your test suite. However, it's
- # recommended that you enable it in continuous integration systems to ensure eager
- # loading is working properly before deploying your code.
- config.eager_load = ENV["CI"].present?
-
- # Configure public file server for tests with cache-control for performance.
- config.public_file_server.headers = { "cache-control" => "public, max-age=3600" }
-
- # Show full error reports.
- config.consider_all_requests_local = true
- config.cache_store = :null_store
-
- # Render exception templates for rescuable exceptions and raise for other exceptions.
- config.action_dispatch.show_exceptions = :rescuable
-
- # Disable request forgery protection in test environment.
- config.action_controller.allow_forgery_protection = false
-
- # Store uploaded files on the local file system in a temporary directory.
- config.active_storage.service = :test
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
- # Set host to be used by links generated in mailer templates.
- config.action_mailer.default_url_options = { host: "example.com" }
-
- # Print deprecation notices to the stderr.
- config.active_support.deprecation = :stderr
-
- # Raises error for missing translations.
- # config.i18n.raise_on_missing_translations = true
-
- # Annotate rendered view with file names.
- # config.action_view.annotate_rendered_view_with_filenames = true
-
- # Raise error when a before_action's only/except options reference missing actions.
- config.action_controller.raise_on_missing_callback_actions = true
-end
diff --git a/vendor/plugins/shop_now/test/dummy/config/initializers/assets.rb b/vendor/plugins/shop_now/test/dummy/config/initializers/assets.rb
deleted file mode 100644
index 4873244..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/initializers/assets.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Version of your assets, change this if you want to expire all your assets.
-Rails.application.config.assets.version = "1.0"
-
-# Add additional assets to the asset load path.
-# Rails.application.config.assets.paths << Emoji.images_path
diff --git a/vendor/plugins/shop_now/test/dummy/config/initializers/content_security_policy.rb b/vendor/plugins/shop_now/test/dummy/config/initializers/content_security_policy.rb
deleted file mode 100644
index b3076b3..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/initializers/content_security_policy.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Define an application-wide content security policy.
-# See the Securing Rails Applications Guide for more information:
-# https://guides.rubyonrails.org/security.html#content-security-policy-header
-
-# Rails.application.configure do
-# config.content_security_policy do |policy|
-# policy.default_src :self, :https
-# policy.font_src :self, :https, :data
-# policy.img_src :self, :https, :data
-# policy.object_src :none
-# policy.script_src :self, :https
-# policy.style_src :self, :https
-# # Specify URI for violation reports
-# # policy.report_uri "/csp-violation-report-endpoint"
-# end
-#
-# # Generate session nonces for permitted importmap, inline scripts, and inline styles.
-# config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
-# config.content_security_policy_nonce_directives = %w(script-src style-src)
-#
-# # Report violations without enforcing the policy.
-# # config.content_security_policy_report_only = true
-# end
diff --git a/vendor/plugins/shop_now/test/dummy/config/initializers/filter_parameter_logging.rb b/vendor/plugins/shop_now/test/dummy/config/initializers/filter_parameter_logging.rb
deleted file mode 100644
index c0b717f..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/initializers/filter_parameter_logging.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
-# Use this to limit dissemination of sensitive information.
-# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
-Rails.application.config.filter_parameters += [
- :passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc
-]
diff --git a/vendor/plugins/shop_now/test/dummy/config/initializers/inflections.rb b/vendor/plugins/shop_now/test/dummy/config/initializers/inflections.rb
deleted file mode 100644
index 3860f65..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/initializers/inflections.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format. Inflections
-# are locale specific, and you may define rules for as many different
-# locales as you wish. All of these examples are active by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.plural /^(ox)$/i, "\\1en"
-# inflect.singular /^(ox)en/i, "\\1"
-# inflect.irregular "person", "people"
-# inflect.uncountable %w( fish sheep )
-# end
-
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections(:en) do |inflect|
-# inflect.acronym "RESTful"
-# end
diff --git a/vendor/plugins/shop_now/test/dummy/config/locales/en.yml b/vendor/plugins/shop_now/test/dummy/config/locales/en.yml
deleted file mode 100644
index 6c349ae..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/locales/en.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-# Files in the config/locales directory are used for internationalization and
-# are automatically loaded by Rails. If you want to use locales other than
-# English, add the necessary files in this directory.
-#
-# To use the locales, use `I18n.t`:
-#
-# I18n.t "hello"
-#
-# In views, this is aliased to just `t`:
-#
-# <%= t("hello") %>
-#
-# To use a different locale, set it with `I18n.locale`:
-#
-# I18n.locale = :es
-#
-# This would use the information in config/locales/es.yml.
-#
-# To learn more about the API, please read the Rails Internationalization guide
-# at https://guides.rubyonrails.org/i18n.html.
-#
-# Be aware that YAML interprets the following case-insensitive strings as
-# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
-# must be quoted to be interpreted as strings. For example:
-#
-# en:
-# "yes": yup
-# enabled: "ON"
-
-en:
- hello: "Hello world"
diff --git a/vendor/plugins/shop_now/test/dummy/config/puma.rb b/vendor/plugins/shop_now/test/dummy/config/puma.rb
deleted file mode 100644
index 787e4ce..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/puma.rb
+++ /dev/null
@@ -1,38 +0,0 @@
-# This configuration file will be evaluated by Puma. The top-level methods that
-# are invoked here are part of Puma's configuration DSL. For more information
-# about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html.
-#
-# Puma starts a configurable number of processes (workers) and each process
-# serves each request in a thread from an internal thread pool.
-#
-# You can control the number of workers using ENV["WEB_CONCURRENCY"]. You
-# should only set this value when you want to run 2 or more workers. The
-# default is already 1.
-#
-# The ideal number of threads per worker depends both on how much time the
-# application spends waiting for IO operations and on how much you wish to
-# prioritize throughput over latency.
-#
-# As a rule of thumb, increasing the number of threads will increase how much
-# traffic a given process can handle (throughput), but due to CRuby's
-# Global VM Lock (GVL) it has diminishing returns and will degrade the
-# response time (latency) of the application.
-#
-# The default is set to 3 threads as it's deemed a decent compromise between
-# throughput and latency for the average Rails application.
-#
-# Any libraries that use a connection pool or another resource pool should
-# be configured to provide at least as many connections as the number of
-# threads. This includes Active Record's `pool` parameter in `database.yml`.
-threads_count = ENV.fetch("RAILS_MAX_THREADS", 3)
-threads threads_count, threads_count
-
-# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
-port ENV.fetch("PORT", 3000)
-
-# Allow puma to be restarted by `bin/rails restart` command.
-plugin :tmp_restart
-
-# Specify the PID file. Defaults to tmp/pids/server.pid in development.
-# In other environments, only set the PID file if requested.
-pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
diff --git a/vendor/plugins/shop_now/test/dummy/config/routes.rb b/vendor/plugins/shop_now/test/dummy/config/routes.rb
deleted file mode 100644
index 48254e8..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/routes.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-Rails.application.routes.draw do
- # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
-
- # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
- # Can be used by load balancers and uptime monitors to verify that the app is live.
- get "up" => "rails/health#show", as: :rails_health_check
-
- # Render dynamic PWA files from app/views/pwa/* (remember to link manifest in application.html.erb)
- # get "manifest" => "rails/pwa#manifest", as: :pwa_manifest
- # get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker
-
- # Defines the root path route ("/")
- # root "posts#index"
-end
diff --git a/vendor/plugins/shop_now/test/dummy/config/storage.yml b/vendor/plugins/shop_now/test/dummy/config/storage.yml
deleted file mode 100644
index 4942ab6..0000000
--- a/vendor/plugins/shop_now/test/dummy/config/storage.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-test:
- service: Disk
- root: <%= Rails.root.join("tmp/storage") %>
-
-local:
- service: Disk
- root: <%= Rails.root.join("storage") %>
-
-# Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
-# amazon:
-# service: S3
-# access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
-# secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
-# region: us-east-1
-# bucket: your_own_bucket-<%= Rails.env %>
-
-# Remember not to checkin your GCS keyfile to a repository
-# google:
-# service: GCS
-# project: your_project
-# credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
-# bucket: your_own_bucket-<%= Rails.env %>
-
-# Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
-# microsoft:
-# service: AzureStorage
-# storage_account_name: your_account_name
-# storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
-# container: your_container_name-<%= Rails.env %>
-
-# mirror:
-# service: Mirror
-# primary: local
-# mirrors: [ amazon, google, microsoft ]
diff --git a/vendor/plugins/shop_now/test/dummy/db/schema.rb b/vendor/plugins/shop_now/test/dummy/db/schema.rb
deleted file mode 100644
index c5fc249..0000000
--- a/vendor/plugins/shop_now/test/dummy/db/schema.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-# This file is auto-generated from the current state of the database. Instead
-# of editing this file, please use the migrations feature of Active Record to
-# incrementally modify your database, and then regenerate this schema definition.
-#
-# This file is the source Rails uses to define your schema when running `bin/rails
-# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
-# be faster and is potentially less error prone than running all of your
-# migrations from scratch. Old migrations may fail to apply correctly if those
-# migrations use external dependencies or application code.
-#
-# It's strongly recommended that you check this file into your version control system.
-
-ActiveRecord::Schema[8.0].define(version: 2025_11_02_092955) do
- create_table "products", force: :cascade do |t|
- t.string "name"
- t.text "description"
- t.decimal "price"
- t.datetime "created_at", null: false
- t.datetime "updated_at", null: false
- end
-end
diff --git a/vendor/plugins/shop_now/test/dummy/log/.keep b/vendor/plugins/shop_now/test/dummy/log/.keep
deleted file mode 100644
index e69de29..0000000
diff --git a/vendor/plugins/shop_now/test/dummy/log/development.log b/vendor/plugins/shop_now/test/dummy/log/development.log
deleted file mode 100644
index a1e4192..0000000
--- a/vendor/plugins/shop_now/test/dummy/log/development.log
+++ /dev/null
@@ -1,31 +0,0 @@
-Started GET "/shop_now/products" for 127.0.0.1 at 2025-11-02 15:11:37 +0530
- [1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) /*application='Dummy'*/[0m
- [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) /*application='Dummy'*/[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/[0m
-
-ActionController::RoutingError (No route matches [GET] "/shop_now/products"):
-
-Started GET "/shop_now/products" for 127.0.0.1 at 2025-11-02 15:11:42 +0530
-
-ActionController::RoutingError (No route matches [GET] "/shop_now/products"):
-
-Started GET "/shop_now/products" for 127.0.0.1 at 2025-11-02 15:13:06 +0530
-
-ActionController::RoutingError (No route matches [GET] "/shop_now/products"):
-
-Started GET "/shop_now/products" for 127.0.0.1 at 2025-11-02 15:13:08 +0530
-
-ActionController::RoutingError (No route matches [GET] "/shop_now/products"):
-
- [1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/[0m
- [1m[36mActiveRecord::InternalMetadata Create (2.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ('environment', 'development', '2025-11-02 11:06:31.387892', '2025-11-02 11:06:31.387898') RETURNING "key" /*application='Dummy'*/[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/[0m
-Migrating to CreateProducts (20251102092955)
- [1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN immediate TRANSACTION /*application='Dummy'*/[0m
- [1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" text, "price" decimal, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL) /*application='Dummy'*/[0m
- [1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ('20251102092955') RETURNING "version" /*application='Dummy'*/[0m
- [1m[36mTRANSACTION (0.5ms)[0m [1m[35mCOMMIT TRANSACTION /*application='Dummy'*/[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = 'environment' ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 /*application='Dummy'*/[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC /*application='Dummy'*/[0m
diff --git a/vendor/plugins/shop_now/test/dummy/public/400.html b/vendor/plugins/shop_now/test/dummy/public/400.html
deleted file mode 100644
index 282dbc8..0000000
--- a/vendor/plugins/shop_now/test/dummy/public/400.html
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
-
- The server cannot process the request due to a client error (400 Bad Request)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The server cannot process the request due to a client error. Please check the request and try again. If you’re the application owner check the logs for more information.
The page you were looking for doesn’t exist. You may have mistyped the address or the page may have moved. If you’re the application owner check the logs for more information.
The change you wanted was rejected. Maybe you tried to change something you didn’t have access to. If you’re the application owner check the logs for more information.