house_style 1.3.1 → 1.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
  SHA1:
3
- metadata.gz: 7e89eeef30906b50d5dc325d748bce8436e48f1b
4
- data.tar.gz: 780a58df585ef133efbc1664c651ad2ed7a64931
3
+ metadata.gz: 3186c343eb5868907b70e05f4b192458f9b3ba35
4
+ data.tar.gz: 3ed33ae7b70d15e73b518917e100f55fe80f0dd3
5
5
  SHA512:
6
- metadata.gz: bd9087b18e0228f5b0b9893e4560a9d82e91199b0f0bce76b431e34da39356ec3d6b68817385cb8b8238c473d7564ad8b485ed2de67d65574b0620fd59aed7c8
7
- data.tar.gz: 94266ca0dbf7698e336edc0fc8c7c9b0379f53efddc6248d123260679747fb2bbc5077b17a2eee4501d836d60e153c6c5a16da4febd29a7bdda7303bcda40ca2
6
+ metadata.gz: c0d6a1e12591048f6fb7e1f63cac346cc0f86c7a4e5686d77f087f0cca64c32b1ed64971f51f942adc002bd3417d3d42f6c12a0038074d3135d9e894b32a2170
7
+ data.tar.gz: f2b6b4197137e0767ac1d6117d862092b6fafa0cf414356bb017ba2bad673f86bf2825e1eeea6af0d24e1104e973c40dc6c5b85eb177abc86f27c1d50311c6fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.4.0
4
+
5
+ - updated rubocop to 0.52.0
6
+ - rename cops with changed names and remove deprecated definitions.
7
+
3
8
  ## 1.3.0
4
9
 
5
10
  - updated rubocop to 0.46.0
data/house_style.gemspec CHANGED
@@ -5,9 +5,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'house_style'
8
- spec.version = '1.3.1'
9
- spec.authors = ['Scott Matthewman']
10
- spec.email = ['scott@altmetric.com']
8
+ spec.version = '1.4.0'
9
+ spec.authors = ['Scott Matthewman', 'Altmetric']
10
+ spec.email = ['scott.matthewman@gmail.com', 'engineering@altmetric.com']
11
11
 
12
12
  spec.summary = 'A centralised store of house style rules'
13
13
  spec.description = 'Configuration files and other snippets to help you apply standards across multiple projects'
@@ -24,7 +24,7 @@ will be taken into account by rubocop also.
24
24
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.add_dependency 'rubocop', '~> 0.48', '< 0.49'
27
+ spec.add_dependency 'rubocop', '~> 0.52', '< 0.53'
28
28
  spec.add_dependency 'rubocop-rspec', '~> 1.15'
29
29
 
30
30
  spec.add_development_dependency 'bundler', '~> 1.10'
data/rails/db_migrate.yml CHANGED
@@ -8,7 +8,7 @@ Style/BlockDelimiters:
8
8
  Enabled: false
9
9
  Style/Documentation:
10
10
  Enabled: false
11
- Style/EmptyLineBetweenDefs:
11
+ Layout/EmptyLineBetweenDefs:
12
12
  Enabled: false
13
13
  Style/StringLiterals:
14
14
  Enabled: false
data/ruby/style.yml CHANGED
@@ -31,23 +31,19 @@ Style/Copyright:
31
31
  Enabled: false
32
32
  Style/Documentation:
33
33
  Enabled: false
34
- Style/EmptyLineBetweenDefs:
34
+ Layout/EmptyLineBetweenDefs:
35
35
  AllowAdjacentOneLineDefs: true
36
- Style/Encoding:
37
- EnforcedStyle: when_needed
38
36
  Style/FrozenStringLiteralComment:
39
37
  Enabled: false
40
38
  Style/GuardClause:
41
39
  MinBodyLength: 3
42
40
  Style/HashSyntax:
43
41
  EnforcedStyle: ruby19_no_mixed_keys
44
- Style/IfUnlessModifier:
45
- MaxLineLength: 100
46
- Style/IndentHash:
42
+ Layout/IndentHash:
47
43
  EnforcedStyle: consistent
48
44
  Style/MethodCalledOnDoEndBlock:
49
45
  Enabled: true
50
- Style/MultilineOperationIndentation:
46
+ Layout/MultilineOperationIndentation:
51
47
  Enabled: false
52
48
  Style/NonNilCheck:
53
49
  IncludeSemanticChanges: true
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: house_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Matthewman
8
+ - Altmetric
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2017-05-24 00:00:00.000000000 Z
12
+ date: 2018-01-10 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rubocop
@@ -16,20 +17,20 @@ dependencies:
16
17
  requirements:
17
18
  - - "~>"
18
19
  - !ruby/object:Gem::Version
19
- version: '0.48'
20
+ version: '0.52'
20
21
  - - "<"
21
22
  - !ruby/object:Gem::Version
22
- version: '0.49'
23
+ version: '0.53'
23
24
  type: :runtime
24
25
  prerelease: false
25
26
  version_requirements: !ruby/object:Gem::Requirement
26
27
  requirements:
27
28
  - - "~>"
28
29
  - !ruby/object:Gem::Version
29
- version: '0.48'
30
+ version: '0.52'
30
31
  - - "<"
31
32
  - !ruby/object:Gem::Version
32
- version: '0.49'
33
+ version: '0.53'
33
34
  - !ruby/object:Gem::Dependency
34
35
  name: rubocop-rspec
35
36
  requirement: !ruby/object:Gem::Requirement
@@ -75,7 +76,8 @@ dependencies:
75
76
  description: Configuration files and other snippets to help you apply standards across
76
77
  multiple projects
77
78
  email:
78
- - scott@altmetric.com
79
+ - scott.matthewman@gmail.com
80
+ - engineering@altmetric.com
79
81
  executables: []
80
82
  extensions: []
81
83
  extra_rdoc_files: []
@@ -129,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
131
  version: '0'
130
132
  requirements: []
131
133
  rubyforge_project:
132
- rubygems_version: 2.6.12
134
+ rubygems_version: 2.6.8
133
135
  signing_key:
134
136
  specification_version: 4
135
137
  summary: A centralised store of house style rules