uv-rays 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uv-rays/http/encoding.rb +10 -0
- data/lib/uv-rays/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15394fe5ef65fe5b07f6caacc662761bc3227cb9
|
4
|
+
data.tar.gz: 4a8d32cddab29e807a1702470b4fef1637e811ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cd439e8091ffba8733c548145c017dc65eae8dc6836e82d9569151928fac960a4d5363d61d4ee1d30fc73f0ed2247354b17f730afc53c9f90142793670ee0ef
|
7
|
+
data.tar.gz: 1b3f11de248f76cd8a9aceb66fcbd6e15b58feda0f699c8d9b799601d5c3a41503fd3ce13fbe2a4c4ca5d7db6fa9391c14d9ca7123ed6d4a3de5f9dd9d0058c5
|
@@ -24,6 +24,16 @@ module UV
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
+
if ''.respond_to?(:bytesize)
|
28
|
+
def bytesize(string)
|
29
|
+
string.bytesize
|
30
|
+
end
|
31
|
+
else
|
32
|
+
def bytesize(string)
|
33
|
+
string.size
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
27
37
|
# Map all header keys to a downcased string version
|
28
38
|
def munge_header_keys(head)
|
29
39
|
head.inject({}) { |h, (k, v)| h[k.to_s.downcase] = v; h }
|
data/lib/uv-rays/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uv-rays
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen von Takach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libuv
|