lifen-ruby-style 1.0.4 → 1.0.5

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: d83fc95d69649b222043d845f130a29f96018c26962a032ad01e964710c44427
4
- data.tar.gz: 94ac735a37ef9306e4fbe8a85c9b5bd7c41f5286286a5102c2a5f499a5ea0b6b
3
+ metadata.gz: 98bf06dfd5e89c45b0db61d216c7bebf02d9c0c2c3f5b0f5bf541d7f7ac04549
4
+ data.tar.gz: fe187d143ebf8f45d14aaa4840036f07e298e50a685779b4fa5d7cf4146d75d1
5
5
  SHA512:
6
- metadata.gz: bbb80f85b58c9f588d8b297f31478c1e6aefcc6b910f65f66118b9c0cd3340e96093dd711190dc498f87974a3203315ec4f95693615832190d913a189b221191
7
- data.tar.gz: 5ab2eb5753cdf6e69d1f4ea21f03253d9895f48bd6582d64bac651423f667c5e01f725daaad7e978dd10bbe1e9635df3ab2772984ce93c8ed89851616e2e925d
6
+ metadata.gz: 0bbfa947d38b858e4b7f16f5b20d4fb3c6e09916c2541c246b43fb50b9ee0e3c12a3f5c227b86475588046a71cdacce1b9a30bc59dd03f366b5e040606863dd9
7
+ data.tar.gz: 194a8cd141680f1acbad8e0eb2e5f247cf17b06e65f92066232d3b5832397a0ec9625afa9692bd92a2395b0683249160c9ee7f346690c45c790f9d2bfc58b729
@@ -19,6 +19,7 @@ PreCommit:
19
19
  RuboCop:
20
20
  enabled: true
21
21
  command: ["bundle", "exec", "rubocop"]
22
+ problem_on_unmodified_line: ignore
22
23
 
23
24
  GoFmt:
24
25
  enabled: false
data/README.md CHANGED
@@ -123,17 +123,20 @@ $ bundle exec overcommit --install
123
123
  - Paramétrage recommandé pour l'auto-formatting :
124
124
 
125
125
  ```json
126
+ "editor.formatOnPaste": true, // global auto-format code when pasting
127
+ "editor.formatOnSave": true, // global auto-format code when saving
126
128
  "[ruby]": {
127
- "editor.formatOnPaste": true, // auto-format ruby code when pasting
128
- "editor.formatOnSave": true // auto-format ruby code when saving
129
+ "editor.formatOnSave": false // disable auto-format on save only for ruby files
129
130
  },
130
131
  ```
131
132
 
132
133
  ou
133
134
 
134
135
  ```json
135
- "editor.formatOnPaste": true, // auto-format code when pasting
136
- "editor.formatOnSave": true, // auto-format code when saving
136
+ "[ruby]": {
137
+ "editor.formatOnPaste": true, // auto-format ruby code when pasting
138
+ "editor.formatOnSave": false // auto-format ruby code when saving
139
+ },
137
140
  ```
138
141
 
139
142
  ### 3. Bonus - Autres extensions utiles :
@@ -91,6 +91,10 @@ Metrics/PerceivedComplexity:
91
91
  Naming/MemoizedInstanceVariableName:
92
92
  EnforcedStyleForLeadingUnderscores: required
93
93
 
94
+ RSpec/DescribeClass:
95
+ Exclude:
96
+ - spec/lib/tasks/deployment/**/*
97
+
94
98
  Style/BlockDelimiters:
95
99
  EnforcedStyle: braces_for_chaining
96
100
 
@@ -3,7 +3,7 @@
3
3
  module Lifen
4
4
  module RubyStyle
5
5
 
6
- VERSION = '1.0.4'
6
+ VERSION = '1.0.5'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lifen-ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Lifen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-06 00:00:00.000000000 Z
11
+ date: 2020-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: overcommit