mirror of
https://github.com/samsonjs/instapaper.git
synced 2026-03-25 08:55:49 +00:00
Update gems
This commit is contained in:
parent
679bfec8df
commit
f23b579417
5 changed files with 7 additions and 3 deletions
|
|
@ -7,6 +7,9 @@ AllCops:
|
|||
DisplayCopNames: true
|
||||
NewCops: enable
|
||||
|
||||
Gemspec/RequireMFA:
|
||||
Enabled: false
|
||||
|
||||
Metrics/BlockLength:
|
||||
Max: 36
|
||||
Exclude:
|
||||
|
|
|
|||
1
Gemfile
1
Gemfile
|
|
@ -7,6 +7,7 @@ gem 'jruby-openssl', platforms: :jruby
|
|||
gem 'json', platforms: :mri_19
|
||||
|
||||
group :development do
|
||||
gem 'bundler'
|
||||
gem 'kramdown'
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue