File tree Expand file tree Collapse file tree 9 files changed +114
-1
lines changed
fixtures/async/websocket/rack_application Expand file tree Collapse file tree 9 files changed +114
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Documentation Coverage
2
+
3
+ on : [push, pull_request]
4
+
5
+ permissions :
6
+ contents : read
7
+
8
+ env :
9
+ CONSOLE_OUTPUT : XTerm
10
+ COVERAGE : PartialSummary
11
+
12
+ jobs :
13
+ validate :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - uses : ruby/setup-ruby@v1
19
+ with :
20
+ ruby-version : " 3.3"
21
+ bundler-cache : true
22
+
23
+ - name : Validate coverage
24
+ timeout-minutes : 5
25
+ run : bundle exec bake decode:index:coverage lib
Original file line number Diff line number Diff line change
1
+ name : Test External
2
+
3
+ on : [push, pull_request]
4
+
5
+ permissions :
6
+ contents : read
7
+
8
+ env :
9
+ CONSOLE_OUTPUT : XTerm
10
+
11
+ jobs :
12
+ test :
13
+ name : ${{matrix.ruby}} on ${{matrix.os}}
14
+ runs-on : ${{matrix.os}}-latest
15
+
16
+ strategy :
17
+ matrix :
18
+ os :
19
+ - ubuntu
20
+ - macos
21
+
22
+ ruby :
23
+ - " 3.1"
24
+ - " 3.2"
25
+ - " 3.3"
26
+
27
+ steps :
28
+ - uses : actions/checkout@v4
29
+ - uses : ruby/setup-ruby@v1
30
+ with :
31
+ ruby-version : ${{matrix.ruby}}
32
+ bundler-cache : true
33
+
34
+ - name : Run RuboCop
35
+ timeout-minutes : 10
36
+ run : bundle exec rubocop
Original file line number Diff line number Diff line change 1
- name : Coverage
1
+ name : Test Coverage
2
2
3
3
on : [push, pull_request]
4
4
Original file line number Diff line number Diff line change
1
+ AllCops :
2
+ DisabledByDefault : true
3
+
4
+ Layout/IndentationStyle :
5
+ Enabled : true
6
+ EnforcedStyle : tabs
7
+
8
+ Layout/InitialIndentation :
9
+ Enabled : true
10
+
11
+ Layout/IndentationWidth :
12
+ Enabled : true
13
+ Width : 1
14
+
15
+ Layout/IndentationConsistency :
16
+ Enabled : true
17
+ EnforcedStyle : normal
18
+
19
+ Layout/EndAlignment :
20
+ Enabled : true
21
+ EnforcedStyleAlignWith : start_of_line
22
+
23
+ Layout/BeginEndAlignment :
24
+ Enabled : true
25
+ EnforcedStyleAlignWith : start_of_line
26
+
27
+ Layout/ElseAlignment :
28
+ Enabled : true
29
+
30
+ Layout/DefEndAlignment :
31
+ Enabled : true
32
+
33
+ Layout/CaseIndentation :
34
+ Enabled : true
35
+
36
+ Layout/CommentIndentation :
37
+ Enabled : true
38
+
39
+ Layout/EmptyLinesAroundClassBody :
40
+ Enabled : true
41
+
42
+ Layout/EmptyLinesAroundModuleBody :
43
+ Enabled : true
44
+
45
+ Style/FrozenStringLiteralComment :
46
+ Enabled : true
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env -S falcon serve --bind https://localhost:8080 --count 1 -c
2
+ # frozen_string_literal: true
2
3
3
4
require_relative '../../lib/async/websocket/adapters/rack'
4
5
require 'async/clock'
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env -S falcon serve --count 1 --bind http://127.0.0.1:7070 -c
2
+ # frozen_string_literal: true
2
3
3
4
require 'async/websocket/adapters/rack'
4
5
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env -S falcon serve --bind http://127.0.0.1:7070 --count 1 -c
2
+ # frozen_string_literal: true
2
3
3
4
require 'async/websocket/adapters/rack'
4
5
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env -S falcon serve --bind http://localhost:7070 --count 1 -c
2
+ # frozen_string_literal: true
2
3
3
4
require 'async/websocket/adapters/rack'
4
5
require 'set'
Original file line number Diff line number Diff line change 19
19
group :test do
20
20
gem "sus"
21
21
gem "covered"
22
+ gem "decode"
23
+ gem "rubocop"
22
24
23
25
gem "sus-fixtures-async-http"
24
26
You can’t perform that action at this time.
0 commit comments