Skip to content

Commit

Permalink
[#3] Move view_component as a prod dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
malparty committed Sep 22, 2021
1 parent d9f5473 commit 4b2e944
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ gem 'ffaker' # A library for generating fake data such as names, addresses, and
gem 'fabrication' # Fabrication generates objects in Ruby. Fabricators are schematics for your objects, and can be created as needed anywhere in your app or specs.
gem 'bootsnap', require: false # Reduces boot times through caching; required in config/boot.rb
gem 'i18n-js', '3.5.1' # A library to provide the I18n translations on the Javascript
gem "view_component", require: "view_component/engine" # Reusable, testable & encapsulated view components

# Authentications & Authorizations
gem 'devise' # Authentication solution for Rails with Warden
Expand Down Expand Up @@ -51,7 +52,6 @@ group :development, :test do
gem 'rubocop-rails', require: false # A RuboCop extension focused on enforcing Rails best practices and coding conventions.
gem 'rubocop-rspec', require: false # Code style checking for RSpec files
gem 'rubocop-performance', require: false # An extension of RuboCop focused on code performance checks.
gem "view_component", require: "view_component/engine" # Reusable, testable & encapsulated view components
gem "view_component_storybook" # Components documentation streamlined

gem 'undercover' # Report missing test coverage in new changes
Expand Down
1 change: 0 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require "active_support/core_ext/integer/time"
require "view_component"

Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
Expand Down

0 comments on commit 4b2e944

Please sign in to comment.