taint_aliases 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/lib/taint_aliases/version.rb +1 -1
- data/spec/taint_aliases_spec.rb +13 -9
- data/taint_aliases.gemspec +4 -3
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e791bf14e51fbddef0ab93b1d78cec15e545e7d
|
4
|
+
data.tar.gz: 1bc2f1a7a2fa6bb9774083a052c0fa2a9b687a28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70ee561a9a991a6546de4449d1167f7020a387dc00a730e8bc01ebd840a5b3d354b5daeed4a28c449f494e18012c377d79061b736013e4ec48f84ff47e81660d
|
7
|
+
data.tar.gz: 1e9bb5cd657594d565fbfce87fb16c9d9e1587dfa5ff45138cdffa58637d82b58332d3f65f288397a4e07f33bd33cef16307a8958d8ca950e133e0a38467374c
|
data/README.md
CHANGED
data/spec/taint_aliases_spec.rb
CHANGED
@@ -18,18 +18,22 @@ module TaintAliasesSpec
|
|
18
18
|
end
|
19
19
|
|
20
20
|
describe "subclasses should inherit the aliases" do
|
21
|
+
TaintAliases::TAINT_ALIASES.each do |a|
|
22
|
+
it "should work on Strings" do
|
23
|
+
str = "I'm gettin' tainted"
|
24
|
+
str.public_send a
|
25
|
+
str.should be_tainted
|
26
|
+
end
|
21
27
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
28
|
+
it "should work on Arrays" do
|
29
|
+
ary = []
|
30
|
+
ary.public_send a
|
31
|
+
ary.should be_tainted
|
32
|
+
end
|
26
33
|
end
|
27
34
|
|
28
|
-
|
29
|
-
|
30
|
-
ary.fleshy_fun_bridge
|
31
|
-
ary.should be_tainted
|
32
|
-
end
|
35
|
+
|
36
|
+
|
33
37
|
|
34
38
|
end
|
35
39
|
|
data/taint_aliases.gemspec
CHANGED
@@ -7,10 +7,11 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "taint_aliases"
|
8
8
|
spec.version = TaintAliases::VERSION
|
9
9
|
spec.authors = ["Jason Lewis", "Micah Gates"]
|
10
|
+
|
10
11
|
spec.email = ["jason@decomplecting.org", "github@mgates.com"]
|
11
|
-
spec.description = %q{Handy aliases for taint}
|
12
|
-
spec.summary = %q{Handy aliases for taint}
|
13
|
-
spec.homepage = ""
|
12
|
+
spec.description = %q{Handy aliases for Object#taint}
|
13
|
+
spec.summary = %q{Handy aliases for Object#taint}
|
14
|
+
spec.homepage = "http://ruby-jokes.github.io/taint_aliases/"
|
14
15
|
spec.license = "MIT"
|
15
16
|
|
16
17
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taint_aliases
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lewis
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- - '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
|
-
description: Handy aliases for taint
|
70
|
+
description: Handy aliases for Object#taint
|
71
71
|
email:
|
72
72
|
- jason@decomplecting.org
|
73
73
|
- github@mgates.com
|
@@ -86,7 +86,7 @@ files:
|
|
86
86
|
- spec/spec_helper.rb
|
87
87
|
- spec/taint_aliases_spec.rb
|
88
88
|
- taint_aliases.gemspec
|
89
|
-
homepage:
|
89
|
+
homepage: http://ruby-jokes.github.io/taint_aliases/
|
90
90
|
licenses:
|
91
91
|
- MIT
|
92
92
|
metadata: {}
|
@@ -106,11 +106,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.0.
|
109
|
+
rubygems_version: 2.0.3
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
|
-
summary: Handy aliases for taint
|
112
|
+
summary: Handy aliases for Object#taint
|
113
113
|
test_files:
|
114
114
|
- spec/spec_helper.rb
|
115
115
|
- spec/taint_aliases_spec.rb
|
116
|
-
has_rdoc:
|