Skip to content

Commit

Permalink
Merge pull request #244 from beautyjoy/cs169-final
Browse files Browse the repository at this point in the history
Final CS169L Updates
  • Loading branch information
cycomachead authored Aug 15, 2023
2 parents c45a97a + 312bdda commit ddd1aee
Show file tree
Hide file tree
Showing 60 changed files with 898 additions and 879 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.7.7
- name: Set up Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.7
ruby-version: 3.2.2
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop --parallel
2 changes: 1 addition & 1 deletion .github/workflows/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.7
ruby-version: 3.2.2
bundler-cache: true
- name: Setup Code Climate
run: |
Expand Down
4 changes: 3 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ require:
- rubocop-rspec

AllCops:
TargetRubyVersion: 2.7
# TODO: rubocop needs to be updated for 3.2
TargetRubyVersion: 3.1
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
# to ignore them, so only the ones explicitly set in this file are enabled.
DisabledByDefault: true
Expand Down Expand Up @@ -104,6 +105,7 @@ Layout/IndentationConsistency:
# Two spaces, no tabs (for indentation).
Layout/IndentationWidth:
Enabled: true
Width: 2

Layout/LeadingCommentSpace:
Enabled: true
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.8
3.2.2
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ruby 3.2.2
nodejs 14.21.3
27 changes: 12 additions & 15 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ source "https://rubygems.org"

git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "2.7.8"
ruby "3.2.2"

gem "rails", "6.1.6"
gem "rails", "6.1.7.4"

# Production app server
gem "puma", "~> 5"
gem "pg", "~> 1.0"
gem "pg", "~> 1.5"

# Front-end Assets
gem "webpacker", "~> 4"
gem "webpacker"

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", ">= 1.4.4", require: false
Expand Down Expand Up @@ -45,6 +45,12 @@ gem "aws-sdk-s3", require: false
# Render images for file uploads in pages
gem "image_processing", ">= 1.2"

gem "selectize-rails"
gem "smarter_csv", "~> 1.4"
gem "activerecord-import", require: false

gem "httparty", "~> 0.21.0"

group :development do
gem "annotate"
gem "guard"
Expand Down Expand Up @@ -86,26 +92,17 @@ end
# setup Cucumber, RSpec, Guard support
group :test do
gem "rspec-rails"
gem "simplecov", "< 0.18", require: false
gem "simplecov", require: false
gem "simplecov-json", require: false
gem "simplecov-console", require: false
gem "simplecov-csv", require: false
gem "cucumber-rails", require: false
gem "database_cleaner"
gem "factory_bot_rails"
gem "metric_fu"
# gem "metric_fu" # removed until ruby 3.x compat is fixed.
gem "selenium-webdriver"

gem "webdrivers"
# Accessibility Testing
gem "axe-core-rspec"
gem "axe-core-cucumber"

gem "rails-controller-testing"
end

gem "selectize-rails"
gem "smarter_csv", "~> 1.4"
gem "activerecord-import", require: false

gem "httparty", "~> 0.21.0"
Loading

0 comments on commit ddd1aee

Please sign in to comment.