renuocop 0.4.1 → 0.5.0

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: bae716364aeaf10a33ccc09c44042add836de0fbc32d13aa22b25284837affaa
4
- data.tar.gz: 11316ea963d1f030854ec74b80a0aed245c5142f6542f83444051be313bfdf14
3
+ metadata.gz: 60789a4d53732483ac9a7c4e8455e8e38b01bdf6dafc857d6a3a43ce10a480c8
4
+ data.tar.gz: 94f2316850459e5f862a07faa100ba33aca3e9b812106a58c2b45095ff1b286d
5
5
  SHA512:
6
- metadata.gz: 5e8992c52ff48b7fbc1c75faad2181bd11ce62d05db53b8c783ea0897d620fc3150ed3cfd7875d6a8041f6a3fbafce5ce6539da040a498a8bfd4889d9a94a9c5
7
- data.tar.gz: 0dd7685d32d2d313a0524be7fe602c2da07f25cb4a6030aacbdfe9d810531f76fe60f4755174f4178a4356f1a3ff270ec1f37bf3a2c7dd3f1ae45478992f5dda
6
+ metadata.gz: 4aa1cc031db5e58f559d7e19ff510d9c45067a281b08ebcc86d178ba275e45ff99fec6b1a6bb2e62c8df60be827ebf09fc0598a129eb999d167a5d92e9e34b1b
7
+ data.tar.gz: f124046334e4f1f2868bd0c74b5372efcdbe9499a61f64913b73a768af4f0f9a1cd5c56ada5cdffbf60c35fad99275b6d08802a1f1d8c41a18e50f2705111dcc
data/README.md CHANGED
@@ -23,7 +23,22 @@ Or install it yourself as:
23
23
 
24
24
  ## Usage
25
25
 
26
- To run renuocop on your project, just run:
26
+ To run renuocop on your project, add `renuocop` to your Gemfile
27
+
28
+ ```ruby
29
+ group :development, :test do
30
+ gem 'renuocop'
31
+ end
32
+ ```
33
+
34
+ Then create a .rubocop.yml
35
+
36
+ ```yaml
37
+ inherit_gem:
38
+ renuocop: config/base.yml
39
+ ```
40
+
41
+ And then run it with
27
42
 
28
43
  $ bundle exec renuocop
29
44
 
data/config/base.yml CHANGED
@@ -23,7 +23,7 @@ Gemspec/DuplicatedAssignment:
23
23
  Enabled: true
24
24
 
25
25
  Gemspec/OrderedDependencies:
26
- Enabled: true
26
+ Enabled: false
27
27
 
28
28
  Gemspec/RequireMFA:
29
29
  Enabled: true
@@ -414,6 +414,14 @@ Performance/TimesMap:
414
414
  RSpec/AnyInstance:
415
415
  Enabled: false
416
416
 
417
+ RSpec/ContextWording:
418
+ Prefixes:
419
+ - when
420
+ - with
421
+ - without
422
+ - and
423
+ - but
424
+
417
425
  RSpec/DescribeClass:
418
426
  Exclude:
419
427
  - 'spec/system/**/*'
@@ -450,6 +458,9 @@ RSpec/SortMetadata:
450
458
  RSpec/VerifiedDoubles:
451
459
  Enabled: false
452
460
 
461
+ Capybara/ClickLinkOrButtonStyle:
462
+ Enabled: false
463
+
453
464
  Rails/ActionControllerFlashBeforeRender:
454
465
  Enabled: false
455
466
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renuocop
4
- VERSION = "0.4.1"
4
+ VERSION = "0.5.0"
5
5
  end
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renuocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Rodi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-23 00:00:00.000000000 Z
11
+ date: 2023-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: standard
14
+ name: rubocop-performance
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1'
19
+ version: '0'
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: '1'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "!="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 2.20.0
34
+ - - "!="
35
+ - !ruby/object:Gem::Version
36
+ version: 2.20.1
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - ">="
41
+ - - "!="
39
42
  - !ruby/object:Gem::Version
40
- version: '0'
43
+ version: 2.20.0
44
+ - - "!="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.20.1
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rubocop-rspec
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -53,19 +59,19 @@ dependencies:
53
59
  - !ruby/object:Gem::Version
54
60
  version: '0'
55
61
  - !ruby/object:Gem::Dependency
56
- name: rubocop-performance
62
+ name: standard
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
- - - ">="
65
+ - - ">"
60
66
  - !ruby/object:Gem::Version
61
- version: '0'
67
+ version: '1'
62
68
  type: :runtime
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
- - - ">="
72
+ - - ">"
67
73
  - !ruby/object:Gem::Version
68
- version: '0'
74
+ version: '1'
69
75
  description: Renuo default style guide, linter, and formatter.
70
76
  email:
71
77
  - alessandro.rodi@renuo.ch
@@ -106,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
112
  - !ruby/object:Gem::Version
107
113
  version: '0'
108
114
  requirements: []
109
- rubygems_version: 3.4.8
115
+ rubygems_version: 3.2.22
110
116
  signing_key:
111
117
  specification_version: 4
112
118
  summary: Renuo default style guide, linter, and formatter.