brakeman 1.6.0.pre1 → 1.6.0
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.
- data/README.md +6 -0
- data/lib/brakeman/version.rb +1 -1
- metadata +8 -12
data/README.md
CHANGED
|
@@ -105,6 +105,12 @@ Brakeman will raise warnings on models that use `attr_protected`. To suppress th
|
|
|
105
105
|
|
|
106
106
|
brakeman --ignore-protected
|
|
107
107
|
|
|
108
|
+
To compare results of a scan with a previous scan, use the JSON output option and then:
|
|
109
|
+
|
|
110
|
+
brakeman --compare old_report.json
|
|
111
|
+
|
|
112
|
+
This will output JSON with two lists: one of fixed warnings and one of new warnings.
|
|
113
|
+
|
|
108
114
|
# Warning information
|
|
109
115
|
|
|
110
116
|
See WARNING\_TYPES for more information on the warnings reported by this tool.
|
data/lib/brakeman/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brakeman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 15
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 6
|
|
9
9
|
- 0
|
|
10
|
-
|
|
11
|
-
- 1
|
|
12
|
-
version: 1.6.0.pre1
|
|
10
|
+
version: 1.6.0
|
|
13
11
|
platform: ruby
|
|
14
12
|
authors:
|
|
15
13
|
- Justin Collins
|
|
@@ -17,7 +15,7 @@ autorequire:
|
|
|
17
15
|
bindir: bin
|
|
18
16
|
cert_chain: []
|
|
19
17
|
|
|
20
|
-
date: 2012-04-
|
|
18
|
+
date: 2012-04-20 00:00:00 Z
|
|
21
19
|
dependencies:
|
|
22
20
|
- !ruby/object:Gem::Dependency
|
|
23
21
|
name: activesupport
|
|
@@ -291,14 +289,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
291
289
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
290
|
none: false
|
|
293
291
|
requirements:
|
|
294
|
-
- - "
|
|
292
|
+
- - ">="
|
|
295
293
|
- !ruby/object:Gem::Version
|
|
296
|
-
hash:
|
|
294
|
+
hash: 3
|
|
297
295
|
segments:
|
|
298
|
-
-
|
|
299
|
-
|
|
300
|
-
- 1
|
|
301
|
-
version: 1.3.1
|
|
296
|
+
- 0
|
|
297
|
+
version: "0"
|
|
302
298
|
requirements: []
|
|
303
299
|
|
|
304
300
|
rubyforge_project:
|