hetzner-bootstrap 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -143,7 +143,7 @@ module Hetzner
143
143
  if @public_keys
144
144
  remote do |ssh|
145
145
  ssh.exec!("mkdir /root/.ssh")
146
- @public_keys.to_a.each do |key|
146
+ Array(@public_keys).each do |key|
147
147
  pub = File.read(File.expand_path(key))
148
148
  ssh.exec!("echo \"#{pub}\" >> /root/.ssh/authorized_keys")
149
149
  end
@@ -1,5 +1,5 @@
1
1
  module Hetzner
2
2
  class Bootstrap
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
- end
5
+ end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hetzner-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
4
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 0
10
- version: 1.0.0
5
+ version: 1.0.1
11
6
  platform: ruby
12
7
  authors:
13
8
  - Roland Moriz
@@ -15,8 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-02-14 00:00:00 +01:00
19
- default_executable:
13
+ date: 2011-06-06 00:00:00 Z
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
22
16
  name: hetzner-api
@@ -26,11 +20,6 @@ dependencies:
26
20
  requirements:
27
21
  - - ">="
28
22
  - !ruby/object:Gem::Version
29
- hash: 21
30
- segments:
31
- - 1
32
- - 0
33
- - 1
34
23
  version: 1.0.1
35
24
  type: :runtime
36
25
  version_requirements: *id001
@@ -42,11 +31,6 @@ dependencies:
42
31
  requirements:
43
32
  - - ">="
44
33
  - !ruby/object:Gem::Version
45
- hash: 11
46
- segments:
47
- - 2
48
- - 1
49
- - 0
50
34
  version: 2.1.0
51
35
  type: :runtime
52
36
  version_requirements: *id002
@@ -58,11 +42,6 @@ dependencies:
58
42
  requirements:
59
43
  - - ">="
60
44
  - !ruby/object:Gem::Version
61
- hash: 27
62
- segments:
63
- - 2
64
- - 6
65
- - 6
66
45
  version: 2.6.6
67
46
  type: :runtime
68
47
  version_requirements: *id003
@@ -74,11 +53,6 @@ dependencies:
74
53
  requirements:
75
54
  - - ">="
76
55
  - !ruby/object:Gem::Version
77
- hash: 31
78
- segments:
79
- - 2
80
- - 4
81
- - 0
82
56
  version: 2.4.0
83
57
  type: :development
84
58
  version_requirements: *id004
@@ -104,7 +78,6 @@ files:
104
78
  - lib/hetzner/bootstrap/template.rb
105
79
  - lib/hetzner/bootstrap/version.rb
106
80
  - spec/hetzner_bootstrap_spec.rb
107
- has_rdoc: true
108
81
  homepage: http://moriz.de/opensource/hetzner-api
109
82
  licenses: []
110
83
 
@@ -118,23 +91,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
118
91
  requirements:
119
92
  - - ">="
120
93
  - !ruby/object:Gem::Version
121
- hash: 3
122
- segments:
123
- - 0
124
94
  version: "0"
125
95
  required_rubygems_version: !ruby/object:Gem::Requirement
126
96
  none: false
127
97
  requirements:
128
98
  - - ">="
129
99
  - !ruby/object:Gem::Version
130
- hash: 3
131
- segments:
132
- - 0
133
100
  version: "0"
134
101
  requirements: []
135
102
 
136
103
  rubyforge_project:
137
- rubygems_version: 1.4.2
104
+ rubygems_version: 1.8.3
138
105
  signing_key:
139
106
  specification_version: 3
140
107
  summary: Easy bootstrapping of hetzner.de rootservers using hetzner-api