From 2e2cbace07a67737c2bbd7840f5c0665321e6d5e Mon Sep 17 00:00:00 2001 From: Guillaume Dott Date: Fri, 9 Jul 2021 11:34:09 +0200 Subject: [PATCH] Update dev dependencies --- config.ru | 9 +++++++++ spec/internal/app/assets/config/manifest.js | 0 spec/internal/config/routes.rb | 4 +++- spec/internal/config/storage.yml | 3 +++ spec/internal/db/schema.rb | 5 +++++ spec/internal/public/favicon.ico | 0 spec/spec_helper.rb | 1 - the_moderator.gemspec | 8 ++++---- 8 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 config.ru create mode 100644 spec/internal/app/assets/config/manifest.js create mode 100644 spec/internal/config/storage.yml create mode 100644 spec/internal/public/favicon.ico diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..1265db9 --- /dev/null +++ b/config.ru @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +require "rubygems" +require "bundler" + +Bundler.require :default, :development + +Combustion.initialize! :all +run Combustion::Application diff --git a/spec/internal/app/assets/config/manifest.js b/spec/internal/app/assets/config/manifest.js new file mode 100644 index 0000000..e69de29 diff --git a/spec/internal/config/routes.rb b/spec/internal/config/routes.rb index 14560a4..878c813 100644 --- a/spec/internal/config/routes.rb +++ b/spec/internal/config/routes.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + Rails.application.routes.draw do - # + # Add your own routes here, or remove this file if you don't have need for it. end diff --git a/spec/internal/config/storage.yml b/spec/internal/config/storage.yml new file mode 100644 index 0000000..0eb481f --- /dev/null +++ b/spec/internal/config/storage.yml @@ -0,0 +1,3 @@ +test: + service: Disk + root: /home/guillaume/prog/pro/lafourmiimmo/the_moderator/tmp/storage diff --git a/spec/internal/db/schema.rb b/spec/internal/db/schema.rb index 1eff192..3f94502 100644 --- a/spec/internal/db/schema.rb +++ b/spec/internal/db/schema.rb @@ -1,4 +1,9 @@ +# frozen_string_literal: true + ActiveRecord::Schema.define do + # Set up any tables you need to exist for your test suite that don't belong + # in migrations. + create_table :categories, :force => true do |t| t.string :name t.timestamps diff --git a/spec/internal/public/favicon.ico b/spec/internal/public/favicon.ico new file mode 100644 index 0000000..e69de29 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c71aaa9..fe11848 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,7 +6,6 @@ require 'the_moderator' Combustion.initialize! :active_record, :active_model RSpec.configure do |config| - config.treat_symbols_as_metadata_keys_with_true_values = true config.run_all_when_everything_filtered = true config.filter_run :focus diff --git a/the_moderator.gemspec b/the_moderator.gemspec index 20326ef..10f2222 100644 --- a/the_moderator.gemspec +++ b/the_moderator.gemspec @@ -22,10 +22,10 @@ Gem::Specification.new do |spec| spec.add_dependency "activerecord", ">= 3.2.0", "< 5.3" spec.add_dependency "activesupport", ">= 3.2.0", "< 5.3" - spec.add_development_dependency "bundler", "~> 1.3" - spec.add_development_dependency "rake", "~> 10.3" + spec.add_development_dependency "bundler", "~> 2.2" + spec.add_development_dependency "rake", "~> 13.0" - spec.add_development_dependency "rspec", "~> 2.14" - spec.add_development_dependency "combustion", "~> 0.5" + spec.add_development_dependency "rspec", "~> 3.10" + spec.add_development_dependency "combustion", "~> 1.3" spec.add_development_dependency "sqlite3", "~> 1.3" end