Skip to content

Commit

Permalink
Update ruby gems, version and change log
Browse files Browse the repository at this point in the history
  • Loading branch information
gangelo committed May 19, 2024
1 parent a64394b commit 8602565
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 91 deletions.
77 changes: 16 additions & 61 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby

on:
Expand All @@ -18,67 +11,29 @@ permissions:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Use `rbenv install -l` and only use the latest stable
# version of ruby.
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
include:
# ubuntu-latest
- os: ubuntu-latest
ruby: '2.6'
- os: ubuntu-latest
ruby: '2.7'
- os: ubuntu-latest
ruby: '3.0'
- os: ubuntu-latest
ruby: '3.1'
- os: ubuntu-latest
ruby: '3.2'
- os: ubuntu-latest
ruby: '3.3'
# macos-latest
- os: macos-latest
ruby: '2.6'
- os: macos-latest
ruby: '2.7'
- os: macos-latest
ruby: '3.0'
- os: macos-latest
ruby: '3.1'
- os: macos-latest
ruby: '3.2'
- os: macos-latest
ruby: '3.3'
# windows-latest
- os: windows-latest
ruby: '2.6'
- os: windows-latest
ruby: '2.7'
- os: windows-latest
ruby: '3.0'
- os: windows-latest
ruby: '3.1'
- os: windows-latest
ruby: '3.2'
- os: windows-latest
ruby: '3.3'

os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ['3.0.7', '3.1', '3.2', '3.3']

steps:
- uses: actions/checkout@v3
- name: Set timezone
run: sudo timedatectl set-timezone 'America/New_York'
- name: Run a command
run: date

- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Update RubyGems
run: gem update --system

- name: Disable bundler frozen setting
run: bundle config set frozen false

- name: Install dependencies
run: bundle install

- name: Run tests
run: bundle exec rake
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.1
3.0.7
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [3.0.2] - 2024-05-18

### Changes
[x] Update ruby gems.
[x] Update GitHub Actions to include the platforms and ruby versions we want to test againsg.

## [3.0.1] - 2024-02-19

### Changes
Expand Down
58 changes: 31 additions & 27 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
dsu (3.0.1)
dsu (3.0.2)
activemodel (>= 7.0.8, < 8.0)
activesupport (>= 7.0.8, < 8.0)
colorize (>= 1.1, < 2.0)
Expand All @@ -12,9 +12,9 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activemodel (7.1.3)
activesupport (= 7.1.3)
activesupport (7.1.3)
activemodel (7.1.3.3)
activesupport (= 7.1.3.3)
activesupport (7.1.3.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -26,7 +26,7 @@ GEM
tzinfo (~> 2.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.6)
bigdecimal (3.1.8)
byebug (11.1.3)
coderay (1.1.3)
colorize (1.1.0)
Expand All @@ -35,8 +35,7 @@ GEM
diff-lcs (1.5.1)
docile (1.4.0)
dotenv (2.8.1)
drb (2.2.0)
ruby2_keywords
drb (2.2.1)
dry-configurable (1.1.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
Expand Down Expand Up @@ -67,16 +66,16 @@ GEM
factory_bot (6.4.6)
activesupport (>= 5.0.0)
ffaker (2.23.0)
i18n (1.14.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.1)
json (2.7.2)
language_server-protocol (3.17.0.3)
method_source (1.0.0)
minitest (5.22.2)
method_source (1.1.0)
minitest (5.23.0)
mutex_m (0.2.0)
os (1.1.4)
parallel (1.24.0)
parser (3.3.0.5)
parser (3.3.1.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand All @@ -87,14 +86,15 @@ GEM
pry (>= 0.13, < 0.15)
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
rake (13.2.1)
reek (6.3.0)
dry-schema (~> 1.13.0)
parser (~> 3.3.0)
rainbow (>= 2.0, < 4.0)
rexml (~> 3.1)
regexp_parser (2.9.0)
rexml (3.2.6)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand All @@ -104,52 +104,56 @@ GEM
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rubocop (1.60.2)
rspec-support (3.13.1)
rubocop (1.63.5)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-performance (1.20.2)
rubocop-performance (1.21.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.26.1)
rubocop-rspec (2.29.2)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
thor (1.3.0)
strscan (3.1.0)
thor (1.3.1)
thor_nested_subcommand (1.0.8)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
zeitwerk (2.6.13)
zeitwerk (2.6.14)

PLATFORMS
arm64-darwin-22
x86_64-darwin-19
x86_64-darwin-21
x86_64-linux
Expand Down
2 changes: 1 addition & 1 deletion dsu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
DESC
spec.homepage = 'https://github.com/gangelo/dsu'
spec.license = 'MIT'
spec.required_ruby_version = ['>= 3.0.1', '< 4.0']
spec.required_ruby_version = ['>= 3.0.7', '< 4.0']

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['documentation_uri'] = 'https://github.com/gangelo/dsu/wiki'
Expand Down
2 changes: 1 addition & 1 deletion lib/dsu/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module Dsu
VERSION_REGEX = /\A\d+\.\d+\.\d+(\.(alpha|beta|rc)\.\d+)?\z/
VERSION = '3.0.1'
VERSION = '3.0.2'
end

0 comments on commit 8602565

Please sign in to comment.