Skip to content

Commit

Permalink
Modernize gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Apr 24, 2024
1 parent 5571f4e commit 7a2e23c
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 84 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/test-async-head.yaml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/test-async-v1.yaml

This file was deleted.

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 @@ -24,7 +24,6 @@ jobs:
- macos

ruby:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
Expand Down
2 changes: 1 addition & 1 deletion examples/async-service/hello.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2024, by Samuel Williams.
# Copyright, 2019-2024, by Samuel Williams.

require 'falcon/environment/server'

Expand Down
5 changes: 3 additions & 2 deletions falcon.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.version = Falcon::VERSION

spec.summary = "A fast, asynchronous, rack-compatible web server."
spec.authors = ["Samuel Williams", "Janko Marohnić", "Bryan Powell", "Claudiu Garba", "Kyle Tam", "Mitsutaka Mimura", "Sho Ito", "Trevor Turk", "Colby Swandale", "Daniel Evans", "Kent Gruber", "Michael Adams", "Mikel Kew", "Nick Janetakis", "Olle Jonsson", "Peter Schrammel", "Santiago Bartesaghi", "Sh Lin", "Tad Thorley", "Tasos Latsas", "dependabot[bot]"]
spec.authors = ["Samuel Williams", "Janko Marohnić", "Bryan Powell", "Trevor Turk", "Claudiu Garba", "Kyle Tam", "Mitsutaka Mimura", "Sho Ito", "Colby Swandale", "Daniel Evans", "Kent Gruber", "Michael Adams", "Mikel Kew", "Nick Janetakis", "Olle Jonsson", "Peter Schrammel", "Santiago Bartesaghi", "Sh Lin", "Tad Thorley", "Tasos Latsas", "dependabot[bot]"]
spec.license = "MIT"

spec.cert_chain = ['release.cert']
Expand All @@ -17,13 +17,14 @@ Gem::Specification.new do |spec|

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

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

spec.executables = ["falcon", "falcon-host"]

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

spec.add_dependency "async"
spec.add_dependency "async-container", "~> 0.18"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/server_context.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2023, by Samuel Williams.
# Copyright, 2023-2024, by Samuel Williams.

require 'sus/fixtures/async'

Expand Down
2 changes: 1 addition & 1 deletion lib/falcon/command/supervisor.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2023, by Samuel Williams.
# Copyright, 2019-2024, by Samuel Williams.

require 'samovar'
require 'async'
Expand Down
2 changes: 1 addition & 1 deletion lib/falcon/environment/proxy.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2024, by Samuel Williams.
# Copyright, 2020-2024, by Samuel Williams.

require_relative 'server'
require_relative '../tls'
Expand Down
2 changes: 1 addition & 1 deletion lib/falcon/environment/rack.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2024, by Samuel Williams.
# Copyright, 2024, by Samuel Williams.

require_relative 'application'
require_relative 'rackup'
Expand Down
2 changes: 1 addition & 1 deletion lib/falcon/environment/rackup.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2024, by Samuel Williams.
# Copyright, 2020-2024, by Samuel Williams.

require 'rack/builder'
require_relative '../server'
Expand Down
2 changes: 1 addition & 1 deletion lib/falcon/environment/server.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2024, by Samuel Williams.
# Copyright, 2020-2024, by Samuel Williams.

require 'async/service/generic'
require 'async/http/endpoint'
Expand Down
4 changes: 2 additions & 2 deletions lib/falcon/service/server.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2020-2024, by Samuel Williams.
# Copyright, 2020, by Michael Adams.
# Copyright, 2019-2024, by Samuel Williams.
# Copyright, 2020, by Daniel Evans.

require 'async/service/generic'
require 'async/http/endpoint'
Expand Down
2 changes: 1 addition & 1 deletion lib/falcon/service/virtual.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2024, by Samuel Williams.
# Copyright, 2020-2024, by Samuel Williams.

require 'async/service/generic'

Expand Down

0 comments on commit 7a2e23c

Please sign in to comment.