xss_shield 1.0.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/MIT-LICENSE +19 -0
- data/README.rdoc +103 -0
- data/Rakefile +33 -0
- data/VERSION +1 -0
- data/init.rb +15 -0
- data/lib/xss_shield/erb_hacks.rb +101 -0
- data/lib/xss_shield/safe_string.rb +42 -0
- data/lib/xss_shield/secure_helpers.rb +118 -0
- data/lib/xss_shield.rb +3 -0
- data/test/active_record_helper_test.rb +55 -0
- data/test/asset_package_test.rb +32 -0
- data/test/asset_tag_helper_test.rb +66 -0
- data/test/date_helper_test.rb +71 -0
- data/test/erb_util_test.rb +30 -0
- data/test/fixtures/hello_world.erb +1 -0
- data/test/form_helper_test.rb +79 -0
- data/test/form_options_helper_test.rb +69 -0
- data/test/form_tag_helper_test.rb +88 -0
- data/test/javascript_helper_test.rb +33 -0
- data/test/prototype_helper_test.rb +60 -0
- data/test/safe_string_test.rb +37 -0
- data/test/template_object_test.rb +33 -0
- data/test/test_helper.rb +71 -0
- data/test/url_helper_test.rb +53 -0
- data/xss_shield.gemspec +76 -0
- metadata +92 -0
metadata
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: xss_shield
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James Tan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-10-07 00:00:00 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: This Rails plugin provides automatic cross site scripting (XSS) protection for your views. Once installed, you no longer have to manually and painstakingly sanitize all your views with HTML escaping.
|
17
|
+
email: jamestyj@gmail.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- README.rdoc
|
24
|
+
files:
|
25
|
+
- MIT-LICENSE
|
26
|
+
- README.rdoc
|
27
|
+
- Rakefile
|
28
|
+
- VERSION
|
29
|
+
- init.rb
|
30
|
+
- lib/xss_shield.rb
|
31
|
+
- lib/xss_shield/erb_hacks.rb
|
32
|
+
- lib/xss_shield/safe_string.rb
|
33
|
+
- lib/xss_shield/secure_helpers.rb
|
34
|
+
- test/active_record_helper_test.rb
|
35
|
+
- test/asset_package_test.rb
|
36
|
+
- test/asset_tag_helper_test.rb
|
37
|
+
- test/date_helper_test.rb
|
38
|
+
- test/erb_util_test.rb
|
39
|
+
- test/fixtures/hello_world.erb
|
40
|
+
- test/form_helper_test.rb
|
41
|
+
- test/form_options_helper_test.rb
|
42
|
+
- test/form_tag_helper_test.rb
|
43
|
+
- test/javascript_helper_test.rb
|
44
|
+
- test/prototype_helper_test.rb
|
45
|
+
- test/safe_string_test.rb
|
46
|
+
- test/template_object_test.rb
|
47
|
+
- test/test_helper.rb
|
48
|
+
- test/url_helper_test.rb
|
49
|
+
- xss_shield.gemspec
|
50
|
+
has_rdoc: true
|
51
|
+
homepage: http://github.com/jamestyj/xss_shield
|
52
|
+
licenses: []
|
53
|
+
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options:
|
56
|
+
- --charset=UTF-8
|
57
|
+
require_paths:
|
58
|
+
- lib
|
59
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: "0"
|
64
|
+
version:
|
65
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: "0"
|
70
|
+
version:
|
71
|
+
requirements: []
|
72
|
+
|
73
|
+
rubyforge_project:
|
74
|
+
rubygems_version: 1.3.5
|
75
|
+
signing_key:
|
76
|
+
specification_version: 3
|
77
|
+
summary: Protect your Rails site from XSS attacks.
|
78
|
+
test_files:
|
79
|
+
- test/asset_tag_helper_test.rb
|
80
|
+
- test/asset_package_test.rb
|
81
|
+
- test/prototype_helper_test.rb
|
82
|
+
- test/erb_util_test.rb
|
83
|
+
- test/date_helper_test.rb
|
84
|
+
- test/template_object_test.rb
|
85
|
+
- test/form_options_helper_test.rb
|
86
|
+
- test/url_helper_test.rb
|
87
|
+
- test/test_helper.rb
|
88
|
+
- test/active_record_helper_test.rb
|
89
|
+
- test/javascript_helper_test.rb
|
90
|
+
- test/safe_string_test.rb
|
91
|
+
- test/form_helper_test.rb
|
92
|
+
- test/form_tag_helper_test.rb
|