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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ff6a7614ec70e2e36fb804a3a718b523f79443f7
4
- data.tar.gz: 6b9f1eb8f132ac5f8467b45c86f857eb681b60fe
2
+ SHA256:
3
+ metadata.gz: 8b06c703195f720227d745c03b7456f3b68bc172b7f6ad7c67176024ad24a966
4
+ data.tar.gz: 8b9034c4852f32d8774a0fe6254042ec270c9a1611b470b3c6d3b810d56abe7c
5
5
  SHA512:
6
- metadata.gz: f9813ff132949b7207b30308fe7a3a3f33ffa5da6dd04b3477954b0242665190b903f7a30f9e9f7eb64ee32f65f965ae8e3f55cf51ec54c366e42f24daa286e7
7
- data.tar.gz: 5fd4a085e76798e935d11afd794e24984567761b5c70a628bcb36ac51b7639bea16f81e3efc3ce7dac62d03fff88ddb4dd9636a14887be36e53c44cf51b32cf4
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
- [![Build Status](https://travis-ci.com/DEFRA/defra-ruby-style.svg?branch=master)](https://travis-ci.com/DEFRA/defra-ruby-style)
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
@@ -13,4 +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
17
  end
data/default.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.4
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Defra
4
4
  module Style
5
- VERSION = "0.2.0"
5
+ VERSION = "0.3.0"
6
6
  end
7
7
  end
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.2.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: 2020-04-23 00:00:00.000000000 Z
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.79'
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.79'
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: '0'
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: '0'
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
- post_install_message:
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: '0'
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
- rubyforge_project:
90
- rubygems_version: 2.6.13
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: []