Skip to content

Commit

Permalink
issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario.RuizSanchez committed Oct 5, 2019
1 parent 1030d95 commit 1a4f26a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/open_api_import.rb
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ class << self
data_pattern << "'#{dpk}': #{dpv[:minimum]}..#{dpv[:maximum]}"
elsif dpv.key?(:minimum) and !dpv.key?(:maximum)
if RUBY_VERSION >= '2.6.0'
data_pattern << "'#{dpk}': #{dpv[:minimum]}.."
data_pattern << "#'#{dpk}': #{dpv[:minimum]}.. # Disabled until bug on rufo gem is fixed"
else
data_pattern << "#'#{dpk}': #{dpv[:minimum]}.. # INFINITE only working on ruby>=2.6.0"
end
Expand Down
2 changes: 1 addition & 1 deletion open_api_import.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'open_api_import'
s.version = '0.9.0'
s.version = '0.9.1'
s.summary = "OpenApiImport -- Import a Swagger or Open API file and create a Ruby Request Hash file including all requests and responses with all the examples. The file can be in JSON or YAML"
s.description = "OpenApiImport -- Import a Swagger or Open API file and create a Ruby Request Hash file including all requests and responses with all the examples. The file can be in JSON or YAML"
s.authors = ["Mario Ruiz"]
Expand Down

0 comments on commit 1a4f26a

Please sign in to comment.