Skip to content

Commit c38a884

Browse files
authored
Merge pull request #81 from aetherknight/update-actions
Update github actions to use newer setup-ruby and newer ruby versions
2 parents d26b6e8 + 37c3d99 commit c38a884

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ jobs:
2121

2222
runs-on: ubuntu-latest
2323
strategy:
24+
fail-fast: false
2425
matrix:
25-
ruby-version: ['3.1', '3.2', '3.3', head, jruby, jruby-head]
26+
ruby-version: ['3.2', '3.3', '3.4', head, jruby, jruby-head]
2627

2728
steps:
2829
- uses: actions/checkout@v4
2930
- name: Set up Ruby
3031
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
3132
# change this to (see https://github.com/ruby/setup-ruby#versioning):
3233
# uses: ruby/setup-ruby@v1
33-
uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # 1.177.1
34+
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # 1.268.0
3435
with:
3536
ruby-version: ${{ matrix.ruby-version }}
3637
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

recursive-open-struct.gemspec

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# -*- encoding: utf-8 -*-
2-
3-
require './lib/recursive_open_struct/version'
2+
name = "recursive-open-struct"
3+
version = File.foreach(File.join(__dir__, "lib", "recursive_open_struct", "version.rb")) do |line|
4+
/^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1
5+
end
46

57
Gem::Specification.new do |s|
6-
s.name = "recursive-open-struct"
7-
s.version = RecursiveOpenStruct::VERSION
8+
s.name = name
9+
s.version = version
810
s.authors = ["William (B.J.) Snow Orvis"]
911
s.email = "aetherknight@gmail.com"
1012
s.date = Time.now.utc.strftime("%Y-%m-%d")

0 commit comments

Comments
 (0)