Skip to content

Commit

Permalink
Add first steps to show progress of scan for movies (#291)
Browse files Browse the repository at this point in the history
* Remove checks that the PR needs to be pointed at main

commit-id:720e7fb0

* Bundle update

commit-id:57ea24ce

* yarn upgrade

commit-id:134c8e0c

* fixed DEPRECATION WARNING: `Rails.application.secrets`

commit-id:9f758dec

* Fixed WARNING: Detected running cluster mode with 1 worker

commit-id:19edb9db

* Bumped up ruby version from 3.2.2 to 3.3.0

commit-id:7e1b91a7

* Upgraded / fixed the controllers

commit-id:ec0dd444

* Add first steps to show progress of scan for movies

commit-id:966766a2
  • Loading branch information
brand-it authored Apr 12, 2024
1 parent 1fe4fb0 commit 065ab13
Show file tree
Hide file tree
Showing 81 changed files with 1,273 additions and 1,056 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@

name: Status

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# run this job on every push
on: [push]

jobs:
rspec:
Expand All @@ -24,7 +21,7 @@ jobs:
bundler-cache: true
- uses: actions/setup-node@v3
with:
node-version: 16.13.1
node-version: 20.3.0
- name: Find yarn cache location
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand All @@ -35,9 +32,6 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install packages
run: |
yarn install --pure-lockfile
- name: Run tests
run: bundle exec rspec --format RSpec::Github::Formatter --format progress

Expand Down
10 changes: 5 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Style/Documentation:

Style/MixinUsage:
Exclude:
- 'Rakefile'
- "Rakefile"

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.3.0
NewCops: enable
UseCache: true
Exclude:
Expand All @@ -26,9 +26,9 @@ AllCops:

Metrics/BlockLength:
Exclude:
- config/routes.rb # Rails
- lib/tasks/**/* # Rake
- spec/**/* # RSpec
- config/routes.rb # Rails
- lib/tasks/**/* # Rake
- spec/**/* # RSpec

RSpec/MultipleMemoizedHelpers:
Max: 6
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ruby 3.2.2
ruby 3.3.0
nodejs 20.3.0
yarn 1.22.19
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.2.2'
ruby '3.3.0'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'bootsnap', require: false
Expand All @@ -27,6 +27,7 @@ gem 'sass-rails'
gem 'simple_form'
gem 'sprockets-rails'
gem 'sqlite3'
gem 'stimulus-rails'
gem 'sys-filesystem'
gem 'text'
gem 'view_component'
Expand Down
Loading

0 comments on commit 065ab13

Please sign in to comment.