summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-04-21 21:03:08 -0400
committerDavid Gay <david@davidgay.org>2021-04-21 21:03:08 -0400
commit7e02c26ab9aeb074437ffb6f4db1ed95b35b32a8 (patch)
tree185e0eac9f1890f086250f264a202b1fa40177ab
parent6f79f2ef7fb1593b591bef00e7e79c9e1e7d6fc6 (diff)
Update gemfile with rubocop stuff
-rw-r--r--Gemfile43
-rw-r--r--Gemfile.lock32
2 files changed, 56 insertions, 19 deletions
diff --git a/Gemfile b/Gemfile
index 1c4c9f5..7e5f7bf 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,22 +1,22 @@
-source 'https://rubygems.org'
+source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
-ruby '2.7.2'
+ruby "2.7.2"
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
-gem 'rails', '~> 6.1.3', '>= 6.1.3.1'
+gem "rails", "~> 6.1.3", ">= 6.1.3.1"
# Use postgresql as the database for Active Record
-gem 'pg', '~> 1.1'
+gem "pg", "~> 1.1"
# Use Puma as the app server
-gem 'puma', '~> 5.0'
+gem "puma", "~> 5.0"
# Use SCSS for stylesheets
-gem 'sass-rails', '>= 6'
+gem "sass-rails", ">= 6"
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
-gem 'webpacker', '~> 5.0'
+gem "webpacker", "~> 5.0"
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
-gem 'turbolinks', '~> 5'
+gem "turbolinks", "~> 5"
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
-gem 'jbuilder', '~> 2.7'
+gem "jbuilder", "~> 2.7"
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
@@ -26,31 +26,36 @@ gem 'jbuilder', '~> 2.7'
# gem 'image_processing', '~> 1.2'
# Reduces boot times through caching; required in config/boot.rb
-gem 'bootsnap', '>= 1.4.4', require: false
+gem "bootsnap", ">= 1.4.4", require: false
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
+ gem "byebug", platforms: [:mri, :mingw, :x64_mingw]
end
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
- gem 'web-console', '>= 4.1.0'
+ gem "web-console", ">= 4.1.0"
# Display performance information such as SQL time and flame graphs for each request in your browser.
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
- gem 'rack-mini-profiler', '~> 2.0'
- gem 'listen', '~> 3.3'
+ gem "rack-mini-profiler", "~> 2.0"
+ gem "listen", "~> 3.3"
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
+ gem "spring"
+ # Rubocop
+ gem "rubocop", ">= 0.90", require: false
+ gem "rubocop-packaging", require: false
+ gem "rubocop-performance", require: false
+ gem "rubocop-rails", require: false
end
group :test do
# Adds support for Capybara system testing and selenium driver
- gem 'capybara', '>= 3.26'
- gem 'selenium-webdriver'
+ gem "capybara", ">= 3.26"
+ gem "selenium-webdriver"
# Easy installation and use of web drivers to run system tests with browsers
- gem 'webdrivers'
+ gem "webdrivers"
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
-gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
+gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
diff --git a/Gemfile.lock b/Gemfile.lock
index ef36c28..6867140 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -62,6 +62,7 @@ GEM
zeitwerk (~> 2.3)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
+ ast (2.4.2)
bindex (0.8.1)
bootsnap (1.7.4)
msgpack (~> 1.0)
@@ -102,6 +103,9 @@ GEM
nio4r (2.5.7)
nokogiri (1.11.3-arm64-darwin)
racc (~> 1.4)
+ parallel (1.20.1)
+ parser (3.0.0.0)
+ ast (~> 2.4.1)
pg (1.2.3)
public_suffix (4.0.6)
puma (5.2.2)
@@ -140,11 +144,34 @@ GEM
method_source
rake (>= 0.8.7)
thor (~> 1.0)
+ rainbow (3.0.0)
rake (13.0.3)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.1.1)
+ rexml (3.2.5)
+ rubocop (1.12.1)
+ parallel (~> 1.10)
+ parser (>= 3.0.0.0)
+ rainbow (>= 2.2.2, < 4.0)
+ regexp_parser (>= 1.8, < 3.0)
+ rexml
+ rubocop-ast (>= 1.2.0, < 2.0)
+ ruby-progressbar (~> 1.7)
+ unicode-display_width (>= 1.4.0, < 3.0)
+ rubocop-ast (1.4.1)
+ parser (>= 2.7.1.5)
+ rubocop-packaging (0.5.1)
+ rubocop (>= 0.89, < 2.0)
+ rubocop-performance (1.10.2)
+ rubocop (>= 0.90.0, < 2.0)
+ rubocop-ast (>= 0.4.0)
+ rubocop-rails (2.9.1)
+ activesupport (>= 4.2.0)
+ rack (>= 1.1)
+ rubocop (>= 0.90.0, < 2.0)
+ ruby-progressbar (1.11.0)
rubyzip (2.3.0)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
@@ -175,6 +202,7 @@ GEM
turbolinks-source (5.2.0)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
+ unicode-display_width (2.0.0)
web-console (4.1.0)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
@@ -209,6 +237,10 @@ DEPENDENCIES
puma (~> 5.0)
rack-mini-profiler (~> 2.0)
rails (~> 6.1.3, >= 6.1.3.1)
+ rubocop (>= 0.90)
+ rubocop-packaging
+ rubocop-performance
+ rubocop-rails
sass-rails (>= 6)
selenium-webdriver
spring