sanelint 1.0.1 → 1.49.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
  SHA1:
3
- metadata.gz: 5223dccaccadbe878df6044b06052268b6b23180
4
- data.tar.gz: da3a491aa265a2c13c66d3c5fb3eb1bd12cbc5b2
3
+ metadata.gz: 4f59d8f07bf402bdd638766522eedf5d5b0bb742
4
+ data.tar.gz: 7b72fbfa22bb352e74c4e7e66c3a0f32e57c602e
5
5
  SHA512:
6
- metadata.gz: 46e3a7795c5b1300de788ef1e4918f5fad0c5dbbeabe71592f402b0dd9a08375f76e71761a646fa2caa8fcecf0270e99b4e3cdcc0e674ed8502ab4374961314b
7
- data.tar.gz: 53ed296993e55357b96cdb36f88673e42448680a3f82acb339bf9f7de238a9456ebab4f2a107386fadf9575d691399a11bf5df03aacb7b7d28199b08937c69e3
6
+ metadata.gz: 9f6785e59fe3f0e3f62215ba234a26e7ac8570e54624241cbeaa0e955d450266c55e26a92d6f3d24876d6dd8a89594dd438105c1a35c63c2557e6354b658f6d6
7
+ data.tar.gz: 06d436b5a038b57b03ff6b01402e34b115e107950624e882941e7bf5613cfbcd6efb3489b1b1264778a366d9197c33188e6685017964514b15f8385f0806607d
data/README.md CHANGED
@@ -19,12 +19,11 @@ And then execute:
19
19
  After that you need to add `sanelint` as plugin for Rubocop in your `.rubocop.yml`:
20
20
 
21
21
  ```yaml
22
- require: sanelint
22
+ inherit_gem:
23
+ sanelint:
24
+ - config/default.yml
23
25
  ```
24
26
 
25
- or create a new one:
26
-
27
- $ echo "require: sanelint" > .rubocop.yml
28
27
 
29
28
  ## Development
30
29
 
@@ -10,6 +10,7 @@ AllCops:
10
10
  - 'config/**/*'
11
11
  - 'bin/*'
12
12
  - 'script/*'
13
+ - 'vendor/**/*'
13
14
  # Other common or autogenerated ignores
14
15
  - 'lib/tasks/cucumber.rake'
15
16
  # Project specific ignores goes here
@@ -27,10 +28,10 @@ Documentation:
27
28
  Style/BarePercentLiterals:
28
29
  EnforcedStyle: percent_q
29
30
 
30
- Style/EmptyLineBetweenDefs:
31
+ Layout/EmptyLineBetweenDefs:
31
32
  AllowAdjacentOneLineDefs: true
32
33
 
33
- Style/MultilineOperationIndentation:
34
+ Layout/MultilineOperationIndentation:
34
35
  EnforcedStyle: indented
35
36
 
36
37
  Style/StringLiterals:
@@ -60,14 +61,6 @@ Style/ParallelAssignment:
60
61
  Style/Lambda:
61
62
  Enabled: false
62
63
 
63
- #not appliable for rails<5
64
- Rails/HttpPositionalArguments:
65
- Enabled: false
66
-
67
- #not appliable for ruby<2.4
68
- Lint/UnifiedInteger:
69
- Enabled: false
70
-
71
64
  Rails/SkipsModelValidations:
72
65
  Enabled: false
73
66
 
@@ -77,7 +70,6 @@ Style/SafeNavigation:
77
70
  Bundler/OrderedGems:
78
71
  Enabled: false
79
72
 
80
-
81
73
  Metrics/LineLength:
82
74
  Max: 100
83
75
 
@@ -87,7 +79,6 @@ Metrics/ClassLength:
87
79
  Metrics/ModuleLength:
88
80
  Max: 150
89
81
 
90
-
91
82
  Lint/EndAlignment:
92
83
  EnforcedStyleAlignWith: variable
93
84
 
@@ -97,3 +88,13 @@ Lint/AssignmentInCondition:
97
88
  Lint/AmbiguousRegexpLiteral:
98
89
  Exclude:
99
90
  - 'features/step_definitions/**/*.rb'
91
+
92
+ Lint/AmbiguousBlockAssociation:
93
+ Exclude:
94
+ - "spec/**/*"
95
+
96
+ Style/PercentLiteralDelimiters:
97
+ PreferredDelimiters:
98
+ '%i': '()'
99
+ '%w': '()'
100
+ '%W': '()'
@@ -1,3 +1,3 @@
1
1
  module Sanelint
2
- VERSION = "1.0.1".freeze
2
+ VERSION = "1.49.1".freeze
3
3
  end
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "rubocop", "~> 0.47.0"
22
- spec.add_runtime_dependency "rubocop-rspec", "~> 1.13.0"
21
+ spec.add_runtime_dependency "rubocop", "~> 0.49.1"
22
+ spec.add_runtime_dependency "rubocop-rspec", "~> 1.16.0"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.10"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanelint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.49.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Simka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-17 00:00:00.000000000 Z
11
+ date: 2018-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.47.0
19
+ version: 0.49.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.47.0
26
+ version: 0.49.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.13.0
33
+ version: 1.16.0
34
34
  type: :runtime
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: 1.13.0
40
+ version: 1.16.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -103,9 +103,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.4.5
106
+ rubygems_version: 2.6.13
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Gem to encapsulate Monterail's company-wide rubocop setup.
110
110
  test_files: []
111
- has_rdoc: