Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,17 @@ jobs:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: ['3.1', '3.2', '3.3', head, jruby, jruby-head]
ruby-version: ['3.2', '3.3', '3.4', head, jruby, jruby-head]

steps:
- uses: actions/checkout@v4
- 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@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # 1.177.1
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # 1.268.0
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
Expand Down
10 changes: 6 additions & 4 deletions recursive-open-struct.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# -*- encoding: utf-8 -*-

require './lib/recursive_open_struct/version'
name = "recursive-open-struct"
version = File.foreach(File.join(__dir__, "lib", "recursive_open_struct", "version.rb")) do |line|
/^\s*VERSION\s*=\s*"(.*)"/ =~ line and break $1
end

Gem::Specification.new do |s|
s.name = "recursive-open-struct"
s.version = RecursiveOpenStruct::VERSION
s.name = name
s.version = version
s.authors = ["William (B.J.) Snow Orvis"]
s.email = "aetherknight@gmail.com"
s.date = Time.now.utc.strftime("%Y-%m-%d")
Expand Down