rf-stylez 0.2.9 → 0.2.10

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: 6c59655e014df6df6ea376222c4a9ae6cfd79f53737ef5037bb736242e0003ec
4
- data.tar.gz: b65af0effe13bb9e49c627d590c1973b8ec776e533ac15c547e286f245ef7673
3
+ metadata.gz: 7e35201960c4f61dccd6cfe5cca8946beeb58f7c2173fb8de02e33f66141cda2
4
+ data.tar.gz: bf515f81449e75aa0f31a7bd2bbd44a12cc048cbe61815863a61ab49d97e3f2b
5
5
  SHA512:
6
- metadata.gz: 1448138de62483389ce9d8001ad71ac90e51b8f76deea00cb3bfda6628ea73abc96f29bacb41eb042be21f3158a8117bc9a740a3f90458e2a84059e7b27fe37a
7
- data.tar.gz: d8746ad5a6c5c832a23c52ab2fa090c2d23b5112e26ced68620173b156be84fd2952c5ed61f52f726e54ec11f4e00b40843d26674396d9ac9d3de79e5f26b052
6
+ metadata.gz: db5c9b8a5564bf4ff7640754fa1d76a001537be02b265e9414a7b92f05a4e10251a2e2457d184a6fdbdd019f2717709529fc29c66ab33d4226c2c167073c2717
7
+ data.tar.gz: 3de6ddf50e6d6bfc8e5de944f101344ea8f8aa71623bd884c47c6d387ab0f04a094eb06a7ad36381a1fa5f3843130ea4b8f2cc71b52f5079262256d246fbf841
@@ -3,7 +3,7 @@ version: 2
3
3
  jobs:
4
4
  push_to_rubygems:
5
5
  docker:
6
- - image: circleci/ruby:2.4.4
6
+ - image: circleci/ruby:2.5.1
7
7
  steps:
8
8
  - checkout
9
9
  - run:
@@ -1,4 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.0
3
+ - 2.5.1
4
+ - 2.4.4
4
5
  before_install: gem install bundler -v 1.10.6
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Rf
3
3
  module Stylez
4
- VERSION = '0.2.9'
4
+ VERSION = '0.2.10'
5
5
  end
6
6
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_runtime_dependency 'rubocop', '~> 0.51.0'
22
+ spec.add_runtime_dependency 'rubocop', '~> 0.59.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.10'
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,9 +1,12 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
2
+ TargetRubyVersion: 2.5
3
3
  DisabledByDefault: true
4
4
  Include:
5
+ - '**/*.rb'
6
+ - '**/*.rake'
5
7
  - '**/Rakefile'
6
- - '**/config.ru'
8
+ - '**/Guardfile'
9
+ - '**/*.ru'
7
10
  - '**/Gemfile'
8
11
  Exclude:
9
12
  - 'db/**/*'
@@ -14,6 +17,14 @@ inherit_from:
14
17
  ./rubocop_lint.yml
15
18
 
16
19
  # Good style cops
20
+ Layout/BlockAlignment:
21
+ Enabled: true
22
+ Layout/EndAlignment:
23
+ Enabled: true
24
+ Layout/DefEndAlignment:
25
+ Enabled: true
26
+ Layout/ConditionPosition:
27
+ Enabled: true
17
28
  Layout/TrailingBlankLines:
18
29
  Enabled: true
19
30
  Layout/TrailingWhitespace:
@@ -110,7 +121,10 @@ Style/RedundantFreeze:
110
121
  Style/TrailingCommaInArguments:
111
122
  Enabled: true
112
123
  EnforcedStyleForMultiline: no_comma
113
- Style/TrailingCommaInLiteral:
124
+ Style/TrailingCommaInArrayLiteral:
125
+ Enabled: true
126
+ EnforcedStyleForMultiline: consistent_comma
127
+ Style/TrailingCommaInHashLiteral:
114
128
  Enabled: true
115
129
  EnforcedStyleForMultiline: consistent_comma
116
130
  Style/MultilineIfThen:
@@ -16,29 +16,14 @@ Lint/AssignmentInCondition:
16
16
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
17
17
  Enabled: true
18
18
 
19
- Lint/BlockAlignment:
20
- Description: 'Align block ends correctly.'
21
- Enabled: true
22
-
23
19
  Lint/CircularArgumentReference:
24
20
  Description: "Default values in optional keyword arguments and optional ordinal arguments should not refer back to the name of the argument."
25
21
  Enabled: true
26
22
 
27
- Lint/ConditionPosition:
28
- Description: >-
29
- Checks for condition placed in a confusing position relative to
30
- the keyword.
31
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#same-line-condition'
32
- Enabled: true
33
-
34
23
  Lint/Debugger:
35
24
  Description: 'Check for debugger calls.'
36
25
  Enabled: true
37
26
 
38
- Lint/DefEndAlignment:
39
- Description: 'Align ends corresponding to defs correctly.'
40
- Enabled: true
41
-
42
27
  Lint/DeprecatedClassMethods:
43
28
  Description: 'Check for deprecated class method calls.'
44
29
  Enabled: true
@@ -67,10 +52,6 @@ Lint/EmptyInterpolation:
67
52
  Description: 'Checks for empty string interpolation.'
68
53
  Enabled: true
69
54
 
70
- Lint/EndAlignment:
71
- Description: 'Align ends correctly.'
72
- Enabled: true
73
-
74
55
  Lint/EndInMethod:
75
56
  Description: 'END blocks should not be placed inside method definitions.'
76
57
  Enabled: true
@@ -176,7 +157,7 @@ Lint/UnderscorePrefixedVariableName:
176
157
  Description: 'Do not use prefix `_` for a variable that is used.'
177
158
  Enabled: true
178
159
 
179
- Lint/UnneededDisable:
160
+ Lint/UnneededCopDisableDirective:
180
161
  Description: >-
181
162
  Checks for rubocop:disable comments that can be removed.
182
163
  Note: this cop is not disabled when disabling all cops.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rf-stylez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emanuel Evans
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-23 00:00:00.000000000 Z
11
+ date: 2018-09-14 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.51.0
19
+ version: 0.59.0
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.51.0
26
+ version: 0.59.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement