mavenlint 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocop/cop/mavenlint/unsafe-mass-assignment.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 882e8d33124b9ee52b9217164397280aa6cd66c9
|
4
|
+
data.tar.gz: 72741abfa7c50f4d25796611cc1a2f7173fd6c32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b22956d519f95a4ffb3fdae9a25c83718f072e6c26e1c2c4f9fa68b2d457fe7b6a4b85f14c3f29b2f083767e2774639cdf6068340c045c6b292ba0b1fa449307
|
7
|
+
data.tar.gz: a377001f38dd395d3116ac2596810a6bf8cdb90be8058a0df4420d1e98b294b0ba8fd492621d72fe847a2a2294a76f7a0bb2c9cb7e4b232e3ee40d3dd9c46d6c
|
@@ -15,7 +15,7 @@ module RuboCop
|
|
15
15
|
# or updated through a publicly accessible endpoint, because the associated model isn't
|
16
16
|
# necessarily loaded and ran through security checks.
|
17
17
|
class UnsafeMassAssignment < RuboCop::Cop::Cop
|
18
|
-
MSG = "Do not allow mass-assignment of foreign key columns".freeze
|
18
|
+
MSG = "Do not allow mass-assignment of foreign key columns. See http://bit.ly/2IjZco0".freeze
|
19
19
|
|
20
20
|
def on_send(node)
|
21
21
|
return unless node.command?(:attr_accessible)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mavenlint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mavenlnk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|