Skip to content

Commit

Permalink
Modernize gem + move tests to sus.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Apr 23, 2024
1 parent 048417c commit 35d66b4
Show file tree
Hide file tree
Showing 10 changed files with 224 additions and 218 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
- macos

ruby:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- macos

ruby:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
Expand Down
7 changes: 6 additions & 1 deletion async-http-faraday.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ Gem::Specification.new do |spec|

spec.homepage = "https://github.com/socketry/async-http"

spec.metadata = {
"documentation_uri" => "https://socketry.github.io/async-http/",
"source_code_uri" => "https://github.com/socketry/async-http.git",
}

spec.files = Dir.glob(['{examples,lib}/**/*', '*.md'], File::FNM_DOTMATCH, base: __dir__)

spec.required_ruby_version = ">= 3.0"
spec.required_ruby_version = ">= 3.1"

spec.add_dependency "async-http", "~> 0.42"
spec.add_dependency "faraday"
Expand Down
4 changes: 4 additions & 0 deletions config/sus.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# frozen_string_literal: true

require 'covered/sus'
include Covered::Sus
11 changes: 6 additions & 5 deletions gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
end

group :test do
gem "sus"
gem "covered"

gem "bake-test"
gem "bake-test-external"

gem "faraday-multipart"

gem "sus-fixtures-async"
gem "sus-fixtures-async-http"
end

# Moved Development Dependencies
gem "async-rspec", "~> 1.2"
gem "covered"
gem "rspec", "~> 3.6"
31 changes: 0 additions & 31 deletions spec/async/http/faraday/adapter/proxy_spec.rb

This file was deleted.

160 changes: 0 additions & 160 deletions spec/async/http/faraday/adapter_spec.rb

This file was deleted.

19 changes: 0 additions & 19 deletions spec/spec_helper.rb

This file was deleted.

Loading

0 comments on commit 35d66b4

Please sign in to comment.