vidibus-secure 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vidibus/secure/version.rb +1 -1
- data/lib/vidibus/secure.rb +2 -2
- metadata +6 -8
data/lib/vidibus/secure.rb
CHANGED
@@ -122,7 +122,7 @@ module Vidibus
|
|
122
122
|
|
123
123
|
def encode(data, options = {})
|
124
124
|
if options[:encoding] == :hex
|
125
|
-
data.unpack("H*").
|
125
|
+
data.unpack("H*").join
|
126
126
|
elsif options[:encoding] == :base64
|
127
127
|
[data].pack("m*")
|
128
128
|
end
|
@@ -132,7 +132,7 @@ module Vidibus
|
|
132
132
|
if options[:encoding] == :hex
|
133
133
|
[data].pack("H*")
|
134
134
|
elsif options[:encoding] == :base64
|
135
|
-
data.unpack("m*").
|
135
|
+
data.unpack("m*").join
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vidibus-secure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andre Pankratz
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-07-
|
18
|
+
date: 2011-07-29 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +26,10 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 1
|
30
30
|
segments:
|
31
31
|
- 1
|
32
|
-
|
33
|
-
- 1
|
34
|
-
version: 1.2.1
|
32
|
+
version: "1"
|
35
33
|
type: :runtime
|
36
34
|
version_requirements: *id001
|
37
35
|
- !ruby/object:Gem::Dependency
|