Update gems

This commit is contained in:
Sami Samhuri 2025-06-08 10:37:37 -07:00
parent 679bfec8df
commit f23b579417
No known key found for this signature in database
5 changed files with 7 additions and 3 deletions

View file

@ -7,6 +7,9 @@ AllCops:
DisplayCopNames: true
NewCops: enable
Gemspec/RequireMFA:
Enabled: false
Metrics/BlockLength:
Max: 36
Exclude:

View file

@ -7,6 +7,7 @@ gem 'jruby-openssl', platforms: :jruby
gem 'json', platforms: :mri_19
group :development do
gem 'bundler'
gem 'kramdown'
end

View file

@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'http', '>= 2', '< 6'
spec.add_dependency 'multi_json', '~> 1'
spec.add_dependency 'simple_oauth', '~> 0.3'
spec.add_dependency 'virtus', '~> 2'
spec.add_dependency 'virtus', '~> 1'
spec.author = 'Steve Agalloco'
spec.description = "Ruby Client for Instapaper's Full API"
spec.email = 'steve.agalloco@gmail.com'

View file

@ -18,7 +18,7 @@ module Instapaper
# Deletes the folder and moves any articles in it to the Archive.
# @param folder_id [String] The id of the folder.
def delete_folder(folder_id)
def delete_folder(folder_id) # rubocop:disable Naming/PredicateMethod
perform_post_with_unparsed_response('/api/1.1/folders/delete', folder_id: folder_id)
true
end

View file

@ -24,7 +24,7 @@ module Instapaper
# Delete a highlight
# @param highlight_id [String, Integer]
# @return [Boolean]
def delete_highlight(highlight_id, options = {})
def delete_highlight(highlight_id, options = {}) # rubocop:disable Naming/PredicateMethod
perform_post_with_unparsed_response("/api/1.1/highlights/#{highlight_id}/delete", options)
true
end