Skip to content

Commit

Permalink
Bump actions/checkout from 3 to 4 (#6)
Browse files Browse the repository at this point in the history
* Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fixed deps.

* Cleanup old rubies/rails.

* Fixed rubocop.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stas SUȘCOV <[email protected]>
  • Loading branch information
dependabot[bot] and stas authored Oct 8, 2023
1 parent 7fb4990 commit 7f3d6ff
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,9 @@ jobs:

strategy:
matrix:
ruby: [2.4, 2.7, '3.0', 3.1, 3.2]
rails: [4, 5, 6.0, 6.1, 7.0]
ruby: [2.7, '3.0', 3.1, 3.2]
rails: [5, 6.0, 6.1, 7.0, 7.1]
exclude:
- ruby: 2.4
rails: 6.0
- ruby: 2.4
rails: 6.1
- ruby: 2.4
rails: 7.0
- ruby: 2.7
rails: 4
- ruby: '3.0'
rails: 4
- ruby: '3.0'
rails: 5
- ruby: 3.1
Expand All @@ -50,7 +40,7 @@ jobs:
rails: 6.1

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ruby/setup-ruby@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ RSpec/DescribedClass:

RSpec/ExampleLength:
Enabled: false

RSpec/SpecFilePathFormat:
Enabled: false
10 changes: 10 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
source 'https://rubygems.org'

gemspec

gem 'bundler'
gem 'ffaker'
gem 'pg', ('< 1' if ENV['RAILS_VERSION'].to_s.split.last.to_i == 4)
gem 'rake'
gem 'rspec'
gem 'rubocop-performance'
gem 'rubocop-rspec'
gem 'simplecov'
gem 'yardstick'
11 changes: 0 additions & 11 deletions active_record-pgcrypto.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,5 @@ Gem::Specification.new do |spec|

spec.add_dependency 'activerecord', ENV.fetch('RAILS_VERSION', '>= 3.2')

pg_version = '< 1' if ENV['RAILS_VERSION'].to_s.split.last.to_i == 4

spec.add_development_dependency 'bundler'
spec.add_development_dependency 'ffaker'
spec.add_development_dependency 'pg', pg_version
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rubocop-performance'
spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'yardstick'
spec.metadata['rubygems_mfa_required'] = 'true'
end

0 comments on commit 7f3d6ff

Please sign in to comment.