Fix order of Ruby's magic string comment and Copyright assignment
This commit is contained in:
		
							parent
							
								
									5f2778c97a
								
							
						
					
					
						commit
						55e6cfcd36
					
				| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module ApplicationCable | ||||
|   class Channel < ActionCable::Channel::Base | ||||
|   end | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module ApplicationCable | ||||
|   class Connection < ActionCable::Connection::Base | ||||
|   end | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class ApplicationController < ActionController::Base | ||||
|   set_current_tenant_through_filter | ||||
|   before_action :set_tenant | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class CaptchaController < ApplicationController | ||||
|   skip_before_action :authenticate_user! | ||||
|   skip_before_action :set_tenant | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class ExpensesController < ApplicationController | ||||
|   def summary | ||||
|     render json: Expenses::TotalQuery.new.call | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class GroupsController < ApplicationController | ||||
|   def index | ||||
|     query_result = Groups::SummaryQuery.new.call.as_json.map(&:deep_symbolize_keys).map do |group| | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'csv' | ||||
| 
 | ||||
| class GuestsController < ApplicationController | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class SummaryController < ApplicationController | ||||
|   def index | ||||
|     render json: { | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class TablesArrangementsController < ApplicationController | ||||
|   def index | ||||
|     render json: TablesArrangement.order(discomfort: :asc).limit(3).as_json(only: %i[id name discomfort]) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class TokensController < ApplicationController | ||||
|   skip_before_action :authenticate_user! | ||||
|   skip_before_action :set_tenant | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Users | ||||
|   class ConfirmationsController < Devise::ConfirmationsController | ||||
|     clear_respond_to | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Users | ||||
|   class RegistrationsController < Devise::RegistrationsController | ||||
|     clear_respond_to | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Users | ||||
|   class SessionsController < Devise::SessionsController | ||||
|     clear_respond_to | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module TreeNodeExtension | ||||
|   def distance_to_common_ancestor(another_node) | ||||
|     return 0 if self == another_node | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module ApplicationHelper | ||||
| end | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module ExpensesHelper | ||||
| end | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module GroupsHelper | ||||
| end | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module GuestsHelper | ||||
| end | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module TablesArrangementsHelper | ||||
| end | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class ApplicationJob < ActiveJob::Base | ||||
|   # Automatically retry jobs that encountered a deadlock | ||||
|   # retry_on ActiveRecord::Deadlocked | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class TableSimulatorJob < ApplicationJob | ||||
|   queue_as :default | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class ApplicationMailer < ActionMailer::Base | ||||
|   default from: 'from@example.com' | ||||
|   layout 'mailer' | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class ApplicationRecord < ActiveRecord::Base | ||||
|   primary_abstract_class | ||||
| end | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # == Schema Information | ||||
| # | ||||
| # Table name: expenses | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # == Schema Information | ||||
| # | ||||
| # Table name: groups | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # == Schema Information | ||||
| # | ||||
| # Table name: group_affinities | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # == Schema Information | ||||
| # | ||||
| # Table name: guests | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # == Schema Information | ||||
| # | ||||
| # Table name: seats | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # == Schema Information | ||||
| # | ||||
| # Table name: tables_arrangements | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # == Schema Information | ||||
| # | ||||
| # Table name: users | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # == Schema Information | ||||
| # | ||||
| # Table name: weddings | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Expenses | ||||
|   class TotalQuery | ||||
|     private attr_reader :wedding | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Groups | ||||
|   class SummaryQuery | ||||
|     def call | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class SerializableGroup < JSONAPI::Serializable::Resource | ||||
|   type 'group' | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class SerializableGuest < JSONAPI::Serializable::Resource | ||||
|   type 'guest' | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class AffinityGroupsHierarchy < Array | ||||
|   include Singleton | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| class LibreCaptcha | ||||
|   def id | ||||
|     HTTParty.post('http://libre-captcha:8888/v2/captcha', | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Tables | ||||
|   class DiscomfortCalculator | ||||
|     class << self | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require_relative '../../extensions/tree_node_extension' | ||||
| 
 | ||||
| module Tables | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Tables | ||||
|   class Shift | ||||
|     private attr_reader :initial_solution | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Tables | ||||
|   class Swap | ||||
|     private attr_reader :initial_solution | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Tables | ||||
|   class Table < Set | ||||
|     attr_accessor :discomfort, :min_per_table, :max_per_table | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module VNS | ||||
|   class Engine | ||||
|     class << self | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| module Tree | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| FactoryBot.define do | ||||
|   factory :expense do | ||||
|     wedding | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| FactoryBot.define do | ||||
|   factory :group_affinity do | ||||
|     group_a factory: %i[group] | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| FactoryBot.define do | ||||
|   factory :group do | ||||
|     wedding | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| FactoryBot.define do | ||||
|   factory :guest do | ||||
|     group | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| FactoryBot.define do | ||||
|   factory :tables_arrangement do | ||||
|     wedding | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| FactoryBot.define do | ||||
|   factory :user do | ||||
|     wedding | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| FactoryBot.define do | ||||
|   factory :wedding do | ||||
|     sequence(:slug) { |i| "wedding-#{i}" } | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| RSpec.describe Expense do | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| RSpec.describe Group do | ||||
|  | ||||
| @ -2,8 +2,6 @@ | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| RSpec.describe Guest do | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| RSpec.describe Seat do | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| RSpec.describe TablesArrangement do | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| RSpec.describe User do | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| RSpec.describe Wedding do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| module Expenses | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| module Groups | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # This file is copied to spec/ when you run 'rails generate rspec:install' | ||||
| require 'spec_helper' | ||||
| ENV['RAILS_ENV'] ||= 'test' | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'captcha' do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'expenses' do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'groups' do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'guests' do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module Swagger | ||||
|   module Schema | ||||
|     USER = { | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'summary' do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'tables_arrangements' do | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'users/confirmations' do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'users/registrations' do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'swagger_helper' | ||||
| 
 | ||||
| RSpec.describe 'users/sessions' do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| module Tables | ||||
|   RSpec.describe DiscomfortCalculator do | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| module Tables | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| module Tables | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| module Tables | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| require 'rails_helper' | ||||
| 
 | ||||
| module VNS | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # This file was generated by the `rails generate rspec:install` command. Conventionally, all | ||||
| # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. | ||||
| # The generated `.rspec` file contains `--require spec_helper` which will cause | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| # Copyright (C) 2024 Manuel Bustillo | ||||
| 
 | ||||
| # frozen_string_literal: true | ||||
| 
 | ||||
| module SwaggerResponseHelper | ||||
|   TIMESTAMP_FORMAT = '\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z' | ||||
|   TIMESTAMP_EXAMPLE = Time.zone.now.iso8601(3) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user