netsoft-danger 0.3.0 → 0.3.1

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: ed4179318732a96ccb2143ed81c4883f5b3d09b510430dc90444e30d5884bb6d
4
- data.tar.gz: 960344a9abbf87cf2822b69df41732f1e4f656c496e3e2b7397c82b6995bcf7d
3
+ metadata.gz: 63aa292fae8444515f4e8851f5b818f4b9451c72b691ae30a8471520d4e59fe6
4
+ data.tar.gz: d000662c74328986252a84de41c9d5b6fa3625eed341944c5da1eac897d32ec8
5
5
  SHA512:
6
- metadata.gz: d55935c5a579644f9fc95cb649a51ab00d200fecea37ef19cb7e30ca88cb672bb90e37bfa74f256507cb4e07fd6e3af9260851d9d95e6ca012bc108968f16ff2
7
- data.tar.gz: 8ec910b5a74b6b419cfb1bbac8ab87d0eab232c97f3e0550257a0957e01282dff2e2f42c9cb20f9385586f7a5dffb19c88480b6656f58e12ce72eea04674e99d
6
+ metadata.gz: 65838c8c49367f2f32e136d5fd9fa878d354d2a7eb9487bc4fdd4212576c7c0b5afc9a8788343769f4f80653a11fce40a9393e4c1609efd7a8986f7d43884086
7
+ data.tar.gz: d776b293d96e1e60ef1a121ddd12819bfe2c2b73d44850ecb7b6952b6d2e7564aecbdaa6508396a2fbfebbbbe8830bc5d3e8a38d794745ee9231125da7d38b9e
@@ -1,3 +1,3 @@
1
1
  module NetsoftDanger
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
@@ -16,31 +16,76 @@ AllCops:
16
16
  - 'public/**/*'
17
17
  - 'tmp/**/*'
18
18
  - 'spec/dummy/**/*'
19
+
20
+ Naming/RescuedExceptionsVariableName:
21
+ PreferredName: ex
22
+ Naming/UncommunicativeMethodParamName:
23
+ AllowedNames:
24
+ - me
25
+ - ex
26
+
27
+ Layout/AlignHash:
28
+ EnforcedHashRocketStyle: table
29
+ EnforcedColonStyle: table
30
+ Layout/ExtraSpacing:
31
+ AllowForAlignment: true
32
+ Layout/IndentAssignment:
33
+ IndentationWidth: 4
34
+ Layout/IndentFirstArrayElement:
35
+ EnforcedStyle: consistent
36
+ IndentationWidth: 4
37
+ Layout/IndentFirstHashElement:
38
+ EnforcedStyle: consistent
39
+ IndentationWidth: 4
40
+ Layout/SpaceInsideBlockBraces:
41
+ EnforcedStyle: no_space
42
+ SpaceBeforeBlockParameters: false
43
+ Layout/SpaceInsideHashLiteralBraces:
44
+ EnforcedStyle: no_space
45
+
46
+ Lint/AmbiguousBlockAssociation:
47
+ Exclude:
48
+ - spec/**/*
49
+
19
50
  Rails:
20
51
  Enabled: true
21
52
  Rails/HttpPositionalArguments:
22
53
  Enabled: false
54
+ Rails/SkipsModelValidations:
55
+ Whitelist:
56
+ - touch
57
+ - update_attribute
58
+ - update_counters
59
+ - increment_counter
60
+ - decrement_counter
23
61
  Netsoft/AuthHttpPositionalArguments:
24
62
  Enabled: true
25
63
  Include:
26
64
  - 'spec/controllers/**/*'
27
- RSpec/NotToNot:
28
- EnforcedStyle: to_not
65
+
29
66
  RSpec/ExpectChange:
30
67
  EnforcedStyle: block
68
+ RSpec/ImplicitSubject:
69
+ Enabled: false
70
+ RSpec/MessageSpies:
71
+ Enabled: false
72
+ RSpec/NamedSubject:
73
+ Enabled: false
74
+ RSpec/NestedGroups:
75
+ Enabled: false
76
+ RSpec/NotToNot:
77
+ EnforcedStyle: to_not
78
+
79
+ Style/AndOr:
80
+ EnforcedStyle: conditionals
81
+ Style/BlockDelimiters:
82
+ EnforcedStyle: semantic
83
+ AllowBracesOnProceduralOneLiners: true
84
+ Style/MultilineBlockChain:
85
+ Enabled: false
86
+ Style/RescueModifier:
87
+ Enabled: false
31
88
  Style/TrailingCommaInArrayLiteral:
32
89
  EnforcedStyleForMultiline: comma
33
90
  Style/TrailingCommaInHashLiteral:
34
- EnforcedStyleForMultiline: comma
35
- Layout/SpaceInsideBlockBraces:
36
- EnforcedStyle: no_space
37
- SpaceBeforeBlockParameters: false
38
- Layout/AlignHash:
39
- EnforcedHashRocketStyle: table
40
- EnforcedColonStyle: table
41
- Layout/IndentFirstHashElement:
42
- IndentationWidth: 4
43
- Layout/SpaceInsideHashLiteralBraces:
44
- EnforcedStyle: no_space
45
- Layout/IndentAssignment:
46
- IndentationWidth: 4
91
+ EnforcedStyleForMultiline: comma
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsoft-danger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - urkle