Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-brousse authored and Spone committed Feb 6, 2023
1 parent 83392b7 commit c64c79f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
# combustion
spec/internal/db/*.sqlite
spec/internal/log
spec/internal/tmp
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ gem "simplecov", require: false, group: :test
gem "sqlite3"

group :development do
gem "lookbook", require: false
gem "view_component", require: "view_component/engine"

gem "lookbook"
gem "puma"
end
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ DEPENDENCIES
rubocop-rspec
simplecov
sqlite3
view_component
view_component-form!

BUNDLED WITH
Expand Down
7 changes: 3 additions & 4 deletions config.ru
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# frozen_string_literal: true

ENV["RAILS_ENV"] ||= "development"

require "rubygems"
require "bundler"

Bundler.require :default, :development

require "view_component/engine"
require "lookbook"
Bundler.require(:default, :development)

Combustion.initialize! :all do
config.logger = ActiveSupport::TaggedLogging.new(Logger.new(nil))
Expand Down
4 changes: 4 additions & 0 deletions spec/internal/config/database.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
development:
adapter: sqlite3
database: db/combustion_development.sqlite

test:
adapter: sqlite3
database: db/combustion_test.sqlite

0 comments on commit c64c79f

Please sign in to comment.