defra_ruby_style 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -2
- data/Rakefile +1 -0
- data/default.yml +7 -1
- data/lib/defra/style/version.rb +1 -1
- metadata +26 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8b06c703195f720227d745c03b7456f3b68bc172b7f6ad7c67176024ad24a966
|
4
|
+
data.tar.gz: 8b9034c4852f32d8774a0fe6254042ec270c9a1611b470b3c6d3b810d56abe7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fe3c7c6e4ac3dce1cf09305ed5d13e6c4d9cc73210885c302e12db16d594adf49707f1fd352abac30904db8eedcf43f34466a4e9aea577ecedc8df1e1353715
|
7
|
+
data.tar.gz: dafa384b0efc2ae1f4229f2fb126e05c00e344ce94cfc4f19e4a75121fe50619c195a24e52aff153355bab309725d79bd2a8a0f548696dfb7485afa9177c0416
|
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Defra Ruby Style
|
2
2
|
|
3
|
-
|
4
|
-
[![security](https://hakiri.io/github/DEFRA/defra-ruby-style/master.svg)](https://hakiri.io/github/DEFRA/defra-ruby-style/master)
|
3
|
+
![Build Status](https://github.com/DEFRA/defra-ruby-style/workflows/CI/badge.svg?branch=main)
|
5
4
|
[![Gem Version](https://badge.fury.io/rb/defra_ruby_style.svg)](https://badge.fury.io/rb/defra_ruby_style)
|
6
5
|
[![Licence](https://img.shields.io/badge/Licence-OGLv3-blue.svg)](http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3)
|
7
6
|
|
data/Rakefile
CHANGED
data/default.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2
|
2
|
+
TargetRubyVersion: 3.1.2
|
3
3
|
# Cop names are not displayed in offense messages by default. We find it
|
4
4
|
# useful to include this information so we can use it to investigate what the
|
5
5
|
# fix may be.
|
@@ -37,6 +37,9 @@ AllCops:
|
|
37
37
|
## schema.rb is generated automatically based on migrations, so leave as is
|
38
38
|
- "**/db/schema.rb"
|
39
39
|
- "db/migrate*/**/*.rb"
|
40
|
+
# node_modules is generated in projects using webpacker. The .rb files it
|
41
|
+
# contains are generated so we want to exclude.
|
42
|
+
- "node_modules/**/*"
|
40
43
|
# Skip dummy application files as they're only used for testing purposes
|
41
44
|
- "spec/dummy/**/*"
|
42
45
|
|
@@ -124,3 +127,6 @@ Style/Documentation:
|
|
124
127
|
# value in using "" for all strings irrespective of whether string interpolation is used
|
125
128
|
Style/StringLiterals:
|
126
129
|
EnforcedStyle: double_quotes
|
130
|
+
|
131
|
+
Style/HashSyntax:
|
132
|
+
EnforcedShorthandSyntax: either
|
data/lib/defra/style/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: defra_ruby_style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Defra
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
22
|
+
version: '2.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
29
|
+
version: '1.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: github_changelog_generator
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
39
|
+
version: '1.15'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '1.16'
|
34
43
|
type: :development
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
47
|
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
49
|
+
version: '1.15'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '1.16'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: rake
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,7 +83,8 @@ licenses:
|
|
71
83
|
- The Open Government Licence (OGL) Version 3
|
72
84
|
metadata:
|
73
85
|
allowed_push_host: https://rubygems.org
|
74
|
-
|
86
|
+
rubygems_mfa_required: 'true'
|
87
|
+
post_install_message:
|
75
88
|
rdoc_options: []
|
76
89
|
require_paths:
|
77
90
|
- lib
|
@@ -79,16 +92,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
92
|
requirements:
|
80
93
|
- - ">="
|
81
94
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
95
|
+
version: '3.1'
|
83
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
97
|
requirements:
|
85
98
|
- - ">="
|
86
99
|
- !ruby/object:Gem::Version
|
87
100
|
version: '0'
|
88
101
|
requirements: []
|
89
|
-
|
90
|
-
|
91
|
-
signing_key:
|
102
|
+
rubygems_version: 3.3.7
|
103
|
+
signing_key:
|
92
104
|
specification_version: 4
|
93
105
|
summary: Defra ruby coding standards
|
94
106
|
test_files: []
|