Skip to content

Commit eace2fe

Browse files
committed
Modernize gem.
1 parent bcddd62 commit eace2fe

File tree

15 files changed

+35
-34
lines changed

15 files changed

+35
-34
lines changed

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
ruby: truffleruby
3232
experimental: true
3333
- os: ubuntu
34-
ruby: jruby-head
34+
ruby: jruby
3535
experimental: true
3636
- os: ubuntu
3737
ruby: head

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
/gems.locked
44
/.covered.db
55
/external
6-
7-
/.rspec_status

.mailmap

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ Jun Jiang <[email protected]>
22
Ken Muryoi <[email protected]>
33
Jeremy Jung <[email protected]>
44
Sokolov Yura <[email protected]>
5+
Masafumi Okura <[email protected]>
6+
Masayuki Yamamoto <[email protected]>

async.gemspec

+1-1
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", "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"]
10+
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"]
1111
spec.license = "MIT"
1212

1313
spec.cert_chain = ['release.cert']

config/sus.rb

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2022, by Samuel Williams.
15

26
require 'covered/sus'
37
include Covered::Sus

examples/dataloader/dataloader.rb

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2022, by Samuel Williams.
5+
16
require 'net/http'
27
require 'uri'
38

examples/dataloader/gems.rb

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2022, by Samuel Williams.
5+
16
source "https://rubygems.org"
27

38
gem "async"

examples/dataloader/main.rb

+5-1
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, 2022, by Samuel Williams.
26

37
require 'async'
48
require_relative 'dataloader'
@@ -11,4 +15,4 @@
1115
dataloader.load("https://www.github.com")
1216

1317
pp dataloader.wait_all
14-
end
18+
end

fixtures/timer_quantum.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Released under the MIT License.
24
# Copyright, 2022, by Samuel Williams.
35

license.md

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Copyright, 2020, by Jun Jiang.
1717
Copyright, 2020-2022, by Bruno Sutic.
1818
Copyright, 2021, by Julien Portalier.
1919
Copyright, 2022, by Shannon Skipper.
20+
Copyright, 2022, by Masafumi Okura.
21+
Copyright, 2022, by Trevor Turk.
22+
Copyright, 2022, by Masayuki Yamamoto.
2023

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

readme.md

-24
Original file line numberDiff line numberDiff line change
@@ -42,27 +42,3 @@ We welcome contributions to this project.
4242
- [falcon](https://github.com/socketry/falcon) — A rack compatible server built on top of `async-http`.
4343
- [rubydns](https://github.com/ioquatix/rubydns) — An easy to use Ruby DNS server.
4444
- [slack-ruby-bot](https://github.com/slack-ruby/slack-ruby-bot) — A client for making slack bots.
45-
46-
## License
47-
48-
Released under the MIT license.
49-
50-
Copyright, 2017, by [Samuel G. D. Williams](http://www.codeotaku.com).
51-
52-
Permission is hereby granted, free of charge, to any person obtaining a copy
53-
of this software and associated documentation files (the "Software"), to deal
54-
in the Software without restriction, including without limitation the rights
55-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
56-
copies of the Software, and to permit persons to whom the Software is
57-
furnished to do so, subject to the following conditions:
58-
59-
The above copyright notice and this permission notice shall be included in
60-
all copies or substantial portions of the Software.
61-
62-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
64-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
65-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
66-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
67-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
68-
THE SOFTWARE.

test/async/children.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2017-2022, by Samuel Williams.
5-
# Copyright, 2022, by Shannon Skipper.
4+
# Copyright, 2022, by Samuel Williams.
65

76
require 'async/node'
87

test/async/list.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2017-2022, by Samuel Williams.
5-
# Copyright, 2022, by Shannon Skipper.
4+
# Copyright, 2022, by Samuel Williams.
65

76
require 'async/list'
87

test/async/variable.rb

+1-1
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, 2021-2022, by Samuel Williams.
4+
# Copyright, 2022, by Samuel Williams.
55

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

test/async/waiter.rb

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2022, by Samuel Williams.
15

26
require 'async/waiter'
37
require 'sus/fixtures/async'

0 commit comments

Comments
 (0)