rubocop-bsm 0.5.4 → 0.5.9

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: 7154aa0b2cfc6f2382257136cb1a1f1e0de5c44e5499ca6d016d9c461b0aeedd
4
- data.tar.gz: 3e067c81b2830f5df7b54aabe8e3776b23bcf1c9d10fa47072d860ab7a018c84
3
+ metadata.gz: ac9c4ead61e4c163218b32d102f0672ef373d7a21c33aeb156164af1f4559652
4
+ data.tar.gz: 7b0328c699f9053f9586e0ce86d57fb16e017d30d7d276a1b54e31f6a7f89765
5
5
  SHA512:
6
- metadata.gz: be786f05f4bbba0c92c5686721c648e5f06cada3907a660acd9449163e56237dddd464d7884f9762da7e86432674345c4b2ed97b841feda20b20c6d441215ae7
7
- data.tar.gz: fa35e3cb38721cd0a487c496a8e7a1539dd4debafc7d836ddfcbc12c909246a4bf83a952e77f85c442d45fba079b5ab72fbd3266e4c20312b6f623a4ca8d33ec
6
+ metadata.gz: 19d0fbef8ef8cc848909a2e8642519b4e9e29eb7fa8aa238c758506a0cc8300b8d7de476507b2e1933e50d465ca6afa2d5f3774b4e8ce96c64a3a4b6454bf809
7
+ data.tar.gz: cea7a81c92a5c48b9e937d606ea27a2847e9022a1bb33163e0a3cf73d3aa22ee7989ee2d6c57664ec1d485538d0ed771107ee6af8249211a1581f163fdb5053f
@@ -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/.rubocop.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  inherit_from: default.yml
2
2
 
3
3
  AllCops:
4
- TargetRubyVersion: 2.6
4
+ TargetRubyVersion: 2.5
data/default.yml CHANGED
@@ -29,9 +29,7 @@ Lint/AmbiguousBlockAssociation:
29
29
  - "spec/**/*_spec.rb"
30
30
 
31
31
  ## RSpec
32
- RSpec/ExampleLength:
33
- Enabled: false
34
- RSpec/MultipleExpectations:
35
- Enabled: false
36
32
  RSpec/NamedSubject:
37
33
  Enabled: false
34
+ RSpec/ExpectInHook:
35
+ Enabled: false
data/minimal.yml CHANGED
@@ -59,3 +59,5 @@ RSpec/ExampleLength:
59
59
  Enabled: false
60
60
  RSpec/MultipleExpectations:
61
61
  Enabled: false
62
+ RSpec/MessageSpies:
63
+ EnforcedStyle: receive
data/rails.yml CHANGED
@@ -22,4 +22,8 @@ Metrics/MethodLength:
22
22
  ## Rails
23
23
  Rails/HttpPositionalArguments:
24
24
  Exclude:
25
- - "spec/api/**"
25
+ - "spec/**/*.rb"
26
+ Rails/NotNullColumn:
27
+ Enabled: false
28
+ Rails/HasAndBelongsToMany:
29
+ 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.4'
5
+ spec.version = '0.5.9'
6
6
  spec.authors = ['Black Square Media']
7
7
  spec.email = ['info@blacksquaremedia.com']
8
8
 
@@ -12,7 +12,7 @@ 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.6.0')
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'
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.5.4
4
+ version: 0.5.9
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-01-19 00:00:00.000000000 Z
11
+ date: 2021-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -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.6.0
128
+ version: 2.5.0
128
129
  required_rubygems_version: !ruby/object:Gem::Requirement
129
130
  requirements:
130
131
  - - ">="