Skip to content

Commit 57c33f8

Browse files
authored
Merge pull request #262 from exoego/fix-date
fix: require date in Ruby 2.7
2 parents fc37deb + a753fae commit 57c33f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rspec/openapi/schema_file.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
require 'yaml'
55
require 'json'
66

7+
# For Ruby 2.7
8+
require 'date'
9+
710
# TODO: Support JSON
811
class RSpec::OpenAPI::SchemaFile
912
# @param [String] path

0 commit comments

Comments
 (0)