rubocop_config 0.47.1.2 → 0.48.1.1
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 +4 -4
- data/.rubocop.yml +10 -0
- data/Gemfile +1 -0
- data/README.md +5 -0
- data/bin/rubocop-config +1 -0
- data/lib/rubocop_config/runner.rb +1 -0
- data/lib/rubocop_config/version.rb +2 -1
- data/rubocop_config.gemspec +2 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c26724e44df96514d1518447ea5cf79e5dcadee
|
4
|
+
data.tar.gz: dfcca3d2c073bc8c347c3c08d4d57b077d038ebd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 619025e15128b7950eccdb1bce7d888b1dc2b16ffe4fe5171d4bb20914cac5d79bb3c9d3d5effd69cd4a2b1f9700bc386f48f45bbb45555a18b64c045b8dc4f9
|
7
|
+
data.tar.gz: 246900690203775f4fd2bc9de6524bdc01f799621dd755541c44f6982b430b189e37420e757567784674a01b858449a24c350e22da10692d29a8139d1e9c524c
|
data/.rubocop.yml
CHANGED
@@ -3,6 +3,9 @@ AllCops:
|
|
3
3
|
|
4
4
|
#################### Lint ################################
|
5
5
|
|
6
|
+
Lint/AmbiguousBlockAssociation:
|
7
|
+
Enabled: false
|
8
|
+
|
6
9
|
Lint/AmbiguousOperator:
|
7
10
|
Description: >-
|
8
11
|
Checks for ambiguous operators in the first argument of a
|
@@ -845,6 +848,13 @@ Style/PercentLiteralDelimiters:
|
|
845
848
|
Description: 'Use `%`-literal delimiters consistently'
|
846
849
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-literal-braces'
|
847
850
|
Enabled: true
|
851
|
+
PreferredDelimiters:
|
852
|
+
default: ()
|
853
|
+
'%i': '()'
|
854
|
+
'%I': '()'
|
855
|
+
'%r': '{}'
|
856
|
+
'%w': '()'
|
857
|
+
'%W': '()'
|
848
858
|
|
849
859
|
Style/PercentQLiterals:
|
850
860
|
Description: 'Checks if uses of %Q/%q match the configured preference.'
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -8,6 +8,11 @@
|
|
8
8
|
|
9
9
|
`rubocop-config`
|
10
10
|
|
11
|
+
If you want to supply your own .rubocop.yml file add it as an optional
|
12
|
+
command line argument:
|
13
|
+
|
14
|
+
`rubocop-config path/to/file.yml`
|
15
|
+
|
11
16
|
## Development
|
12
17
|
|
13
18
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/bin/rubocop-config
CHANGED
data/rubocop_config.gemspec
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
# frozen_string_literal: true
|
3
|
+
|
3
4
|
lib = File.expand_path("../lib", __FILE__)
|
4
5
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
6
|
require "rubocop_config/version"
|
@@ -20,6 +21,6 @@ Gem::Specification.new do |spec|
|
|
20
21
|
|
21
22
|
spec.add_development_dependency "bundler"
|
22
23
|
spec.add_development_dependency "rake"
|
23
|
-
spec.add_development_dependency "rubocop", "~> 0.
|
24
|
+
spec.add_development_dependency "rubocop", "~> 0.48.1"
|
24
25
|
spec.add_development_dependency "pry"
|
25
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- npezza93
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.48.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.48.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|