brakeman 1.1.pre → 1.1.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 CHANGED
@@ -77,6 +77,12 @@ Normally Brakeman will parse `routes.rb` and attempt to infer which controller m
77
77
 
78
78
  Note that this will be enabled automatically if Brakeman runs into an error while parsing the routes.
79
79
 
80
+ If Brakeman is running a bit slow, try
81
+
82
+ brakeman --faster
83
+
84
+ This will disable some features, but will probably be much faster (currently it is the same as `--skip-libs --no-branching`). *WARNING*: This may cause Brakeman to miss some vulnerabilities.
85
+
80
86
  By default, Brakeman will return 0 as an exit code unless something when very wrong. To return an error code when warnings were found:
81
87
 
82
88
  brakeman -z
data/bin/brakeman CHANGED
@@ -40,7 +40,7 @@ OptionParser.new do |opts|
40
40
  options[:exit_on_warn] = s
41
41
  end
42
42
 
43
- opts.on "-3", "--rails3", "[Experimental] Force Rails 3 mode" do
43
+ opts.on "-3", "--rails3", "Force Rails 3 mode" do
44
44
  options[:rails3] = true
45
45
  end
46
46
 
data/lib/brakeman.rb CHANGED
@@ -77,7 +77,7 @@ module Brakeman
77
77
 
78
78
  if File.exist? app_path + "/script/rails"
79
79
  options[:rails3] = true
80
- warn "[Notice] Detected Rails 3 application. Enabling experimental Rails 3 support."
80
+ warn "[Notice] Detected Rails 3 application"
81
81
  end
82
82
 
83
83
  options
@@ -1,3 +1,3 @@
1
1
  module Brakeman
2
- Version = "1.1.pre"
2
+ Version = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brakeman
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ prerelease: false
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - pre
9
- version: 1.1.pre
8
+ - 0
9
+ version: 1.1.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Justin Collins
@@ -212,13 +212,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
212
  required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  none: false
214
214
  requirements:
215
- - - ">"
215
+ - - ">="
216
216
  - !ruby/object:Gem::Version
217
217
  segments:
218
- - 1
219
- - 3
220
- - 1
221
- version: 1.3.1
218
+ - 0
219
+ version: "0"
222
220
  requirements: []
223
221
 
224
222
  rubyforge_project: