guard-brakeman 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +15 -0
  2. data/README.md +1 -0
  3. data/lib/guard/brakeman.rb +7 -0
  4. metadata +47 -69
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZDJkYWFjZDk0YTUxMWZiN2Y1ZmEyNTkzNWE5YzM4NTQzZmViY2VmOA==
5
+ data.tar.gz: !binary |-
6
+ NWRiZTJlOGU4YTgyY2EwZWE3NTgyN2VlNjUxOWJlYmNkZjg2YWJkMA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ N2E4NzkyNTQxZDU3NzYxYzkwNDM4MWFhMDdjNmE1NDEwYjZiZTMwODQ2ZDUy
10
+ OTNkNGIxMGY4ZGRmNjI3M2ExZDJhZDJjODU5YWMxNjY5OWUxM2Q1YjUwZTYy
11
+ NGMxNDdhMjU4ZjRiZTYwOWIwZGE3Y2Y4NzM5OTBkYmM4YTg1ZGE=
12
+ data.tar.gz: !binary |-
13
+ ZGQ4MThkNWVmZjVhN2JhYmJmOTdlYzBlMzNlZTQ2ZjA2YTUyNzgyYzNlOTkz
14
+ MjM0OGUzZjgzYzI4ZTg0ZTU5OGE1OTkyYmRiY2NmZWRiMjllOWQyYTM3ZDY2
15
+ ODBhMzVhZDQ5NWIxNWE4MDY2MWI3ZjI4MzM2NjJmZWQwNDhiMjA=
data/README.md CHANGED
@@ -56,6 +56,7 @@ Please read the [Guard documentation](http://github.com/guard/guard#readme) for
56
56
  :run_on_start => true # run all checks on startup, defaults to false
57
57
  :min_confidence => 3 # only alert on warnings above a threshold, defaults to 1
58
58
  :chatty => true # notify on ALL changes. Defaults to false, only new or fixed warnings trigger a Growl
59
+ :url_safe_methods => %w(method1 method2) # list methods which are safe for use in link_to URLs
59
60
  ```
60
61
 
61
62
  ## Brakeman configuration
@@ -21,6 +21,13 @@ module Guard
21
21
  end
22
22
  end
23
23
 
24
+ if options[:url_safe_methods]
25
+ options[:url_safe_methods]=
26
+ options[:url_safe_methods].map do |val|
27
+ val.to_sym
28
+ end
29
+ end
30
+
24
31
  # chatty implies notifications
25
32
  options[:notifications] = true if options[:chatty]
26
33
 
metadata CHANGED
@@ -1,102 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: guard-brakeman
3
- version: !ruby/object:Gem::Version
4
- hash: 61
5
- prerelease:
6
- segments:
7
- - 0
8
- - 8
9
- - 1
10
- version: 0.8.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.2
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Neil Matatall
14
8
  - Justin Collins
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2013-08-28 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2014-08-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: guard
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 19
30
- segments:
31
- - 1
32
- - 1
33
- - 0
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ! '>='
19
+ - !ruby/object:Gem::Version
34
20
  version: 1.1.0
35
21
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: brakeman
39
22
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 9
46
- segments:
47
- - 2
48
- - 1
49
- - 1
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ! '>='
26
+ - !ruby/object:Gem::Version
27
+ version: 1.1.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: brakeman
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
50
34
  version: 2.1.1
51
35
  type: :runtime
52
- version_requirements: *id002
53
- description: Guard::Brakeman automatically scans your Rails app for vulnerabilities using the Brakeman Scaner https://github.com/presidentbeef/brakeman
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ! '>='
40
+ - !ruby/object:Gem::Version
41
+ version: 2.1.1
42
+ description: Guard::Brakeman automatically scans your Rails app for vulnerabilities
43
+ using the Brakeman Scaner https://github.com/presidentbeef/brakeman
54
44
  email:
55
45
  executables: []
56
-
57
46
  extensions: []
58
-
59
47
  extra_rdoc_files: []
60
-
61
- files:
48
+ files:
62
49
  - lib/guard/brakeman/templates/Guardfile
63
50
  - lib/guard/brakeman.rb
64
51
  - LICENSE
65
52
  - README.md
66
53
  homepage: https://github.com/guard/guard-brakeman
67
- licenses:
54
+ licenses:
68
55
  - MIT
56
+ metadata: {}
69
57
  post_install_message:
70
- rdoc_options:
58
+ rdoc_options:
71
59
  - --charset=UTF-8
72
60
  - --main=README.md
73
61
  - --exclude='(test|spec)|(Gem|Guard|Rake)file'
74
- require_paths:
62
+ require_paths:
75
63
  - lib
76
- required_ruby_version: !ruby/object:Gem::Requirement
77
- none: false
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- hash: 3
82
- segments:
83
- - 0
84
- version: "0"
85
- required_rubygems_version: !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- hash: 3
91
- segments:
92
- - 0
93
- version: "0"
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ! '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
94
74
  requirements: []
95
-
96
75
  rubyforge_project: guard-brakeman
97
- rubygems_version: 1.8.24
76
+ rubygems_version: 2.1.1
98
77
  signing_key:
99
- specification_version: 3
78
+ specification_version: 4
100
79
  summary: Guard gem for Brakeman
101
80
  test_files: []
102
-