lbspec 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/lbspec.gemspec +1 -2
- data/lib/lbspec/healthcheck.rb +2 -2
- data/lib/lbspec/respond.rb +2 -2
- data/lib/lbspec/transfer.rb +2 -2
- data/lib/lbspec/version.rb +1 -1
- data/spec/lbspec_healthcheck_spec.rb +21 -18
- data/spec/lbspec_respond_spec.rb +22 -22
- data/spec/lbspec_spec.rb +1 -1
- data/spec/lbspec_transfer_spec.rb +38 -35
- data/spec/lbspec_util_spec.rb +3 -3
- metadata +24 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9f738bbb24cc50691fcd210cca953720045e400
|
4
|
+
data.tar.gz: d66a10b5cca908ca83ca4aa48c9d511add8cf147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bef533b8b8f50479149c3cc9e0e506509a096dc795dc2166f3bdf995d89f6f2bda1515292ae97b57ce2f85f789223d234caf1d12647dc61a1609dd7339a4e920
|
7
|
+
data.tar.gz: 00d9755f13aa03dba972f22d28d541c7d03732026549961da9b2fd23598dfa0e7eb202cddd1a6f2817f4548a5dbdc23033131cd55a80425f71e6726525b94329
|
data/.travis.yml
CHANGED
data/lbspec.gemspec
CHANGED
@@ -22,9 +22,8 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "rake", "~> 10.2"
|
23
23
|
spec.add_development_dependency 'rubocop', '0.24.1'
|
24
24
|
spec.add_development_dependency "coveralls", "~> 0.7"
|
25
|
-
spec.add_development_dependency "debugger", "~> 1.6"
|
26
25
|
spec.add_development_dependency "highline", "~> 1.6"
|
27
26
|
|
28
|
-
spec.add_runtime_dependency "rspec", "~>
|
27
|
+
spec.add_runtime_dependency "rspec", "~> 3.1"
|
29
28
|
spec.add_runtime_dependency "net-ssh", "~> 2.8"
|
30
29
|
end
|
data/lib/lbspec/healthcheck.rb
CHANGED
@@ -60,11 +60,11 @@ RSpec::Matchers.define :healthcheck do |nodes|
|
|
60
60
|
"healthcheck #{@nodes}#{@chain_str}."
|
61
61
|
end
|
62
62
|
|
63
|
-
|
63
|
+
failure_message do
|
64
64
|
result_string
|
65
65
|
end
|
66
66
|
|
67
|
-
|
67
|
+
failure_message_when_negated do
|
68
68
|
negative = true
|
69
69
|
result_string(negative)
|
70
70
|
end
|
data/lib/lbspec/respond.rb
CHANGED
@@ -68,11 +68,11 @@ RSpec::Matchers.define :respond do |expect|
|
|
68
68
|
"respond #{@expect}#{@chain_str}."
|
69
69
|
end
|
70
70
|
|
71
|
-
|
71
|
+
failure_message do
|
72
72
|
result_string
|
73
73
|
end
|
74
74
|
|
75
|
-
|
75
|
+
failure_message_when_negated do
|
76
76
|
negative = true
|
77
77
|
result_string(negative)
|
78
78
|
end
|
data/lib/lbspec/transfer.rb
CHANGED
@@ -78,11 +78,11 @@ RSpec::Matchers.define :transfer do |nodes|
|
|
78
78
|
"transfer requests to #{nodes}#{@chain_str}."
|
79
79
|
end
|
80
80
|
|
81
|
-
|
81
|
+
failure_message do
|
82
82
|
result_string
|
83
83
|
end
|
84
84
|
|
85
|
-
|
85
|
+
failure_message_when_negated do
|
86
86
|
negative = true
|
87
87
|
result_string(negative)
|
88
88
|
end
|
data/lib/lbspec/version.rb
CHANGED
@@ -6,43 +6,46 @@ describe '#healthcheck' do
|
|
6
6
|
before(:each) do
|
7
7
|
include_str = 'X-Test: 1'
|
8
8
|
channel_connected = double('channel_connected')
|
9
|
-
channel_connected.
|
10
|
-
|
11
|
-
channel_connected.
|
9
|
+
allow(channel_connected).to receive(:request_pty)
|
10
|
+
.and_yield(channel_connected, true)
|
11
|
+
allow(channel_connected).to receive(:exec)
|
12
|
+
.and_yield(channel_connected, nil, nil)
|
13
|
+
allow(channel_connected).to receive(:on_data)
|
12
14
|
.and_yield(nil, include_str)
|
13
15
|
.and_yield(nil, include_str)
|
14
16
|
ssh_connected = double('ssh_connected')
|
15
|
-
ssh_connected.
|
16
|
-
ssh_connected.
|
17
|
-
ssh_connected.
|
18
|
-
ssh_connected.
|
19
|
-
Net::SSH.
|
20
|
-
|
21
|
-
Kernel.
|
17
|
+
allow(ssh_connected).to receive(:open_channel).and_yield(channel_connected)
|
18
|
+
allow(ssh_connected).to receive(:closed?).and_return(false)
|
19
|
+
allow(ssh_connected).to receive(:close)
|
20
|
+
allow(ssh_connected).to receive(:exec!).and_return(true)
|
21
|
+
allow(Net::SSH).to receive(:start).and_yield(ssh_connected)
|
22
|
+
.and_return(ssh_connected)
|
23
|
+
allow(Kernel).to receive(:system).and_return true
|
24
|
+
allow(Kernel).to receive(:`).and_return(include_str) # `
|
22
25
|
end
|
23
26
|
|
24
27
|
it 'should test loadbalancer healthchecks' do
|
25
|
-
'loadbalancer'.
|
28
|
+
expect('loadbalancer').to healthcheck('node_a')
|
26
29
|
end
|
27
30
|
it 'should test loadbalancer healthchecks include string' do
|
28
|
-
'loadbalancer'.
|
31
|
+
expect('loadbalancer').to healthcheck('node_a').include('X-Test')
|
29
32
|
end
|
30
33
|
it 'should test loadbalancer healthchecks from specified host' do
|
31
|
-
'loadbalancer'.
|
34
|
+
expect('loadbalancer').to healthcheck('node_a').from('X-Test')
|
32
35
|
end
|
33
36
|
it 'should test loadbalancer healthchecks at specified interval' do
|
34
|
-
'loadbalancer'.
|
37
|
+
expect('loadbalancer').to healthcheck('node_a').interval(5)
|
35
38
|
end
|
36
39
|
it 'should test loadbalancer healthchecks specified port' do
|
37
|
-
'loadbalancer'.
|
40
|
+
expect('loadbalancer').to healthcheck('node_a').port(80)
|
38
41
|
end
|
39
42
|
it 'should test loadbalancer healthchecks icmp' do
|
40
|
-
'loadbalancer'.
|
43
|
+
expect('loadbalancer').to healthcheck('node_a').icmp
|
41
44
|
end
|
42
45
|
it 'should test loadbalancer healthchecks tcp' do
|
43
|
-
'loadbalancer'.
|
46
|
+
expect('loadbalancer').to healthcheck('node_a').tcp
|
44
47
|
end
|
45
48
|
it 'should test loadbalancer healthchecks udp' do
|
46
|
-
'loadbalancer'.
|
49
|
+
expect('loadbalancer').to healthcheck('node_a').udp
|
47
50
|
end
|
48
51
|
end
|
data/spec/lbspec_respond_spec.rb
CHANGED
@@ -6,61 +6,61 @@ describe '#respond' do
|
|
6
6
|
|
7
7
|
context 'http/https' do
|
8
8
|
it 'should test vhost_a responds with 200 OK' do
|
9
|
-
Lbspec::Util.
|
10
|
-
'vhost_a'.
|
9
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '200 OK'
|
10
|
+
expect('vhost_a').to respond('200 OK')
|
11
11
|
end
|
12
12
|
it 'should test vhost:80 responds with 200 OK by request with options' do
|
13
|
-
Lbspec::Util.
|
14
|
-
'vhost_a:443'.
|
13
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '200 OK'
|
14
|
+
expect('vhost_a:443').to respond('200 OK').http.path('/test')
|
15
15
|
end
|
16
16
|
it 'should test vhost:443 responds with 404 by request with options' do
|
17
|
-
Lbspec::Util.
|
18
|
-
'vhost_a:443'.
|
17
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '404 Not Found'
|
18
|
+
expect('vhost_a:443').to respond('404').https.path('/test')
|
19
19
|
.options(ignore_valid_ssl: false, timeout: 5)
|
20
20
|
end
|
21
21
|
it 'should test vhost:443 responds by requests from specified host' do
|
22
|
-
Lbspec::Util.
|
23
|
-
'vhost_a:443'.
|
22
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '200 OK'
|
23
|
+
expect('vhost_a:443').to respond('200 OK')
|
24
24
|
.https.path('/test').from('node_a')
|
25
25
|
end
|
26
26
|
it 'should test vhost:443 does not respond 404' do
|
27
|
-
Lbspec::Util.
|
28
|
-
'vhost_a:443'.
|
27
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '200 OK'
|
28
|
+
expect('vhost_a:443').to_not respond('404')
|
29
29
|
.https.path('/test').from('node_a')
|
30
30
|
end
|
31
31
|
it 'should test vhost:443/test does not respond 404' do
|
32
|
-
Lbspec::Util.
|
33
|
-
'vhost_a:443/test'.
|
32
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '200 OK'
|
33
|
+
expect('vhost_a:443/test').to_not respond('404')
|
34
34
|
.https.from('node_a')
|
35
35
|
end
|
36
36
|
it 'should test vhost:443/test does not respond 404' do
|
37
|
-
Lbspec::Util.
|
38
|
-
'vhost_a:443/test'.
|
37
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '200 OK'
|
38
|
+
expect('vhost_a:443/test').to_not respond('404')
|
39
39
|
.https.from('node_a')
|
40
40
|
end
|
41
41
|
it 'should test vhost:443/test does respond /^404/' do
|
42
|
-
Lbspec::Util.
|
43
|
-
'vhost_a:443/test'.
|
42
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '404 Not Found'
|
43
|
+
expect('vhost_a:443/test').to respond(/^404/)
|
44
44
|
.https.from('node_a')
|
45
45
|
end
|
46
46
|
end
|
47
47
|
context 'tcp/udp' do
|
48
48
|
it 'should test vhost:25/tcp respond 220' do
|
49
|
-
Lbspec::Util.
|
50
|
-
'vhost_a:25'.
|
49
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '220'
|
50
|
+
expect('vhost_a:25').to respond('220')
|
51
51
|
.tcp.with('HELO test.example.com')
|
52
52
|
end
|
53
53
|
it 'should test vhost:53/udp respond ' do
|
54
|
-
Lbspec::Util.
|
55
|
-
'vhost_a:53'.
|
54
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '220'
|
55
|
+
expect('vhost_a:53').to respond('220')
|
56
56
|
.udp.with('HELO test.example.com')
|
57
57
|
end
|
58
58
|
end
|
59
59
|
context 'description works with 200 OK' do
|
60
60
|
subject { 'vhost_a' }
|
61
61
|
it do
|
62
|
-
Lbspec::Util.
|
63
|
-
|
62
|
+
allow(Lbspec::Util).to receive(:exec_command).and_return '200 OK'
|
63
|
+
is_expected.to respond('200 OK')
|
64
64
|
end
|
65
65
|
end
|
66
66
|
end
|
data/spec/lbspec_spec.rb
CHANGED
@@ -6,96 +6,99 @@ describe '#transfer' do
|
|
6
6
|
before(:each) do
|
7
7
|
key = Lbspec::Util.create_prove
|
8
8
|
include_str = 'X-Test: 1'
|
9
|
-
Lbspec::Util.
|
9
|
+
allow(Lbspec::Util).to receive(:create_prove).and_return(key)
|
10
10
|
channel_connected = double('channel_connected')
|
11
|
-
channel_connected.
|
12
|
-
|
13
|
-
channel_connected.
|
11
|
+
allow(channel_connected).to receive(:request_pty)
|
12
|
+
.and_yield(channel_connected, true)
|
13
|
+
allow(channel_connected).to receive(:exec)
|
14
|
+
.and_yield(channel_connected, nil, nil)
|
15
|
+
allow(channel_connected).to receive(:on_data)
|
14
16
|
.and_yield(nil, key + include_str)
|
15
17
|
.and_yield(nil, key + include_str)
|
16
18
|
ssh_connected = double('ssh_connected')
|
17
|
-
ssh_connected.
|
18
|
-
ssh_connected.
|
19
|
-
ssh_connected.
|
20
|
-
ssh_connected.
|
21
|
-
Net::SSH.
|
22
|
-
|
19
|
+
allow(ssh_connected).to receive(:open_channel).and_yield(channel_connected)
|
20
|
+
allow(ssh_connected).to receive(:closed?).and_return(false)
|
21
|
+
allow(ssh_connected).to receive(:close)
|
22
|
+
allow(ssh_connected).to receive(:exec!).and_return(true)
|
23
|
+
allow(Net::SSH).to receive(:start)
|
24
|
+
.and_yield(ssh_connected).and_return(ssh_connected)
|
25
|
+
allow(Lbspec::Util).to receive(:`).and_return(key + include_str) # `
|
23
26
|
end
|
24
27
|
|
25
28
|
it 'should test transfer a node' do
|
26
|
-
'vhost_a'.
|
29
|
+
expect('vhost_a').to transfer('node_a')
|
27
30
|
end
|
28
31
|
it 'should test transfer nodes' do
|
29
|
-
'vhost_a'.
|
32
|
+
expect('vhost_a').to transfer(%w(node_a node_b))
|
30
33
|
end
|
31
34
|
it 'should test transfer a node on port 80' do
|
32
|
-
'vhost_a'.
|
35
|
+
expect('vhost_a').to transfer('node_a').port(80)
|
33
36
|
end
|
34
37
|
it 'should test transfer vhost:80 and a node on port 80' do
|
35
|
-
'vhost_a:80'.
|
38
|
+
expect('vhost_a:80').to transfer('node_a').port(80)
|
36
39
|
end
|
37
40
|
it 'should test transfer vhost:80 and a node on port 80/tcp' do
|
38
|
-
'vhost_a:80'.
|
41
|
+
expect('vhost_a:80').to transfer('node_a').port(80).tcp
|
39
42
|
end
|
40
43
|
it 'should test transfer vhost:80 and a node on port 53/tcp' do
|
41
|
-
'vhost_a:80'.
|
44
|
+
expect('vhost_a:80').to transfer('node_a').port(53).udp
|
42
45
|
end
|
43
46
|
it 'should test transfer vhost:80 and a node with http' do
|
44
|
-
'vhost_a:80'.
|
47
|
+
expect('vhost_a:80').to transfer('node_a').http
|
45
48
|
end
|
46
49
|
it 'should test transfer vhost:443 and a node with https' do
|
47
|
-
'vhost_a:443'.
|
50
|
+
expect('vhost_a:443').to transfer('node_a').port(80).https
|
48
51
|
end
|
49
52
|
it 'should test transfer vhost:443 and a node:80 with https' do
|
50
|
-
'vhost_a:443'.
|
53
|
+
expect('vhost_a:443').to transfer('node_a').port(80).https
|
51
54
|
end
|
52
55
|
it 'should test transfer vhost:443 and a node with https /test' do
|
53
|
-
'vhost_a:443/test'.
|
56
|
+
expect('vhost_a:443/test').to transfer('node_a').https
|
54
57
|
end
|
55
58
|
it 'should test transfer vhost:443 with options for requests' do
|
56
|
-
'vhost_a:443'.
|
59
|
+
expect('vhost_a:443').to transfer('node_a').https.path('/test')
|
57
60
|
.options(ignore_valid_ssl: true)
|
58
|
-
'vhost_a:443/test'.
|
61
|
+
expect('vhost_a:443/test').to transfer('node_a').https
|
59
62
|
.options(ignore_valid_ssl: false, timeout: 5)
|
60
63
|
end
|
61
64
|
it 'should test transfer vhost:443 requests from specified host' do
|
62
|
-
'vhost_a:443/test'.
|
65
|
+
expect('vhost_a:443/test').to transfer('node_a')
|
63
66
|
.https.from('node_a')
|
64
67
|
end
|
65
68
|
it 'should test transfer vhost:80 and a node with http includes ' do
|
66
|
-
'vhost_a:80'.
|
69
|
+
expect('vhost_a:80').to transfer('node_a').http
|
67
70
|
.include('X-Test: 1')
|
68
|
-
'vhost_a:80'.
|
71
|
+
expect('vhost_a:80').to transfer('node_a').http
|
69
72
|
.include(/Test:/)
|
70
73
|
end
|
71
74
|
|
72
75
|
describe 'request_command' do
|
73
76
|
it 'should create single header options for http' do
|
74
|
-
Lbspec::Util.
|
77
|
+
expect(Lbspec::Util).to receive(:exec_command)
|
75
78
|
.with(/ -H.*/, nil)
|
76
|
-
Lbspec::Util.
|
79
|
+
expect(Lbspec::Util).not_to receive(:exec_command)
|
77
80
|
.with(/ -H.* -H/, nil)
|
78
|
-
'vhost_a:443'.
|
81
|
+
expect('vhost_a:443').to transfer('node_a').http
|
79
82
|
.options(header: 'X-Test1:1')
|
80
83
|
end
|
81
84
|
it 'should create single header options for https' do
|
82
|
-
Lbspec::Util.
|
85
|
+
expect(Lbspec::Util).to receive(:exec_command)
|
83
86
|
.with(/ -H.*/, nil)
|
84
|
-
Lbspec::Util.
|
87
|
+
expect(Lbspec::Util).not_to receive(:exec_command)
|
85
88
|
.with(/ -H.* -H/, nil)
|
86
|
-
'vhost_a:443'.
|
89
|
+
expect('vhost_a:443').to transfer('node_a').https
|
87
90
|
.options(header: 'X-Test1:1')
|
88
91
|
end
|
89
92
|
it 'should create multi header options for http' do
|
90
|
-
Lbspec::Util.
|
93
|
+
expect(Lbspec::Util).to receive(:exec_command)
|
91
94
|
.with(/ -H.* -H/, nil)
|
92
|
-
'vhost_a:443'.
|
95
|
+
expect('vhost_a:443').to transfer('node_a').http
|
93
96
|
.options(header: %w(X-Test1:1 X-Test2:2))
|
94
97
|
end
|
95
98
|
it 'should create multi header options for https' do
|
96
|
-
Lbspec::Util.
|
99
|
+
expect(Lbspec::Util).to receive(:exec_command)
|
97
100
|
.with(/ -H.* -H/, nil)
|
98
|
-
'vhost_a:443'.
|
101
|
+
expect('vhost_a:443').to transfer('node_a').https
|
99
102
|
.options(header: %w(X-Test1:1 X-Test2:2))
|
100
103
|
end
|
101
104
|
end
|
data/spec/lbspec_util_spec.rb
CHANGED
@@ -7,13 +7,13 @@ describe Lbspec::Util do
|
|
7
7
|
describe '#logger' do
|
8
8
|
it 'should set/get logger' do
|
9
9
|
Lbspec::Util.logger = 'test'
|
10
|
-
Lbspec::Util.logger.
|
10
|
+
expect(Lbspec::Util.logger).to eql('test')
|
11
11
|
end
|
12
12
|
end
|
13
13
|
describe '#log_level' do
|
14
14
|
it 'should set/get log_level' do
|
15
15
|
Lbspec::Util.log_level = Logger::WARN
|
16
|
-
Lbspec::Util.log_level.
|
16
|
+
expect(Lbspec::Util.log_level).to eql(Logger::WARN)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
describe '#log' do
|
@@ -21,7 +21,7 @@ describe Lbspec::Util do
|
|
21
21
|
Lbspec::Util.logger = nil
|
22
22
|
end
|
23
23
|
it 'should return Logger instance' do
|
24
|
-
Lbspec::Util.log.
|
24
|
+
expect(Lbspec::Util.log).to be_instance_of(Logger)
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lbspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OTA Hiroshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.2'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -56,70 +56,56 @@ dependencies:
|
|
56
56
|
name: coveralls
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0.7'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.7'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: debugger
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.6'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ~>
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.6'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: highline
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- - ~>
|
73
|
+
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
75
|
version: '1.6'
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- - ~>
|
80
|
+
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '1.6'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: rspec
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
|
-
- - ~>
|
87
|
+
- - "~>"
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
89
|
+
version: '3.1'
|
104
90
|
type: :runtime
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
|
-
- - ~>
|
94
|
+
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
96
|
+
version: '3.1'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: net-ssh
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- - ~>
|
101
|
+
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '2.8'
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- - ~>
|
108
|
+
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: '2.8'
|
125
111
|
description: Lbspec is an RSpec plugin for easy Loadbalancer testing.
|
@@ -129,11 +115,11 @@ executables: []
|
|
129
115
|
extensions: []
|
130
116
|
extra_rdoc_files: []
|
131
117
|
files:
|
132
|
-
- .coveralls.yml
|
133
|
-
- .gitignore
|
134
|
-
- .rspec
|
135
|
-
- .rubocop.yml
|
136
|
-
- .travis.yml
|
118
|
+
- ".coveralls.yml"
|
119
|
+
- ".gitignore"
|
120
|
+
- ".rspec"
|
121
|
+
- ".rubocop.yml"
|
122
|
+
- ".travis.yml"
|
137
123
|
- Gemfile
|
138
124
|
- LICENSE
|
139
125
|
- LICENSE.txt
|
@@ -169,17 +155,17 @@ require_paths:
|
|
169
155
|
- lib
|
170
156
|
required_ruby_version: !ruby/object:Gem::Requirement
|
171
157
|
requirements:
|
172
|
-
- -
|
158
|
+
- - ">="
|
173
159
|
- !ruby/object:Gem::Version
|
174
160
|
version: '0'
|
175
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
162
|
requirements:
|
177
|
-
- -
|
163
|
+
- - ">="
|
178
164
|
- !ruby/object:Gem::Version
|
179
165
|
version: '0'
|
180
166
|
requirements: []
|
181
167
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.
|
168
|
+
rubygems_version: 2.2.2
|
183
169
|
signing_key:
|
184
170
|
specification_version: 4
|
185
171
|
summary: Easily test your Loadbalancers with RSpec.
|