nonnative 2.20.0 → 2.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f867021d8754e7ef700f5b57991335299ea696410cc268f3ea6b18d4b3ae4d7
4
- data.tar.gz: bea097cace138eab114d90b7b43404b0efd50479354c5448f247bafc78d93468
3
+ metadata.gz: 50e3259a9203deec0efaadd273f5dbb0af97707e7226399147e081c57c19e1a9
4
+ data.tar.gz: 3986e9250edbf08bd3b570610849cc6f6a998dc1773ef14eee7cb9da45771db6
5
5
  SHA512:
6
- metadata.gz: 134bd430de52ad60233ccab7e71e08b593505cf69bcd4c9ee3dee1bc5c001c1416a628f0377c53dbecc1b9d3809ba0ad047c872f266b6ef2dd967ec22aaddeb6
7
- data.tar.gz: a9461d8db4fba48d27ebdc9ffcb67916d4feb996769acf450cc0ab595633df94e00279bc415f17e0600e8d2edd9f8e114b2fa958f582b3e760d14129361c144b
6
+ metadata.gz: b7d31913722e55932103ab8855d3a01b4fccc358dfec987e16ebc6978cc39f6a34eed25f46d788084a3fa665fe5af9165da4091f8d512064ef550e12aa26c817
7
+ data.tar.gz: 8f3aa8a30785c105735916ba45275ee3f72d1f1d76edec4399124a262995664e7866901ca18cb7d9b85a7108196b46bf8c76d2376e6505d628f15854c821de9a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nonnative (2.20.0)
4
+ nonnative (2.21.0)
5
5
  concurrent-ruby (>= 1, < 2)
6
6
  config (>= 5, < 6)
7
7
  cucumber (>= 7, < 12)
@@ -88,7 +88,7 @@ module Nonnative
88
88
  end
89
89
 
90
90
  module LifecycleSteps
91
- SERVICE_UNAVAILABLE = 'Service Unavailable'
91
+ SERVICE_UNAVAILABLE = 'service unavailable'
92
92
 
93
93
  def install_state_steps
94
94
  install_start_step
@@ -126,11 +126,12 @@ module Nonnative
126
126
  opts = observability_options
127
127
 
128
128
  Then('I should see {string} as unhealthy') do |service|
129
+ service = service.downcase
129
130
  wait_for { Nonnative.observability.health(opts).code }.to eq(503)
130
131
  wait_for { Nonnative.observability.health(opts).body }.to satisfy do |body|
131
- body = body.to_s.strip
132
+ body = body.to_s.strip.downcase
132
133
 
133
- body == SERVICE_UNAVAILABLE || body.include?(service)
134
+ body.include?(SERVICE_UNAVAILABLE) || body.include?(service)
134
135
  end
135
136
  end
136
137
  end
@@ -139,11 +140,12 @@ module Nonnative
139
140
  opts = observability_options
140
141
 
141
142
  Then('I should see {string} as healthy') do |service|
143
+ service = service.downcase
142
144
  wait_for { Nonnative.observability.health(opts).code }.to eq(200)
143
145
  wait_for { Nonnative.observability.health(opts).body }.to satisfy do |body|
144
- body = body.to_s.strip
146
+ body = body.to_s.strip.downcase
145
147
 
146
- body != SERVICE_UNAVAILABLE && !body.include?(service)
148
+ !body.include?(SERVICE_UNAVAILABLE) && !body.include?(service)
147
149
  end
148
150
  end
149
151
  end
@@ -4,5 +4,5 @@ module Nonnative
4
4
  # The current gem version.
5
5
  #
6
6
  # @return [String]
7
- VERSION = '2.20.0'
7
+ VERSION = '2.21.0'
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nonnative
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.0
4
+ version: 2.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Falkowski