diff --git a/.gitignore b/.gitignore index 2d0cef43..98e6a5f4 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,4 @@ test/dummy/tmp/ gemfiles/*.gemfile.lock -Gemfile.lock \ No newline at end of file +Gemfile.lock diff --git a/heroicon.gemspec b/heroicon.gemspec index 4fbb6361..6d28b291 100644 --- a/heroicon.gemspec +++ b/heroicon.gemspec @@ -20,7 +20,8 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.5" - spec.add_dependency "rails", ">= 5.2" + spec.add_dependency "nokogiri" + spec.add_dependency "railties", ">= 5.2" spec.add_development_dependency "appraisal" spec.add_development_dependency "pry" diff --git a/test/dummy/.ruby-version b/test/dummy/.ruby-version deleted file mode 100644 index a603bb50..00000000 --- a/test/dummy/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -2.7.5 diff --git a/test/dummy/Rakefile b/test/dummy/Rakefile deleted file mode 100644 index d2a78aa2..00000000 --- a/test/dummy/Rakefile +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -# 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/test/dummy/app/assets/config/manifest.js b/test/dummy/app/assets/config/manifest.js deleted file mode 100644 index 7ec55fba..00000000 --- a/test/dummy/app/assets/config/manifest.js +++ /dev/null @@ -1,3 +0,0 @@ -//= link_tree ../images -//= link_directory ../stylesheets .css -//= link heroicon_manifest.js diff --git a/test/dummy/app/assets/images/.keep b/test/dummy/app/assets/images/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/test/dummy/app/assets/stylesheets/application.css b/test/dummy/app/assets/stylesheets/application.css deleted file mode 100644 index a1a8d6c4..00000000 --- a/test/dummy/app/assets/stylesheets/application.css +++ /dev/null @@ -1,51 +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 - */ - -.h-4 { - height: 1rem; -} - -.w-4 { - width: 1rem; -} - -.h-5 { - height: 1.25rem; -} - -.w-5 { - width: 1.25rem; -} - -.h-6 { - height: 1.5rem; -} - -.w-6 { - width: 1.5rem; -} - -.h-10 { - height: 2rem; -} - -.w-10 { - width: 2rem; -} - -.text-red-500 { - color: #f44336; -} diff --git a/test/dummy/app/channels/application_cable/channel.rb b/test/dummy/app/channels/application_cable/channel.rb deleted file mode 100644 index 9aec2305..00000000 --- a/test/dummy/app/channels/application_cable/channel.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -module ApplicationCable - class Channel < ActionCable::Channel::Base - end -end diff --git a/test/dummy/app/channels/application_cable/connection.rb b/test/dummy/app/channels/application_cable/connection.rb deleted file mode 100644 index 8d6c2a1b..00000000 --- a/test/dummy/app/channels/application_cable/connection.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -module ApplicationCable - class Connection < ActionCable::Connection::Base - end -end diff --git a/test/dummy/app/controllers/application_controller.rb b/test/dummy/app/controllers/application_controller.rb deleted file mode 100644 index 7944f9f9..00000000 --- a/test/dummy/app/controllers/application_controller.rb +++ /dev/null @@ -1,4 +0,0 @@ -# frozen_string_literal: true - -class ApplicationController < ActionController::Base -end diff --git a/test/dummy/app/controllers/concerns/.keep b/test/dummy/app/controllers/concerns/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/test/dummy/app/controllers/pages_controller.rb b/test/dummy/app/controllers/pages_controller.rb deleted file mode 100644 index 2dac9884..00000000 --- a/test/dummy/app/controllers/pages_controller.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -class PagesController < ApplicationController - def home - end -end diff --git a/test/dummy/app/helpers/application_helper.rb b/test/dummy/app/helpers/application_helper.rb deleted file mode 100644 index 38457d4a..00000000 --- a/test/dummy/app/helpers/application_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -module ApplicationHelper - include Heroicon::Engine.helpers -end diff --git a/test/dummy/app/helpers/heroicon_helper.rb b/test/dummy/app/helpers/heroicon_helper.rb deleted file mode 100644 index d224271f..00000000 --- a/test/dummy/app/helpers/heroicon_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -module HeroiconHelper - include Heroicon::Engine.helpers -end diff --git a/test/dummy/app/javascript/packs/application.js b/test/dummy/app/javascript/packs/application.js deleted file mode 100644 index 67ce4675..00000000 --- a/test/dummy/app/javascript/packs/application.js +++ /dev/null @@ -1,15 +0,0 @@ -// This is a manifest file that'll be compiled into application.js, which will include all the files -// listed below. -// -// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, -// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. -// -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// compiled file. JavaScript code in this file should be added after the last require_* statement. -// -// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details -// about supported directives. -// -//= require rails-ujs -//= require activestorage -//= require_tree . diff --git a/test/dummy/app/jobs/application_job.rb b/test/dummy/app/jobs/application_job.rb deleted file mode 100644 index bef39599..00000000 --- a/test/dummy/app/jobs/application_job.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true - -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/test/dummy/app/mailers/application_mailer.rb b/test/dummy/app/mailers/application_mailer.rb deleted file mode 100644 index 5cc63a0c..00000000 --- a/test/dummy/app/mailers/application_mailer.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -class ApplicationMailer < ActionMailer::Base - default from: "from@example.com" - layout "mailer" -end diff --git a/test/dummy/app/models/application_record.rb b/test/dummy/app/models/application_record.rb deleted file mode 100644 index 71fbba5b..00000000 --- a/test/dummy/app/models/application_record.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -class ApplicationRecord < ActiveRecord::Base - self.abstract_class = true -end diff --git a/test/dummy/app/models/concerns/.keep b/test/dummy/app/models/concerns/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/test/dummy/app/views/layouts/application.html.erb b/test/dummy/app/views/layouts/application.html.erb deleted file mode 100644 index 24307d38..00000000 --- a/test/dummy/app/views/layouts/application.html.erb +++ /dev/null @@ -1,14 +0,0 @@ - - - - Dummy - <%= csrf_meta_tags %> - <%= csp_meta_tag %> - - <%= stylesheet_link_tag 'application', media: 'all' %> - - - - <%= yield %> - - diff --git a/test/dummy/app/views/layouts/mailer.html.erb b/test/dummy/app/views/layouts/mailer.html.erb deleted file mode 100644 index cbd34d2e..00000000 --- a/test/dummy/app/views/layouts/mailer.html.erb +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - <%= yield %> - - diff --git a/test/dummy/app/views/layouts/mailer.text.erb b/test/dummy/app/views/layouts/mailer.text.erb deleted file mode 100644 index 37f0bddb..00000000 --- a/test/dummy/app/views/layouts/mailer.text.erb +++ /dev/null @@ -1 +0,0 @@ -<%= yield %> diff --git a/test/dummy/app/views/pages/_edge_cases.html.erb b/test/dummy/app/views/pages/_edge_cases.html.erb deleted file mode 100644 index c1b6016a..00000000 --- a/test/dummy/app/views/pages/_edge_cases.html.erb +++ /dev/null @@ -1,13 +0,0 @@ -
- <%# Adding a custom class %> - <%= heroicon "user", options: {class: "text-red-500"} %> - - <%# Adding a custom class and disabling default class %> - <%= heroicon "user", options: {class: "text-red-500 h-10 w-10", disable_default_class: true} %> - - <%# Custom classes appear at the end of the class name %> - <%= heroicon "user", variant: :outline, options: {class: "h-10 w-10"} %> - - <%# Stroke width path option %> - <%= heroicon "user", variant: :outline, options: {stroke_width: 1} %> -
diff --git a/test/dummy/app/views/pages/_mini.html.erb b/test/dummy/app/views/pages/_mini.html.erb deleted file mode 100644 index f6e07334..00000000 --- a/test/dummy/app/views/pages/_mini.html.erb +++ /dev/null @@ -1,282 +0,0 @@ -
- <%= heroicon "academic-cap", variant: :mini %> - <%= heroicon "adjustments-horizontal", variant: :mini %> - <%= heroicon "adjustments-vertical", variant: :mini %> - <%= heroicon "archive-box-arrow-down", variant: :mini %> - <%= heroicon "archive-box-x-mark", variant: :mini %> - <%= heroicon "archive-box", variant: :mini %> - <%= heroicon "arrow-down-circle", variant: :mini %> - <%= heroicon "arrow-down-left", variant: :mini %> - <%= heroicon "arrow-down-on-square-stack", variant: :mini %> - <%= heroicon "arrow-down-on-square", variant: :mini %> - <%= heroicon "arrow-down-right", variant: :mini %> - <%= heroicon "arrow-down-tray", variant: :mini %> - <%= heroicon "arrow-down", variant: :mini %> - <%= heroicon "arrow-left-circle", variant: :mini %> - <%= heroicon "arrow-left-on-rectangle", variant: :mini %> - <%= heroicon "arrow-left", variant: :mini %> - <%= heroicon "arrow-long-down", variant: :mini %> - <%= heroicon "arrow-long-left", variant: :mini %> - <%= heroicon "arrow-long-right", variant: :mini %> - <%= heroicon "arrow-long-up", variant: :mini %> - <%= heroicon "arrow-path-rounded-square", variant: :mini %> - <%= heroicon "arrow-path", variant: :mini %> - <%= heroicon "arrow-right-circle", variant: :mini %> - <%= heroicon "arrow-right-on-rectangle", variant: :mini %> - <%= heroicon "arrow-right", variant: :mini %> - <%= heroicon "arrow-small-down", variant: :mini %> - <%= heroicon "arrow-small-left", variant: :mini %> - <%= heroicon "arrow-small-right", variant: :mini %> - <%= heroicon "arrow-small-up", variant: :mini %> - <%= heroicon "arrow-top-right-on-square", variant: :mini %> - <%= heroicon "arrow-trending-down", variant: :mini %> - <%= heroicon "arrow-trending-up", variant: :mini %> - <%= heroicon "arrow-up-circle", variant: :mini %> - <%= heroicon "arrow-up-left", variant: :mini %> - <%= heroicon "arrow-up-on-square-stack", variant: :mini %> - <%= heroicon "arrow-up-on-square", variant: :mini %> - <%= heroicon "arrow-up-right", variant: :mini %> - <%= heroicon "arrow-up-tray", variant: :mini %> - <%= heroicon "arrow-up", variant: :mini %> - <%= heroicon "arrow-uturn-down", variant: :mini %> - <%= heroicon "arrow-uturn-left", variant: :mini %> - <%= heroicon "arrow-uturn-right", variant: :mini %> - <%= heroicon "arrow-uturn-up", variant: :mini %> - <%= heroicon "arrows-pointing-in", variant: :mini %> - <%= heroicon "arrows-pointing-out", variant: :mini %> - <%= heroicon "arrows-right-left", variant: :mini %> - <%= heroicon "arrows-up-down", variant: :mini %> - <%= heroicon "at-symbol", variant: :mini %> - <%= heroicon "backspace", variant: :mini %> - <%= heroicon "backward", variant: :mini %> - <%= heroicon "banknotes", variant: :mini %> - <%= heroicon "bars-2", variant: :mini %> - <%= heroicon "bars-3-bottom-left", variant: :mini %> - <%= heroicon "bars-3-bottom-right", variant: :mini %> - <%= heroicon "bars-3-center-left", variant: :mini %> - <%= heroicon "bars-3", variant: :mini %> - <%= heroicon "bars-4", variant: :mini %> - <%= heroicon "bars-arrow-down", variant: :mini %> - <%= heroicon "bars-arrow-up", variant: :mini %> - <%= heroicon "battery-0", variant: :mini %> - <%= heroicon "battery-100", variant: :mini %> - <%= heroicon "battery-50", variant: :mini %> - <%= heroicon "beaker", variant: :mini %> - <%= heroicon "bell-alert", variant: :mini %> - <%= heroicon "bell-slash", variant: :mini %> - <%= heroicon "bell-snooze", variant: :mini %> - <%= heroicon "bell", variant: :mini %> - <%= heroicon "bolt-slash", variant: :mini %> - <%= heroicon "bolt", variant: :mini %> - <%= heroicon "book-open", variant: :mini %> - <%= heroicon "bookmark-slash", variant: :mini %> - <%= heroicon "bookmark-square", variant: :mini %> - <%= heroicon "bookmark", variant: :mini %> - <%= heroicon "briefcase", variant: :mini %> - <%= heroicon "building-library", variant: :mini %> - <%= heroicon "building-office-2", variant: :mini %> - <%= heroicon "building-office", variant: :mini %> - <%= heroicon "building-storefront", variant: :mini %> - <%= heroicon "cake", variant: :mini %> - <%= heroicon "calculator", variant: :mini %> - <%= heroicon "calendar-days", variant: :mini %> - <%= heroicon "calendar", variant: :mini %> - <%= heroicon "camera", variant: :mini %> - <%= heroicon "chart-bar-square", variant: :mini %> - <%= heroicon "chart-bar", variant: :mini %> - <%= heroicon "chart-pie", variant: :mini %> - <%= heroicon "chat-bubble-bottom-center-text", variant: :mini %> - <%= heroicon "chat-bubble-bottom-center", variant: :mini %> - <%= heroicon "chat-bubble-left-ellipsis", variant: :mini %> - <%= heroicon "chat-bubble-left-right", variant: :mini %> - <%= heroicon "chat-bubble-left", variant: :mini %> - <%= heroicon "chat-bubble-oval-left-ellipsis", variant: :mini %> - <%= heroicon "chat-bubble-oval-left", variant: :mini %> - <%= heroicon "check-badge", variant: :mini %> - <%= heroicon "check-circle", variant: :mini %> - <%= heroicon "check", variant: :mini %> - <%= heroicon "chevron-double-down", variant: :mini %> - <%= heroicon "chevron-double-left", variant: :mini %> - <%= heroicon "chevron-double-right", variant: :mini %> - <%= heroicon "chevron-double-up", variant: :mini %> - <%= heroicon "chevron-down", variant: :mini %> - <%= heroicon "chevron-left", variant: :mini %> - <%= heroicon "chevron-right", variant: :mini %> - <%= heroicon "chevron-up-down", variant: :mini %> - <%= heroicon "chevron-up", variant: :mini %> - <%= heroicon "circle-stack", variant: :mini %> - <%= heroicon "clipboard-document-check", variant: :mini %> - <%= heroicon "clipboard-document-list", variant: :mini %> - <%= heroicon "clipboard-document", variant: :mini %> - <%= heroicon "clipboard", variant: :mini %> - <%= heroicon "clock", variant: :mini %> - <%= heroicon "cloud-arrow-down", variant: :mini %> - <%= heroicon "cloud-arrow-up", variant: :mini %> - <%= heroicon "cloud", variant: :mini %> - <%= heroicon "code-bracket-square", variant: :mini %> - <%= heroicon "code-bracket", variant: :mini %> - <%= heroicon "cog-6-tooth", variant: :mini %> - <%= heroicon "cog-8-tooth", variant: :mini %> - <%= heroicon "cog", variant: :mini %> - <%= heroicon "command-line", variant: :mini %> - <%= heroicon "computer-desktop", variant: :mini %> - <%= heroicon "cpu-chip", variant: :mini %> - <%= heroicon "credit-card", variant: :mini %> - <%= heroicon "cube-transparent", variant: :mini %> - <%= heroicon "cube", variant: :mini %> - <%= heroicon "currency-bangladeshi", variant: :mini %> - <%= heroicon "currency-dollar", variant: :mini %> - <%= heroicon "currency-euro", variant: :mini %> - <%= heroicon "currency-pound", variant: :mini %> - <%= heroicon "currency-rupee", variant: :mini %> - <%= heroicon "currency-yen", variant: :mini %> - <%= heroicon "cursor-arrow-rays", variant: :mini %> - <%= heroicon "cursor-arrow-ripple", variant: :mini %> - <%= heroicon "device-phone-mobile", variant: :mini %> - <%= heroicon "device-tablet", variant: :mini %> - <%= heroicon "document-arrow-down", variant: :mini %> - <%= heroicon "document-arrow-up", variant: :mini %> - <%= heroicon "document-chart-bar", variant: :mini %> - <%= heroicon "document-check", variant: :mini %> - <%= heroicon "document-duplicate", variant: :mini %> - <%= heroicon "document-magnifying-glass", variant: :mini %> - <%= heroicon "document-minus", variant: :mini %> - <%= heroicon "document-plus", variant: :mini %> - <%= heroicon "document-text", variant: :mini %> - <%= heroicon "document", variant: :mini %> - <%= heroicon "ellipsis-horizontal-circle", variant: :mini %> - <%= heroicon "ellipsis-horizontal", variant: :mini %> - <%= heroicon "ellipsis-vertical", variant: :mini %> - <%= heroicon "envelope-open", variant: :mini %> - <%= heroicon "envelope", variant: :mini %> - <%= heroicon "exclamation-circle", variant: :mini %> - <%= heroicon "exclamation-triangle", variant: :mini %> - <%= heroicon "eye-slash", variant: :mini %> - <%= heroicon "eye", variant: :mini %> - <%= heroicon "face-frown", variant: :mini %> - <%= heroicon "face-smile", variant: :mini %> - <%= heroicon "film", variant: :mini %> - <%= heroicon "finger-print", variant: :mini %> - <%= heroicon "fire", variant: :mini %> - <%= heroicon "flag", variant: :mini %> - <%= heroicon "folder-arrow-down", variant: :mini %> - <%= heroicon "folder-minus", variant: :mini %> - <%= heroicon "folder-open", variant: :mini %> - <%= heroicon "folder-plus", variant: :mini %> - <%= heroicon "folder", variant: :mini %> - <%= heroicon "forward", variant: :mini %> - <%= heroicon "funnel", variant: :mini %> - <%= heroicon "gif", variant: :mini %> - <%= heroicon "gift-top", variant: :mini %> - <%= heroicon "gift", variant: :mini %> - <%= heroicon "globe-alt", variant: :mini %> - <%= heroicon "globe-americas", variant: :mini %> - <%= heroicon "globe-asia-australia", variant: :mini %> - <%= heroicon "globe-europe-africa", variant: :mini %> - <%= heroicon "hand-raised", variant: :mini %> - <%= heroicon "hand-thumb-down", variant: :mini %> - <%= heroicon "hand-thumb-up", variant: :mini %> - <%= heroicon "hashtag", variant: :mini %> - <%= heroicon "heart", variant: :mini %> - <%= heroicon "home-modern", variant: :mini %> - <%= heroicon "home", variant: :mini %> - <%= heroicon "identification", variant: :mini %> - <%= heroicon "inbox-arrow-down", variant: :mini %> - <%= heroicon "inbox-stack", variant: :mini %> - <%= heroicon "inbox", variant: :mini %> - <%= heroicon "information-circle", variant: :mini %> - <%= heroicon "key", variant: :mini %> - <%= heroicon "language", variant: :mini %> - <%= heroicon "lifebuoy", variant: :mini %> - <%= heroicon "light-bulb", variant: :mini %> - <%= heroicon "link", variant: :mini %> - <%= heroicon "list-bullet", variant: :mini %> - <%= heroicon "lock-closed", variant: :mini %> - <%= heroicon "lock-open", variant: :mini %> - <%= heroicon "magnifying-glass-circle", variant: :mini %> - <%= heroicon "magnifying-glass-minus", variant: :mini %> - <%= heroicon "magnifying-glass-plus", variant: :mini %> - <%= heroicon "magnifying-glass", variant: :mini %> - <%= heroicon "map-pin", variant: :mini %> - <%= heroicon "map", variant: :mini %> - <%= heroicon "megaphone", variant: :mini %> - <%= heroicon "microphone", variant: :mini %> - <%= heroicon "minus-circle", variant: :mini %> - <%= heroicon "minus-small", variant: :mini %> - <%= heroicon "minus", variant: :mini %> - <%= heroicon "moon", variant: :mini %> - <%= heroicon "musical-note", variant: :mini %> - <%= heroicon "newspaper", variant: :mini %> - <%= heroicon "no-symbol", variant: :mini %> - <%= heroicon "paint-brush", variant: :mini %> - <%= heroicon "paper-airplane", variant: :mini %> - <%= heroicon "paper-clip", variant: :mini %> - <%= heroicon "pause", variant: :mini %> - <%= heroicon "pencil-square", variant: :mini %> - <%= heroicon "pencil", variant: :mini %> - <%= heroicon "phone-arrow-down-left", variant: :mini %> - <%= heroicon "phone-arrow-up-right", variant: :mini %> - <%= heroicon "phone-x-mark", variant: :mini %> - <%= heroicon "phone", variant: :mini %> - <%= heroicon "photo", variant: :mini %> - <%= heroicon "play-pause", variant: :mini %> - <%= heroicon "play", variant: :mini %> - <%= heroicon "plus-circle", variant: :mini %> - <%= heroicon "plus-small", variant: :mini %> - <%= heroicon "plus", variant: :mini %> - <%= heroicon "presentation-chart-bar", variant: :mini %> - <%= heroicon "presentation-chart-line", variant: :mini %> - <%= heroicon "printer", variant: :mini %> - <%= heroicon "puzzle-piece", variant: :mini %> - <%= heroicon "qr-code", variant: :mini %> - <%= heroicon "question-mark-circle", variant: :mini %> - <%= heroicon "queue-list", variant: :mini %> - <%= heroicon "radio", variant: :mini %> - <%= heroicon "receipt-percent", variant: :mini %> - <%= heroicon "receipt-refund", variant: :mini %> - <%= heroicon "rectangle-group", variant: :mini %> - <%= heroicon "rectangle-stack", variant: :mini %> - <%= heroicon "rss", variant: :mini %> - <%= heroicon "scale", variant: :mini %> - <%= heroicon "scissors", variant: :mini %> - <%= heroicon "server-stack", variant: :mini %> - <%= heroicon "server", variant: :mini %> - <%= heroicon "share", variant: :mini %> - <%= heroicon "shield-check", variant: :mini %> - <%= heroicon "shield-exclamation", variant: :mini %> - <%= heroicon "shopping-bag", variant: :mini %> - <%= heroicon "shopping-cart", variant: :mini %> - <%= heroicon "signal-slash", variant: :mini %> - <%= heroicon "signal", variant: :mini %> - <%= heroicon "sparkles", variant: :mini %> - <%= heroicon "speaker-wave", variant: :mini %> - <%= heroicon "speaker-x-mark", variant: :mini %> - <%= heroicon "square-2-stack", variant: :mini %> - <%= heroicon "squares-2x2", variant: :mini %> - <%= heroicon "squares-plus", variant: :mini %> - <%= heroicon "star", variant: :mini %> - <%= heroicon "stop", variant: :mini %> - <%= heroicon "sun", variant: :mini %> - <%= heroicon "swatch", variant: :mini %> - <%= heroicon "table-cells", variant: :mini %> - <%= heroicon "tag", variant: :mini %> - <%= heroicon "ticket", variant: :mini %> - <%= heroicon "trash", variant: :mini %> - <%= heroicon "truck", variant: :mini %> - <%= heroicon "user-circle", variant: :mini %> - <%= heroicon "user-group", variant: :mini %> - <%= heroicon "user-minus", variant: :mini %> - <%= heroicon "user-plus", variant: :mini %> - <%= heroicon "user", variant: :mini %> - <%= heroicon "users", variant: :mini %> - <%= heroicon "variable", variant: :mini %> - <%= heroicon "video-camera-slash", variant: :mini %> - <%= heroicon "video-camera", variant: :mini %> - <%= heroicon "view-columns", variant: :mini %> - <%= heroicon "wallet", variant: :mini %> - <%= heroicon "wifi", variant: :mini %> - <%= heroicon "wrench-screwdriver", variant: :mini %> - <%= heroicon "wrench", variant: :mini %> - <%= heroicon "x-circle", variant: :mini %> - <%= heroicon "x-mark", variant: :mini %> -
diff --git a/test/dummy/app/views/pages/_outline.html.erb b/test/dummy/app/views/pages/_outline.html.erb deleted file mode 100644 index 7f92222e..00000000 --- a/test/dummy/app/views/pages/_outline.html.erb +++ /dev/null @@ -1,282 +0,0 @@ -
- <%= heroicon "academic-cap", variant: :outline %> - <%= heroicon "adjustments-horizontal", variant: :outline %> - <%= heroicon "adjustments-vertical", variant: :outline %> - <%= heroicon "archive-box-arrow-down", variant: :outline %> - <%= heroicon "archive-box-x-mark", variant: :outline %> - <%= heroicon "archive-box", variant: :outline %> - <%= heroicon "arrow-down-circle", variant: :outline %> - <%= heroicon "arrow-down-left", variant: :outline %> - <%= heroicon "arrow-down-on-square-stack", variant: :outline %> - <%= heroicon "arrow-down-on-square", variant: :outline %> - <%= heroicon "arrow-down-right", variant: :outline %> - <%= heroicon "arrow-down-tray", variant: :outline %> - <%= heroicon "arrow-down", variant: :outline %> - <%= heroicon "arrow-left-circle", variant: :outline %> - <%= heroicon "arrow-left-on-rectangle", variant: :outline %> - <%= heroicon "arrow-left", variant: :outline %> - <%= heroicon "arrow-long-down", variant: :outline %> - <%= heroicon "arrow-long-left", variant: :outline %> - <%= heroicon "arrow-long-right", variant: :outline %> - <%= heroicon "arrow-long-up", variant: :outline %> - <%= heroicon "arrow-path-rounded-square", variant: :outline %> - <%= heroicon "arrow-path", variant: :outline %> - <%= heroicon "arrow-right-circle", variant: :outline %> - <%= heroicon "arrow-right-on-rectangle", variant: :outline %> - <%= heroicon "arrow-right", variant: :outline %> - <%= heroicon "arrow-small-down", variant: :outline %> - <%= heroicon "arrow-small-left", variant: :outline %> - <%= heroicon "arrow-small-right", variant: :outline %> - <%= heroicon "arrow-small-up", variant: :outline %> - <%= heroicon "arrow-top-right-on-square", variant: :outline %> - <%= heroicon "arrow-trending-down", variant: :outline %> - <%= heroicon "arrow-trending-up", variant: :outline %> - <%= heroicon "arrow-up-circle", variant: :outline %> - <%= heroicon "arrow-up-left", variant: :outline %> - <%= heroicon "arrow-up-on-square-stack", variant: :outline %> - <%= heroicon "arrow-up-on-square", variant: :outline %> - <%= heroicon "arrow-up-right", variant: :outline %> - <%= heroicon "arrow-up-tray", variant: :outline %> - <%= heroicon "arrow-up", variant: :outline %> - <%= heroicon "arrow-uturn-down", variant: :outline %> - <%= heroicon "arrow-uturn-left", variant: :outline %> - <%= heroicon "arrow-uturn-right", variant: :outline %> - <%= heroicon "arrow-uturn-up", variant: :outline %> - <%= heroicon "arrows-pointing-in", variant: :outline %> - <%= heroicon "arrows-pointing-out", variant: :outline %> - <%= heroicon "arrows-right-left", variant: :outline %> - <%= heroicon "arrows-up-down", variant: :outline %> - <%= heroicon "at-symbol", variant: :outline %> - <%= heroicon "backspace", variant: :outline %> - <%= heroicon "backward", variant: :outline %> - <%= heroicon "banknotes", variant: :outline %> - <%= heroicon "bars-2", variant: :outline %> - <%= heroicon "bars-3-bottom-left", variant: :outline %> - <%= heroicon "bars-3-bottom-right", variant: :outline %> - <%= heroicon "bars-3-center-left", variant: :outline %> - <%= heroicon "bars-3", variant: :outline %> - <%= heroicon "bars-4", variant: :outline %> - <%= heroicon "bars-arrow-down", variant: :outline %> - <%= heroicon "bars-arrow-up", variant: :outline %> - <%= heroicon "battery-0", variant: :outline %> - <%= heroicon "battery-100", variant: :outline %> - <%= heroicon "battery-50", variant: :outline %> - <%= heroicon "beaker", variant: :outline %> - <%= heroicon "bell-alert", variant: :outline %> - <%= heroicon "bell-slash", variant: :outline %> - <%= heroicon "bell-snooze", variant: :outline %> - <%= heroicon "bell", variant: :outline %> - <%= heroicon "bolt-slash", variant: :outline %> - <%= heroicon "bolt", variant: :outline %> - <%= heroicon "book-open", variant: :outline %> - <%= heroicon "bookmark-slash", variant: :outline %> - <%= heroicon "bookmark-square", variant: :outline %> - <%= heroicon "bookmark", variant: :outline %> - <%= heroicon "briefcase", variant: :outline %> - <%= heroicon "building-library", variant: :outline %> - <%= heroicon "building-office-2", variant: :outline %> - <%= heroicon "building-office", variant: :outline %> - <%= heroicon "building-storefront", variant: :outline %> - <%= heroicon "cake", variant: :outline %> - <%= heroicon "calculator", variant: :outline %> - <%= heroicon "calendar-days", variant: :outline %> - <%= heroicon "calendar", variant: :outline %> - <%= heroicon "camera", variant: :outline %> - <%= heroicon "chart-bar-square", variant: :outline %> - <%= heroicon "chart-bar", variant: :outline %> - <%= heroicon "chart-pie", variant: :outline %> - <%= heroicon "chat-bubble-bottom-center-text", variant: :outline %> - <%= heroicon "chat-bubble-bottom-center", variant: :outline %> - <%= heroicon "chat-bubble-left-ellipsis", variant: :outline %> - <%= heroicon "chat-bubble-left-right", variant: :outline %> - <%= heroicon "chat-bubble-left", variant: :outline %> - <%= heroicon "chat-bubble-oval-left-ellipsis", variant: :outline %> - <%= heroicon "chat-bubble-oval-left", variant: :outline %> - <%= heroicon "check-badge", variant: :outline %> - <%= heroicon "check-circle", variant: :outline %> - <%= heroicon "check", variant: :outline %> - <%= heroicon "chevron-double-down", variant: :outline %> - <%= heroicon "chevron-double-left", variant: :outline %> - <%= heroicon "chevron-double-right", variant: :outline %> - <%= heroicon "chevron-double-up", variant: :outline %> - <%= heroicon "chevron-down", variant: :outline %> - <%= heroicon "chevron-left", variant: :outline %> - <%= heroicon "chevron-right", variant: :outline %> - <%= heroicon "chevron-up-down", variant: :outline %> - <%= heroicon "chevron-up", variant: :outline %> - <%= heroicon "circle-stack", variant: :outline %> - <%= heroicon "clipboard-document-check", variant: :outline %> - <%= heroicon "clipboard-document-list", variant: :outline %> - <%= heroicon "clipboard-document", variant: :outline %> - <%= heroicon "clipboard", variant: :outline %> - <%= heroicon "clock", variant: :outline %> - <%= heroicon "cloud-arrow-down", variant: :outline %> - <%= heroicon "cloud-arrow-up", variant: :outline %> - <%= heroicon "cloud", variant: :outline %> - <%= heroicon "code-bracket-square", variant: :outline %> - <%= heroicon "code-bracket", variant: :outline %> - <%= heroicon "cog-6-tooth", variant: :outline %> - <%= heroicon "cog-8-tooth", variant: :outline %> - <%= heroicon "cog", variant: :outline %> - <%= heroicon "command-line", variant: :outline %> - <%= heroicon "computer-desktop", variant: :outline %> - <%= heroicon "cpu-chip", variant: :outline %> - <%= heroicon "credit-card", variant: :outline %> - <%= heroicon "cube-transparent", variant: :outline %> - <%= heroicon "cube", variant: :outline %> - <%= heroicon "currency-bangladeshi", variant: :outline %> - <%= heroicon "currency-dollar", variant: :outline %> - <%= heroicon "currency-euro", variant: :outline %> - <%= heroicon "currency-pound", variant: :outline %> - <%= heroicon "currency-rupee", variant: :outline %> - <%= heroicon "currency-yen", variant: :outline %> - <%= heroicon "cursor-arrow-rays", variant: :outline %> - <%= heroicon "cursor-arrow-ripple", variant: :outline %> - <%= heroicon "device-phone-mobile", variant: :outline %> - <%= heroicon "device-tablet", variant: :outline %> - <%= heroicon "document-arrow-down", variant: :outline %> - <%= heroicon "document-arrow-up", variant: :outline %> - <%= heroicon "document-chart-bar", variant: :outline %> - <%= heroicon "document-check", variant: :outline %> - <%= heroicon "document-duplicate", variant: :outline %> - <%= heroicon "document-magnifying-glass", variant: :outline %> - <%= heroicon "document-minus", variant: :outline %> - <%= heroicon "document-plus", variant: :outline %> - <%= heroicon "document-text", variant: :outline %> - <%= heroicon "document", variant: :outline %> - <%= heroicon "ellipsis-horizontal-circle", variant: :outline %> - <%= heroicon "ellipsis-horizontal", variant: :outline %> - <%= heroicon "ellipsis-vertical", variant: :outline %> - <%= heroicon "envelope-open", variant: :outline %> - <%= heroicon "envelope", variant: :outline %> - <%= heroicon "exclamation-circle", variant: :outline %> - <%= heroicon "exclamation-triangle", variant: :outline %> - <%= heroicon "eye-slash", variant: :outline %> - <%= heroicon "eye", variant: :outline %> - <%= heroicon "face-frown", variant: :outline %> - <%= heroicon "face-smile", variant: :outline %> - <%= heroicon "film", variant: :outline %> - <%= heroicon "finger-print", variant: :outline %> - <%= heroicon "fire", variant: :outline %> - <%= heroicon "flag", variant: :outline %> - <%= heroicon "folder-arrow-down", variant: :outline %> - <%= heroicon "folder-minus", variant: :outline %> - <%= heroicon "folder-open", variant: :outline %> - <%= heroicon "folder-plus", variant: :outline %> - <%= heroicon "folder", variant: :outline %> - <%= heroicon "forward", variant: :outline %> - <%= heroicon "funnel", variant: :outline %> - <%= heroicon "gif", variant: :outline %> - <%= heroicon "gift-top", variant: :outline %> - <%= heroicon "gift", variant: :outline %> - <%= heroicon "globe-alt", variant: :outline %> - <%= heroicon "globe-americas", variant: :outline %> - <%= heroicon "globe-asia-australia", variant: :outline %> - <%= heroicon "globe-europe-africa", variant: :outline %> - <%= heroicon "hand-raised", variant: :outline %> - <%= heroicon "hand-thumb-down", variant: :outline %> - <%= heroicon "hand-thumb-up", variant: :outline %> - <%= heroicon "hashtag", variant: :outline %> - <%= heroicon "heart", variant: :outline %> - <%= heroicon "home-modern", variant: :outline %> - <%= heroicon "home", variant: :outline %> - <%= heroicon "identification", variant: :outline %> - <%= heroicon "inbox-arrow-down", variant: :outline %> - <%= heroicon "inbox-stack", variant: :outline %> - <%= heroicon "inbox", variant: :outline %> - <%= heroicon "information-circle", variant: :outline %> - <%= heroicon "key", variant: :outline %> - <%= heroicon "language", variant: :outline %> - <%= heroicon "lifebuoy", variant: :outline %> - <%= heroicon "light-bulb", variant: :outline %> - <%= heroicon "link", variant: :outline %> - <%= heroicon "list-bullet", variant: :outline %> - <%= heroicon "lock-closed", variant: :outline %> - <%= heroicon "lock-open", variant: :outline %> - <%= heroicon "magnifying-glass-circle", variant: :outline %> - <%= heroicon "magnifying-glass-minus", variant: :outline %> - <%= heroicon "magnifying-glass-plus", variant: :outline %> - <%= heroicon "magnifying-glass", variant: :outline %> - <%= heroicon "map-pin", variant: :outline %> - <%= heroicon "map", variant: :outline %> - <%= heroicon "megaphone", variant: :outline %> - <%= heroicon "microphone", variant: :outline %> - <%= heroicon "minus-circle", variant: :outline %> - <%= heroicon "minus-small", variant: :outline %> - <%= heroicon "minus", variant: :outline %> - <%= heroicon "moon", variant: :outline %> - <%= heroicon "musical-note", variant: :outline %> - <%= heroicon "newspaper", variant: :outline %> - <%= heroicon "no-symbol", variant: :outline %> - <%= heroicon "paint-brush", variant: :outline %> - <%= heroicon "paper-airplane", variant: :outline %> - <%= heroicon "paper-clip", variant: :outline %> - <%= heroicon "pause", variant: :outline %> - <%= heroicon "pencil-square", variant: :outline %> - <%= heroicon "pencil", variant: :outline %> - <%= heroicon "phone-arrow-down-left", variant: :outline %> - <%= heroicon "phone-arrow-up-right", variant: :outline %> - <%= heroicon "phone-x-mark", variant: :outline %> - <%= heroicon "phone", variant: :outline %> - <%= heroicon "photo", variant: :outline %> - <%= heroicon "play-pause", variant: :outline %> - <%= heroicon "play", variant: :outline %> - <%= heroicon "plus-circle", variant: :outline %> - <%= heroicon "plus-small", variant: :outline %> - <%= heroicon "plus", variant: :outline %> - <%= heroicon "presentation-chart-bar", variant: :outline %> - <%= heroicon "presentation-chart-line", variant: :outline %> - <%= heroicon "printer", variant: :outline %> - <%= heroicon "puzzle-piece", variant: :outline %> - <%= heroicon "qr-code", variant: :outline %> - <%= heroicon "question-mark-circle", variant: :outline %> - <%= heroicon "queue-list", variant: :outline %> - <%= heroicon "radio", variant: :outline %> - <%= heroicon "receipt-percent", variant: :outline %> - <%= heroicon "receipt-refund", variant: :outline %> - <%= heroicon "rectangle-group", variant: :outline %> - <%= heroicon "rectangle-stack", variant: :outline %> - <%= heroicon "rss", variant: :outline %> - <%= heroicon "scale", variant: :outline %> - <%= heroicon "scissors", variant: :outline %> - <%= heroicon "server-stack", variant: :outline %> - <%= heroicon "server", variant: :outline %> - <%= heroicon "share", variant: :outline %> - <%= heroicon "shield-check", variant: :outline %> - <%= heroicon "shield-exclamation", variant: :outline %> - <%= heroicon "shopping-bag", variant: :outline %> - <%= heroicon "shopping-cart", variant: :outline %> - <%= heroicon "signal-slash", variant: :outline %> - <%= heroicon "signal", variant: :outline %> - <%= heroicon "sparkles", variant: :outline %> - <%= heroicon "speaker-wave", variant: :outline %> - <%= heroicon "speaker-x-mark", variant: :outline %> - <%= heroicon "square-2-stack", variant: :outline %> - <%= heroicon "squares-2x2", variant: :outline %> - <%= heroicon "squares-plus", variant: :outline %> - <%= heroicon "star", variant: :outline %> - <%= heroicon "stop", variant: :outline %> - <%= heroicon "sun", variant: :outline %> - <%= heroicon "swatch", variant: :outline %> - <%= heroicon "table-cells", variant: :outline %> - <%= heroicon "tag", variant: :outline %> - <%= heroicon "ticket", variant: :outline %> - <%= heroicon "trash", variant: :outline %> - <%= heroicon "truck", variant: :outline %> - <%= heroicon "user-circle", variant: :outline %> - <%= heroicon "user-group", variant: :outline %> - <%= heroicon "user-minus", variant: :outline %> - <%= heroicon "user-plus", variant: :outline %> - <%= heroicon "user", variant: :outline %> - <%= heroicon "users", variant: :outline %> - <%= heroicon "variable", variant: :outline %> - <%= heroicon "video-camera-slash", variant: :outline %> - <%= heroicon "video-camera", variant: :outline %> - <%= heroicon "view-columns", variant: :outline %> - <%= heroicon "wallet", variant: :outline %> - <%= heroicon "wifi", variant: :outline %> - <%= heroicon "wrench-screwdriver", variant: :outline %> - <%= heroicon "wrench", variant: :outline %> - <%= heroicon "x-circle", variant: :outline %> - <%= heroicon "x-mark", variant: :outline %> -
diff --git a/test/dummy/app/views/pages/_solid.html.erb b/test/dummy/app/views/pages/_solid.html.erb deleted file mode 100644 index 25826a9b..00000000 --- a/test/dummy/app/views/pages/_solid.html.erb +++ /dev/null @@ -1,282 +0,0 @@ -
- <%= heroicon "academic-cap" %> - <%= heroicon "adjustments-horizontal" %> - <%= heroicon "adjustments-vertical" %> - <%= heroicon "archive-box-arrow-down" %> - <%= heroicon "archive-box-x-mark" %> - <%= heroicon "archive-box" %> - <%= heroicon "arrow-down-circle" %> - <%= heroicon "arrow-down-left" %> - <%= heroicon "arrow-down-on-square-stack" %> - <%= heroicon "arrow-down-on-square" %> - <%= heroicon "arrow-down-right" %> - <%= heroicon "arrow-down-tray" %> - <%= heroicon "arrow-down" %> - <%= heroicon "arrow-left-circle" %> - <%= heroicon "arrow-left-on-rectangle" %> - <%= heroicon "arrow-left" %> - <%= heroicon "arrow-long-down" %> - <%= heroicon "arrow-long-left" %> - <%= heroicon "arrow-long-right" %> - <%= heroicon "arrow-long-up" %> - <%= heroicon "arrow-path-rounded-square" %> - <%= heroicon "arrow-path" %> - <%= heroicon "arrow-right-circle" %> - <%= heroicon "arrow-right-on-rectangle" %> - <%= heroicon "arrow-right" %> - <%= heroicon "arrow-small-down" %> - <%= heroicon "arrow-small-left" %> - <%= heroicon "arrow-small-right" %> - <%= heroicon "arrow-small-up" %> - <%= heroicon "arrow-top-right-on-square" %> - <%= heroicon "arrow-trending-down" %> - <%= heroicon "arrow-trending-up" %> - <%= heroicon "arrow-up-circle" %> - <%= heroicon "arrow-up-left" %> - <%= heroicon "arrow-up-on-square-stack" %> - <%= heroicon "arrow-up-on-square" %> - <%= heroicon "arrow-up-right" %> - <%= heroicon "arrow-up-tray" %> - <%= heroicon "arrow-up" %> - <%= heroicon "arrow-uturn-down" %> - <%= heroicon "arrow-uturn-left" %> - <%= heroicon "arrow-uturn-right" %> - <%= heroicon "arrow-uturn-up" %> - <%= heroicon "arrows-pointing-in" %> - <%= heroicon "arrows-pointing-out" %> - <%= heroicon "arrows-right-left" %> - <%= heroicon "arrows-up-down" %> - <%= heroicon "at-symbol" %> - <%= heroicon "backspace" %> - <%= heroicon "backward" %> - <%= heroicon "banknotes" %> - <%= heroicon "bars-2" %> - <%= heroicon "bars-3-bottom-left" %> - <%= heroicon "bars-3-bottom-right" %> - <%= heroicon "bars-3-center-left" %> - <%= heroicon "bars-3" %> - <%= heroicon "bars-4" %> - <%= heroicon "bars-arrow-down" %> - <%= heroicon "bars-arrow-up" %> - <%= heroicon "battery-0" %> - <%= heroicon "battery-100" %> - <%= heroicon "battery-50" %> - <%= heroicon "beaker" %> - <%= heroicon "bell-alert" %> - <%= heroicon "bell-slash" %> - <%= heroicon "bell-snooze" %> - <%= heroicon "bell" %> - <%= heroicon "bolt-slash" %> - <%= heroicon "bolt" %> - <%= heroicon "book-open" %> - <%= heroicon "bookmark-slash" %> - <%= heroicon "bookmark-square" %> - <%= heroicon "bookmark" %> - <%= heroicon "briefcase" %> - <%= heroicon "building-library" %> - <%= heroicon "building-office-2" %> - <%= heroicon "building-office" %> - <%= heroicon "building-storefront" %> - <%= heroicon "cake" %> - <%= heroicon "calculator" %> - <%= heroicon "calendar-days" %> - <%= heroicon "calendar" %> - <%= heroicon "camera" %> - <%= heroicon "chart-bar-square" %> - <%= heroicon "chart-bar" %> - <%= heroicon "chart-pie" %> - <%= heroicon "chat-bubble-bottom-center-text" %> - <%= heroicon "chat-bubble-bottom-center" %> - <%= heroicon "chat-bubble-left-ellipsis" %> - <%= heroicon "chat-bubble-left-right" %> - <%= heroicon "chat-bubble-left" %> - <%= heroicon "chat-bubble-oval-left-ellipsis" %> - <%= heroicon "chat-bubble-oval-left" %> - <%= heroicon "check-badge" %> - <%= heroicon "check-circle" %> - <%= heroicon "check" %> - <%= heroicon "chevron-double-down" %> - <%= heroicon "chevron-double-left" %> - <%= heroicon "chevron-double-right" %> - <%= heroicon "chevron-double-up" %> - <%= heroicon "chevron-down" %> - <%= heroicon "chevron-left" %> - <%= heroicon "chevron-right" %> - <%= heroicon "chevron-up-down" %> - <%= heroicon "chevron-up" %> - <%= heroicon "circle-stack" %> - <%= heroicon "clipboard-document-check" %> - <%= heroicon "clipboard-document-list" %> - <%= heroicon "clipboard-document" %> - <%= heroicon "clipboard" %> - <%= heroicon "clock" %> - <%= heroicon "cloud-arrow-down" %> - <%= heroicon "cloud-arrow-up" %> - <%= heroicon "cloud" %> - <%= heroicon "code-bracket-square" %> - <%= heroicon "code-bracket" %> - <%= heroicon "cog-6-tooth" %> - <%= heroicon "cog-8-tooth" %> - <%= heroicon "cog" %> - <%= heroicon "command-line" %> - <%= heroicon "computer-desktop" %> - <%= heroicon "cpu-chip" %> - <%= heroicon "credit-card" %> - <%= heroicon "cube-transparent" %> - <%= heroicon "cube" %> - <%= heroicon "currency-bangladeshi" %> - <%= heroicon "currency-dollar" %> - <%= heroicon "currency-euro" %> - <%= heroicon "currency-pound" %> - <%= heroicon "currency-rupee" %> - <%= heroicon "currency-yen" %> - <%= heroicon "cursor-arrow-rays" %> - <%= heroicon "cursor-arrow-ripple" %> - <%= heroicon "device-phone-mobile" %> - <%= heroicon "device-tablet" %> - <%= heroicon "document-arrow-down" %> - <%= heroicon "document-arrow-up" %> - <%= heroicon "document-chart-bar" %> - <%= heroicon "document-check" %> - <%= heroicon "document-duplicate" %> - <%= heroicon "document-magnifying-glass" %> - <%= heroicon "document-minus" %> - <%= heroicon "document-plus" %> - <%= heroicon "document-text" %> - <%= heroicon "document" %> - <%= heroicon "ellipsis-horizontal-circle" %> - <%= heroicon "ellipsis-horizontal" %> - <%= heroicon "ellipsis-vertical" %> - <%= heroicon "envelope-open" %> - <%= heroicon "envelope" %> - <%= heroicon "exclamation-circle" %> - <%= heroicon "exclamation-triangle" %> - <%= heroicon "eye-slash" %> - <%= heroicon "eye" %> - <%= heroicon "face-frown" %> - <%= heroicon "face-smile" %> - <%= heroicon "film" %> - <%= heroicon "finger-print" %> - <%= heroicon "fire" %> - <%= heroicon "flag" %> - <%= heroicon "folder-arrow-down" %> - <%= heroicon "folder-minus" %> - <%= heroicon "folder-open" %> - <%= heroicon "folder-plus" %> - <%= heroicon "folder" %> - <%= heroicon "forward" %> - <%= heroicon "funnel" %> - <%= heroicon "gif" %> - <%= heroicon "gift-top" %> - <%= heroicon "gift" %> - <%= heroicon "globe-alt" %> - <%= heroicon "globe-americas" %> - <%= heroicon "globe-asia-australia" %> - <%= heroicon "globe-europe-africa" %> - <%= heroicon "hand-raised" %> - <%= heroicon "hand-thumb-down" %> - <%= heroicon "hand-thumb-up" %> - <%= heroicon "hashtag" %> - <%= heroicon "heart" %> - <%= heroicon "home-modern" %> - <%= heroicon "home" %> - <%= heroicon "identification" %> - <%= heroicon "inbox-arrow-down" %> - <%= heroicon "inbox-stack" %> - <%= heroicon "inbox" %> - <%= heroicon "information-circle" %> - <%= heroicon "key" %> - <%= heroicon "language" %> - <%= heroicon "lifebuoy" %> - <%= heroicon "light-bulb" %> - <%= heroicon "link" %> - <%= heroicon "list-bullet" %> - <%= heroicon "lock-closed" %> - <%= heroicon "lock-open" %> - <%= heroicon "magnifying-glass-circle" %> - <%= heroicon "magnifying-glass-minus" %> - <%= heroicon "magnifying-glass-plus" %> - <%= heroicon "magnifying-glass" %> - <%= heroicon "map-pin" %> - <%= heroicon "map" %> - <%= heroicon "megaphone" %> - <%= heroicon "microphone" %> - <%= heroicon "minus-circle" %> - <%= heroicon "minus-small" %> - <%= heroicon "minus" %> - <%= heroicon "moon" %> - <%= heroicon "musical-note" %> - <%= heroicon "newspaper" %> - <%= heroicon "no-symbol" %> - <%= heroicon "paint-brush" %> - <%= heroicon "paper-airplane" %> - <%= heroicon "paper-clip" %> - <%= heroicon "pause" %> - <%= heroicon "pencil-square" %> - <%= heroicon "pencil" %> - <%= heroicon "phone-arrow-down-left" %> - <%= heroicon "phone-arrow-up-right" %> - <%= heroicon "phone-x-mark" %> - <%= heroicon "phone" %> - <%= heroicon "photo" %> - <%= heroicon "play-pause" %> - <%= heroicon "play" %> - <%= heroicon "plus-circle" %> - <%= heroicon "plus-small" %> - <%= heroicon "plus" %> - <%= heroicon "presentation-chart-bar" %> - <%= heroicon "presentation-chart-line" %> - <%= heroicon "printer" %> - <%= heroicon "puzzle-piece" %> - <%= heroicon "qr-code" %> - <%= heroicon "question-mark-circle" %> - <%= heroicon "queue-list" %> - <%= heroicon "radio" %> - <%= heroicon "receipt-percent" %> - <%= heroicon "receipt-refund" %> - <%= heroicon "rectangle-group" %> - <%= heroicon "rectangle-stack" %> - <%= heroicon "rss" %> - <%= heroicon "scale" %> - <%= heroicon "scissors" %> - <%= heroicon "server-stack" %> - <%= heroicon "server" %> - <%= heroicon "share" %> - <%= heroicon "shield-check" %> - <%= heroicon "shield-exclamation" %> - <%= heroicon "shopping-bag" %> - <%= heroicon "shopping-cart" %> - <%= heroicon "signal-slash" %> - <%= heroicon "signal" %> - <%= heroicon "sparkles" %> - <%= heroicon "speaker-wave" %> - <%= heroicon "speaker-x-mark" %> - <%= heroicon "square-2-stack" %> - <%= heroicon "squares-2x2" %> - <%= heroicon "squares-plus" %> - <%= heroicon "star" %> - <%= heroicon "stop" %> - <%= heroicon "sun" %> - <%= heroicon "swatch" %> - <%= heroicon "table-cells" %> - <%= heroicon "tag" %> - <%= heroicon "ticket" %> - <%= heroicon "trash" %> - <%= heroicon "truck" %> - <%= heroicon "user-circle" %> - <%= heroicon "user-group" %> - <%= heroicon "user-minus" %> - <%= heroicon "user-plus" %> - <%= heroicon "user" %> - <%= heroicon "users" %> - <%= heroicon "variable" %> - <%= heroicon "video-camera-slash" %> - <%= heroicon "video-camera" %> - <%= heroicon "view-columns" %> - <%= heroicon "wallet" %> - <%= heroicon "wifi" %> - <%= heroicon "wrench-screwdriver" %> - <%= heroicon "wrench" %> - <%= heroicon "x-circle" %> - <%= heroicon "x-mark" %> -
diff --git a/test/dummy/app/views/pages/home.html.erb b/test/dummy/app/views/pages/home.html.erb deleted file mode 100644 index e8acc146..00000000 --- a/test/dummy/app/views/pages/home.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -<%= render "pages/solid" %> -
-<%= render "pages/outline" %> -
-<%= render "pages/mini" %> -
-<%= render "pages/edge_cases" %> diff --git a/test/dummy/bin/rails b/test/dummy/bin/rails deleted file mode 100755 index 22f2d8de..00000000 --- a/test/dummy/bin/rails +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -APP_PATH = File.expand_path("../config/application", __dir__) -require_relative "../config/boot" -require "rails/commands" diff --git a/test/dummy/bin/rake b/test/dummy/bin/rake deleted file mode 100755 index e436ea54..00000000 --- a/test/dummy/bin/rake +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -require_relative "../config/boot" -require "rake" -Rake.application.run diff --git a/test/dummy/bin/setup b/test/dummy/bin/setup deleted file mode 100755 index 5893c4fd..00000000 --- a/test/dummy/bin/setup +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -require "fileutils" - -# path to your application root. -APP_ROOT = File.expand_path("..", __dir__) - -def system!(*args) - system(*args) || abort("\n== Command #{args} failed ==") -end - -FileUtils.chdir APP_ROOT do - # This script is a way to setup or update your development environment automatically. - # This script is idempotent, so that you can run it at anytime and get an expectable outcome. - # Add necessary setup steps to this file. - - puts "== Installing dependencies ==" - system! "gem install bundler --conservative" - 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" - - puts "\n== Restarting application server ==" - system! "bin/rails restart" -end diff --git a/test/dummy/config.ru b/test/dummy/config.ru deleted file mode 100644 index bff88d60..00000000 --- a/test/dummy/config.ru +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -# This file is used by Rack-based servers to start the application. - -require_relative "config/environment" - -run Rails.application diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb deleted file mode 100644 index cba8f678..00000000 --- a/test/dummy/config/application.rb +++ /dev/null @@ -1,18 +0,0 @@ -# frozen_string_literal: true - -require_relative "boot" - -require "rails/all" - -Bundler.require(*Rails.groups) -require "heroicon" - -module Dummy - class Application < Rails::Application - config.load_defaults "#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}".to_f - - if Rails::VERSION::MAJOR == 5 - config.active_record.sqlite3.represent_boolean_as_integer = true - end - end -end diff --git a/test/dummy/config/boot.rb b/test/dummy/config/boot.rb deleted file mode 100644 index 59459d4a..00000000 --- a/test/dummy/config/boot.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -# 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/test/dummy/config/cable.yml b/test/dummy/config/cable.yml deleted file mode 100644 index 98367f89..00000000 --- a/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/test/dummy/config/database.yml b/test/dummy/config/database.yml deleted file mode 100644 index 4a8a1b26..00000000 --- a/test/dummy/config/database.yml +++ /dev/null @@ -1,25 +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: db/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: db/test.sqlite3 - -production: - <<: *default - database: db/production.sqlite3 diff --git a/test/dummy/config/environment.rb b/test/dummy/config/environment.rb deleted file mode 100644 index 7df99e89..00000000 --- a/test/dummy/config/environment.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -# Load the Rails application. -require_relative "application" - -# Initialize the Rails application. -Rails.application.initialize! diff --git a/test/dummy/config/environments/development.rb b/test/dummy/config/environments/development.rb deleted file mode 100644 index e73ed46a..00000000 --- a/test/dummy/config/environments/development.rb +++ /dev/null @@ -1,66 +0,0 @@ -# frozen_string_literal: true - -Rails.application.configure do - # Settings specified here will take precedence over those in config/application.rb. - - # In the development environment your application's code is reloaded on - # every request. This slows down response time but is perfect for development - # since you don't have to restart the web server when you make code changes. - config.cache_classes = false - - # Do not eager load code on boot. - config.eager_load = false - - # Show full error reports. - config.consider_all_requests_local = true - - # Enable/disable caching. By default caching is disabled. - # Run rails dev:cache to toggle 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.cache_store = :memory_store - config.public_file_server.headers = { - "Cache-Control" => "public, max-age=#{2.days.to_i}" - } - else - config.action_controller.perform_caching = false - - config.cache_store = :null_store - end - - # 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 - - config.action_mailer.perform_caching = false - - # 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 - - # Debug mode disables concatenation and preprocessing of assets. - # This option may cause significant delays in view rendering with a large - # number of complex assets. - config.assets.debug = true - - config.assets.check_precompiled_asset = false - - # Suppress logger output for asset requests. - config.assets.quiet = true - - # Raises error for missing translations. - # config.action_view.raise_on_missing_translations = true - - # Use an evented file watcher to asynchronously detect changes in source code, - # routes, locales, etc. This feature depends on the listen gem. - # config.file_watcher = ActiveSupport::EventedFileUpdateChecker -end diff --git a/test/dummy/config/environments/production.rb b/test/dummy/config/environments/production.rb deleted file mode 100644 index 68b8eb1c..00000000 --- a/test/dummy/config/environments/production.rb +++ /dev/null @@ -1,114 +0,0 @@ -# frozen_string_literal: true - -Rails.application.configure do - # Settings specified here will take precedence over those in config/application.rb. - - # Code is not reloaded between requests. - config.cache_classes = true - - # Eager load code on boot. This eager loads most of Rails and - # your application in memory, allowing both threaded web servers - # and those relying on copy on write to perform better. - # Rake tasks automatically ignore this option for performance. - config.eager_load = true - - # Full error reports are disabled and caching is turned on. - config.consider_all_requests_local = false - config.action_controller.perform_caching = true - - # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"] - # or in config/master.key. This key is used to decrypt credentials (and other encrypted files). - # config.require_master_key = true - - # Disable serving static files from the `/public` folder by default since - # Apache or NGINX already handles this. - config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? - - # Compress CSS using a preprocessor. - # config.assets.css_compressor = :sass - - # Do not fallback to assets pipeline if a precompiled asset is missed. - config.assets.compile = false - - # Enable serving of images, stylesheets, and JavaScripts from an asset server. - # config.action_controller.asset_host = 'http://assets.example.com' - - # Specifies the header that your server uses for sending files. - # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache - # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX - - # Store uploaded files on the local file system (see config/storage.yml for options). - config.active_storage.service = :local - - # Mount Action Cable outside main process or domain. - # config.action_cable.mount_path = nil - # config.action_cable.url = 'wss://example.com/cable' - # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] - - # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. - # config.force_ssl = true - - # Use the lowest log level to ensure availability of diagnostic information - # when problems arise. - config.log_level = :debug - - # Prepend all log lines with the following tags. - config.log_tags = [:request_id] - - # Use a different cache store in production. - # config.cache_store = :mem_cache_store - - # Use a real queuing backend for Active Job (and separate queues per environment). - # config.active_job.queue_adapter = :resque - # config.active_job.queue_name_prefix = "dummy_production" - - config.action_mailer.perform_caching = false - - # 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 - - # 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 - - # Send deprecation notices to registered listeners. - config.active_support.deprecation = :notify - - # Use default logging formatter so that PID and timestamp are not suppressed. - config.log_formatter = ::Logger::Formatter.new - - # Use a different logger for distributed setups. - # require 'syslog/logger' - # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') - - if ENV["RAILS_LOG_TO_STDOUT"].present? - logger = ActiveSupport::Logger.new($stdout) - logger.formatter = config.log_formatter - config.logger = ActiveSupport::TaggedLogging.new(logger) - end - - # Do not dump schema after migrations. - config.active_record.dump_schema_after_migration = false - - # Inserts middleware to perform automatic connection switching. - # The `database_selector` hash is used to pass options to the DatabaseSelector - # middleware. The `delay` is used to determine how long to wait after a write - # to send a subsequent read to the primary. - # - # The `database_resolver` class is used by the middleware to determine which - # database is appropriate to use based on the time delay. - # - # The `database_resolver_context` class is used by the middleware to set - # timestamps for the last write to the primary. The resolver uses the context - # class timestamps to determine how long to wait before reading from the - # replica. - # - # By default Rails will store a last write timestamp in the session. The - # DatabaseSelector middleware is designed as such you can define your own - # strategy for connection switching and pass that into the middleware through - # these configuration options. - # config.active_record.database_selector = { delay: 2.seconds } - # config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver - # config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session -end diff --git a/test/dummy/config/environments/test.rb b/test/dummy/config/environments/test.rb deleted file mode 100644 index 48e2af71..00000000 --- a/test/dummy/config/environments/test.rb +++ /dev/null @@ -1,51 +0,0 @@ -# frozen_string_literal: true - -# 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. - - config.cache_classes = false - config.action_view.cache_template_loading = true - - # Do not eager load code on boot. This avoids loading your whole application - # just for the purpose of running a single test. If you are using a tool that - # preloads Rails for running tests, you may have to set it to true. - config.eager_load = false - - # Configure public file server for tests with Cache-Control for performance. - config.public_file_server.enabled = true - config.public_file_server.headers = { - "Cache-Control" => "public, max-age=#{1.hour.to_i}" - } - - # Show full error reports and disable caching. - config.consider_all_requests_local = true - config.action_controller.perform_caching = false - config.cache_store = :null_store - - # Raise exceptions instead of rendering exception templates. - config.action_dispatch.show_exceptions = false - - # 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 - - config.action_mailer.perform_caching = false - - # 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 - - # Print deprecation notices to the stderr. - config.active_support.deprecation = :stderr - - # Raises error for missing translations. - # config.action_view.raise_on_missing_translations = true -end diff --git a/test/dummy/config/initializers/application_controller_renderer.rb b/test/dummy/config/initializers/application_controller_renderer.rb deleted file mode 100644 index f4556db3..00000000 --- a/test/dummy/config/initializers/application_controller_renderer.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true -# Be sure to restart your server when you modify this file. - -# ActiveSupport::Reloader.to_prepare do -# ApplicationController.renderer.defaults.merge!( -# http_host: 'example.org', -# https: false -# ) -# end diff --git a/test/dummy/config/initializers/assets.rb b/test/dummy/config/initializers/assets.rb deleted file mode 100644 index b52d9028..00000000 --- a/test/dummy/config/initializers/assets.rb +++ /dev/null @@ -1,14 +0,0 @@ -# frozen_string_literal: true - -# 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 - -# Precompile additional assets. -# application.js, application.css, and all non-JS/CSS in the app/assets -# folder are already added. -# Rails.application.config.assets.precompile += %w( admin.js admin.css ) diff --git a/test/dummy/config/initializers/backtrace_silencers.rb b/test/dummy/config/initializers/backtrace_silencers.rb deleted file mode 100644 index d0f0d3b5..00000000 --- a/test/dummy/config/initializers/backtrace_silencers.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true -# Be sure to restart your server when you modify this file. - -# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. -# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } - -# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. -# Rails.backtrace_cleaner.remove_silencers! diff --git a/test/dummy/config/initializers/content_security_policy.rb b/test/dummy/config/initializers/content_security_policy.rb deleted file mode 100644 index 98230c98..00000000 --- a/test/dummy/config/initializers/content_security_policy.rb +++ /dev/null @@ -1,29 +0,0 @@ -# frozen_string_literal: true -# Be sure to restart your server when you modify this file. - -# Define an application-wide content security policy -# For further information see the following documentation -# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy - -# Rails.application.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 - -# If you are using UJS then enable automatic nonce generation -# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) } - -# Set the nonce only to specific directives -# Rails.application.config.content_security_policy_nonce_directives = %w(script-src) - -# Report CSP violations to a specified URI -# For further information see the following documentation: -# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only -# Rails.application.config.content_security_policy_report_only = true diff --git a/test/dummy/config/initializers/cookies_serializer.rb b/test/dummy/config/initializers/cookies_serializer.rb deleted file mode 100644 index ee8dff9c..00000000 --- a/test/dummy/config/initializers/cookies_serializer.rb +++ /dev/null @@ -1,7 +0,0 @@ -# frozen_string_literal: true - -# Be sure to restart your server when you modify this file. - -# Specify a serializer for the signed and encrypted cookie jars. -# Valid options are :json, :marshal, and :hybrid. -Rails.application.config.action_dispatch.cookies_serializer = :json diff --git a/test/dummy/config/initializers/filter_parameter_logging.rb b/test/dummy/config/initializers/filter_parameter_logging.rb deleted file mode 100644 index 7a4f47b4..00000000 --- a/test/dummy/config/initializers/filter_parameter_logging.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -# Be sure to restart your server when you modify this file. - -# Configure sensitive parameters which will be filtered from the log file. -Rails.application.config.filter_parameters += [:password] diff --git a/test/dummy/config/initializers/heroicon.rb b/test/dummy/config/initializers/heroicon.rb deleted file mode 100644 index 1e2860e7..00000000 --- a/test/dummy/config/initializers/heroicon.rb +++ /dev/null @@ -1,10 +0,0 @@ -# frozen_string_literal: true - -Heroicon.configure do |config| - config.variant = :solid # Options are :solid, :outline and :mini - - ## - # You can set a default class, which will get applied to every icon with - # the given variant. To do so, un-comment the line below. - config.default_class = {solid: "h-5 w-5", outline: "h-6 w-6", mini: "h-4 w-4"} -end diff --git a/test/dummy/config/initializers/inflections.rb b/test/dummy/config/initializers/inflections.rb deleted file mode 100644 index aa7435fb..00000000 --- a/test/dummy/config/initializers/inflections.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true -# 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/test/dummy/config/initializers/mime_types.rb b/test/dummy/config/initializers/mime_types.rb deleted file mode 100644 index 6e1d16f0..00000000 --- a/test/dummy/config/initializers/mime_types.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true -# Be sure to restart your server when you modify this file. - -# Add new mime types for use in respond_to blocks: -# Mime::Type.register "text/richtext", :rtf diff --git a/test/dummy/config/initializers/wrap_parameters.rb b/test/dummy/config/initializers/wrap_parameters.rb deleted file mode 100644 index 2f3c0db4..00000000 --- a/test/dummy/config/initializers/wrap_parameters.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -# Be sure to restart your server when you modify this file. - -# This file contains settings for ActionController::ParamsWrapper which -# is enabled by default. - -# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. -ActiveSupport.on_load(:action_controller) do - wrap_parameters format: [:json] -end - -# To enable root element in JSON for ActiveRecord objects. -# ActiveSupport.on_load(:active_record) do -# self.include_root_in_json = true -# end diff --git a/test/dummy/config/locales/en.yml b/test/dummy/config/locales/en.yml deleted file mode 100644 index cf9b342d..00000000 --- a/test/dummy/config/locales/en.yml +++ /dev/null @@ -1,33 +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. -# -# The following keys must be escaped otherwise they will not be retrieved by -# the default I18n backend: -# -# true, false, on, off, yes, no -# -# Instead, surround them with single quotes. -# -# en: -# 'true': 'foo' -# -# To learn more, please read the Rails Internationalization guide -# available at https://guides.rubyonrails.org/i18n.html. - -en: - hello: "Hello world" diff --git a/test/dummy/config/puma.rb b/test/dummy/config/puma.rb deleted file mode 100644 index fef891bc..00000000 --- a/test/dummy/config/puma.rb +++ /dev/null @@ -1,40 +0,0 @@ -# frozen_string_literal: true - -# Puma can serve each request in a thread from an internal thread pool. -# The `threads` method setting takes two numbers: a minimum and maximum. -# Any libraries that use thread pools should be configured to match -# the maximum value specified for Puma. Default is set to 5 threads for minimum -# and maximum; this matches the default thread size of Active Record. -# -max_threads_count = ENV.fetch("RAILS_MAX_THREADS", 5) -min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count } -threads min_threads_count, max_threads_count - -# Specifies the `port` that Puma will listen on to receive requests; default is 3000. -# -port ENV.fetch("PORT", 3000) - -# Specifies the `environment` that Puma will run in. -# -environment ENV.fetch("RAILS_ENV", "development") - -# Specifies the `pidfile` that Puma will use. -pidfile ENV.fetch("PIDFILE", "tmp/pids/server.pid") - -# Specifies the number of `workers` to boot in clustered mode. -# Workers are forked web server processes. If using threads and workers together -# the concurrency of the application would be max `threads` * `workers`. -# Workers do not work on JRuby or Windows (both of which do not support -# processes). -# -# workers ENV.fetch("WEB_CONCURRENCY") { 2 } - -# Use the `preload_app!` method when specifying a `workers` number. -# This directive tells Puma to first boot the application and load code -# before forking the application. This takes advantage of Copy On Write -# process behavior so workers use less memory. -# -# preload_app! - -# Allow puma to be restarted by `rails restart` command. -plugin :tmp_restart diff --git a/test/dummy/config/routes.rb b/test/dummy/config/routes.rb deleted file mode 100644 index a51c3bf5..00000000 --- a/test/dummy/config/routes.rb +++ /dev/null @@ -1,5 +0,0 @@ -# frozen_string_literal: true - -Rails.application.routes.draw do - root to: "pages#home" -end diff --git a/test/dummy/config/spring.rb b/test/dummy/config/spring.rb deleted file mode 100644 index 37a35434..00000000 --- a/test/dummy/config/spring.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -Spring.watch( - ".ruby-version", - ".rbenv-vars", - "tmp/restart.txt", - "tmp/caching-dev.txt" -) diff --git a/test/dummy/config/storage.yml b/test/dummy/config/storage.yml deleted file mode 100644 index d32f76e8..00000000 --- a/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 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 - -# 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 - -# Use 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 - -# mirror: -# service: Mirror -# primary: local -# mirrors: [ amazon, google, microsoft ] diff --git a/test/dummy/lib/assets/.keep b/test/dummy/lib/assets/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/test/dummy/log/.keep b/test/dummy/log/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/test/dummy/public/404.html b/test/dummy/public/404.html deleted file mode 100644 index 2be3af26..00000000 --- a/test/dummy/public/404.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - The page you were looking for doesn't exist (404) - - - - - - -
-
-

The page you were looking for doesn't exist.

-

You may have mistyped the address or the page may have moved.

-
-

If you are the application owner check the logs for more information.

-
- - diff --git a/test/dummy/public/422.html b/test/dummy/public/422.html deleted file mode 100644 index c08eac0d..00000000 --- a/test/dummy/public/422.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - The change you wanted was rejected (422) - - - - - - -
-
-

The change you wanted was rejected.

-

Maybe you tried to change something you didn't have access to.

-
-

If you are the application owner check the logs for more information.

-
- - diff --git a/test/dummy/public/500.html b/test/dummy/public/500.html deleted file mode 100644 index 78a030af..00000000 --- a/test/dummy/public/500.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - We're sorry, but something went wrong (500) - - - - - - -
-
-

We're sorry, but something went wrong.

-
-

If you are the application owner check the logs for more information.

-
- - diff --git a/test/dummy/public/apple-touch-icon-precomposed.png b/test/dummy/public/apple-touch-icon-precomposed.png deleted file mode 100644 index e69de29b..00000000 diff --git a/test/dummy/public/apple-touch-icon.png b/test/dummy/public/apple-touch-icon.png deleted file mode 100644 index e69de29b..00000000 diff --git a/test/dummy/public/favicon.ico b/test/dummy/public/favicon.ico deleted file mode 100644 index e69de29b..00000000 diff --git a/test/heroicon/icon_test.rb b/test/heroicon/icon_test.rb index 709bff7f..0c89ca58 100644 --- a/test/heroicon/icon_test.rb +++ b/test/heroicon/icon_test.rb @@ -4,7 +4,7 @@ require "pry" class Heroicon::IconTest < ActiveSupport::TestCase - let(:default_args) { {name: "user", variant: :outline, options: {}, path_options: {}} } + let(:default_args) { { name: "user", variant: :outline, options: {}, path_options: {}} } subject { Heroicon::Icon.new(**default_args) } describe "#initialize" do @@ -74,6 +74,10 @@ class Heroicon::IconTest < ActiveSupport::TestCase end it "prepends a default class to the svg" do + Heroicon.configure do |config| + config.default_class = { solid: "h-5 w-5", outline: "h-6 w-6", mini: "h-4 w-4" } + end + subject.options[:class] = "foo" assert_equal "h-6 w-6 foo", subject.render.at_css("svg").attributes["class"].value end diff --git a/test/test_helper.rb b/test/test_helper.rb index a0cbdb60..f9453d63 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -3,11 +3,11 @@ # Configure Rails Environment ENV["RAILS_ENV"] = "test" -require_relative "../test/dummy/config/environment" -ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)] -ActiveRecord::Migrator.migrations_paths << File.expand_path("../db/migrate", __dir__) +require "rails" +require "nokogiri" +require "heroicon" -require "rails/test_help" +# Rails.application.initialize! require "minitest/pride" require "minitest/spec" @@ -16,14 +16,6 @@ # Filter out the backtrace from minitest while preserving the one from other libraries. Minitest.backtrace_filter = Minitest::BacktraceFilter.new -# Load fixtures from the engine -if ActiveSupport::TestCase.respond_to?(:fixture_path=) - ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__) - ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path - ActiveSupport::TestCase.file_fixture_path = "#{ActiveSupport::TestCase.fixture_path}/files" - ActiveSupport::TestCase.fixtures :all -end - module Kernel alias_method :context, :describe end