Skip to content

Commit f7c755d

Browse files
committed
Modernize gem.
1 parent 11c4b66 commit f7c755d

File tree

9 files changed

+26
-13
lines changed

9 files changed

+26
-13
lines changed

.editorconfig

+4
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ root = true
33
[*]
44
indent_style = tab
55
indent_size = 2
6+
7+
[*.{yml,yaml}]
8+
indent_style = space
9+
indent_size = 2

.github/workflows/coverage.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- macos
2222

2323
ruby:
24-
- "3.2"
24+
- "3.3"
2525

2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
- uses: ruby/setup-ruby@v1
2929
with:
3030
ruby-version: ${{matrix.ruby}}
@@ -34,7 +34,7 @@ jobs:
3434
timeout-minutes: 5
3535
run: bundle exec bake test
3636

37-
- uses: actions/upload-artifact@v2
37+
- uses: actions/upload-artifact@v3
3838
with:
3939
name: coverage-${{matrix.os}}-${{matrix.ruby}}
4040
path: .covered.db
@@ -44,10 +44,10 @@ jobs:
4444
runs-on: ubuntu-latest
4545

4646
steps:
47-
- uses: actions/checkout@v3
47+
- uses: actions/checkout@v4
4848
- uses: ruby/setup-ruby@v1
4949
with:
50-
ruby-version: "3.2"
50+
ruby-version: "3.3"
5151
bundler-cache: true
5252

5353
- uses: actions/download-artifact@v3

.github/workflows/documentation.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232

3333
- uses: ruby/setup-ruby@v1
3434
with:
35-
ruby-version: "3.2"
35+
ruby-version: "3.3"
3636
bundler-cache: true
3737

3838
- name: Installing packages
@@ -43,7 +43,7 @@ jobs:
4343
run: bundle exec bake utopia:project:static --force no
4444

4545
- name: Upload documentation artifact
46-
uses: actions/upload-pages-artifact@v1
46+
uses: actions/upload-pages-artifact@v2
4747
with:
4848
path: docs
4949

@@ -58,4 +58,4 @@ jobs:
5858
steps:
5959
- name: Deploy to GitHub Pages
6060
id: deployment
61-
uses: actions/deploy-pages@v1
61+
uses: actions/deploy-pages@v3

.github/workflows/test-external.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
- "3.0"
2424
- "3.1"
2525
- "3.2"
26+
- "3.3"
2627

2728
steps:
28-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
2930
- uses: ruby/setup-ruby@v1
3031
with:
3132
ruby-version: ${{matrix.ruby}}

.github/workflows/test.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- "3.0"
2525
- "3.1"
2626
- "3.2"
27+
- "3.3"
2728

2829
experimental: [false]
2930

@@ -39,7 +40,7 @@ jobs:
3940
experimental: true
4041

4142
steps:
42-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4344
- uses: ruby/setup-ruby@v1
4445
with:
4546
ruby-version: ${{matrix.ruby}}

examples/streaming_upload/falcon.rb

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2024, by Peter Schrammel.
5+
16
load :rack, :supervisor
27

38
hostname = File.basename(__dir__)

falcon.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
77
spec.version = Falcon::VERSION
88

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

1313
spec.cert_chain = ['release.cert']

license.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Copyright, 2020, by Mikel Kew.
1616
Copyright, 2020, by Michael Adams.
1717
Copyright, 2020, by Tasos Latsas.
1818
Copyright, 2021, by Olle Jonsson.
19+
Copyright, 2023, by Nick Janetakis.
20+
Copyright, 2024, by Peter Schrammel.
1921

2022
Permission is hereby granted, free of charge, to any person obtaining a copy
2123
of this software and associated documentation files (the "Software"), to deal

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This project uses the [Developer Certificate of Origin](https://developercertifi
4545

4646
### Contributor Covenant
4747

48-
This project is governed by [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
48+
This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
4949

5050
## Websites using Falcon
5151

0 commit comments

Comments
 (0)