tainted_hash 0.3.0 → 0.3.1
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/tainted_hash.rb +3 -3
- data/tainted_hash.gemspec +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79c99c9538abb2f12243c0a1f3012f2b8572fe3a
|
|
4
|
+
data.tar.gz: c5d0e1db5bb365a2fddddd253512b0af699ed019
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: faeae8fd7e6a86b78f7804fa8d021786c93c6b852fd492ed866a6c08b45e1d9d296b75320bfd8153117b03747d0b6f3d1f45be22d639c3450cd927d9817adcac
|
|
7
|
+
data.tar.gz: aff759392c88fa7ea05c07e622ecd25445884fe5cfd4e095d20b8c40b3b7fbe7809ebd5b5a3c4074fef3faf2c79e2fbae7a5ba833bc4932e276e6e95235f7200
|
data/lib/tainted_hash.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
class TaintedHash < Hash
|
|
2
|
-
VERSION = "0.3.
|
|
2
|
+
VERSION = "0.3.1"
|
|
3
3
|
|
|
4
4
|
class UnexposedError < StandardError
|
|
5
5
|
# Builds an exception when a TaintedHash has some unexposed keys. Useful
|
|
@@ -283,8 +283,8 @@ private
|
|
|
283
283
|
self
|
|
284
284
|
end
|
|
285
285
|
|
|
286
|
-
def to_query
|
|
287
|
-
@original_hash.to_query
|
|
286
|
+
def to_query(*args)
|
|
287
|
+
@original_hash.to_query(*args)
|
|
288
288
|
end
|
|
289
289
|
end
|
|
290
290
|
end
|
data/tainted_hash.gemspec
CHANGED
|
@@ -12,8 +12,8 @@ Gem::Specification.new do |s|
|
|
|
12
12
|
## If your rubyforge_project name is different, then edit it and comment out
|
|
13
13
|
## the sub! line in the Rakefile
|
|
14
14
|
s.name = 'tainted_hash'
|
|
15
|
-
s.version = '0.3.
|
|
16
|
-
s.date = '
|
|
15
|
+
s.version = '0.3.1'
|
|
16
|
+
s.date = '2014-02-06'
|
|
17
17
|
s.rubyforge_project = 'tainted_hash'
|
|
18
18
|
|
|
19
19
|
## Make sure your summary is short. The description may be as long
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tainted_hash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rick Olson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-unit
|
|
@@ -62,3 +62,4 @@ specification_version: 2
|
|
|
62
62
|
summary: Hash wrapper.
|
|
63
63
|
test_files:
|
|
64
64
|
- test/tainted_hash_test.rb
|
|
65
|
+
has_rdoc:
|