gb_dispatch 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/pull_request.yml +49 -0
- data/CHANGELOG.txt +4 -0
- data/Gemfile.lock +26 -26
- data/gb_dispatch.gemspec +5 -5
- data/lib/gb_dispatch/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff34ac0be45aa71f7e09c89d335546f4aab2619f7ee733259545c86a5d24e995
|
4
|
+
data.tar.gz: 2091aeafb3409669fdafb83758304595fb280e924d93fc93c87941619410fd8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f18f2688b5818c364a2930017583933e91ef4cd39013b3273e0a25bf27580c72cce19d712ff2ded7d86790a03c1f4e8070f2b7d462b2027d8f9fda2319f4de79
|
7
|
+
data.tar.gz: 8be0d22b75b006dac434bc330224bc507e07a8ea4d8f1a8ade1e8b60bd8b283700b18728a10ed082e393d888f06abddd391bcae34c1bd46b630153342dac5f15
|
@@ -0,0 +1,49 @@
|
|
1
|
+
name: Pull Request check
|
2
|
+
on:
|
3
|
+
- pull_request
|
4
|
+
- workflow_dispatch
|
5
|
+
env:
|
6
|
+
RACK_ENV: test
|
7
|
+
ImageOS: ubuntu20
|
8
|
+
jobs:
|
9
|
+
test:
|
10
|
+
name: Run test
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
env:
|
13
|
+
SIMPLECOV: json
|
14
|
+
strategy:
|
15
|
+
fail-fast: false
|
16
|
+
matrix:
|
17
|
+
ruby: [ '2.5', '2.6', '2.7', '3.0' ]
|
18
|
+
steps:
|
19
|
+
- name: Checkout code
|
20
|
+
uses: actions/checkout@v2
|
21
|
+
- name: Setup ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby }}
|
25
|
+
- name: Cache gems
|
26
|
+
uses: actions/cache@v2
|
27
|
+
with:
|
28
|
+
path: vendor/bundle
|
29
|
+
key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
|
30
|
+
restore-keys: |
|
31
|
+
${{ runner.os }}-gems-${{ matrix.ruby }}
|
32
|
+
- name: Install gems
|
33
|
+
run: |
|
34
|
+
gem install bundler
|
35
|
+
bundle install --with development test --deployment --jobs 16
|
36
|
+
- name: Runs tests
|
37
|
+
run: |
|
38
|
+
bundle exec rspec -f j -o rspec_results.json -f p
|
39
|
+
- name: RSpec Report
|
40
|
+
if: always()
|
41
|
+
uses: SonicGarden/rspec-report-action@v1
|
42
|
+
with:
|
43
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
44
|
+
json-path: rspec_results.json
|
45
|
+
- name: Simplecov Report
|
46
|
+
uses: aki77/simplecov-report-action@v1
|
47
|
+
with:
|
48
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
49
|
+
failedThreshold: 80
|
data/CHANGELOG.txt
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,48 +1,48 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gb_dispatch (0.1.
|
4
|
+
gb_dispatch (0.1.2)
|
5
5
|
concurrent-ruby (~> 1.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
concurrent-ruby (1.
|
11
|
-
concurrent-ruby-ext (1.
|
12
|
-
concurrent-ruby (= 1.
|
13
|
-
diff-lcs (1.
|
14
|
-
docile (1.
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
rspec-
|
19
|
-
rspec-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
rspec-expectations (3.7.0)
|
10
|
+
concurrent-ruby (1.1.9)
|
11
|
+
concurrent-ruby-ext (1.1.9)
|
12
|
+
concurrent-ruby (= 1.1.9)
|
13
|
+
diff-lcs (1.4.4)
|
14
|
+
docile (1.4.0)
|
15
|
+
rake (13.0.6)
|
16
|
+
rspec (3.10.0)
|
17
|
+
rspec-core (~> 3.10.0)
|
18
|
+
rspec-expectations (~> 3.10.0)
|
19
|
+
rspec-mocks (~> 3.10.0)
|
20
|
+
rspec-core (3.10.1)
|
21
|
+
rspec-support (~> 3.10.0)
|
22
|
+
rspec-expectations (3.10.1)
|
24
23
|
diff-lcs (>= 1.2.0, < 2.0)
|
25
|
-
rspec-support (~> 3.
|
26
|
-
rspec-mocks (3.
|
24
|
+
rspec-support (~> 3.10.0)
|
25
|
+
rspec-mocks (3.10.2)
|
27
26
|
diff-lcs (>= 1.2.0, < 2.0)
|
28
|
-
rspec-support (~> 3.
|
29
|
-
rspec-support (3.
|
30
|
-
simplecov (0.
|
27
|
+
rspec-support (~> 3.10.0)
|
28
|
+
rspec-support (3.10.3)
|
29
|
+
simplecov (0.21.2)
|
31
30
|
docile (~> 1.1)
|
32
|
-
|
33
|
-
|
34
|
-
simplecov-html (0.
|
31
|
+
simplecov-html (~> 0.11)
|
32
|
+
simplecov_json_formatter (~> 0.1)
|
33
|
+
simplecov-html (0.12.3)
|
34
|
+
simplecov_json_formatter (0.1.3)
|
35
35
|
|
36
36
|
PLATFORMS
|
37
37
|
ruby
|
38
38
|
|
39
39
|
DEPENDENCIES
|
40
|
-
bundler (~>
|
40
|
+
bundler (~> 2.2)
|
41
41
|
concurrent-ruby-ext
|
42
42
|
gb_dispatch!
|
43
|
-
rake (~>
|
43
|
+
rake (~> 13.0)
|
44
44
|
rspec
|
45
45
|
simplecov
|
46
46
|
|
47
47
|
BUNDLED WITH
|
48
|
-
|
48
|
+
2.2.30
|
data/gb_dispatch.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['kacper@geniebelt.com']
|
11
11
|
spec.summary = %q{GCD emulation for ruby}
|
12
12
|
spec.description = %q{Grand central dispatch (GCD) emulation for ruby. It allows to easily run asynchronous code. }
|
13
|
-
spec.homepage = 'https://github.com/
|
13
|
+
spec.homepage = 'https://github.com/letsbuilders/gb-dispatch'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.
|
22
|
-
spec.add_development_dependency 'bundler', '~>
|
23
|
-
spec.add_development_dependency 'rake', '~>
|
24
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
21
|
+
spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
|
22
|
+
spec.add_development_dependency 'bundler', '~> 2.2'
|
23
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
24
|
+
spec.add_development_dependency 'rspec', '~> 3.10'
|
25
25
|
spec.add_development_dependency 'simplecov'
|
26
26
|
end
|
data/lib/gb_dispatch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gb_dispatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kacper Kawecki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -30,42 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.2'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
61
|
+
version: '3.10'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
68
|
+
version: '3.10'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,6 +88,7 @@ executables: []
|
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
91
|
+
- ".github/workflows/pull_request.yml"
|
91
92
|
- ".gitignore"
|
92
93
|
- ".idea/.name"
|
93
94
|
- ".idea/encodings.xml"
|
@@ -114,7 +115,7 @@ files:
|
|
114
115
|
- spec/queue_spec.rb
|
115
116
|
- spec/runner_spec.rb
|
116
117
|
- spec/spec_helper.rb
|
117
|
-
homepage: https://github.com/
|
118
|
+
homepage: https://github.com/letsbuilders/gb-dispatch
|
118
119
|
licenses:
|
119
120
|
- MIT
|
120
121
|
metadata: {}
|
@@ -133,8 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
134
|
- !ruby/object:Gem::Version
|
134
135
|
version: '0'
|
135
136
|
requirements: []
|
136
|
-
|
137
|
-
rubygems_version: 2.7.6
|
137
|
+
rubygems_version: 3.0.3.1
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: GCD emulation for ruby
|