rubocop-bsm 0.5.5 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +21 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +1 -1
- data/default.yml +2 -4
- data/rails.yml +7 -1
- data/rubocop-bsm.gemspec +3 -3
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 041be2d2f7252c7ad0e36f5545c0aabed4225da1ea4f614f89445f4afd1a35bd
|
4
|
+
data.tar.gz: ed995926bb1e6904b4f5cd0f2fe38a8d7cf465f994d2252c8e4832932928774d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e8a0ee3eb5eb6d2419184d7b105ea29f599dbd81a97b42b1fd2b5a95daa91c1ab69c450734dcf5234f9acd6710a9155bff8a857344756f359ed57b9a214d305
|
7
|
+
data.tar.gz: 1b52adbb89aef5b7aea4b0a08f8455e652cf2a977cebf7185f04d247f7b4615a2587d725d56986bca4d1cacc710c49e02e28ba660785474c2b8f0bd538edd327
|
@@ -0,0 +1,21 @@
|
|
1
|
+
name: Test
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- main
|
6
|
+
pull_request:
|
7
|
+
branches:
|
8
|
+
- main
|
9
|
+
jobs:
|
10
|
+
ruby:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby-version: ["2.5", "2.6", "2.7", "3.0"]
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v2
|
17
|
+
- uses: ruby/setup-ruby@v1
|
18
|
+
with:
|
19
|
+
ruby-version: ${{ matrix.ruby-version }}
|
20
|
+
bundler-cache: true
|
21
|
+
- run: bundle exec rake
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/default.yml
CHANGED
data/rails.yml
CHANGED
@@ -20,6 +20,12 @@ Metrics/MethodLength:
|
|
20
20
|
- "db/**/*.rb"
|
21
21
|
|
22
22
|
## Rails
|
23
|
+
Rails/EnvironmentVariableAccess:
|
24
|
+
Enabled: false
|
25
|
+
Rails/HasAndBelongsToMany:
|
26
|
+
Enabled: false
|
23
27
|
Rails/HttpPositionalArguments:
|
24
28
|
Exclude:
|
25
|
-
- "spec
|
29
|
+
- "spec/**/*.rb"
|
30
|
+
Rails/NotNullColumn:
|
31
|
+
Enabled: false
|
data/rubocop-bsm.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'rubocop-bsm'
|
5
|
-
spec.version = '0.
|
5
|
+
spec.version = '0.6.0'
|
6
6
|
spec.authors = ['Black Square Media']
|
7
7
|
spec.email = ['info@blacksquaremedia.com']
|
8
8
|
|
@@ -12,14 +12,14 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.licenses = ['Apache 2.0']
|
13
13
|
|
14
14
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
15
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 2.
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
|
18
18
|
spec.add_runtime_dependency 'rubocop', '~> 1.0'
|
19
19
|
spec.add_runtime_dependency 'rubocop-performance'
|
20
|
-
spec.add_runtime_dependency 'rubocop-rails'
|
21
20
|
spec.add_runtime_dependency 'rubocop-rake'
|
22
21
|
spec.add_runtime_dependency 'rubocop-rspec'
|
23
22
|
|
24
23
|
spec.add_development_dependency 'rake'
|
24
|
+
spec.add_development_dependency 'rubocop-rails'
|
25
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-bsm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: rubocop-
|
42
|
+
name: rubocop-rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: rubocop-
|
56
|
+
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,13 +67,13 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
|
-
type: :
|
76
|
+
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rubocop-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -101,6 +101,7 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
+
- ".github/workflows/test.yml"
|
104
105
|
- ".gitignore"
|
105
106
|
- ".rubocop.yml"
|
106
107
|
- Gemfile
|
@@ -124,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
125
|
requirements:
|
125
126
|
- - ">="
|
126
127
|
- !ruby/object:Gem::Version
|
127
|
-
version: 2.
|
128
|
+
version: 2.5.0
|
128
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
130
|
requirements:
|
130
131
|
- - ">="
|