taint_aliases 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/lib/taint_aliases/version.rb +1 -1
- data/lib/taint_aliases.rb +2 -1
- data/spec/taint_aliases_spec.rb +6 -10
- data/taint_aliases.gemspec +5 -5
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7090db70546844665aba8d27cf0a76078a7b0a69
|
|
4
|
+
data.tar.gz: 088679ed97dfa6b2d3703a5a2a4a964b823bd8c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fa2ee65c3684e45a061dc45bc8a4b7a46a3270cfe6ac176261c7b9456daf42e2bdf36d0409ae58c5df08236636b239f92f2fb8e67384f7599dfcb221278e49b
|
|
7
|
+
data.tar.gz: f130ea30ac7e2c52c44cca9e1f411dc9ea837cf56bcca6508bc31551099fb716e846f13d3b4281a08419a77c690a215cf13101d63ca2d777faf383fc73d0267f
|
data/lib/taint_aliases.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
require "taint_aliases/version"
|
|
2
2
|
|
|
3
3
|
module TaintAliases
|
|
4
|
-
|
|
4
|
+
#http://onlineslangdictionary.com/thesaurus/words+meaning+perineum.html
|
|
5
|
+
TAINT_ALIASES = %w[grundle fleshy_fun_bridge perineum gouch gooch grundel]
|
|
5
6
|
def self.included(receiver)
|
|
6
7
|
TAINT_ALIASES.each do |a|
|
|
7
8
|
receiver.send(:alias_method, a, :taint)
|
data/spec/taint_aliases_spec.rb
CHANGED
|
@@ -9,16 +9,12 @@ module TaintAliasesSpec
|
|
|
9
9
|
@obj = Object.new
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
TaintAliases::TAINT_ALIASES.each do |a|
|
|
13
|
+
it "should be tainted with #{a}" do
|
|
14
|
+
@obj.public_send a
|
|
15
|
+
@obj.should be_tainted
|
|
16
|
+
end
|
|
15
17
|
end
|
|
16
|
-
|
|
17
|
-
it "should be tainted with fleshy_fun_bridge" do
|
|
18
|
-
@obj.fleshy_fun_bridge
|
|
19
|
-
@obj.should be_tainted
|
|
20
|
-
end
|
|
21
|
-
|
|
22
18
|
end
|
|
23
19
|
|
|
24
20
|
describe "subclasses should inherit the aliases" do
|
|
@@ -37,4 +33,4 @@ module TaintAliasesSpec
|
|
|
37
33
|
|
|
38
34
|
end
|
|
39
35
|
|
|
40
|
-
end
|
|
36
|
+
end
|
data/taint_aliases.gemspec
CHANGED
|
@@ -6,11 +6,11 @@ require 'taint_aliases/version'
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "taint_aliases"
|
|
8
8
|
spec.version = TaintAliases::VERSION
|
|
9
|
-
spec.authors = ["Jason Lewis"]
|
|
10
|
-
spec.email = ["jason@decomplecting.org"]
|
|
11
|
-
spec.description = %q{Handy aliases for
|
|
12
|
-
spec.summary = %q{Handy aliases for
|
|
13
|
-
spec.homepage = "
|
|
9
|
+
spec.authors = ["Jason Lewis", "Micah Gates"]
|
|
10
|
+
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 = ""
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Lewis
|
|
8
|
+
- Micah Gates
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
@@ -66,9 +67,10 @@ dependencies:
|
|
|
66
67
|
- - '>='
|
|
67
68
|
- !ruby/object:Gem::Version
|
|
68
69
|
version: '0'
|
|
69
|
-
description: Handy aliases for
|
|
70
|
+
description: Handy aliases for taint
|
|
70
71
|
email:
|
|
71
72
|
- jason@decomplecting.org
|
|
73
|
+
- github@mgates.com
|
|
72
74
|
executables: []
|
|
73
75
|
extensions: []
|
|
74
76
|
extra_rdoc_files: []
|
|
@@ -84,7 +86,7 @@ files:
|
|
|
84
86
|
- spec/spec_helper.rb
|
|
85
87
|
- spec/taint_aliases_spec.rb
|
|
86
88
|
- taint_aliases.gemspec
|
|
87
|
-
homepage:
|
|
89
|
+
homepage: ''
|
|
88
90
|
licenses:
|
|
89
91
|
- MIT
|
|
90
92
|
metadata: {}
|
|
@@ -104,10 +106,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
104
106
|
version: '0'
|
|
105
107
|
requirements: []
|
|
106
108
|
rubyforge_project:
|
|
107
|
-
rubygems_version: 2.0.
|
|
109
|
+
rubygems_version: 2.0.2
|
|
108
110
|
signing_key:
|
|
109
111
|
specification_version: 4
|
|
110
|
-
summary: Handy aliases for
|
|
112
|
+
summary: Handy aliases for taint
|
|
111
113
|
test_files:
|
|
112
114
|
- spec/spec_helper.rb
|
|
113
115
|
- spec/taint_aliases_spec.rb
|
|
116
|
+
has_rdoc:
|