Skip to content

Commit

Permalink
Modernize gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Apr 15, 2024
1 parent 6b836c7 commit d4d226d
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions async.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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__)
Expand All @@ -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
4 changes: 4 additions & 0 deletions examples/count/fibers.rb
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 4 additions & 0 deletions examples/count/threads.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2024, by Samuel Williams.

require 'benchmark'

Expand Down
4 changes: 4 additions & 0 deletions examples/load/test.rb
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
1 change: 1 addition & 0 deletions license.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/async/idler.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, 2018-2023, by Samuel Williams.
# Copyright, 2024, by Samuel Williams.

require 'async/idler'
require 'sus/fixtures/async'
Expand Down
2 changes: 1 addition & 1 deletion test/async/reactor.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, 2017-2023, by Samuel Williams.
# Copyright, 2017-2024, by Samuel Williams.
# Copyright, 2017, by Devin Christensen.

require 'async'
Expand Down

0 comments on commit d4d226d

Please sign in to comment.