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 CHANGED
@@ -32,7 +32,7 @@ module Ipizza
32
32
  key = $2
33
33
  value = args.first
34
34
 
35
- value = normalize_file_location(value) if /^file_(cert|key)/ =~ key
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 normalize_file_location(file_path)
47
+ def load_certificate(file_path)
48
48
  if File.exists?(file_path)
49
49
  file_path
50
50
  else
@@ -1,3 +1,3 @@
1
1
  module Ipizza
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
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: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Priit Haamer