Skip to content

Commit

Permalink
Modernize gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 9, 2023
1 parent bcddd62 commit eace2fe
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
ruby: truffleruby
experimental: true
- os: ubuntu
ruby: jruby-head
ruby: jruby
experimental: true
- os: ubuntu
ruby: head
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
/gems.locked
/.covered.db
/external

/.rspec_status
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ Jun Jiang <[email protected]>
Ken Muryoi <[email protected]>
Jeremy Jung <[email protected]>
Sokolov Yura <[email protected]>
Masafumi Okura <[email protected]>
Masayuki Yamamoto <[email protected]>
2 changes: 1 addition & 1 deletion 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", "Devin Christensen", "Jeremy Jung", "Kent Gruber", "jeremyjung", "Brian Morearty", "Jiang Jinyang", "Julien Portalier", "Olle Jonsson", "Patrik Wenger", "Ryan Musgrave", "Salim Semaoune", "Shannon Skipper", "Sokolov Yura aka funny_falcon", "Stefan Wrobel", "jasl", "muryoimpl"]
spec.authors = ["Samuel Williams", "Bruno Sutic", "Jeremy Jung", "Devin Christensen", "Kent Gruber", "Brian Morearty", "Jiang Jinyang", "Julien Portalier", "Jun Jiang", "Ken Muryoi", "Masafumi Okura", "Masayuki Yamamoto", "Olle Jonsson", "Patrik Wenger", "Ryan Musgrave", "Salim Semaoune", "Shannon Skipper", "Sokolov Yura", "Stefan Wrobel", "Trevor Turk"]
spec.license = "MIT"

spec.cert_chain = ['release.cert']
Expand Down
4 changes: 4 additions & 0 deletions config/sus.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# frozen_string_literal: true

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

require 'covered/sus'
include Covered::Sus
Expand Down
5 changes: 5 additions & 0 deletions examples/dataloader/dataloader.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# frozen_string_literal: true

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

require 'net/http'
require 'uri'

Expand Down
5 changes: 5 additions & 0 deletions examples/dataloader/gems.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# frozen_string_literal: true

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

source "https://rubygems.org"

gem "async"
6 changes: 5 additions & 1 deletion examples/dataloader/main.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, 2022, by Samuel Williams.

require 'async'
require_relative 'dataloader'
Expand All @@ -11,4 +15,4 @@
dataloader.load("https://www.github.com")

pp dataloader.wait_all
end
end
2 changes: 2 additions & 0 deletions fixtures/timer_quantum.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

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

Expand Down
3 changes: 3 additions & 0 deletions license.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ Copyright, 2020, by Jun Jiang.
Copyright, 2020-2022, by Bruno Sutic.
Copyright, 2021, by Julien Portalier.
Copyright, 2022, by Shannon Skipper.
Copyright, 2022, by Masafumi Okura.
Copyright, 2022, by Trevor Turk.
Copyright, 2022, by Masayuki Yamamoto.

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
24 changes: 0 additions & 24 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,3 @@ We welcome contributions to this project.
- [falcon](https://github.com/socketry/falcon) — A rack compatible server built on top of `async-http`.
- [rubydns](https://github.com/ioquatix/rubydns) — An easy to use Ruby DNS server.
- [slack-ruby-bot](https://github.com/slack-ruby/slack-ruby-bot) — A client for making slack bots.

## License

Released under the MIT license.

Copyright, 2017, by [Samuel G. D. Williams](http://www.codeotaku.com).

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
3 changes: 1 addition & 2 deletions test/async/children.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2017-2022, by Samuel Williams.
# Copyright, 2022, by Shannon Skipper.
# Copyright, 2022, by Samuel Williams.

require 'async/node'

Expand Down
3 changes: 1 addition & 2 deletions test/async/list.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2017-2022, by Samuel Williams.
# Copyright, 2022, by Shannon Skipper.
# Copyright, 2022, by Samuel Williams.

require 'async/list'

Expand Down
2 changes: 1 addition & 1 deletion test/async/variable.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, 2021-2022, by Samuel Williams.
# Copyright, 2022, by Samuel Williams.

require 'sus/fixtures/async'
require 'async/variable'
Expand Down
4 changes: 4 additions & 0 deletions test/async/waiter.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# frozen_string_literal: true

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

require 'async/waiter'
require 'sus/fixtures/async'
Expand Down

0 comments on commit eace2fe

Please sign in to comment.