Skip to content

Commit 004b462

Browse files
authored
Merge pull request #38 from pboling/fix/nokogiri-incompatible-with-global-purl
🎨 modernize for 2025 (chores & slight refactoring)
2 parents cfec6e4 + 7a55d34 commit 004b462

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1216
-557
lines changed

.envrc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Run any command in this library's bin/ without the bin/ prefix!
2+
# Prefer exe version over binstub
3+
PATH_add exe
4+
PATH_add bin
5+
6+
# Only add things to this file that should be shared with the team.
7+
8+
# **dotenv** (See end of file for .env.local integration)
9+
# .env would override anything in this file, if enabled.
10+
# .env is a DOCKER standard, and if we use it, it would be in deployed, or DOCKER, environments.
11+
# Override and customize anything below in your own .env.local
12+
# If you are using dotenv and not direnv,
13+
# copy the following `export` statements to your own .env file.
14+
export MIMIC_NEXT_MAJOR_VERSION=false
15+
export ARUBA_NO_COVERAGE=false
16+
17+
### General Ruby ###
18+
# Turn off Ruby Warnings about deprecated code
19+
# export RUBYOPT="-W0"
20+
21+
# Internal Debugging Controls
22+
export DEBUG=false # do not allow byebug statements (override in .env.local)
23+
24+
# .env would override anything in this file, if `dotenv` is uncommented below.
25+
# .env is a DOCKER standard, and if we use it, it would be in deployed, or DOCKER, environments,
26+
# and that is why we generally want to leave it commented out.
27+
# dotenv
28+
29+
# .env.local will override anything in this file.
30+
dotenv_if_exists .env.local

.github/workflows/ruby.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
ruby:
21-
- '3.2.2'
22-
- '3.1.4'
23-
- '3.0.6'
24-
- '2.7.7'
21+
- '3.4.7'
22+
- '3.3.9'
23+
- '3.2.9'
24+
# Not supported by latest bundler. These will be added back to the build matrix later.
25+
# They are not being dropped from support, just from CI testing for now.
26+
# - '3.1.7'
27+
# - '3.0.7'
28+
# - '2.7.8'
2529

2630
steps:
2731
- uses: actions/checkout@v3

.gitignore

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,54 @@
1-
.idea
2-
/Gemfile.lock
3-
/tmp/aruba
4-
/coverage
1+
# Build Artifacts
2+
/pkg/
3+
/tmp/
4+
*.gem
5+
6+
# Bundler
7+
/vendor/bundle/
8+
/.bundle/
9+
/gemfiles/*.lock
10+
/gemfiles/.bundle/
11+
/gemfiles/.bundle/config
12+
/gemfiles/vendor/
13+
Appraisal.*.gemfile.lock
14+
15+
# Specs
16+
.rspec_status
17+
/coverage/
18+
/spec/reports/
19+
/results/
20+
.output.txt
21+
22+
# Documentation
23+
/.yardoc/
24+
/_yardoc/
25+
/rdoc/
26+
/doc/
27+
28+
# Ruby Version Managers (RVM, rbenv, etc)
29+
.rvmrc
30+
.ruby-version
31+
.ruby-gemset
32+
.tool-versions
33+
34+
# Benchmarking
35+
/measurement/
36+
37+
# Debugger detritus
38+
.byebug_history
39+
40+
# direnv - brew install direnv
41+
.env.local
42+
43+
# OS Detritus
44+
.DS_Store
45+
46+
# Editors
47+
*~
48+
49+
# vendor
50+
/vendor/
51+
52+
# text artifacts
53+
bom.xml
54+
bom.json

.rspec

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
--format documentation
2+
--require spec_helper
3+
--color
4+
--order random
5+
--warnings
6+
--format html
7+
--out results/test_results.html

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ AllCops:
44

55
inherit_from: .rubocop_todo.yml
66

7+
Gemspec/DevelopmentDependencies:
8+
EnforcedStyle: gemspec
9+
710
# The behavior of RuboCop can be controlled via the .rubocop.yml
811
# configuration file. It makes it possible to enable/disable
912
# certain cops (checks) and to alter their behavior if they accept

0 commit comments

Comments
 (0)