ipizza 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ipizza/config.rb +2 -2
- data/lib/ipizza/version.rb +1 -1
- metadata +3 -3
data/lib/ipizza/config.rb
CHANGED
@@ -32,7 +32,7 @@ module Ipizza
|
|
32
32
|
key = $2
|
33
33
|
value = args.first
|
34
34
|
|
35
|
-
value =
|
35
|
+
value = load_certificate(value) if /^file_(cert|key)/ =~ key
|
36
36
|
|
37
37
|
if clz.respond_to?(:"#{key}=")
|
38
38
|
return clz.send(:"#{key}=", *[value])
|
@@ -44,7 +44,7 @@ module Ipizza
|
|
44
44
|
|
45
45
|
private
|
46
46
|
|
47
|
-
def
|
47
|
+
def load_certificate(file_path)
|
48
48
|
if File.exists?(file_path)
|
49
49
|
file_path
|
50
50
|
else
|
data/lib/ipizza/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ipizza
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 1
|
10
|
+
version: 0.5.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Priit Haamer
|