diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index f5474c92..8dc52272 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -5,9 +5,6 @@ on: branches: - main - # Allows you to run this workflow manually from the Actions tab: - workflow_dispatch: - # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages: permissions: contents: read diff --git a/async.gemspec b/async.gemspec index 28a7e3f7..9d7412d1 100644 --- a/async.gemspec +++ b/async.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.version = Async::VERSION spec.summary = "A concurrency framework for Ruby." - 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"] + 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"] spec.license = "MIT" spec.cert_chain = ['release.cert'] @@ -18,6 +18,7 @@ Gem::Specification.new do |spec| spec.metadata = { "documentation_uri" => "https://socketry.github.io/async/", "funding_uri" => "https://github.com/sponsors/ioquatix/", + "source_code_uri" => "https://github.com/socketry/async.git", } spec.files = Dir.glob(['{lib}/**/*', '*.md'], File::FNM_DOTMATCH, base: __dir__) @@ -26,6 +27,6 @@ Gem::Specification.new do |spec| spec.add_dependency "console", "~> 1.10" spec.add_dependency "fiber-annotation" - spec.add_dependency "io-event", "~> 1.5", ">= 1.5.1" + spec.add_dependency "io-event", ["~> 1.5", ">= 1.5.1"] spec.add_dependency "timers", "~> 4.1" end diff --git a/examples/count/fibers.rb b/examples/count/fibers.rb index 14865254..4e5eb4ae 100755 --- a/examples/count/fibers.rb +++ b/examples/count/fibers.rb @@ -1,4 +1,8 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + +# Released under the MIT License. +# Copyright, 2024, by Samuel Williams. require 'async' require 'benchmark' diff --git a/examples/count/threads.rb b/examples/count/threads.rb index 4be5f038..98226102 100755 --- a/examples/count/threads.rb +++ b/examples/count/threads.rb @@ -1,4 +1,8 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + +# Released under the MIT License. +# Copyright, 2024, by Samuel Williams. require 'benchmark' diff --git a/examples/load/test.rb b/examples/load/test.rb index ef42c55f..e3e021f4 100755 --- a/examples/load/test.rb +++ b/examples/load/test.rb @@ -1,4 +1,8 @@ #!/usr/bin/env ruby +# frozen_string_literal: true + +# Released under the MIT License. +# Copyright, 2024, by Samuel Williams. require_relative '../../lib/async' require_relative '../../lib/async/idler' diff --git a/guides/getting-started/readme.md b/guides/getting-started/readme.md index fd9d17dd..d46788a1 100644 --- a/guides/getting-started/readme.md +++ b/guides/getting-started/readme.md @@ -1,6 +1,6 @@ # Getting Started -This guide gives shows how to add async to your project and run code asynchronously. +This guide shows how to add async to your project and run code asynchronously. ## Installation diff --git a/lib/async/version.rb b/lib/async/version.rb index 1103269a..d28353e6 100644 --- a/lib/async/version.rb +++ b/lib/async/version.rb @@ -4,5 +4,5 @@ # Copyright, 2017-2024, by Samuel Williams. module Async - VERSION = "2.10.1" + VERSION = "2.10.2" end diff --git a/license.md b/license.md index 43f00728..aef2e8b4 100644 --- a/license.md +++ b/license.md @@ -25,6 +25,7 @@ Copyright, 2023, by Colin Kelley. Copyright, 2023, by Math Ieu. Copyright, 2023, by Emil Tin. Copyright, 2023, by Gert Goet. +Copyright, 2024, by Dimitar Peychinov. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/readme.md b/readme.md index 90905a9c..7955a4f0 100644 --- a/readme.md +++ b/readme.md @@ -20,7 +20,7 @@ Async is a composable asynchronous I/O framework for Ruby based on [io-event](ht Please see the [project documentation](https://socketry.github.io/async/) for more details. - - [Getting Started](https://socketry.github.io/async/guides/getting-started/index) - This guide gives shows how to add + - [Getting Started](https://socketry.github.io/async/guides/getting-started/index) - This guide shows how to add async to your project and run code asynchronously. - [Asynchronous Tasks](https://socketry.github.io/async/guides/asynchronous-tasks/index) - This guide explains how diff --git a/test/async/idler.rb b/test/async/idler.rb index dcc7a336..615aabfa 100644 --- a/test/async/idler.rb +++ b/test/async/idler.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2018-2023, by Samuel Williams. +# Copyright, 2024, by Samuel Williams. require 'async/idler' require 'sus/fixtures/async' diff --git a/test/async/reactor.rb b/test/async/reactor.rb index 2d98c874..f6710d8d 100644 --- a/test/async/reactor.rb +++ b/test/async/reactor.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2017-2023, by Samuel Williams. +# Copyright, 2017-2024, by Samuel Williams. # Copyright, 2017, by Devin Christensen. require 'async'