ws-style 6.12.3 → 6.13.2

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: f7cb06c661a7c24b64c6e391b3df81d413fb413eeef95efbdf5a0e67d092b695
4
- data.tar.gz: 1abf98fb2f10293796a517d035d04dc7812962736cb03b187f5e006cc911f2e0
3
+ metadata.gz: 2f34bc426b0e2d7ba1b16533152b140ede3cab8ca44a9aff1f9fd48bdc390dba
4
+ data.tar.gz: ee001e9d75af0ba012ca95cf6ed6d03a0ee223af4e83d6ef4aefe2b4463885de
5
5
  SHA512:
6
- metadata.gz: 8699af6589b802710523266df4204fdf904767d85119a6cffec3c9d87adae2d50a42ae7e84d03f5c660e872ea58ee4c58198fb8fd20b25a0a8cf5a21e72afe7e
7
- data.tar.gz: 6753438da316b4e70158380c91b4472614909786a418e3c0ef19d572913305f87455aa81d4b7dfdfb9746a6dd2ad4c6e3aed2217752162c4c2dc870ad285df31
6
+ metadata.gz: 6e9b90f32fc8fabce0b70657661658a699c376530c12417f9d26dcc8310a98ea3bb80a3ab48b745812fae23e17da6d11c469a44a8378c35be69be89389ac0509
7
+ data.tar.gz: e132a22eb782389d7139627a7d90ac89d838eb5ee9078da7e94d0fa10331104fb1a7d4c5215edab1fb3dbe71f48f69859c46d5a15c0f6ade6332136e361a91d6
data/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 6.13.2 - 2021-01-10
8
+ ### Changed
9
+ - Update rubocop-rails to 2.13.1
10
+
11
+ ## 6.13.1 - 2021-01-07
12
+ ### Changed
13
+ - Disable ruby 3.1 Hash shorthand syntax
14
+
15
+ ## 6.13.0 - 2021-01-04
16
+ ### Changed
17
+ - Updated rubocop to 1.24.1 and opted into new cops
18
+
19
+ ## 6.12.4 - 2022-01-04
20
+ ### Changed
21
+ - Updated dependencies
22
+
7
23
  ## 6.12.3 - 2021-12-20
8
24
  ### Changed
9
25
  - Updated dependencies
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ws-style (6.12.3)
4
+ ws-style (6.13.2)
5
5
  rubocop (>= 1.23)
6
6
  rubocop-performance (>= 1.10.2)
7
7
  rubocop-rails (>= 2.9.1)
@@ -11,7 +11,7 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (7.0.0)
14
+ activesupport (7.0.1)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 1.6, < 2)
17
17
  minitest (>= 5.1)
@@ -21,8 +21,8 @@ GEM
21
21
  bundler (>= 1.2.0, < 3)
22
22
  thor (>= 0.18, < 2)
23
23
  concurrent-ruby (1.1.9)
24
- diff-lcs (1.4.4)
25
- git (1.9.1)
24
+ diff-lcs (1.5.0)
25
+ git (1.10.2)
26
26
  rchardet (~> 1.8)
27
27
  i18n (1.8.11)
28
28
  concurrent-ruby (~> 1.0)
@@ -32,7 +32,7 @@ GEM
32
32
  thor (~> 0.20)
33
33
  minitest (5.15.0)
34
34
  parallel (1.21.0)
35
- parser (3.0.3.2)
35
+ parser (3.1.0.0)
36
36
  ast (~> 2.4.1)
37
37
  rack (2.2.3)
38
38
  rainbow (3.0.0)
@@ -53,27 +53,27 @@ GEM
53
53
  diff-lcs (>= 1.2.0, < 2.0)
54
54
  rspec-support (~> 3.10.0)
55
55
  rspec-support (3.10.3)
56
- rubocop (1.23.0)
56
+ rubocop (1.24.1)
57
57
  parallel (~> 1.10)
58
58
  parser (>= 3.0.0.0)
59
59
  rainbow (>= 2.2.2, < 4.0)
60
60
  regexp_parser (>= 1.8, < 3.0)
61
61
  rexml
62
- rubocop-ast (>= 1.12.0, < 2.0)
62
+ rubocop-ast (>= 1.15.1, < 2.0)
63
63
  ruby-progressbar (~> 1.7)
64
64
  unicode-display_width (>= 1.4.0, < 3.0)
65
- rubocop-ast (1.15.0)
65
+ rubocop-ast (1.15.1)
66
66
  parser (>= 3.0.1.1)
67
- rubocop-performance (1.12.0)
67
+ rubocop-performance (1.13.1)
68
68
  rubocop (>= 1.7.0, < 2.0)
69
69
  rubocop-ast (>= 0.4.0)
70
- rubocop-rails (2.12.4)
70
+ rubocop-rails (2.13.1)
71
71
  activesupport (>= 4.2.0)
72
72
  rack (>= 1.1)
73
73
  rubocop (>= 1.7.0, < 2.0)
74
- rubocop-rspec (2.6.0)
74
+ rubocop-rspec (2.7.0)
75
75
  rubocop (~> 1.19)
76
- rubocop-vendor (0.7.1)
76
+ rubocop-vendor (0.8.0)
77
77
  rubocop (>= 0.53.0)
78
78
  ruby-progressbar (1.11.0)
79
79
  thor (0.20.3)
data/Rakefile CHANGED
@@ -4,7 +4,6 @@ require "rubocop"
4
4
  require "rubocop-performance"
5
5
  require "rubocop-rails"
6
6
  require "rubocop-rspec"
7
-
8
7
  RSpec::Core::RakeTask.new(:spec)
9
8
 
10
9
  task default: :spec
@@ -21,14 +20,16 @@ task :election do
21
20
  'performance' => 'https://docs.rubocop.org/rubocop-performance/cops_performance.html#performance',
22
21
  'rails' => 'https://docs.rubocop.org/rubocop-rails/cops_rails.html#rails',
23
22
  'rspec' => 'https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspec',
23
+ 'rspec_factorybot' => 'https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybot',
24
24
  'security' => 'https://docs.rubocop.org/rubocop/cops_security.html#security',
25
25
  'style' => 'https://docs.rubocop.org/rubocop/cops_style.html#style',
26
+ 'naming' => 'https://docs.rubocop.org/rubocop/cops_naming.html#naming',
26
27
  }
27
28
  next if configuration.key?(pending_cop.name)
28
29
 
29
- department, anchor = pending_cop.name.downcase.split('/')
30
+ *department, anchor = pending_cop.name.downcase.split('/')
30
31
  puts <<~COMMENT
31
- [**#{pending_cop.name}**](#{base_urls.fetch(department)}#{anchor})
32
+ [**#{pending_cop.name}**](#{base_urls.fetch(department.join('_'))}#{anchor})
32
33
  #{pending_cop.metadata.fetch('Description')}
33
34
 
34
35
  COMMENT
data/core.yml CHANGED
@@ -534,3 +534,35 @@ RSpec/SubjectDeclaration:
534
534
  # rubocop-performance 1.12
535
535
  Performance/ConcurrentMonotonicTime:
536
536
  Enabled: True
537
+
538
+ # rubocop-performance 1.13
539
+ Performance/StringIdentifierArgument:
540
+ Enabled: True
541
+
542
+ # rubocop 1.23
543
+ Lint/UselessRuby2Keywords:
544
+ Enabled: True
545
+
546
+ Style/OpenStructUse:
547
+ Enabled: True
548
+
549
+ # rubocop 1.24
550
+ Naming/BlockForwarding:
551
+ Enabled: True
552
+ EnforcedStyle: explicit
553
+
554
+ Style/FileRead:
555
+ Enabled: True
556
+
557
+ Style/FileWrite:
558
+ Enabled: True
559
+
560
+ Style/MapToHash:
561
+ Enabled: True
562
+
563
+ Style/HashSyntax:
564
+ EnforcedShorthandSyntax: never
565
+
566
+ # rubocop-rspec 2.7
567
+ RSpec/FactoryBot/SyntaxMethods:
568
+ Enabled: false
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '6.12.3'.freeze
3
+ VERSION = '6.13.2'.freeze
4
4
  end
5
5
  end
data/rails.yml CHANGED
@@ -94,3 +94,16 @@ Rails/RedundantTravelBack:
94
94
  # rubocop-rspec 2.4
95
95
  RSpec/Rails/AvoidSetupHook:
96
96
  Enabled: True
97
+
98
+ # rubocop-rails 2.13
99
+ Rails/CompactBlank:
100
+ Enabled: True
101
+
102
+ Rails/DurationArithmetic:
103
+ Enabled: True
104
+
105
+ Rails/RedundantPresenceValidationOnBelongsTo:
106
+ Enabled: True
107
+
108
+ Rails/RootJoinChain:
109
+ Enabled: True
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ws-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.12.3
4
+ version: 6.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop