defra_ruby_style 0.3.0 → 0.4.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: 8b06c703195f720227d745c03b7456f3b68bc172b7f6ad7c67176024ad24a966
4
- data.tar.gz: 8b9034c4852f32d8774a0fe6254042ec270c9a1611b470b3c6d3b810d56abe7c
3
+ metadata.gz: d30701b34b854567c787c8458f1b7a73d209ab6deaac3c59d75d0bafc7e20bd2
4
+ data.tar.gz: 6a96d4db9fd381e3cc8052441846f59e38df45eff41fd2dcdc65e2dc94e5ebbb
5
5
  SHA512:
6
- metadata.gz: 1fe3c7c6e4ac3dce1cf09305ed5d13e6c4d9cc73210885c302e12db16d594adf49707f1fd352abac30904db8eedcf43f34466a4e9aea577ecedc8df1e1353715
7
- data.tar.gz: dafa384b0efc2ae1f4229f2fb126e05c00e344ce94cfc4f19e4a75121fe50619c195a24e52aff153355bab309725d79bd2a8a0f548696dfb7485afa9177c0416
6
+ metadata.gz: 16c39339e7e838be9a35c7ce9e3985058671235cc95e680ebc237e731581a817ebd9d5b8996bc5d7c67e21df2daef5264ca94dfb73ccbf3292f769ab602adff3
7
+ data.tar.gz: 861d9cc12416f57bc72290976dd42aebe8a52479af82094f0bcb5ac49cb730c2679b21f610602492453f5b2cd07f73d6449400f0aeaec0e6ed9fb23266f5a626
data/Rakefile CHANGED
@@ -13,5 +13,5 @@ require "github_changelog_generator/task"
13
13
  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
14
14
  config.user = "DEFRA"
15
15
  config.project = "defra-ruby-style"
16
- config.future_release = 'v0.3.0'
16
+ config.future_release = "v0.4.0"
17
17
  end
data/default.yml CHANGED
@@ -1,5 +1,10 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+ - rubocop-factory_bot
5
+
1
6
  AllCops:
2
- TargetRubyVersion: 3.1.2
7
+ TargetRubyVersion: 3.2.2
3
8
  # Cop names are not displayed in offense messages by default. We find it
4
9
  # useful to include this information so we can use it to investigate what the
5
10
  # fix may be.
@@ -130,3 +135,8 @@ Style/StringLiterals:
130
135
 
131
136
  Style/HashSyntax:
132
137
  EnforcedShorthandSyntax: either
138
+
139
+ # We believe that the default of 3 is too low and that it is okay to have
140
+ # it slightly bigger
141
+ RSpec/NestedGroups:
142
+ Max: 4
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Defra
4
4
  module Style
5
- VERSION = "0.3.0"
5
+ VERSION = "0.4.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: defra_ruby_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Defra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-28 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -31,33 +31,41 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2.0'
33
33
  - !ruby/object:Gem::Dependency
34
- name: github_changelog_generator
34
+ name: rubocop-factory_bot
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1.15'
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: '1.16'
43
- type: :development
39
+ version: '0'
40
+ type: :runtime
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
44
  - - ">="
48
45
  - !ruby/object:Gem::Version
49
- version: '1.15'
50
- - - "<"
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rubocop-rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
51
52
  - !ruby/object:Gem::Version
52
- version: '1.16'
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
53
61
  - !ruby/object:Gem::Dependency
54
- name: rake
62
+ name: rubocop-rspec
55
63
  requirement: !ruby/object:Gem::Requirement
56
64
  requirements:
57
65
  - - ">="
58
66
  - !ruby/object:Gem::Version
59
67
  version: '0'
60
- type: :development
68
+ type: :runtime
61
69
  prerelease: false
62
70
  version_requirements: !ruby/object:Gem::Requirement
63
71
  requirements:
@@ -92,14 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
100
  requirements:
93
101
  - - ">="
94
102
  - !ruby/object:Gem::Version
95
- version: '3.1'
103
+ version: '3.2'
96
104
  required_rubygems_version: !ruby/object:Gem::Requirement
97
105
  requirements:
98
106
  - - ">="
99
107
  - !ruby/object:Gem::Version
100
108
  version: '0'
101
109
  requirements: []
102
- rubygems_version: 3.3.7
110
+ rubygems_version: 3.4.10
103
111
  signing_key:
104
112
  specification_version: 4
105
113
  summary: Defra ruby coding standards