Skip to content

Commit

Permalink
Ensure build passes with Ruby 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ssig33 committed Jul 8, 2024
1 parent 5646e54 commit fcdfe3f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Test

on: push

env:
RAILS_ENV: test

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec rspec
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.3
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions feed_searcher.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ Gem::Specification.new do |spec|
spec.add_dependency "mechanize", ">= 1.0.0"
spec.add_dependency "nokogiri"
spec.add_development_dependency "activesupport"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "bundler"
spec.add_development_dependency "pry"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", ">= 2.13.0"
spec.add_development_dependency "rspec"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "webmock"
spec.add_development_dependency "coveralls"
Expand Down
3 changes: 0 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
require "coveralls"
Coveralls.wear!

require "simplecov"
SimpleCov.start

$LOAD_PATH.unshift File.expand_path("../../lib/feed_searcher", __FILE__)
require "feed_searcher"
require "webmock/rspec"
Expand Down

0 comments on commit fcdfe3f

Please sign in to comment.