Skip to content

Commit

Permalink
Upgrade to Rails v7.1 (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
szechyjs authored Nov 10, 2023
1 parent 3814a3c commit c6bf847
Show file tree
Hide file tree
Showing 38 changed files with 558 additions and 542 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Ruby

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

test:
name: Test
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run tests
env:
RAILS_ENV: test
run: |
bundle exec rails db:create db:migrate
bundle exec rails test:all
38 changes: 22 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler things
# Ignore bundler config.
/.bundle
/vendor/bundle

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
/db/*.sqlite3-*

# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
.DS_Store
.redcar
/.redcar
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore encrypted secrets key file.
config/secrets.yml.key
/node_modules/
/public/packs/
# Ignore pidfiles, but keep the directory.
/tmp/pids/*
!/tmp/pids/
!/tmp/pids/.keep

# Ignore IDE files
/.idea
*.iml
# Ignore uploaded files in development.
/storage/*
!/storage/.keep

/public/assets
.byebug_history

# Ignore master key for decrypting credentials and more.
/config/master.key
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

16 changes: 0 additions & 16 deletions Dockerfile

This file was deleted.

32 changes: 17 additions & 15 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,36 @@ source 'https://rubygems.org'

ruby '3.1.2'

gem 'bourbon', '4.2.4'
gem 'rails', '~> 7.1'

gem 'bourbon'
gem 'coffee-rails'
gem 'devise'
gem 'flexirest'
gem 'jquery-rails'
gem 'minitest'
gem 'neat', '1.7.2'
gem 'net-imap', require: false
gem 'net-pop', require: false
gem 'net-smtp', require: false
gem 'neat', '1.7.3'
gem 'omniauth-google-oauth2'
gem 'omniauth-rails_csrf_protection', '~> 1.0'
gem 'pg'
gem 'puma'
gem 'rails', '~> 6.0.6'
gem 'rails_12factor'
gem 'puma', '>= 5.0'
gem 'redcarpet'
gem 'rest-client'
gem 'sass-rails'
gem 'slim'
gem 'thin'
gem 'sprockets-rails'
gem 'uglifier'

group :development, :test do
gem 'debug', platforms: %i[mri windows]
gem 'sqlite3', '~> 1.4'
end

group :development do
gem 'faker'
gem 'listen'
gem 'pry'
gem 'web-console'
end

group :assets do
gem 'coffee-rails'
gem 'sass-rails'
gem 'uglifier'
end
# Windows does not include zonefile files, so bundle thte tzinfo-data gem
gem 'tzinfo-data', platforms: %i[windows jruby]
Loading

0 comments on commit c6bf847

Please sign in to comment.