Skip to content

Commit

Permalink
Modernized gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jun 14, 2024
1 parent ecb5ce0 commit 44f238d
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ root = true
[*]
indent_style = tab
indent_size = 2

[*.{yml,yaml}]
indent_style = space
indent_size = 2
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
/external

/server.log
/gems/*.lock
/gems/*.lock
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Gregory Longtin <Greg.mpls@gmail.com> <MSP-Greg@users.noreply.github.com>
2 changes: 1 addition & 1 deletion config/sus.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, 2022, by Samuel Williams.
# Copyright, 2022-2024, by Samuel Williams.

require 'rack/conform/server'

Expand Down
2 changes: 1 addition & 1 deletion gems/pitchfork-head-rack-v2.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, 2022, by Samuel Williams.
# Copyright, 2024, by Samuel Williams.

eval_gemfile '../gems.rb'

Expand Down
3 changes: 2 additions & 1 deletion gems/puma-head-rack-v2.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2022, by Samuel Williams.
# Copyright, 2023, by Gregory Longtin.
# Copyright, 2024, by Samuel Williams.

eval_gemfile '../gems.rb'

Expand Down
2 changes: 1 addition & 1 deletion gems/webrick-rack-v3.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, 2022, by Samuel Williams.
# Copyright, 2022-2024, by Samuel Williams.

eval_gemfile '../gems.rb'

Expand Down
2 changes: 1 addition & 1 deletion lib/rack/conform/application.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, 2022, by Samuel Williams.
# Copyright, 2022-2024, by Samuel Williams.

require 'json'
require 'async/websocket/adapters/rack'
Expand Down
3 changes: 2 additions & 1 deletion license.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# MIT License

Copyright, 2022, by Samuel Williams.
Copyright, 2022-2024, by Samuel Williams.
Copyright, 2023, by Gregory Longtin.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 6 additions & 2 deletions rack-conform.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ Gem::Specification.new do |spec|
spec.version = Rack::Conform::VERSION

spec.summary = "An implementation of the Rack protocol/specification."
spec.authors = ["Samuel Williams"]
spec.authors = ["Samuel Williams", "Gregory Longtin"]
spec.license = "MIT"

spec.cert_chain = ['release.cert']
spec.signing_key = File.expand_path('~/.gem/release.pem')

spec.homepage = "https://github.com/socketry/rack-conform"

spec.metadata = {
"source_code_uri" => "https://github.com/socketry/rack-conform.git",
}

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

spec.required_ruby_version = ">= 2.5"
spec.required_ruby_version = ">= 3.1"

spec.add_dependency "async-http", "~> 0.50"
spec.add_dependency "async-websocket"
Expand Down
2 changes: 1 addition & 1 deletion test/rack/conform/streaming/enumerator.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, 2022, by Samuel Williams.
# Copyright, 2024, by Samuel Williams.

require 'client_context'
include ClientContext
Expand Down
2 changes: 1 addition & 1 deletion test/rack/conform/websocket.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, 2022, by Samuel Williams.
# Copyright, 2023-2024, by Samuel Williams.

require 'client_context'
include ClientContext
Expand Down

0 comments on commit 44f238d

Please sign in to comment.