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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7090db70546844665aba8d27cf0a76078a7b0a69
4
- data.tar.gz: 088679ed97dfa6b2d3703a5a2a4a964b823bd8c3
3
+ metadata.gz: 2e791bf14e51fbddef0ab93b1d78cec15e545e7d
4
+ data.tar.gz: 1bc2f1a7a2fa6bb9774083a052c0fa2a9b687a28
5
5
  SHA512:
6
- metadata.gz: 3fa2ee65c3684e45a061dc45bc8a4b7a46a3270cfe6ac176261c7b9456daf42e2bdf36d0409ae58c5df08236636b239f92f2fb8e67384f7599dfcb221278e49b
7
- data.tar.gz: f130ea30ac7e2c52c44cca9e1f411dc9ea837cf56bcca6508bc31551099fb716e846f13d3b4281a08419a77c690a215cf13101d63ca2d777faf383fc73d0267f
6
+ metadata.gz: 70ee561a9a991a6546de4449d1167f7020a387dc00a730e8bc01ebd840a5b3d354b5daeed4a28c449f494e18012c377d79061b736013e4ec48f84ff47e81660d
7
+ data.tar.gz: 1e9bb5cd657594d565fbfce87fb16c9d9e1587dfa5ff45138cdffa58637d82b58332d3f65f288397a4e07f33bd33cef16307a8958d8ca950e133e0a38467374c
data/README.md CHANGED
@@ -51,6 +51,8 @@ It's that easy!
51
51
 
52
52
  ## License
53
53
 
54
- Copyright © 2014 Jason Lewis
55
54
 
56
- Distributed under the MIT License; see LICENSE.txt
55
+ Copyright © 2014 Jason Lewis, Micah Gates
56
+
57
+
58
+ Distributed under the MIT License; see LICENSE.txt
@@ -1,3 +1,3 @@
1
1
  module TaintAliases
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -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
- it "should work on Strings" do
23
- str = "I'm gettin' tainted"
24
- str.grundle
25
- str.should be_tainted
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
- it "should work on Arrays" do
29
- ary = []
30
- ary.fleshy_fun_bridge
31
- ary.should be_tainted
32
- end
35
+
36
+
33
37
 
34
38
  end
35
39
 
@@ -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.2
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.2
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: