Skip to content

confg 3.1.0: bump to ruby 3.3.7 by default, test vs 3.2 and 3.3 #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 11, 2025
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
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: [3.2, 3.3]
steps:
- uses: actions/checkout@v4
with:
show-progress: 'false'
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs `bundle install` and caches installed gems automatically
- run: bundle exec rake
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/.bundle/
/.yardoc
/Gemfile.lock
/_yardoc/
/coverage/
/doc/
/pkg/
/spec/reports/
/Gemfile.lock
/tmp/
*.bundle
*.so
Expand All @@ -14,4 +14,4 @@
mkmf.log
*.gem
.byebug_history
/vendor/
/vendor/
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.6
3.3.7
9 changes: 8 additions & 1 deletion confg.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ Gem::Specification.new do |spec|
spec.summary = "Sets shared variables for applications"
spec.homepage = ""

spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test)/}) }
end
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
Expand All @@ -22,4 +27,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "byebug"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "rake"

spec.required_ruby_version = ">= 3.2.0"
end
6 changes: 5 additions & 1 deletion lib/confg/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

module Confg

VERSION = "3.0.1"
MAJOR = 3
MINOR = 1
PATCH = 0
PRERELEASE = nil

VERSION = [MAJOR, MINOR, PATCH, PRERELEASE].compact.join(".")
end