hpcloud 2.0.1 → 2.0.2

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.
data/LICENSE CHANGED
@@ -1 +1,18 @@
1
- Copyright (c) 2011 Hewlett-Packard Development Company, L.P.
1
+ © Copyright 2013 Hewlett-Packard Development Company, L.P.
2
+ Permission is hereby granted, free of charge, to any person obtaining a copy
3
+ of this software and associated documentation files (the "Software"), to deal
4
+ in the Software without restriction, including without limitation the rights
5
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6
+ copies of the Software, and to permit persons to whom the Software is
7
+ furnished to do so, subject to the following conditions:
8
+
9
+ The above copyright notice and this permission notice shall be included in all
10
+ copies or substantial portions of the Software.
11
+
12
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ SOFTWARE.
data/README.rdoc CHANGED
@@ -8,17 +8,7 @@ The current version of the CLI requires Ruby 1.9.2 or 1.8.7 and a recent version
8
8
 
9
9
  == Installation
10
10
 
11
- 1) Start by installing the software, HP Cloud Unix CLI depends on:
12
-
13
- - HP Cloud Ruby Fog Binding[http://docs.hpcloud.com/bindings/fog]
14
-
15
- 2) Download the HP Cloud Services Unix CLI gem[http://docs.hpcloud.com/cli/unix] and unpack it into a local directory.
16
-
17
- 3) 'cd' into the directory, you downloaded the gem into during Step 2) and type:
18
-
19
- gem install hpcloud-<version>.gem
20
-
21
- where <version> is the version number of the downloaded and unpacked gem file, for example 0.0.8
11
+ gem install hpcloud
22
12
 
23
13
  You should see the gem and its dependencies being installed on your system. To verify installation, simply type:
24
14
 
@@ -38,7 +38,12 @@ Examples:
38
38
  @log.fatal dns.cstatus
39
39
  end
40
40
  priority = priority[0]
41
- record = dns.create_record(name, type, data, { :priority => priority.to_i })
41
+ if priority.nil?
42
+ priority = {}
43
+ else
44
+ priority = { :priority => priority.to_i }
45
+ end
46
+ record = dns.create_record(name, type, data, priority)
42
47
  if record.nil?
43
48
  @log.fatal dns.cstatus
44
49
  end
@@ -21,7 +21,7 @@
21
21
 
22
22
  module HP
23
23
  module Cloud
24
- VERSION = '2.0.1'
25
- SHA1 = 'c1c76d8c26c2c7a4789bc4c655e1151cb29f21ea'
24
+ VERSION = '2.0.2'
25
+ SHA1 = '9f7e02be9084ed18be91379ebc53192ffb356c4a'
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hpcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: