brakeman 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,6 +35,6 @@ class CheckTranslateBug < BaseCheck
35
35
  end
36
36
 
37
37
  def uses_translate?
38
- not tracker.find_call([], :translate).empty?
38
+ not tracker.find_call([], [:t, :translate]).empty?
39
39
  end
40
40
  end
@@ -54,7 +54,7 @@ class ConfigProcessor < BaseProcessor
54
54
 
55
55
  #Look for configuration settings
56
56
  def process_attrasgn exp
57
- return unless @inside_config
57
+ return exp unless @inside_config
58
58
 
59
59
  if exp[1] == RAILS_CONFIG
60
60
  #Get rid of '=' at end
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- Version = "0.9.1"
1
+ Version = "0.9.2"
metadata CHANGED
@@ -1,90 +1,120 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: brakeman
3
- version: !ruby/object:Gem::Version
4
- version: 0.9.1
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 9
8
+ - 2
9
+ version: 0.9.2
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Justin Collins
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2011-11-18 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2011-11-21 00:00:00 -08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: activesupport
16
- requirement: &74757330 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
25
+ requirements:
19
26
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '2.2'
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 2
31
+ version: "2.2"
22
32
  type: :runtime
23
- prerelease: false
24
- version_requirements: *74757330
25
- - !ruby/object:Gem::Dependency
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
26
35
  name: ruby2ruby
27
- requirement: &74757080 !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
28
38
  none: false
29
- requirements:
39
+ requirements:
30
40
  - - ~>
31
- - !ruby/object:Gem::Version
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 1
44
+ - 2
45
+ - 4
32
46
  version: 1.2.4
33
47
  type: :runtime
34
- prerelease: false
35
- version_requirements: *74757080
36
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
37
50
  name: ruby_parser
38
- requirement: &74756850 !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
39
53
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ segments:
58
+ - 2
59
+ - 3
60
+ - 0
43
61
  version: 2.3.0
44
62
  type: :runtime
45
- prerelease: false
46
- version_requirements: *74756850
47
- - !ruby/object:Gem::Dependency
63
+ version_requirements: *id003
64
+ - !ruby/object:Gem::Dependency
48
65
  name: ruport
49
- requirement: &74756620 !ruby/object:Gem::Requirement
66
+ prerelease: false
67
+ requirement: &id004 !ruby/object:Gem::Requirement
50
68
  none: false
51
- requirements:
69
+ requirements:
52
70
  - - ~>
53
- - !ruby/object:Gem::Version
71
+ - !ruby/object:Gem::Version
72
+ segments:
73
+ - 1
74
+ - 6
75
+ - 3
54
76
  version: 1.6.3
55
77
  type: :runtime
56
- prerelease: false
57
- version_requirements: *74756620
58
- - !ruby/object:Gem::Dependency
78
+ version_requirements: *id004
79
+ - !ruby/object:Gem::Dependency
59
80
  name: erubis
60
- requirement: &74756390 !ruby/object:Gem::Requirement
81
+ prerelease: false
82
+ requirement: &id005 !ruby/object:Gem::Requirement
61
83
  none: false
62
- requirements:
84
+ requirements:
63
85
  - - ~>
64
- - !ruby/object:Gem::Version
86
+ - !ruby/object:Gem::Version
87
+ segments:
88
+ - 2
89
+ - 6
90
+ - 5
65
91
  version: 2.6.5
66
92
  type: :runtime
67
- prerelease: false
68
- version_requirements: *74756390
69
- - !ruby/object:Gem::Dependency
93
+ version_requirements: *id005
94
+ - !ruby/object:Gem::Dependency
70
95
  name: haml
71
- requirement: &74756160 !ruby/object:Gem::Requirement
96
+ prerelease: false
97
+ requirement: &id006 !ruby/object:Gem::Requirement
72
98
  none: false
73
- requirements:
99
+ requirements:
74
100
  - - ~>
75
- - !ruby/object:Gem::Version
101
+ - !ruby/object:Gem::Version
102
+ segments:
103
+ - 3
104
+ - 0
105
+ - 12
76
106
  version: 3.0.12
77
107
  type: :runtime
78
- prerelease: false
79
- version_requirements: *74756160
80
- description: Brakeman detects security vulnerabilities in Ruby on Rails applications
81
- via static analysis.
108
+ version_requirements: *id006
109
+ description: Brakeman detects security vulnerabilities in Ruby on Rails applications via static analysis.
82
110
  email:
83
- executables:
111
+ executables:
84
112
  - brakeman
85
113
  extensions: []
114
+
86
115
  extra_rdoc_files: []
87
- files:
116
+
117
+ files:
88
118
  - bin/brakeman
89
119
  - WARNING_TYPES
90
120
  - FEATURES
@@ -151,28 +181,37 @@ files:
151
181
  - lib/checks.rb
152
182
  - lib/processor.rb
153
183
  - lib/format/style.css
184
+ has_rdoc: true
154
185
  homepage: http://brakemanscanner.org
155
186
  licenses: []
187
+
156
188
  post_install_message:
157
189
  rdoc_options: []
158
- require_paths:
190
+
191
+ require_paths:
159
192
  - lib
160
- required_ruby_version: !ruby/object:Gem::Requirement
193
+ required_ruby_version: !ruby/object:Gem::Requirement
161
194
  none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- required_rubygems_version: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ segments:
199
+ - 0
200
+ version: "0"
201
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
202
  none: false
168
- requirements:
169
- - - ! '>='
170
- - !ruby/object:Gem::Version
171
- version: '0'
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ segments:
207
+ - 0
208
+ version: "0"
172
209
  requirements: []
210
+
173
211
  rubyforge_project:
174
- rubygems_version: 1.8.6
212
+ rubygems_version: 1.3.7
175
213
  signing_key:
176
214
  specification_version: 3
177
215
  summary: Security vulnerability scanner for Ruby on Rails.
178
216
  test_files: []
217
+