knife-brightbox 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dce55a715abf2d75fa4b25c31f34ebe75222bb9a
4
- data.tar.gz: 910840b1f2a92e6da074e75ba8dd1b284aca80b7
3
+ metadata.gz: c1362663589ed2cec8ce32ded6ee0212faa76ef6
4
+ data.tar.gz: 8157837c9c0e9b56da28fac37d5e219a31802325
5
5
  SHA512:
6
- metadata.gz: 313401b2f124d086c4f6be16007719dd9c98515627630363a286a1e83640a79ce9e395e1bf0894467aa4a7aa07959c520da97b174a46b66d8dad1318a693e46e
7
- data.tar.gz: 819977b6db8bac6d91f50a8f7386ba18c4f7835875a38c5073351922e130e9dd60b37b2f794964e91fdf89d6f977a88d19dd54c745fea9cdc17fcca7c8340127
6
+ metadata.gz: 7216a9310393f023fac5455fad97047904cee1cc7766dae41677c3d21b8a0a9de3fbabdd3eb13bdda191c787a90e94acade5eae9551721db70acefa6f5aa20b6
7
+ data.tar.gz: 54d9ad46cedf00e309fa88bd0d86c2ca74b653a6debf49cea8e33a92e51e303958943bb140a1bcec0abb976f871cd656da04acb4aef36327d27aa8ff7a97c15d
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.9.0
2
+
3
+ * Guard against calling `#name` on `nil` resources when deleting
4
+ * Use `fog-brightbox` rather than `fog`
5
+
1
6
  # 0.8.0
2
7
 
3
8
  * Allow configuring of SSH port when creating new server
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.files = `git ls-files`.split("\n")
18
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
- s.add_dependency "fog", "~> 1.12"
20
+ s.add_dependency "fog-brightbox", "~> 0.7"
21
21
  s.add_dependency "chef", ">= 0.10"
22
22
  s.require_paths = ["lib"]
23
23
  end
@@ -29,7 +29,7 @@ class Chef
29
29
  includer.class_eval do
30
30
 
31
31
  deps do
32
- require 'fog'
32
+ require 'fog/brightbox'
33
33
  require 'net/ssh/multi'
34
34
  require 'readline'
35
35
  require 'chef/json_compat'
@@ -71,8 +71,8 @@ class Chef
71
71
  end
72
72
  msg("Instance ID", server.id.to_s)
73
73
  msg("Name", server.name)
74
- msg("Flavor", server.flavor.name)
75
- msg("Image", server.image.name)
74
+ msg("Flavor", server.flavor.name) if server.flavor
75
+ msg("Image", server.image.name) if server.image
76
76
  msg("Public IP Address", server.public_ip_address)
77
77
 
78
78
  puts "\n"
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Brightbox
3
- VERSION = "0.8.0"
3
+ VERSION = "0.9.0"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-brightbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rubio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: fog
14
+ name: fog-brightbox
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.12'
19
+ version: '0.7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.12'
26
+ version: '0.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: chef
29
29
  requirement: !ruby/object:Gem::Requirement