rubocop_default_config 0.0.3 → 0.0.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 +4 -4
- data/lib/rubocop_config.rb +2 -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: e3c063d51a368683da7d036f09559258952d80e6
|
4
|
+
data.tar.gz: eaeab342a06f917692c4c3f7e0526119da03bfa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4054f356a3bbcde49ee3a9742149d384cde6493e7325209c464820f7320e58d4cd373784f929983a80a6123907ebb24b2b55faa4e50fa176888ce8e21143e23
|
7
|
+
data.tar.gz: e1813681f138d79e5f6d989bf2610e47d43ff2dbd146c30e0f74a0bd1717c4e40fdecb13018478b2f93480f25cdf4bc5289e5020ed84e4964964346a3766e158
|
data/lib/rubocop_config.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
require "erb"
|
2
2
|
require "yaml"
|
3
3
|
class RubocopConfig
|
4
|
+
# Generate popular config for RuboCop
|
5
|
+
# Run rubocop_config
|
4
6
|
def self.rubocop_generate_config
|
5
|
-
# Generate popular config for RuboCop
|
6
|
-
# Run rubocop_config
|
7
7
|
puts "Generating rubocop config ..."
|
8
8
|
file_name = ".rubocop.yml"
|
9
9
|
config_file = File.expand_path File.dirname(__FILE__) + '/.rubocop_popular_config.yml'
|