rspec-openapi 0.6.0 → 0.6.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: b4d19b6239f38863e5cc4a7924d4dc9fc6f684a03f057f49371b4bd110fc312e
4
- data.tar.gz: 972520dcffe3b393e32194a0fa4f9154c93c097f63d81750d7ac5d5b15d229d6
3
+ metadata.gz: d9529f01aae2b2d1c77050b4a01f299c77a285057aa6fc7088a69ee7d2638e61
4
+ data.tar.gz: ca00d5561aaa0faeaadc1d42e7d2a25f729567b21af001c9677675e3738ae195
5
5
  SHA512:
6
- metadata.gz: 377aa3ea1a708b7ba2a8fd9cbaf96f0e6cf3588bdfbedcb14ee3ccb30c478c54e2d34fcd8e08bafc25c4c3cfab0062a4deb9781cf63e1c001b6e16750348222e
7
- data.tar.gz: eebc893ceb3eaa4207fcbac83e453ea19adcfdc5b64d82725f441dfa8fa33142bab178dd21b76318dbf6f01afa80da40a9f50b5c87c726a2e63fd3bfd56e4386
6
+ metadata.gz: 5de0ee281ad93e679c8f5456769fc1569f51ebfe5408c884d7061f9c802e3f8578ad48799a71306a6ce7cf0aa76959b2e30e2c97956e98237d08745c13d7aa54
7
+ data.tar.gz: 0a0076cedb0633762235833ead555db74720fad22c9f03fa84a7cdeaba617a823117a508c5acdd2e518ac1660582849c94ab68ccaed629e8f109ecfefe64227c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## v0.6.1
2
+
3
+ * Stabilize the order parameter objects and preserve newer examples
4
+ [#59](https://github.com/k0kubun/rspec-openapi/pull/59)
5
+
1
6
  ## v0.6.0
2
7
 
3
8
  * Replace `RSpec::OpenAPI.server_urls` with `RSpec::OpenAPI.servers`
data/Gemfile CHANGED
@@ -7,6 +7,10 @@ gem 'rails', ENV['RAILS_VERSION'] || '6.0.3.2'
7
7
  gem 'roda'
8
8
  gem 'rspec-rails'
9
9
 
10
+ group :test do
11
+ gem 'super_diff'
12
+ end
13
+
10
14
  group :development do
11
15
  gem 'pry'
12
16
  end
@@ -35,7 +35,7 @@ class << RSpec::OpenAPI::SchemaMerger = Object.new
35
35
  elsif base[key].is_a?(Array) && value.is_a?(Array)
36
36
  # parameters need to be merged as if `name` and `in` were the Hash keys.
37
37
  if key == 'parameters'
38
- base[key] |= value
38
+ base[key] = value | base[key]
39
39
  base[key].uniq! { |param| param.slice('name', 'in') }
40
40
  else
41
41
  base[key] = value
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module OpenAPI
3
- VERSION = '0.6.0'
3
+ VERSION = '0.6.1'
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-01 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
- rubygems_version: 3.1.2
92
+ rubygems_version: 3.3.7
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Generate OpenAPI schema from RSpec request specs