knife-linode 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a6f47d35a254089494d5e4ca24827a0b696ea49a
4
+ data.tar.gz: eb559a699426fe378ee87dfb0597337b65506da5
5
+ SHA512:
6
+ metadata.gz: da98f8d901d5f1b1e262c9659dc40fcb7ada91dd5e770f6d17140f2909624a7aaeceb17941e1a0d9edec6f79460978f59b04b9fe653d091a97df2180d7fea28a
7
+ data.tar.gz: ae95c2c4da167b25bd75a8f34203416fd8a6c9e81f28e46ae885eb0ab1f8d2dae99c4579525e85e5e98b47fcf0d7c4c6dab2b4f177b37951169fc042d8dfff9b
data/README.md CHANGED
@@ -10,6 +10,7 @@ In-depth usage instructions can be found on the [Chef Docs](http://docs.opscode.
10
10
  ### Requirements
11
11
 
12
12
  * Chef 11.8.x or higher
13
+ * Ruby 2.0.x or higher
13
14
 
14
15
  ### Installation
15
16
 
@@ -5,8 +5,8 @@ require "knife-linode/version"
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "knife-linode"
7
7
  s.version = Knife::Linode::VERSION
8
- s.authors = ['Adam Jacob', 'Seth Chisamore', 'Lamont Granquist']
9
- s.email = ['adam@opscode.com', 'schisamo@opscode.com', 'lamont@opscode.com']
8
+ s.authors = ['Adam Jacob', 'Seth Chisamore', 'Lamont Granquist', 'Jesse R. Adams']
9
+ s.email = ['adam@opscode.com', 'schisamo@opscode.com', 'lamont@opscode.com', 'jesse@techno-geeks.org']
10
10
  s.homepage = 'http://wiki.opscode.com/display/chef'
11
11
  s.summary = "Linode Support for Chef's Knife Command"
12
12
  s.description = s.summary
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
 
20
20
  s.add_runtime_dependency "fog", "~> 1.0"
21
- s.add_runtime_dependency "chef", "~> 11.8"
21
+ s.add_runtime_dependency "chef", ">= 11.8"
22
22
 
23
23
  s.add_development_dependency "rspec", "~> 3.0"
24
24
  s.add_development_dependency "rubocop", "~> 0.24"
@@ -50,7 +50,7 @@ class Chef
50
50
  :long => "--linode-image IMAGE",
51
51
  :description => "The image for the server",
52
52
  :proc => Proc.new { |i| Chef::Config[:knife][:linode_image] = i },
53
- :default => 99 # Ubuntu 12.04 LTS
53
+ :default => 124 # Ubuntu 14.04 LTS
54
54
 
55
55
  option :linode_kernel,
56
56
  :short => "-k KERNEL",
@@ -70,6 +70,7 @@ class Chef
70
70
  server = connection.servers.detect do |s|
71
71
  s.id.to_s == linode_id || s.name == linode_id
72
72
  end
73
+ raise Fog::Compute::Linode::NotFound.new unless server
73
74
  delete_id = server.id
74
75
 
75
76
  msg_pair("Linode ID", server.id.to_s)
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Linode
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,22 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-linode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
5
- prerelease:
4
+ version: 0.3.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Adam Jacob
9
8
  - Seth Chisamore
10
9
  - Lamont Granquist
10
+ - Jesse R. Adams
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-09-30 00:00:00.000000000 Z
14
+ date: 2014-12-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: fog
18
18
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
19
  requirements:
21
20
  - - ~>
22
21
  - !ruby/object:Gem::Version
@@ -24,7 +23,6 @@ dependencies:
24
23
  type: :runtime
25
24
  prerelease: false
26
25
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
26
  requirements:
29
27
  - - ~>
30
28
  - !ruby/object:Gem::Version
@@ -32,23 +30,20 @@ dependencies:
32
30
  - !ruby/object:Gem::Dependency
33
31
  name: chef
34
32
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
33
  requirements:
37
- - - ~>
34
+ - - '>='
38
35
  - !ruby/object:Gem::Version
39
36
  version: '11.8'
40
37
  type: :runtime
41
38
  prerelease: false
42
39
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
40
  requirements:
45
- - - ~>
41
+ - - '>='
46
42
  - !ruby/object:Gem::Version
47
43
  version: '11.8'
48
44
  - !ruby/object:Gem::Dependency
49
45
  name: rspec
50
46
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
47
  requirements:
53
48
  - - ~>
54
49
  - !ruby/object:Gem::Version
@@ -56,7 +51,6 @@ dependencies:
56
51
  type: :development
57
52
  prerelease: false
58
53
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
54
  requirements:
61
55
  - - ~>
62
56
  - !ruby/object:Gem::Version
@@ -64,7 +58,6 @@ dependencies:
64
58
  - !ruby/object:Gem::Dependency
65
59
  name: rubocop
66
60
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
61
  requirements:
69
62
  - - ~>
70
63
  - !ruby/object:Gem::Version
@@ -72,7 +65,6 @@ dependencies:
72
65
  type: :development
73
66
  prerelease: false
74
67
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
68
  requirements:
77
69
  - - ~>
78
70
  - !ruby/object:Gem::Version
@@ -82,6 +74,7 @@ email:
82
74
  - adam@opscode.com
83
75
  - schisamo@opscode.com
84
76
  - lamont@opscode.com
77
+ - jesse@techno-geeks.org
85
78
  executables: []
86
79
  extensions: []
87
80
  extra_rdoc_files:
@@ -113,31 +106,25 @@ files:
113
106
  - spec/spec_helper.rb
114
107
  homepage: http://wiki.opscode.com/display/chef
115
108
  licenses: []
109
+ metadata: {}
116
110
  post_install_message:
117
111
  rdoc_options: []
118
112
  require_paths:
119
113
  - lib
120
114
  required_ruby_version: !ruby/object:Gem::Requirement
121
- none: false
122
115
  requirements:
123
116
  - - '>='
124
117
  - !ruby/object:Gem::Version
125
118
  version: '0'
126
119
  required_rubygems_version: !ruby/object:Gem::Requirement
127
- none: false
128
120
  requirements:
129
121
  - - '>='
130
122
  - !ruby/object:Gem::Version
131
123
  version: '0'
132
124
  requirements: []
133
125
  rubyforge_project:
134
- rubygems_version: 1.8.25
126
+ rubygems_version: 2.1.11
135
127
  signing_key:
136
- specification_version: 3
128
+ specification_version: 4
137
129
  summary: Linode Support for Chef's Knife Command
138
- test_files:
139
- - spec/chef/knife/linode_datacenter_list_spec.rb
140
- - spec/chef/knife/linode_flavor_list_spec.rb
141
- - spec/chef/knife/linode_server_create_spec.rb
142
- - spec/chef/knife/linode_server_list_spec.rb
143
- - spec/spec_helper.rb
130
+ test_files: []