dry-swagger 2.0.1 → 2.0.3

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: a7ad81fa3e96f19db992cb4beab2707316f08581a18fb4744b98d0ded815474c
4
- data.tar.gz: 5b71ef17a426f4cabf5dcce86ed9abb291f5452be9fdee9efc6df2a4d856375d
3
+ metadata.gz: 5fa1dfe7e2884cbf425c645dc6a787453e99462850f2b919869119ee7097131f
4
+ data.tar.gz: 9fa423e89b339080563fe0b4301261f70656d302f39945b88004e257cd10f7b1
5
5
  SHA512:
6
- metadata.gz: b27a0a040f8b5d59cf8ba72f3636b7161e33e708c64bb4f1658425bb4e17a3eaadc88d9f45e0dcc2b56d5a33b726cdfeb0b2efedc2d25cf08c3002e1ecf6a3ac
7
- data.tar.gz: f90605fe210dcb4486a8fad9ee60070ed9237ef5063387f1f8360c8c32b65efc41ed11e053437a514c126084bba42719bbfa674cc8ee87a778e5bdf2fceac432
6
+ metadata.gz: 32d0436d2ae625a5291521f1e5cea70d4b437da0abefcd875105ad0861033aa87ac53c3081924321aa339bc18744a92fb76cf0953fc0a374ca1a38386e383625
7
+ data.tar.gz: '058a128e1d2b160a5cfd6e9589cae6f7c11b82699f15957a31c794cb32d89e9f04fa55436bbff82d746aea8049ced5ca466b78d02e6a22840d10e0921bf2500d'
data/Gemfile.lock CHANGED
@@ -1,16 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dry-swagger (2.0.0)
4
+ dry-swagger (2.0.3)
5
5
  dry_struct_parser
6
6
  dry_validation_parser
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- bigdecimal (3.1.5)
12
- concurrent-ruby (1.2.2)
13
- diff-lcs (1.4.4)
11
+ bigdecimal (3.1.6)
12
+ concurrent-ruby (1.2.3)
13
+ diff-lcs (1.5.1)
14
14
  dry-configurable (1.1.0)
15
15
  dry-core (~> 1.0, < 2)
16
16
  zeitwerk (~> 2.6)
@@ -49,29 +49,29 @@ GEM
49
49
  dry-initializer (~> 3.0)
50
50
  dry-schema (>= 1.12, < 2)
51
51
  zeitwerk (~> 2.6)
52
- dry_struct_parser (0.1.0)
52
+ dry_struct_parser (0.1.2)
53
53
  dry-struct (~> 1)
54
- dry_validation_parser (0.1.7)
54
+ dry_validation_parser (0.1.10)
55
55
  dry-types (~> 1)
56
56
  dry-validation (~> 1)
57
- i18n (1.8.10)
57
+ i18n (1.14.1)
58
58
  concurrent-ruby (~> 1.0)
59
59
  ice_nine (0.11.2)
60
60
  rake (12.3.3)
61
- rspec (3.10.0)
62
- rspec-core (~> 3.10.0)
63
- rspec-expectations (~> 3.10.0)
64
- rspec-mocks (~> 3.10.0)
65
- rspec-core (3.10.1)
66
- rspec-support (~> 3.10.0)
67
- rspec-expectations (3.10.1)
61
+ rspec (3.13.0)
62
+ rspec-core (~> 3.13.0)
63
+ rspec-expectations (~> 3.13.0)
64
+ rspec-mocks (~> 3.13.0)
65
+ rspec-core (3.13.0)
66
+ rspec-support (~> 3.13.0)
67
+ rspec-expectations (3.13.0)
68
68
  diff-lcs (>= 1.2.0, < 2.0)
69
- rspec-support (~> 3.10.0)
70
- rspec-mocks (3.10.2)
69
+ rspec-support (~> 3.13.0)
70
+ rspec-mocks (3.13.0)
71
71
  diff-lcs (>= 1.2.0, < 2.0)
72
- rspec-support (~> 3.10.0)
73
- rspec-support (3.10.2)
74
- zeitwerk (2.6.12)
72
+ rspec-support (~> 3.13.0)
73
+ rspec-support (3.13.1)
74
+ zeitwerk (2.6.13)
75
75
 
76
76
  PLATFORMS
77
77
  ruby
@@ -6,6 +6,7 @@ module Dry
6
6
  "integer" => { type: :integer },
7
7
  "boolean" => { type: :boolean },
8
8
  "float" => { type: :float },
9
+ "decimal" => { type: :string, format: :decimal },
9
10
  "datetime" => { type: :string, format: :datetime },
10
11
  "date" => { type: :string, format: :date },
11
12
  "time" => { type: :string, format: :time },
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Swagger
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.3"
4
4
  end
5
5
  end
data/lib/dry/swagger.rb CHANGED
@@ -1,4 +1,6 @@
1
1
  require "dry/swagger/version"
2
+ require "dry_struct_parser/struct_schema_parser"
3
+ require "dry_validation_parser/validation_schema_parser"
2
4
  require 'dry/swagger/documentation_generator'
3
5
  require 'dry/swagger/errors/missing_hash_schema_error'
4
6
  require 'dry/swagger/errors/missing_type_error'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-swagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jane-Terziev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-12 00:00:00.000000000 Z
11
+ date: 2024-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry_struct_parser