rubocop_default_config 0.1.4 → 0.1.5
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/lib/rubocop_config.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78bcb003c71cc460968248ef1aa9b5efba7df50e
|
4
|
+
data.tar.gz: f40db3d47784504cfba14393ae28916708739fd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d87a266bf822a10c689d44895b18ee78e1929b34eb13d80681f7266f69e45ad39a7deafde605e00afc39955b6e4e05d3bd8b95ec049047243ccb34c1a98f98ba
|
7
|
+
data.tar.gz: b9b666b8fdf80ed57e968cc51f1f5c436dcc6f20a30c1496db7b51e46e2b3cb9ef9bc8596f278c58077370050b332991e4fbfd0738e67230232603abf93de4e5
|
data/lib/rubocop_config.rb
CHANGED
@@ -5,9 +5,11 @@ class RubocopConfig
|
|
5
5
|
# Run *rubocop_config* to generate .rubocop.yml file.
|
6
6
|
|
7
7
|
def generate_to_do_list
|
8
|
-
generate_default_config
|
9
8
|
puts "Generating rubocop todo config ..."
|
10
|
-
|
9
|
+
# Comment because bugs missing offenses file Exclude
|
10
|
+
# system('rubocop --auto-gen-config --exclude-limit 9999')
|
11
|
+
system('rubocop --auto-gen-config')
|
12
|
+
generate_default_config
|
11
13
|
end
|
12
14
|
|
13
15
|
def generate_default_config
|