ssp 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,9 @@ class SSP::App::Domain < Thor
19
19
  method_option :ttl, :desc => "TTL for record", :default => 0
20
20
  def update(domain, ip)
21
21
  host, domain = domain.split(".", 2)
22
+ if domain.index('.').nil?
23
+ domain, host = "#{host}.#{domain}", ""
24
+ end
22
25
 
23
26
  zone = linode.domain.list.detect do |d|
24
27
  d.domain == domain
data/lib/ssp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SSP
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 3
9
- version: 0.6.3
8
+ - 4
9
+ version: 0.6.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - "L\xC3\xA1szl\xC3\xB3 B\xC3\xA1csi"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-25 00:00:00 +02:00
17
+ date: 2010-12-20 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency