preview_add 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module PreviewAdd
11
11
 
12
12
  @zone_id = options[:zerigo][:zone_id]
13
13
  @host = host
14
- @cname = options[:preview_domain]
14
+ @cname = options[:zerigo][:cname]
15
15
  end
16
16
 
17
17
  def add_cname
@@ -1,3 +1,3 @@
1
1
  module PreviewAdd
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -21,7 +21,7 @@ module PreviewAdd
21
21
  end
22
22
 
23
23
  def auth_user_file
24
- htpasswd_dir = @config[:locations][:htpasswd];
24
+ htpasswd_dir = @config[:locations][:htpasswd]
25
25
  extension = '.htpasswd'
26
26
  auth_user_file = File.join(htpasswd_dir, "#{@names.domain + extension}")
27
27
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: preview_add
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Ubois