hetzner-api 1.1.0 → 1.2.0

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: 5a008e09f85849e199279332810721a8afa910c1
4
+ data.tar.gz: 32aacd4e4a68dc41b99c5bc6027fdfb6218409f8
5
+ SHA512:
6
+ metadata.gz: 68ba600b3467787ef45cac407a7cbb4eab4822652f55eaf43d958d21877a75e770d9513ba507de9b5ac66318caa97d9aff14c1f53e93020a1a9e17c0ed79e43f
7
+ data.tar.gz: 66d267ba228e41fcc11c25acb34b6695b32d963b0c7679b2b7f03921c333236fdef462820a726739b8d72ada6b8cffad37a2b4ffe97f09844928a7b3436f07e6
@@ -1,12 +1,3 @@
1
1
  rvm:
2
- - 1.8.7
3
- - 1.9.2
4
- - 1.9.3
5
- - 2.0.0
6
- - jruby-18mode
7
- - jruby-19mode
8
- - jruby-head
9
- - rbx-18mode
10
- - rbx-19mode
11
- - ree
12
- script: rake test
2
+ - 2.4.1
3
+ script: bundle exec rake test
data/Gemfile CHANGED
@@ -1,5 +1,13 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
+
3
+ # needed because of our old rspec :'(
4
+ gem 'rake', '< 11.0'
5
+
6
+ gem 'aruba'
7
+ gem 'coveralls'
8
+ gem 'cucumber', '~> 1.2.1'
9
+ gem 'fakeweb', '~> 1.3.0'
10
+ gem 'rspec', '~> 2.12.0'
2
11
 
3
12
  # Specify your gem's dependencies in hetzner-api.gemspec
4
13
  gemspec
5
-
@@ -1,76 +1,75 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hetzner-api (1.1.0)
5
- httparty (~> 0.10.0)
4
+ hetzner-api (1.2.0)
5
+ httparty (~> 0.14.0)
6
6
  json
7
7
  thor
8
8
  xml-simple
9
9
 
10
10
  GEM
11
- remote: http://rubygems.org/
11
+ remote: https://rubygems.org/
12
12
  specs:
13
- aruba (0.5.1)
14
- childprocess (~> 0.3.6)
13
+ aruba (0.7.4)
14
+ childprocess (>= 0.3.6)
15
15
  cucumber (>= 1.1.1)
16
16
  rspec-expectations (>= 2.7.0)
17
- builder (3.1.4)
18
- childprocess (0.3.6)
19
- ffi (~> 1.0, >= 1.0.6)
20
- coderay (1.0.8)
21
- cucumber (1.2.1)
17
+ builder (3.2.3)
18
+ childprocess (0.6.3)
19
+ ffi (~> 1.0, >= 1.0.11)
20
+ coveralls (0.8.20)
21
+ json (>= 1.8, < 3)
22
+ simplecov (~> 0.14.1)
23
+ term-ansicolor (~> 1.3)
24
+ thor (~> 0.19.4)
25
+ tins (~> 1.6)
26
+ cucumber (1.2.5)
22
27
  builder (>= 2.1.2)
23
28
  diff-lcs (>= 1.1.3)
24
- gherkin (~> 2.11.0)
25
- json (>= 1.4.6)
29
+ gherkin (~> 2.11.7)
30
+ multi_json (~> 1.3)
26
31
  diff-lcs (1.1.3)
32
+ docile (1.1.5)
27
33
  fakeweb (1.3.0)
28
- ffi (1.2.0)
29
- gherkin (2.11.5)
30
- json (>= 1.4.6)
31
- guard (1.5.4)
32
- listen (>= 0.4.2)
33
- lumberjack (>= 1.0.2)
34
- pry (>= 0.9.10)
35
- thor (>= 0.14.6)
36
- guard-rspec (2.3.1)
37
- guard (>= 1.1)
38
- rspec (~> 2.11)
39
- httparty (0.10.0)
40
- multi_json (~> 1.0)
41
- multi_xml
42
- json (1.7.5)
43
- listen (0.6.0)
44
- lumberjack (1.0.2)
45
- method_source (0.8.1)
46
- multi_json (1.5.0)
47
- multi_xml (0.5.1)
48
- pry (0.9.10)
49
- coderay (~> 1.0.5)
50
- method_source (~> 0.8)
51
- slop (~> 3.3.1)
52
- rake (10.0.2)
34
+ ffi (1.9.18)
35
+ gherkin (2.11.8)
36
+ multi_json (~> 1.3)
37
+ httparty (0.14.0)
38
+ multi_xml (>= 0.5.2)
39
+ json (2.0.4)
40
+ multi_json (1.12.1)
41
+ multi_xml (0.6.0)
42
+ rake (10.5.0)
53
43
  rspec (2.12.0)
54
44
  rspec-core (~> 2.12.0)
55
45
  rspec-expectations (~> 2.12.0)
56
46
  rspec-mocks (~> 2.12.0)
57
- rspec-core (2.12.1)
58
- rspec-expectations (2.12.0)
47
+ rspec-core (2.12.2)
48
+ rspec-expectations (2.12.1)
59
49
  diff-lcs (~> 1.1.3)
60
- rspec-mocks (2.12.0)
61
- slop (3.3.3)
62
- thor (0.16.0)
63
- xml-simple (1.1.2)
50
+ rspec-mocks (2.12.2)
51
+ simplecov (0.14.1)
52
+ docile (~> 1.1.0)
53
+ json (>= 1.8, < 3)
54
+ simplecov-html (~> 0.10.0)
55
+ simplecov-html (0.10.0)
56
+ term-ansicolor (1.6.0)
57
+ tins (~> 1.0)
58
+ thor (0.19.4)
59
+ tins (1.13.2)
60
+ xml-simple (1.1.5)
64
61
 
65
62
  PLATFORMS
66
63
  ruby
67
64
 
68
65
  DEPENDENCIES
69
66
  aruba
70
- bundler
67
+ coveralls
71
68
  cucumber (~> 1.2.1)
72
69
  fakeweb (~> 1.3.0)
73
- guard-rspec (~> 2.3.1)
74
70
  hetzner-api!
75
- rake
71
+ rake (< 11.0)
76
72
  rspec (~> 2.12.0)
73
+
74
+ BUNDLED WITH
75
+ 1.14.6
@@ -1,9 +1,13 @@
1
+ ==== Status 2014/07: looking for sponsoring/new maintainers.
2
+
1
3
  = hetzner-api
2
4
 
3
5
  A HTTParty[http://httparty.rubyforge.org/] based wrapper for Hetzner.de's server management API.
4
6
 
5
7
  see http://wiki.hetzner.de/index.php/Robot_Webservice/en for details.
6
8
 
9
+ {<img src="https://badge.fury.io/rb/hetzner-api.png" alt="Gem Version" />}[http://badge.fury.io/rb/hetzner-api]
10
+
7
11
  == Installation
8
12
 
9
13
  <b>gem install hetzner-api</b>
@@ -12,6 +12,7 @@ Feature: Hetzner
12
12
  When I run `hetzner failover --username='myusername' --password='mycoolpassword'`
13
13
  Then the output should contain "active_server_ip"
14
14
 
15
+ @wip
15
16
  Scenario: Display the status of a failover IP
16
17
  When I run `hetzner failover 11.11.11.111 --username='myusername' --password='mycoolpassword'`
17
18
  Then the output should contain "11.11.11.111"
@@ -1,7 +1,16 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
4
+ require 'fakeweb'
5
+ require File.expand_path('../../../spec/spec_constants.rb', __FILE__)
6
+ require File.expand_path('../../../spec/api_stubs.rb', __FILE__)
7
+
1
8
  ENV['HETZNER_API_CUCUMBER_TEST'] = "1"
2
9
 
3
10
  # This long timeout is needed for jruby, as each step launches a jruby instance for the cli
4
11
  #
5
12
  Before do
6
13
  @aruba_timeout_seconds = 60
14
+ FakeWeb.allow_net_connect = false
7
15
  end
16
+
@@ -18,19 +18,11 @@ Gem::Specification.new do |s|
18
18
  s.add_runtime_dependency 'jruby-openssl'
19
19
  end
20
20
 
21
- s.add_dependency 'httparty', '~> 0.10.0'
21
+ s.add_dependency 'httparty', '~> 0.14.0'
22
22
  s.add_dependency 'thor'
23
23
  s.add_dependency 'json'
24
24
  s.add_dependency 'xml-simple'
25
25
 
26
- s.add_development_dependency "bundler"
27
- s.add_development_dependency "rspec", "~> 2.12.0"
28
- s.add_development_dependency "guard-rspec", "~> 2.3.1"
29
- s.add_development_dependency "fakeweb", "~> 1.3.0"
30
- s.add_development_dependency "cucumber", "~> 1.2.1"
31
- s.add_development_dependency "aruba"
32
- s.add_development_dependency "rake"
33
-
34
26
  s.files = `git ls-files`.split("\n")
35
27
  s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
36
28
  s.require_path = 'lib'
@@ -1,5 +1,5 @@
1
1
  module Hetzner
2
2
  class API
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
@@ -10,171 +10,161 @@ end
10
10
  def uri(path = nil, args = nil)
11
11
  url = "https://#{API_USERNAME}:#{API_PASSWORD}@#{API_SERVER}/#{@resource}"
12
12
  url << "/#{path}" if path
13
- url << "#{args}" if args
13
+ url << args.to_s if args
14
14
  url
15
15
  end
16
16
 
17
-
18
- FakeWeb.allow_net_connect = false
19
-
20
-
21
17
  @resource = 'reset'
22
18
 
23
19
  FakeWeb.register_uri :get, uri,
24
- :response => fixture('get.raw')
25
-
26
- FakeWeb.register_uri :get, uri("#{WORKING_IP}"),
27
- :response => fixture('get_with_ip.raw')
20
+ response: fixture('get.raw')
28
21
 
29
- FakeWeb.register_uri :get, uri("#{UNKOWN_IP}"),
30
- :response => fixture('get_with_ip_unknown.raw')
22
+ FakeWeb.register_uri :get, uri(WORKING_IP.to_s),
23
+ response: fixture('get_with_ip.raw')
31
24
 
32
- FakeWeb.register_uri :get, uri("#{RESET_IP_NOT_AVAILABLE}"),
33
- :response => fixture('get_with_ip_unavailable.raw')
25
+ FakeWeb.register_uri :get, uri(UNKOWN_IP.to_s),
26
+ response: fixture('get_with_ip_unknown.raw')
34
27
 
35
- FakeWeb.register_uri :post, uri("#{WORKING_IP}?type=sw"),
36
- :response => fixture('post_with_ip.raw')
28
+ FakeWeb.register_uri :get, uri(RESET_IP_NOT_AVAILABLE.to_s),
29
+ response: fixture('get_with_ip_unavailable.raw')
37
30
 
38
- FakeWeb.register_uri :post, uri("#{WORKING_IP}?type=foo"),
39
- :response => fixture('post_with_ip_invalid_input.raw')
31
+ FakeWeb.register_uri :post, uri("#{WORKING_IP}?type=sw"),
32
+ response: fixture('post_with_ip.raw')
40
33
 
41
- FakeWeb.register_uri :post, uri("#{RESET_IP_MANUAL_ACTIVE}?type=sw"),
42
- :response => fixture('post_with_ip_manual_active.raw')
34
+ FakeWeb.register_uri :post, uri("#{WORKING_IP}?type=foo"),
35
+ response: fixture('post_with_ip_invalid_input.raw')
43
36
 
44
- FakeWeb.register_uri :post, uri("#{RESET_IP_NOT_AVAILABLE}?type=sw"),
45
- :response => fixture('post_with_ip_unavailable.raw')
37
+ FakeWeb.register_uri :post, uri("#{RESET_IP_MANUAL_ACTIVE}?type=sw"),
38
+ response: fixture('post_with_ip_manual_active.raw')
46
39
 
47
- FakeWeb.register_uri :post, uri("#{UNKOWN_IP}?type=sw"),
48
- :response => fixture('post_with_ip_unknown.raw')
40
+ FakeWeb.register_uri :post, uri("#{RESET_IP_NOT_AVAILABLE}?type=sw"),
41
+ response: fixture('post_with_ip_unavailable.raw')
49
42
 
43
+ FakeWeb.register_uri :post, uri("#{UNKOWN_IP}?type=sw"),
44
+ response: fixture('post_with_ip_unknown.raw')
50
45
 
51
46
  @resource = 'boot'
52
47
 
53
- FakeWeb.register_uri :get, uri("#{WORKING_IP}"),
54
- :response => fixture('get_with_ip.raw')
48
+ FakeWeb.register_uri :get, uri(WORKING_IP.to_s),
49
+ response: fixture('get_with_ip.raw')
55
50
 
56
51
  FakeWeb.register_uri :post, uri("#{WORKING_IP}/rescue?arch=64&os=linux"),
57
- :response => fixture('rescue/post.raw')
52
+ response: fixture('rescue/post.raw')
58
53
 
59
54
  FakeWeb.register_uri :delete, uri("#{WORKING_IP}/rescue"),
60
- :response => fixture('rescue/delete.raw')
55
+ response: fixture('rescue/delete.raw')
61
56
 
62
57
  FakeWeb.register_uri :get, uri("#{WORKING_IP}/vnc"),
63
- :response => fixture('vnc/get.raw')
58
+ response: fixture('vnc/get.raw')
64
59
 
65
60
  FakeWeb.register_uri :post, uri("#{WORKING_IP}/vnc?arch=32&lang=en_US&dist=Fedora-13"),
66
- :response => fixture('vnc/post.raw')
61
+ response: fixture('vnc/post.raw')
67
62
 
68
63
  FakeWeb.register_uri :delete, uri("#{WORKING_IP}/vnc"),
69
- :response => fixture('vnc/delete.raw')
64
+ response: fixture('vnc/delete.raw')
70
65
 
71
66
  FakeWeb.register_uri :get, uri("#{WORKING_IP}/plesk"),
72
- :response => fixture('plesk/get.raw')
67
+ response: fixture('plesk/get.raw')
73
68
 
74
69
  FakeWeb.register_uri :post, uri("#{WORKING_IP}/plesk?arch=32&lang=en_US&dist=Fedora-13&hostname=dr-gerner-aus-gzsz.confixx.de"),
75
- :response => fixture('plesk/post.raw') # perl2exe insider
70
+ response: fixture('plesk/post.raw') # perl2exe insider
76
71
 
77
72
  FakeWeb.register_uri :delete, uri("#{WORKING_IP}/plesk"),
78
- :response => fixture('plesk/delete.raw')
73
+ response: fixture('plesk/delete.raw')
79
74
 
80
75
  FakeWeb.register_uri :get, uri("#{WORKING_IP}/linux"),
81
- :response => fixture('linux/get.raw')
76
+ response: fixture('linux/get.raw')
82
77
 
83
78
  FakeWeb.register_uri :post, uri("#{WORKING_IP}/linux?dist=CentOS%206.3%20minimal&lang=en&arch=64"),
84
- :response => fixture('linux/post.raw')
79
+ response: fixture('linux/post.raw')
85
80
 
86
81
  FakeWeb.register_uri :delete, uri("#{WORKING_IP}/linux"),
87
- :response => fixture('linux/delete.raw')
88
-
82
+ response: fixture('linux/delete.raw')
89
83
 
90
84
  @resource = 'wol'
91
85
 
92
- FakeWeb.register_uri :get, uri("#{WORKING_IP}"),
93
- :response => fixture('get.raw')
94
-
95
- FakeWeb.register_uri :post, uri("#{WORKING_IP}"),
96
- :response => fixture('post.raw')
86
+ FakeWeb.register_uri :get, uri(WORKING_IP.to_s),
87
+ response: fixture('get.raw')
97
88
 
89
+ FakeWeb.register_uri :post, uri(WORKING_IP.to_s),
90
+ response: fixture('post.raw')
98
91
 
99
92
  @resource = 'rdns'
100
93
 
101
- FakeWeb.register_uri :get, uri("#{WORKING_IP}"),
102
- :response => fixture('get_with_ip.raw')
94
+ FakeWeb.register_uri :get, uri(WORKING_IP.to_s),
95
+ response: fixture('get_with_ip.raw')
103
96
 
104
97
  FakeWeb.register_uri :post, uri("#{WORKING_IP}?ptr=testen.de"),
105
- :response => fixture('post_with_ip.raw')
106
-
107
- FakeWeb.register_uri :delete, uri("#{WORKING_IP}"),
108
- :response => fixture('delete_with_ip.raw')
98
+ response: fixture('post_with_ip.raw')
109
99
 
100
+ FakeWeb.register_uri :delete, uri(WORKING_IP.to_s),
101
+ response: fixture('delete_with_ip.raw')
110
102
 
111
103
  @resource = 'ip'
112
104
 
113
105
  FakeWeb.register_uri :get, uri,
114
- :response => fixture('get.raw')
106
+ response: fixture('get.raw')
115
107
 
116
108
  FakeWeb.register_uri :get, uri(nil, "?server_ip=#{WORKING_IP}"),
117
- :response => fixture('get_with_server_ip.raw')
118
-
119
- FakeWeb.register_uri :get, uri("#{WORKING_IP}"),
120
- :response => fixture('get_with_ip.raw')
121
-
109
+ response: fixture('get_with_server_ip.raw')
110
+
111
+ FakeWeb.register_uri :get, uri(WORKING_IP.to_s),
112
+ response: fixture('get_with_ip.raw')
113
+
122
114
  FakeWeb.register_uri :post, uri("#{WORKING_IP}?traffic_warnings=true&traffic_monthly=2342"),
123
- :response => fixture('post_activate_with_data.raw')
115
+ response: fixture('post_activate_with_data.raw')
124
116
 
125
117
  FakeWeb.register_uri :post, uri("#{WORKING_IP}?traffic_warnings=false"),
126
- :response => fixture('post_deactivate_with_data.raw')
127
-
118
+ response: fixture('post_deactivate_with_data.raw')
128
119
 
129
120
  @resource = 'subnet'
130
121
 
131
122
  FakeWeb.register_uri :get, uri,
132
- :response => fixture('get.raw')
123
+ response: fixture('get.raw')
133
124
 
134
125
  FakeWeb.register_uri :get, uri(nil, "?server_ip=#{WORKING_IP}"),
135
- :response => fixture('get_with_server_ip.raw')
136
-
137
- FakeWeb.register_uri :get, uri("#{WORKING_SUBNET_IP}"),
138
- :response => fixture('get_with_subnet_ip.raw')
139
-
126
+ response: fixture('get_with_server_ip.raw')
127
+
128
+ FakeWeb.register_uri :get, uri(WORKING_SUBNET_IP.to_s),
129
+ response: fixture('get_with_subnet_ip.raw')
130
+
140
131
  FakeWeb.register_uri :post, uri("#{WORKING_SUBNET_IP}?traffic_warnings=true&traffic_monthly=2342"),
141
- :response => fixture('post_activate_with_data.raw')
132
+ response: fixture('post_activate_with_data.raw')
142
133
 
143
134
  FakeWeb.register_uri :post, uri("#{WORKING_SUBNET_IP}?traffic_warnings=false"),
144
- :response => fixture('post_deactivate_with_data.raw')
145
-
135
+ response: fixture('post_deactivate_with_data.raw')
146
136
 
147
137
  @resource = 'server'
148
138
 
149
139
  FakeWeb.register_uri :get, uri,
150
- :response => fixture('get.raw')
140
+ response: fixture('get.raw')
151
141
 
152
- FakeWeb.register_uri :get, uri("#{WORKING_IP}"),
153
- :response => fixture('get_with_server_ip.raw')
142
+ FakeWeb.register_uri :get, uri(WORKING_IP.to_s),
143
+ response: fixture('get_with_server_ip.raw')
154
144
 
155
145
  FakeWeb.register_uri :post, uri("#{WORKING_IP}?server_name=krautchan100"),
156
- :response => fixture('post_with_server_name.raw')
146
+ response: fixture('post_with_server_name.raw')
157
147
 
158
148
  @resource = 'traffic'
159
149
 
160
- FakeWeb.register_uri :post, uri(nil, "?from=2010-10-10T01&type=day&ip[]=#{WORKING_IP}&to=2010-10-10T10&subnet[]=#{WORKING_SUBNET_IP}"),
161
- :response => fixture('post_with_one_ip_and_one_subnet_day.raw')
162
-
163
- FakeWeb.register_uri :post, uri(nil, "?from=2010-09-01&type=month&ip[]=#{WORKING_IP}&to=2010-10-01&ip[]=#{WORKING_IP_2}"),
164
- :response => fixture('post_with_two_ips_and_no_subnet_month.raw')
150
+ FakeWeb.register_uri :post, uri(nil, "?ip[]=#{WORKING_IP}&subnet[]=#{WORKING_SUBNET_IP}&from=2010-10-10T01&to=2010-10-10T10&type=day"),
151
+ response: fixture('post_with_one_ip_and_one_subnet_day.raw')
165
152
 
166
- FakeWeb.register_uri :post, uri(nil, "?from=2010-01&to=2010-10&type=year&subnet[]=#{WORKING_SUBNET_IP}&subnet[]=#{WORKING_SUBNET_IP_2}"),
167
- :response => fixture('post_with_two_subnets_and_no_ip_year.raw')
153
+ FakeWeb.register_uri :post, uri(nil, "?ip[]=#{WORKING_IP}&ip[]=#{WORKING_IP_2}&subnet[]=&from=2010-09-01&to=2010-10-01&type=month"),
154
+ response: fixture('post_with_two_ips_and_no_subnet_month.raw')
168
155
 
156
+ FakeWeb.register_uri :post, uri(nil, "?ip[]=&subnet[]=#{WORKING_SUBNET_IP}&subnet[]=#{WORKING_SUBNET_IP_2}&from=2010-01&to=2010-10&type=year"),
157
+ response: fixture('post_with_two_subnets_and_no_ip_year.raw')
169
158
 
170
159
  @resource = 'failover'
171
160
 
172
161
  FakeWeb.register_uri :get, uri,
173
- :response => fixture('get.raw')
174
-
175
- FakeWeb.register_uri :get, uri("#{FAILOVER_IP}"),
176
- :response => fixture('get_with_failover_ip.raw')
162
+ response: fixture('get.raw')
163
+
164
+ FakeWeb.register_uri :get, uri(FAILOVER_IP.to_s),
165
+ response: fixture('get_with_failover_ip.raw')
177
166
 
178
167
  FakeWeb.register_uri :post, uri("#{FAILOVER_IP}?active_server_ip=#{WORKING_IP_2}"),
179
- :response => fixture('post_with_active_server_ip.raw')
180
- #pp FakeWeb::Registry.instance.uri_map
168
+ response: fixture('post_with_active_server_ip.raw')
169
+
170
+ # pp FakeWeb::Registry.instance.uri_map
@@ -1,8 +1,21 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
1
4
  require "spec_constants"
2
5
  require "api_stubs"
3
6
 
7
+ RSpec.configure do |c|
8
+ c.before(:suite) do
9
+ FakeWeb.allow_net_connect = false
10
+ end
11
+ c.after(:suite) do
12
+ FakeWeb.allow_net_connect = true
13
+ end
14
+ end
15
+
16
+
4
17
  RSpec::Matchers.define :have_JSON_error_code do |expected|
5
18
  match do |actual|
6
19
  actual['error']['code'] == expected.to_s
7
20
  end
8
- end
21
+ end
metadata CHANGED
@@ -1,190 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hetzner-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Roland Moriz
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-11 00:00:00.000000000 Z
11
+ date: 2017-04-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: httparty
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: 0.10.0
19
+ version: 0.14.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: 0.10.0
26
+ version: 0.14.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: thor
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: json
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: xml-simple
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: bundler
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: rspec
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ~>
100
- - !ruby/object:Gem::Version
101
- version: 2.12.0
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 2.12.0
110
- - !ruby/object:Gem::Dependency
111
- name: guard-rspec
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: 2.3.1
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: 2.3.1
126
- - !ruby/object:Gem::Dependency
127
- name: fakeweb
128
- requirement: !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ~>
132
- - !ruby/object:Gem::Version
133
- version: 1.3.0
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ~>
140
- - !ruby/object:Gem::Version
141
- version: 1.3.0
142
- - !ruby/object:Gem::Dependency
143
- name: cucumber
144
- requirement: !ruby/object:Gem::Requirement
145
- none: false
146
- requirements:
147
- - - ~>
148
- - !ruby/object:Gem::Version
149
- version: 1.2.1
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ~>
156
- - !ruby/object:Gem::Version
157
- version: 1.2.1
158
- - !ruby/object:Gem::Dependency
159
- name: aruba
160
- requirement: !ruby/object:Gem::Requirement
161
- none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- - !ruby/object:Gem::Dependency
175
- name: rake
176
- requirement: !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
182
- type: :development
183
- prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
66
+ - - ">="
188
67
  - !ruby/object:Gem::Version
189
68
  version: '0'
190
69
  description: A wrapper for Hetzner.de's server management API
@@ -195,8 +74,8 @@ executables:
195
74
  extensions: []
196
75
  extra_rdoc_files: []
197
76
  files:
198
- - .gitignore
199
- - .travis.yml
77
+ - ".gitignore"
78
+ - ".travis.yml"
200
79
  - Gemfile
201
80
  - Gemfile.lock
202
81
  - LICENSE
@@ -274,29 +153,25 @@ files:
274
153
  - spec/spec_helper.rb
275
154
  homepage: http://moriz.de/opensource/hetzner-api
276
155
  licenses: []
156
+ metadata: {}
277
157
  post_install_message:
278
158
  rdoc_options: []
279
159
  require_paths:
280
160
  - lib
281
161
  required_ruby_version: !ruby/object:Gem::Requirement
282
- none: false
283
162
  requirements:
284
- - - ! '>='
163
+ - - ">="
285
164
  - !ruby/object:Gem::Version
286
165
  version: '0'
287
- segments:
288
- - 0
289
- hash: 2243244911634323905
290
166
  required_rubygems_version: !ruby/object:Gem::Requirement
291
- none: false
292
167
  requirements:
293
- - - ! '>='
168
+ - - ">="
294
169
  - !ruby/object:Gem::Version
295
170
  version: 1.3.6
296
171
  requirements: []
297
172
  rubyforge_project: hetzner-api
298
- rubygems_version: 1.8.23
173
+ rubygems_version: 2.6.11
299
174
  signing_key:
300
- specification_version: 3
175
+ specification_version: 4
301
176
  summary: A wrapper for Hetzner.de's server management API
302
177
  test_files: []