restspec 0.2.2 → 0.2.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
  SHA1:
3
- metadata.gz: b26843a83bede22b733ac6f705d2a222e5026ead
4
- data.tar.gz: 4b842294033cf03caaf560f3acdcfd6d8a509e34
3
+ metadata.gz: 97a565cd43b82dc19f31c53a7454abca3f95ab14
4
+ data.tar.gz: 6b67ea1d2aad032245db04a43e78f4fb294570e3
5
5
  SHA512:
6
- metadata.gz: ab90ca0c0d75fbba573b983514ad3d31a38d0fcbedf8111e419eb7401b54f10c11eaac0a0b6d51e00ea6e984d54cfd7c7534224082a703e3c1a29e10c9c96947
7
- data.tar.gz: 41a7db86cfdcfd83a86e9d53ec5be7a7a821320a84535b969706dacaf3151b10ee9e5ac5cd7d32c4fd1c30af86825b30a01001693f616eb9e282de61955755a0
6
+ metadata.gz: d5a94506ed34dc2aba3fb203a02c29939cf0506bbbd81cfba8ea8427706107df0a220f33540fc6edeb9d65e9e8595af29d7f194cd7e61a6a223be01325177715
7
+ data.tar.gz: 5255e6c82d9dd4b85385d68a6c0f9ccb9cb7ece9edeab16234d7be28b89ad6fb833b7e7c4a3cbb2cb09c0c9e505e031f1518a96bb98356ac996d34ce3d687a8f
@@ -73,7 +73,7 @@ module Restspec::Schema::Types
73
73
  end
74
74
 
75
75
  def create_schema_name
76
- example_options.fetch(:create_schema, create_endpoint.schema_name)
76
+ example_options.fetch(:create_schema) { create_endpoint.schema_for(:payload).name }
77
77
  end
78
78
 
79
79
  def perform_validation?
@@ -1,3 +1,3 @@
1
1
  module Restspec
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - juliogarciag