dry-swagger 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: e9f90c08a2cc2e78fca981c2e4db7836cb1f14632b478d6bb951146cb9101d66
4
- data.tar.gz: 33bf560f05ecac510ff401ebe3067e487ee28b7378395a0f97b3a44f6a4388a7
3
+ metadata.gz: a7ad81fa3e96f19db992cb4beab2707316f08581a18fb4744b98d0ded815474c
4
+ data.tar.gz: 5b71ef17a426f4cabf5dcce86ed9abb291f5452be9fdee9efc6df2a4d856375d
5
5
  SHA512:
6
- metadata.gz: 93d02007263ab18d0f37f7e41013eeb75082ceaec296f8023d104f6cbf5ea15874a6130cb89b0bfe5af5dbc602104948b41d2bc4ce929397535210e3d9e63158
7
- data.tar.gz: 80436b836812d8550c7798506e585ba7368f61db3afa08fae34c3ae7eeb940b24dedcab2e297176140d060a4841d8f4716d9ea3add070fbdbac90f7b51efebec
6
+ metadata.gz: b27a0a040f8b5d59cf8ba72f3636b7161e33e708c64bb4f1658425bb4e17a3eaadc88d9f45e0dcc2b56d5a33b726cdfeb0b2efedc2d25cf08c3002e1ecf6a3ac
7
+ data.tar.gz: f90605fe210dcb4486a8fad9ee60070ed9237ef5063387f1f8360c8c32b65efc41ed11e053437a514c126084bba42719bbfa674cc8ee87a778e5bdf2fceac432
@@ -12,15 +12,15 @@ module Dry
12
12
  }.freeze
13
13
 
14
14
  def initialize
15
- @config = Config::SwaggerConfiguration
15
+ @config = ::Dry::Swagger::Config::SwaggerConfiguration
16
16
  end
17
17
 
18
18
  def from_struct(struct)
19
- generate_documentation(DryStructParser::StructSchemaParser.new.call(struct).keys)
19
+ generate_documentation(::DryStructParser::StructSchemaParser.new.call(struct).keys)
20
20
  end
21
21
 
22
22
  def from_validation(validation)
23
- generate_documentation(DryValidationParser::ValidationSchemaParser.new.call(validation).keys)
23
+ generate_documentation(::DryValidationParser::ValidationSchemaParser.new.call(validation).keys)
24
24
  end
25
25
 
26
26
  def generate_documentation(fields)
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Swagger
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-swagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jane-Terziev