escape_escape_escape 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -1
- data/VERSION +1 -1
- data/escape_escape_escape.gemspec +7 -7
- data/lib/escape_escape_escape.rb +0 -4
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82520d557407feddd9e9333ae4965d71fed03a2c
|
4
|
+
data.tar.gz: dbb1870892902a3b65390c4383f0645ae3c35c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d33ba7a8cf5309c2885f3af8c733f8877dd89e49dff4f7cf4916891e2350d79ec1a38e236f03640fb329e65bc4bce36aaeac1a1e39d0fd519c1efd3b82275bee
|
7
|
+
data.tar.gz: 600d997348b4148943725a1220c4de706b8d4eb75ed30d092310b47b8a502d6cbde64b15c00214d9b39db45e401213f6976a7cc7f928eb92fbc163ff2241fbb4
|
data/README.md
CHANGED
@@ -2,9 +2,11 @@ What is it?
|
|
2
2
|
====================
|
3
3
|
|
4
4
|
My way of escaping and sanitizing HTML.
|
5
|
+
This is very personal to me, so you won't
|
6
|
+
find it useful or flexible to meet your needs.
|
5
7
|
|
6
8
|
|
7
|
-
Use:
|
9
|
+
NPM Use:
|
8
10
|
=====================
|
9
11
|
|
10
12
|
|
@@ -12,3 +14,12 @@ Use:
|
|
12
14
|
|
13
15
|
var E = require("escape_escape_escape").Sanitize.html;
|
14
16
|
E("The <strong>brave</strong> and the <b>bold</b>.");
|
17
|
+
|
18
|
+
Rubygems Use:
|
19
|
+
=====================
|
20
|
+
|
21
|
+
|
22
|
+
# gem install escape_escape_escape
|
23
|
+
|
24
|
+
Escape_Escape_Escape.html my_html_string
|
25
|
+
Escape_Escape_Escape.text my_text_string
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -21,12 +21,12 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.add_dependency "sanitize" , "
|
24
|
+
spec.add_dependency "sanitize" , ">= 3.0"
|
25
25
|
|
26
|
-
spec.add_development_dependency "pry" , "
|
27
|
-
spec.add_development_dependency "rake" , "
|
28
|
-
spec.add_development_dependency "bundler" , "
|
29
|
-
spec.add_development_dependency "bacon" , "
|
30
|
-
spec.add_development_dependency "Bacon_Colored" , "
|
31
|
-
spec.add_development_dependency "multi_json" , "
|
26
|
+
spec.add_development_dependency "pry" , ">= 0.9"
|
27
|
+
spec.add_development_dependency "rake" , ">= 10.3"
|
28
|
+
spec.add_development_dependency "bundler" , ">= 1.5"
|
29
|
+
spec.add_development_dependency "bacon" , ">= 1.0"
|
30
|
+
spec.add_development_dependency "Bacon_Colored" , ">= 0.1"
|
31
|
+
spec.add_development_dependency "multi_json" , ">= 1.10"
|
32
32
|
end
|
data/lib/escape_escape_escape.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: escape_escape_escape
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- da99
|
@@ -14,98 +14,98 @@ dependencies:
|
|
14
14
|
name: sanitize
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.9'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.9'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '10.3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.5'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.5'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bacon
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: Bacon_Colored
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.1'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.1'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: multi_json
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '1.10'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '1.10'
|
111
111
|
description: "\n My way of escaping/encoding HTML with the proper entities.\n "
|