rspec-openapi 0.1.4 → 0.1.5

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: 6592834cfaeab157827636bb38312e11e49bbb109da57290585ebd8d06f0a027
4
- data.tar.gz: 717567dede6a8966d42cd6bdbd8ec0d68c59f92015bfe08285b22bbf15743614
3
+ metadata.gz: adaf5569dc17aa32bf1f570f77023097aed29ce2b76ee9c9c62ab5b48208dc31
4
+ data.tar.gz: ddf2e7c33c5a02a86f610dc68d6e3a46f1be0a44b2df838ab1681c9e09cca5dc
5
5
  SHA512:
6
- metadata.gz: 1fc45e3e2fe27cf6dc049fe079435e14459e0af479971cf6da7ad074673ab371b37bb831bbacbffc6a244fa3dca63c33c8ebc51608706da351c35f4734ce629e
7
- data.tar.gz: 5466deae08cd7b298386fbcd7e9d399840e10144483d7a6bb93c296791666f33450e7d3628eebe41a4400f28ce7c810c57c640c9f4794374f5401ad640c9b16a
6
+ metadata.gz: 07011c0a01fce891827ee62898a814ce653f17b68a13dca3dd11c4b166e3ef0c864675a43a86c8f94175ea50936d0cfb3a3a386c2c1eeaf68c13f3c180731be2
7
+ data.tar.gz: cb24d803cc198dd7df3578147a54c4160dbd160bb642e5ecfad149c5c119a3d6cd35a2fba02618b7c58a2511b5907129ced6d408fbe2e341cd616d0224f01a4d
@@ -1,3 +1,7 @@
1
+ ## v0.1.5
2
+
3
+ * Support detecting `float` type [#2](https://github.com/k0kubun/rspec-openapi/issues/2)
4
+
1
5
  ## v0.1.4
2
6
 
3
7
  * Avoid NoMethodError on nil Content-Type
data/README.md CHANGED
@@ -98,7 +98,7 @@ and the schema file can be used as an input of [Swagger UI](https://github.com/s
98
98
 
99
99
  ### Configuration
100
100
 
101
- If you want to change the path to generate a spec from `doc/openapi.yaml`, use:
101
+ The following configurations are optional.
102
102
 
103
103
  ```rb
104
104
  # Change the path to generate schema from `doc/openapi.yaml`
@@ -84,6 +84,8 @@ class << RSpec::OpenAPI::SchemaBuilder = Object.new
84
84
  case value
85
85
  when String
86
86
  'string'
87
+ when Float
88
+ 'float'
87
89
  when Integer
88
90
  'integer'
89
91
  when TrueClass, FalseClass
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module OpenAPI
3
- VERSION = '0.1.4'
3
+ VERSION = '0.1.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-openapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-19 00:00:00.000000000 Z
11
+ date: 2020-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec