discorb-voice 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fea20d97b1be8d5c3e395d50d4a1cfa1b2de4b926be3610acfda6d16b8ecdf27
4
- data.tar.gz: 7810db23cdd333483653881e9c629844e6963359e106677520b5c2569a0f45b4
3
+ metadata.gz: f9b67b0efc928db3f77f4ef85c73072c55f251ec55da812dd817acd6ec38e96b
4
+ data.tar.gz: 886310cf90ce37a881f4b9c59fa2e45e59227e66ffb4b1f71d548db4bc70a666
5
5
  SHA512:
6
- metadata.gz: 4097e618d134677434518ab6d94d5a7f35c524c1248c16666fc2246c59f31a8685c7d4ed080a3c28cd6de222ea04346daa44805a2afa94f94994cb26fc7bb9c7
7
- data.tar.gz: a97ab6487013e35614252008948acff3a7177bf637066ec35b480852d9e3a84332d7196d7f89dc6099f176d7fd444ee9984f9be3a41a25c4ebaaff323113b785
6
+ metadata.gz: 958385e97929622d10409ca09f4aa6c77b2e875b1d92718609a4cca22c4740092ad0af56424209c691b406d764089333d045a9fa8134acdd4f34521db98baf58
7
+ data.tar.gz: d8619a1edd06c162fd4bf8d69d4037d637622e374ca7cb8f7d98ef7e89260c38c709e53f8e61002486145da551762137afe93736e2d206de520017a22e96fcd8
@@ -0,0 +1,20 @@
1
+ name: Lint with RuboCop
2
+ on:
3
+ push:
4
+ branches:
5
+ - main
6
+ jobs:
7
+ rubocop:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout repository
11
+ uses: actions/checkout@v2
12
+ - uses: ruby/setup-ruby@v1
13
+ with:
14
+ ruby-version: 3.0.0
15
+ - name: Install gems
16
+ run: |
17
+ gem install rubocop
18
+ - name: Run rubocop
19
+ run: |
20
+ rubocop lib
@@ -0,0 +1,16 @@
1
+ name: Lint with RuboCop
2
+ on:
3
+ - pull_request
4
+ jobs:
5
+ rubocop:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Checkout repository
9
+ uses: actions/checkout@v2
10
+ - uses: ruby/setup-ruby@v1
11
+ with:
12
+ ruby-version: 3.0.0
13
+ - name: rubocop
14
+ uses: reviewdog/action-rubocop@v2
15
+ with:
16
+ rubocop_version: 1.25
data/.rubocop.yml ADDED
@@ -0,0 +1,77 @@
1
+ AllCops:
2
+ NewCops: enable
3
+ TargetRubyVersion: 3.0
4
+ Exclude:
5
+ - examples/**/*.rb
6
+ - lib/discorb/emoji_table.rb # Auto-generated
7
+
8
+ Layout:
9
+ Enabled: false
10
+ Metrics:
11
+ Enabled: false
12
+
13
+ Style/TrailingCommaInHashLiteral: # Disabled for rufo
14
+ EnforcedStyleForMultiline: consistent_comma
15
+
16
+ Style/TrailingCommaInArrayLiteral: # Disabled for rufo
17
+ EnforcedStyleForMultiline: consistent_comma
18
+
19
+ Style/StringLiterals: # Disabled for rufo
20
+ EnforcedStyle: double_quotes
21
+
22
+ Style/TrailingCommaInArguments: # Disabled for rufo
23
+ Enabled: false
24
+
25
+ Style/StringLiteralsInInterpolation: # Disabled for rufo
26
+ Enabled: false
27
+
28
+ Style/StringConcatenation: # + looks better
29
+ Enabled: false
30
+
31
+ Lint/MissingSuper: # For abstract classes
32
+ Enabled: false
33
+
34
+ Lint/AssignmentInCondition: # Looks bad
35
+ Enabled: false
36
+
37
+ Style/PerlBackrefs: # It will be longer
38
+ Enabled: false
39
+
40
+ Style/RedundantSelf: # Looks local variable
41
+ Enabled: false
42
+
43
+ Naming/VariableNumber: # Discord API docs naming
44
+ Enabled: false
45
+
46
+ Style/ParallelAssignment: # It will be longer
47
+ Enabled: false
48
+
49
+ Style/RedundantInterpolation: # For make it extendable
50
+ Enabled: false
51
+
52
+ Style/Next: # For make it extendable
53
+ Enabled: false
54
+
55
+ Lint/ShadowedException: # False positive
56
+ Enabled: false
57
+
58
+ Lint/AmbiguousOperatorPrecedence: # Not needed
59
+ Enabled: false
60
+
61
+ Style/GlobalVars: # For /exe
62
+ Enabled: false
63
+
64
+ Lint/Debugger: # For /exe
65
+ Enabled: false
66
+
67
+ Style/GuardClause: # For make it extendable
68
+ Enabled: false
69
+
70
+ Layout/EndOfLine: # For git
71
+ EnforcedStyle: lf
72
+
73
+ Lint/ScriptPermission: # For GitHub Actions
74
+ Enabled: false
75
+
76
+ Naming/FileName: # For able to use `require "discorb-voice"`
77
+ Enabled: false
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  # Uncomment to register a new dependency of your gem
32
32
  # spec.add_dependency "example-gem", "~> 1.0"
33
- spec.add_dependency "discorb", ">= 0.13.0"
33
+ spec.add_dependency "discorb", ">= 0.16.0"
34
34
  spec.add_dependency "ffi", ">= 1.15.3"
35
35
  spec.add_dependency "rbnacl"
36
36