defra_ruby_style 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbca6d862aecd0d3540e2df05188aa20d82c2be5
4
- data.tar.gz: fa5bc1b473033c2e2d902d60b9af3125d5932f5a
3
+ metadata.gz: 07060d4e1ca7fca47059f46551632decfa0b699c
4
+ data.tar.gz: 646fc6d07be3956dab5f9f2d5d3e9b420835fe36
5
5
  SHA512:
6
- metadata.gz: d655c76a9a6c35ddeeefe4c02472db0959e62551d1596f23c4de23c1f00275011bdee62cacd096949b092431bfddccc1c47d2f04146543253c16a69682e266f5
7
- data.tar.gz: 5970e1732e7b074159364255eada4ec9811f93b63a5e4a2ae04b2cb52ee1084fc73083f60bf43c849490271ece3a92af19e0f2c557ade6093bf77e73a078a99e
6
+ metadata.gz: 69cf6e4fbe1ed04e190cb92a28b38affb2531bd61bc1d55b41776bf5457929065d36fc88385f3f10f61f1f7bade593777f95f9bd4ffdad612ce075848cd24c27
7
+ data.tar.gz: c100ec9e5bf0a6463aba946071d95ae1d1fa337805910d5d7734023c987e27b3cf81ebfef373eadaca1da136b87b50464becb3dc7d60adaf26cddd22329c40da
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <img src="/defra-ruby-style.png" alt="Defra ruby style logo" />
1
+ # Defra Ruby Style
2
2
 
3
3
  [![Build Status](https://travis-ci.com/DEFRA/defra-ruby-style.svg?branch=master)](https://travis-ci.com/DEFRA/defra-ruby-style)
4
4
  [![security](https://hakiri.io/github/DEFRA/defra-ruby-style/master.svg)](https://hakiri.io/github/DEFRA/defra-ruby-style/master)
data/default.yml CHANGED
@@ -40,6 +40,16 @@ Layout/EmptyLinesAroundClassBody:
40
40
  Layout/EmptyLinesAroundBlockBody:
41
41
  Enabled: false
42
42
 
43
+ # We believe the default 80 characters is too restrictive and that lines can
44
+ # still be readable and maintainable when no more than 120 characters. This also
45
+ # allows us to maximise our screen space.
46
+ Layout/LineLength:
47
+ Max: 120
48
+ Exclude:
49
+ - "spec/**/*_spec.rb"
50
+ - "spec/factories/**/*.rb"
51
+ - "spec/support/shared_examples/**/*.rb"
52
+
43
53
  # It's okay to use `catch { foo }` in specs
44
54
  #
45
55
  # https://github.com/rubocop-hq/rubocop/issues/4222
@@ -69,16 +79,6 @@ Metrics/BlockLength:
69
79
  - "spec/factories/**/*.rb"
70
80
  - "spec/support/shared_examples/**/*.rb"
71
81
 
72
- # We believe the default 80 characters is too restrictive and that lines can
73
- # still be readable and maintainable when no more than 120 characters. This also
74
- # allows us to maximise our screen space.
75
- Metrics/LineLength:
76
- Max: 120
77
- Exclude:
78
- - "spec/**/*_spec.rb"
79
- - "spec/factories/**/*.rb"
80
- - "spec/support/shared_examples/**/*.rb"
81
-
82
82
  # We wish we were good enough to remain within the rubocop limit of 10 lines
83
83
  # however we often just seem to tip over by a few lines. Hence we have chosen
84
84
  # to bump it to 20.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Defra
4
4
  module Style
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
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.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Defra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-01 00:00:00.000000000 Z
11
+ date: 2020-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.75'
19
+ version: '0.79'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.75'
26
+ version: '0.79'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: github_changelog_generator
29
29
  requirement: !ruby/object:Gem::Requirement