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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ plans/
.skill-bench-trends.json*
# Runtime artifacts generated by examples/api/generate_scaffold.rb
examples/api/out/
.rs-guard/cache/
review-result.txt
rs-guard-metrics.json
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gemspec

group :development, :test do
gem 'bundler-audit', '~> 0.9', require: false
gem 'concurrent-ruby', '>= 1.3.5'
gem 'concurrent-ruby', '>= 1.3.7'
gem 'minitest', '~> 5.0'
gem 'mocha', '~> 2.1'
gem 'rake', '~> 13.4'
Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ PATH
remote: .
specs:
ruby-skill-bench (1.2.0)
cgi (~> 0.5.1)
cgi (~> 0.5.2)
faraday (~> 2.14)
json (~> 2.19)
json (~> 2.20)
parallel (~> 1.26)

GEM
Expand Down Expand Up @@ -136,7 +136,7 @@ GEM
rubocop-rake (0.7.1)
lint_roller (~> 1.1)
rubocop (>= 1.72.1)
rubocop-yard (1.2.0)
rubocop-yard (1.3.0)
lint_roller
rubocop (~> 1.72)
yard
Expand Down Expand Up @@ -192,7 +192,7 @@ PLATFORMS

DEPENDENCIES
bundler-audit (~> 0.9)
concurrent-ruby (>= 1.3.5)
concurrent-ruby (>= 1.3.7)
minitest (~> 5.0)
mocha (~> 2.1)
rake (~> 13.4)
Expand Down Expand Up @@ -259,7 +259,7 @@ CHECKSUMS
rubocop-minitest (0.39.1) sha256=998398d6da4026d297f0f9bf709a1eac5f2b6947c24431f94af08138510cf7ed
rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
rubocop-yard (1.2.0) sha256=a749b1feccd16ca049d1c65c4b62dbfc8ce39904bfdbc6e5c08f6b5dc0422dc4
rubocop-yard (1.3.0) sha256=29bc44274e0b10d7db60655e84089328c0aceadd246d24f8e963c67949a60269
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
ruby-skill-bench (1.2.0)
ruby2_keywords (0.0.5) sha256=ffd13740c573b7301cf7a2e61fc857b2a8e3d3aff32545d6f8300d8bae10e3ef
Expand Down
4 changes: 2 additions & 2 deletions ruby-skill-bench.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

# Runtime dependencies
spec.add_dependency 'cgi', '~> 0.5.1'
spec.add_dependency 'cgi', '~> 0.5.2'
spec.add_dependency 'faraday', '~> 2.14'
spec.add_dependency 'json', '~> 2.19'
spec.add_dependency 'json', '~> 2.20'
spec.add_dependency 'parallel', '~> 1.26'
spec.metadata['rubygems_mfa_required'] = 'true'
spec.metadata['source_code_uri'] = 'https://github.com/igmarin/ruby-skill-bench'
Expand Down
8 changes: 8 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@
# Load the library via the canonical entry point
$LOAD_PATH << File.expand_path('../lib', __dir__)
require_relative '../lib/skill_bench'

# Tests must be hermetic: never inherit real provider credentials from the
# developer's shell. A leaked key (e.g. OPENAI_API_KEY) flows through
# EnvOverrides / Provider#merged_config / ProviderConfig and makes
# "missing credentials" assertions pass, so the suite would go red only on
# machines that have keys exported. Tests that exercise env handling set their
# own vars in setup and restore them in teardown.
ENV.keys.grep(/_API_KEY\z/).each { |provider_key| ENV.delete(provider_key) }
Loading