Skip to content

Commit

Permalink
dead_end -> syntax_suggest
Browse files Browse the repository at this point in the history
  • Loading branch information
pcai committed Sep 29, 2024
1 parent c19bd61 commit 37b1802
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Support ruby-statistics 4.x (https://github.com/zombocom/derailed_benchmarks/pull/238, https://github.com/zombocom/derailed_benchmarks/pull/239)
- Repair tests, support ruby-statistics in ruby < 3.0 (https://github.com/zombocom/derailed_benchmarks/pull/241)
- Test Rails 7.1 and 7.2 (https://github.com/zombocom/derailed_benchmarks/pull/242)
- Switch from dead_end to syntax_suggest (https://github.com/zombocom/derailed_benchmarks/pull/243)

## 2.1.2

Expand Down
4 changes: 3 additions & 1 deletion derailed_benchmarks.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ Gem::Specification.new do |gem|
else
gem.add_dependency "ruby-statistics", ">= 2.1"
end
if RUBY_VERSION < "3.2"
gem.add_dependency "syntax_suggest", "~> 1.1.0"
end
gem.add_dependency "mini_histogram", ">= 0.3.0"
gem.add_dependency "dead_end", ">= 0"
gem.add_dependency "rack-test", ">= 0"
gem.add_dependency "base64", ">= 0"
gem.add_dependency "mutex_m", ">= 0"
Expand Down
2 changes: 1 addition & 1 deletion lib/derailed_benchmarks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require 'bundler'
require 'get_process_mem'

require 'dead_end'
require 'syntax_suggest'

module DerailedBenchmarks
def self.gem_is_bundled?(name)
Expand Down

0 comments on commit 37b1802

Please sign in to comment.