Skip to content

Commit d4d226d

Browse files
committed
Modernize gem.
1 parent 6b836c7 commit d4d226d

File tree

8 files changed

+18
-7
lines changed

8 files changed

+18
-7
lines changed

.github/workflows/documentation.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
branches:
66
- main
77

8-
# Allows you to run this workflow manually from the Actions tab:
9-
workflow_dispatch:
10-
118
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages:
129
permissions:
1310
contents: read

async.gemspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
77
spec.version = Async::VERSION
88

99
spec.summary = "A concurrency framework for Ruby."
10-
spec.authors = ["Samuel Williams", "Bruno Sutic", "Jeremy Jung", "Olle Jonsson", "Devin Christensen", "Emil Tin", "Kent Gruber", "Brian Morearty", "Colin Kelley", "Gert Goet", "Jiang Jinyang", "Julien Portalier", "Jun Jiang", "Ken Muryoi", "Leon Löchner", "Masafumi Okura", "Masayuki Yamamoto", "Math Ieu", "Patrik Wenger", "Ryan Musgrave", "Salim Semaoune", "Shannon Skipper", "Sokolov Yura", "Stefan Wrobel", "Trevor Turk"]
10+
spec.authors = ["Samuel Williams", "Bruno Sutic", "Jeremy Jung", "Olle Jonsson", "Devin Christensen", "Emil Tin", "Kent Gruber", "Brian Morearty", "Colin Kelley", "Dimitar Peychinov", "Gert Goet", "Jiang Jinyang", "Julien Portalier", "Jun Jiang", "Ken Muryoi", "Leon Löchner", "Masafumi Okura", "Masayuki Yamamoto", "Math Ieu", "Patrik Wenger", "Ryan Musgrave", "Salim Semaoune", "Shannon Skipper", "Sokolov Yura", "Stefan Wrobel", "Trevor Turk"]
1111
spec.license = "MIT"
1212

1313
spec.cert_chain = ['release.cert']
@@ -18,6 +18,7 @@ Gem::Specification.new do |spec|
1818
spec.metadata = {
1919
"documentation_uri" => "https://socketry.github.io/async/",
2020
"funding_uri" => "https://github.com/sponsors/ioquatix/",
21+
"source_code_uri" => "https://github.com/socketry/async.git",
2122
}
2223

2324
spec.files = Dir.glob(['{lib}/**/*', '*.md'], File::FNM_DOTMATCH, base: __dir__)
@@ -26,6 +27,6 @@ Gem::Specification.new do |spec|
2627

2728
spec.add_dependency "console", "~> 1.10"
2829
spec.add_dependency "fiber-annotation"
29-
spec.add_dependency "io-event", "~> 1.5", ">= 1.5.1"
30+
spec.add_dependency "io-event", ["~> 1.5", ">= 1.5.1"]
3031
spec.add_dependency "timers", "~> 4.1"
3132
end

examples/count/fibers.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
# Released under the MIT License.
5+
# Copyright, 2024, by Samuel Williams.
26

37
require 'async'
48
require 'benchmark'

examples/count/threads.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
# Released under the MIT License.
5+
# Copyright, 2024, by Samuel Williams.
26

37
require 'benchmark'
48

examples/load/test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
# Released under the MIT License.
5+
# Copyright, 2024, by Samuel Williams.
26

37
require_relative '../../lib/async'
48
require_relative '../../lib/async/idler'

license.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Copyright, 2023, by Colin Kelley.
2525
Copyright, 2023, by Math Ieu.
2626
Copyright, 2023, by Emil Tin.
2727
Copyright, 2023, by Gert Goet.
28+
Copyright, 2024, by Dimitar Peychinov.
2829

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

test/async/idler.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, 2018-2023, by Samuel Williams.
4+
# Copyright, 2024, by Samuel Williams.
55

66
require 'async/idler'
77
require 'sus/fixtures/async'

test/async/reactor.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, 2017-2023, by Samuel Williams.
4+
# Copyright, 2017-2024, by Samuel Williams.
55
# Copyright, 2017, by Devin Christensen.
66

77
require 'async'

0 commit comments

Comments
 (0)