Skip to content

Commit 97b6d8f

Browse files
committed
Modernize code.
1 parent dac9244 commit 97b6d8f

File tree

9 files changed

+21
-17
lines changed

9 files changed

+21
-17
lines changed

.github/workflows/test-external.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
- macos
2121

2222
ruby:
23-
- "3.1"
2423
- "3.2"
2524
- "3.3"
2625
- "3.4"

.github/workflows/test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- macos
2222

2323
ruby:
24-
- "3.1"
2524
- "3.2"
2625
- "3.3"
2726
- "3.4"

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ Layout/EmptyLinesAroundClassBody:
4545
Layout/EmptyLinesAroundModuleBody:
4646
Enabled: true
4747

48+
Layout/EmptyLineAfterMagicComment:
49+
Enabled: true
50+
4851
Style/FrozenStringLiteralComment:
4952
Enabled: true
5053

bake.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
def after_gem_release_version_increment(version)
1010
context["releases:update"].call(version)
1111
context["utopia:project:readme:update"].call
12-
end
12+
end

lib/utopia/exceptions/handler.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2014-2025, by Samuel Williams.
5+
# Copyright, 2025, by Olle Jonsson.
56

67
require "console"
78

lib/utopia/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2009-2024, by Samuel Williams.
4+
# Copyright, 2009-2025, by Samuel Williams.
55

66
module Utopia
77
VERSION = "2.30.0"

license.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
Copyright, 2009-2025, by Samuel Williams.
44
Copyright, 2015-2019, by Huba Nagy.
5-
Copyright, 2020, by Olle Jonsson.
5+
Copyright, 2020-2025, by Olle Jonsson.
66
Copyright, 2020, by Pierre Montelle.
77
Copyright, 2020, by Michael Adams.
8+
Copyright, 2025, by Matt Quinn.
89

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

readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Utopia is a website generation framework which provides a robust set of tools to build highly complex dynamic websites. It uses the filesystem heavily for content and provides functions for interacting with files and directories as structure representing the website.
44

5-
[![Development Status](https://github.com/ioquatix/utopia/workflows/Test/badge.svg)](https://github.com/ioquatix/utopia/actions?workflow=Test)
5+
[![Development Status](https://github.com/socketry/utopia/workflows/Test/badge.svg)](https://github.com/socketry/utopia/actions?workflow=Test)
66

77
## Features
88

@@ -15,21 +15,21 @@ Utopia is a website generation framework which provides a robust set of tools to
1515

1616
Please see the [project documentation](https://socketry.github.io/utopia/) for more details.
1717

18-
- [Getting Started](https://socketry.github.io/utopia/guides/getting-started/index.html) - This guide explains how to set up a `utopia` website for local development and deployment.
18+
- [Getting Started](https://socketry.github.io/utopia/guides/getting-started/index) - This guide explains how to set up a `utopia` website for local development and deployment.
1919

20-
- [Middleware](https://socketry.github.io/utopia/guides/middleware/index.html) - This guide gives an overview of the different Rack middleware used by Utopia.
20+
- [Middleware](https://socketry.github.io/utopia/guides/middleware/index) - This guide gives an overview of the different Rack middleware used by Utopia.
2121

22-
- [Server Setup](https://socketry.github.io/utopia/guides/server-setup/index.html) - This guide explains how to deploy a `utopia` web application.
22+
- [Server Setup](https://socketry.github.io/utopia/guides/server-setup/index) - This guide explains how to deploy a `utopia` web application.
2323

24-
- [Installing JavaScript Libraries](https://socketry.github.io/utopia/guides/integrating-with-javascript/index.html) - Utopia integrates with Yarn and provides a [bake task](https://github.com/ioquatix/bake) to simplify deployment packages distributed using `yarn` that implement the `dist` sub-directory convention.
24+
- [Installing JavaScript Libraries](https://socketry.github.io/utopia/guides/integrating-with-javascript/index) - Utopia integrates with Yarn and provides a [bake task](https://github.com/ioquatix/bake) to simplify deployment packages distributed using `yarn` that implement the `dist` sub-directory convention.
2525

26-
- [What is XNode?](https://socketry.github.io/utopia/guides/what-is-xnode/index.html) - This guide explains the `xnode` view layer and how it can be used to build efficient websites.
26+
- [What is XNode?](https://socketry.github.io/utopia/guides/what-is-xnode/index) - This guide explains the `xnode` view layer and how it can be used to build efficient websites.
2727

28-
- [Updating Utopia](https://socketry.github.io/utopia/guides/updating-utopia/index.html) - This guide explains how to update existing `utopia` websites.
28+
- [Updating Utopia](https://socketry.github.io/utopia/guides/updating-utopia/index) - This guide explains how to update existing `utopia` websites.
2929

3030
## Releases
3131

32-
Please see the [project releases](https://socketry.github.io/utopia/releases/index.html) for all releases.
32+
Please see the [project releases](https://socketry.github.io/utopia/releases/index) for all releases.
3333

3434
### v2.27.0
3535

utopia.gemspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,23 @@ Gem::Specification.new do |spec|
77
spec.version = Utopia::VERSION
88

99
spec.summary = "Utopia is a framework for building dynamic content-driven websites."
10-
spec.authors = ["Samuel Williams", "Huba Nagy", "Michael Adams", "Olle Jonsson", "Pierre Montelle"]
10+
spec.authors = ["Samuel Williams", "Huba Nagy", "Matt Quinn", "Michael Adams", "Olle Jonsson", "Pierre Montelle"]
1111
spec.license = "MIT"
1212

1313
spec.cert_chain = ["release.cert"]
1414
spec.signing_key = File.expand_path("~/.gem/release.pem")
1515

16-
spec.homepage = "https://github.com/ioquatix/utopia"
16+
spec.homepage = "https://github.com/socketry/utopia"
1717

1818
spec.metadata = {
19+
"documentation_uri" => "https://socketry.github.io/utopia/",
1920
"funding_uri" => "https://github.com/sponsors/ioquatix/",
20-
"source_code_uri" => "https://github.com/ioquatix/utopia.git",
21+
"source_code_uri" => "https://github.com/socketry/utopia.git",
2122
}
2223

2324
spec.files = Dir.glob(["{bake,lib,setup}/**/*", "*.md"], File::FNM_DOTMATCH, base: __dir__)
2425

25-
spec.required_ruby_version = ">= 3.1"
26+
spec.required_ruby_version = ">= 3.2"
2627

2728
spec.add_dependency "bake", "~> 0.20"
2829
spec.add_dependency "concurrent-ruby", "~> 1.2"

0 commit comments

Comments
 (0)