open_api 0.6.0 → 0.6.1

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: bb57b4e43ec107bec1a066f674386b1c599bb92f39b961cc766150fc0efe3add
4
- data.tar.gz: dd9bbb124fc68821fa0876bb207e3d3e92dacb1b6e52ead4fb771a1be57a05a6
3
+ metadata.gz: 75dc67d9e9d1cdbffed8875e3a3c77eb0eb18518528c34981dbbe822a2b57907
4
+ data.tar.gz: b886a58671dda0ed82c0c5d2b7312c6d40b613ba73556dad12e610e1d3f97153
5
5
  SHA512:
6
- metadata.gz: 5f40c17eef8d3bd6c4851f2a3421034f16c936ca81cfd5023639889194cd6a99f6a0513a7f8aa953b5935e76831e33fd09b1dc2d196e2305fa11a4fe9721192e
7
- data.tar.gz: 44be1896d44eac13e20f013cd32a5db63ba077359fd6596cedc8617ce1f2ea997f35b53c3f1c0b29ae9a68c04e1d9d22a8265335099ade1f80442cfbb6c885da
6
+ metadata.gz: 4b2defd6fb6cb5ce3ed1d02283f9cdf8d9b398c0ffc9a4f022e8ff8da82e8880ab6b97ebb66b51e9111eede33d7d13a1f883665865b387e3ceaa2a4e5c4e4ead
7
+ data.tar.gz: 8d2645eee0608e9cd816cc876d905b6ef04cef1528e098c1cf61ad6fd2bde859db3366281cc76254395d17d3f2e6e5961b2a89a573c2e27d075fe6919d636d88
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.6.1
4
+ - Fix `Paths` initializer to enable to take no args
3
5
  ## 0.6.0
4
6
  - Supported Ruby 3.0 by fixing keyword parameters
5
7
  - Relaxed the version constraint on Rails
@@ -3,7 +3,7 @@ module OpenApi
3
3
  class Callback
4
4
  extend Forwardable
5
5
 
6
- def initialize(hash)
6
+ def initialize(hash = {})
7
7
  self.hash = hash.with_indifferent_access
8
8
  end
9
9
 
@@ -4,7 +4,7 @@ module OpenApi
4
4
  extend Forwardable
5
5
  prepend EquatableAsContent
6
6
 
7
- def initialize(path_hash)
7
+ def initialize(path_hash = {})
8
8
  self.path_hash = path_hash.with_indifferent_access
9
9
  end
10
10
 
@@ -1,3 +1,3 @@
1
1
  module OpenApi
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_api
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
  - Kent Nagata