Skip to content

Commit

Permalink
Use latest YARD version (#2847)
Browse files Browse the repository at this point in the history
  • Loading branch information
comandeo-mongo authored Mar 4, 2024
1 parent 94eb2f5 commit efdaddd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gemfiles/standard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# rubocop:disable Metrics/AbcSize, Metrics/MethodLength, Metrics/BlockLength
def standard_dependencies
gem 'yard'
gem 'yard', '>= 0.9.35'
gem 'ffi'

group :development, :testing do
Expand Down
8 changes: 6 additions & 2 deletions upload-api-docs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gemfile true do
source 'https://rubygems.org'
gem 'nokogiri'
gem 'aws-sdk-s3'
gem 'yard'
gem 'yard', '>= 0.9.35'
end

require 'aws-sdk-s3'
Expand Down Expand Up @@ -113,8 +113,12 @@ def generate_docs(options)
'--exclude', './spec',
'--readme', './README.md',
'-o', options[:docs_path]
File.delete(File.join(options[:docs_path], 'frames.html')) rescue nil
)
begin
File.delete(File.join(options[:docs_path], 'frames.html'))
rescue StandardError
nil
end
end

options = Options.new
Expand Down

0 comments on commit efdaddd

Please sign in to comment.