ragnarson-stylecheck 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/config/rubocop.yml +26 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1e640a46c3a0d58c69a6dbffdfe7b8bfd4a2555
4
- data.tar.gz: f48896e82c18f912beeecaec174a809460090a7b
3
+ metadata.gz: 43823b834f1fa9d0b5d5d2732b2cfad5ba874e40
4
+ data.tar.gz: 2e6f6e043bf6702b06962e7c71199841e69c92dc
5
5
  SHA512:
6
- metadata.gz: bb930b25fe0ea37a4dfec7b744007a9ea697ce16b360d28a58760ce58908411c69f673e19010daa4e892168ce816858570b47ae31e2127c248db91f7adaef540
7
- data.tar.gz: baa00b610cd1fc90401d066fb334c51e7b49bb9404ca8afe6a99ffaa58113ff23c98db5219d6a542bafa6e2caf80a2861986dffebef997f80b69281dc6400533
6
+ metadata.gz: d5f82b5fa6d16fac34efd0f716749eda6429317e0b6795f63024d9d97dfc63209d48a4027c914833dc4a47df32f9cbe04e3bec4b4a4f26d1276d6f2730623278
7
+ data.tar.gz: 78172a49f2c0f6ae5a846b2a60a3b7011e556c20e0a655f43df0717ef79b6fcd6c1e2b1f9a768de56693e91a866047989856e4dd773cc786923a58b44352c79d
data/config/rubocop.yml CHANGED
@@ -73,6 +73,21 @@ Style/StringLiteralsInInterpolation:
73
73
  Style/TrailingCommaInLiteral:
74
74
  Enabled: false
75
75
 
76
+ Style/PercentLiteralDelimiters:
77
+ PreferredDelimiters:
78
+ "%": ()
79
+ "%i": ()
80
+ "%q": ()
81
+ "%Q": ()
82
+ "%r": "{}"
83
+ "%s": ()
84
+ "%w": ()
85
+ "%W": ()
86
+ "%x": ()
87
+
88
+ Style/FormatStringToken:
89
+ EnforcedStyle: template
90
+
76
91
  ##################### Metrics ##################################
77
92
 
78
93
  Metrics/AbcSize:
@@ -98,6 +113,7 @@ Metrics/ParameterLists:
98
113
  ##################### Rails ##################################
99
114
 
100
115
  AllCops:
116
+ DisplayCopNames: true
101
117
  Exclude:
102
118
  - db/schema.rb
103
119
  - bin/**
@@ -106,3 +122,13 @@ AllCops:
106
122
  Style/BlockDelimiters:
107
123
  Exclude:
108
124
  - "spec/**/*"
125
+
126
+ Metrics/BlockLength:
127
+ Exclude:
128
+ - "spec/**/*.rb"
129
+ - "config/**/*.rb"
130
+
131
+ Lint/AmbiguousBlockAssociation:
132
+ Exclude:
133
+ - "spec/**/*.rb"
134
+ - "config/**/*.rb"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragnarson-stylecheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzesiek Kołodziejczyk
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-03-30 00:00:00.000000000 Z
14
+ date: 2017-07-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler