sequra-style 1.0.3 → 1.2.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: 23fc97e3d67ec047a065c6cc5c403ee17d899bbe927550d9f379dabb05e713b3
4
- data.tar.gz: 81bd3ce3e05771bcb2527190ca66b3c7d96c0ad256859c27d3fbf7c3eff881ae
3
+ metadata.gz: 589f0c816928e421a8afd22c46a6d5a46bda22fd8187aff2898d1758e65b08e8
4
+ data.tar.gz: a671ce148841f5cbe526d84c700b6d138c7f66081c4cd460858404eeae3bbe40
5
5
  SHA512:
6
- metadata.gz: c0fad1b013d1fb4791fa63c81873577af9320aac5b569f39bd0510531689b8b9f10e6963a5e504ea7147fe8972c244f41038a9a1851b41601c29815f7c3d970f
7
- data.tar.gz: 1daca2b616bf1be57f5e6c467aec5fe6b153942efd43ac780c0bf7823d6bcd8807ce88d5d6d74ea01ed248395036411cde4a5e81a114b2ab4c42be375fe49fd3
6
+ metadata.gz: d079c1518e1014b0da8eddab3255a3c6301dc53389a5c655fae3ab9edfa67bf12d75f2da0fb8d140aa9c047ebdb37588e77babea7c3af31f3f1e0b5c872b1814
7
+ data.tar.gz: ec1aff458a5d17b0d4b598d99e810ed7908ffbfa156da83068518005ae5753fadc19bde61e938b3bfb8c0157b99e2260c53f3c1aca6da3ff3a6ef6539d597a3e
data/.github/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @sequra/developer-experience
1
+ * @sequra/core-tech
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.0](https://github.com/sequra/sequra-style/compare/v1.1.0...v1.2.0) (2024-05-16)
4
+
5
+
6
+ ### Features
7
+
8
+ * Add RSpec/ContextMethod rule only as warning ([#29](https://github.com/sequra/sequra-style/issues/29)) ([9ae2e5b](https://github.com/sequra/sequra-style/commit/9ae2e5bb007d5175986a7436e358d915e12c0c90))
9
+
10
+ ## [1.1.0](https://github.com/sequra/sequra-style/compare/v1.0.3...v1.1.0) (2024-04-03)
11
+
12
+
13
+ ### Features
14
+
15
+ * add Layout/AccessModifierIndentation ([#22](https://github.com/sequra/sequra-style/issues/22)) ([3fb4ece](https://github.com/sequra/sequra-style/commit/3fb4ecef5ee89e78592f4658b904c84ff98df953))
16
+
3
17
  ## [1.0.3](https://github.com/sequra/sequra-style/compare/v1.0.2...v1.0.3) (2024-03-15)
4
18
 
5
19
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sequra-style (1.0.3)
4
+ sequra-style (1.2.0)
5
5
  rubocop (~> 1)
6
6
  rubocop-performance (~> 1)
7
7
  rubocop-rails (~> 2)
data/default.yml CHANGED
@@ -58,6 +58,11 @@ Style/NestedModifier:
58
58
  Style/SoleNestedConditional:
59
59
  Enabled: true
60
60
 
61
+ # https://docs.rubocop.org/rubocop/cops_layout.html#layoutaccessmodifierindentation
62
+ Layout/AccessModifierIndentation:
63
+ EnforcedStyle: outdent
64
+ Severity: info
65
+
61
66
  # Align `when` with `case`.
62
67
  Layout/CaseIndentation:
63
68
  Enabled: true
@@ -277,6 +282,9 @@ Performance/RegexpMatch:
277
282
  RSpec/ContextWording:
278
283
  Enabled: false
279
284
 
285
+ RSpec/ContextMethod:
286
+ Severity: info
287
+
280
288
  RSpec/ExampleLength:
281
289
  Max: 16
282
290
 
@@ -1,5 +1,5 @@
1
1
  module Sequra
2
2
  module Style
3
- VERSION = "1.0.3"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequra-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sequra engineering
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-15 00:00:00.000000000 Z
11
+ date: 2024-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop