prof 0.31.9 → 0.31.11

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: d2f855f238f034ba9d0580578d0122e5a633ade0
4
- data.tar.gz: 3e6f3ef71ca14179785c04d18b7d20c93b577224
3
+ metadata.gz: d2bedda05997713003dd9a661fc03ba5098aaa1d
4
+ data.tar.gz: b130c4cc16a605329fcef41fd668d39ed3c6bfec
5
5
  SHA512:
6
- metadata.gz: 67840239f7cc2c7e18244bf890fe0eaef4d419ab226d0f3f52125d8342778eba7f6ac5d17d16868874d42b72bf2bbc0d79d2935fd7eaf16849e9f4adc70553fe
7
- data.tar.gz: 8b3aa656ba6fa4db08cb0ae0a4ec037db523587229a447484b0186478011976a2e84c0e60a7f2f6c5cb9f0133e624e7aa6450730a2622260a97ccc532665d891
6
+ metadata.gz: 393308cabe2d9b3875ad363738107212f8c741f98cb969acb9756de1b99681a980bf49040d070cbfd0d0947363a414d62b2b57e6d336f0557392965bc6a418ed
7
+ data.tar.gz: 4154308d3e7ceeebb66ed79ea813c077b57ffec7fb5705bc9fe72340ee3efdebdd1659afbdc2002efd7d68623fcadcf2df10ab24297aee430361f27d63e6a51a
@@ -10,8 +10,11 @@
10
10
 
11
11
  shared_examples_for 'a service broker which logs to syslog' do
12
12
  it 'logs to syslog' do
13
+ root_prompt = "[sudo] password for vcap:"
14
+
13
15
  broker_ip = broker_host || environment.service_broker.url.host
14
- nginx_syslog_line_count = Integer(ssh_gateway.execute_on(broker_ip, "grep -c #{syslog_tag} /var/log/syslog"))
16
+ result = ssh_gateway.execute_on(broker_ip, "grep -c #{syslog_tag} /var/log/syslog", root: true)[root_prompt.length..-1]
17
+ nginx_syslog_line_count = Integer(result.strip)
15
18
  expect(nginx_syslog_line_count).to be > 0
16
19
  end
17
20
  end
data/lib/prof/version.rb CHANGED
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Prof
12
- VERSION = '0.31.9'
12
+ VERSION = '0.31.11'
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.9
4
+ version: 0.31.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - CF London
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-11 00:00:00.000000000 Z
11
+ date: 2016-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem-release
@@ -378,7 +378,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
378
378
  version: '0'
379
379
  requirements: []
380
380
  rubyforge_project:
381
- rubygems_version: 2.6.4
381
+ rubygems_version: 2.5.1
382
382
  signing_key:
383
383
  specification_version: 4
384
384
  summary: A gem to test CF service brokers