rspec_api_documentation-open_api 0.2.4 → 0.2.5

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: c989016991f93185bfb385f7dd5a7bd01b8d1d4988ac504f16df453fed91c03e
4
- data.tar.gz: d5889a9a8344dc975ec3c4264341105ad4e5be34b7fe8cecb940195a9087d6db
3
+ metadata.gz: 6cc730ec23d6bb77ba5a239974cd0f26fa345e678d0229eccb527819840deacb
4
+ data.tar.gz: 5f50fa100f7920458c26b151d6eeec8d39f9b9a48543a643f5c8b3e33361868a
5
5
  SHA512:
6
- metadata.gz: 87ec08457287c998e5306f2a7fa5a351b11d5da60f72dcd2ab0c30db2f6f7dcdcd60bf60fd383cc9f3285c6e1bd4b44a13dcde111b6f4354abb9ede493b74a2a
7
- data.tar.gz: 7d947095a8b5064972569822ea416b17159f484520ce6696b16765bc9983654628dda33d294dd01fb52ed6a93f194b7664b783e58fc00335871681bc6d8288ca
6
+ metadata.gz: 30b585f5e69205ba0b36089558ffc6b4bd54d6c8a7185399baa6fc1e31a7e716d989f621303349492e611313ef1d56f6dfc1898d236a4dfc66e0789f4130a33d
7
+ data.tar.gz: 2a6f96bb33b12c7be16ed78d3801c0c8b612212dc412db4a39fdc69e30f66e81e08aaff523c614762d58d8a5242ff7bf8518262f56721e82b397e9d59dbc2e85
@@ -1,5 +1,5 @@
1
1
  module RspecApiDocumentation
2
2
  module OpenApi
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
@@ -243,7 +243,7 @@ module RspecApiDocumentation
243
243
  end
244
244
 
245
245
  def info
246
- RspecApiDocumentation.configuration.open_api["info"] || {
246
+ RspecApiDocumentation.configuration.open_api["info"].deep_stringify_keys || {
247
247
  "version" => "1.0.0",
248
248
  "title" => "Open API",
249
249
  "description" => "Open API",
@@ -254,7 +254,7 @@ module RspecApiDocumentation
254
254
  end
255
255
 
256
256
  def servers
257
- RspecApiDocumentation.configuration.open_api["servers"] || [
257
+ RspecApiDocumentation.configuration.open_api["servers"].deep_stringify_keys || [
258
258
  {
259
259
  "url" => "http://localhost:{port}",
260
260
  "description" => "Development server",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_api_documentation-open_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaditya Taparia