mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-05 00:05:35 -04:00
chore: RuboCop Style/CommentAnnotation (#876)
This commit is contained in:
parent
7af02185d5
commit
cbbce86940
@ -1,6 +1,6 @@
|
||||
# This configuration was generated by
|
||||
# `rubocop --auto-gen-config`
|
||||
# on 2019-02-25 23:11:38 +0100 using RuboCop version 0.65.0.
|
||||
# on 2019-02-25 23:40:42 +0100 using RuboCop version 0.65.0.
|
||||
# The point is for the user to remove these configuration records
|
||||
# one by one as the offenses are removed from the code base.
|
||||
# Note that changes in the inspected code, or installation of new
|
||||
@ -452,14 +452,6 @@ Style/ColonMethodCall:
|
||||
- 'script/proxy-server'
|
||||
- 'script/server'
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: Keywords.
|
||||
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
||||
Style/CommentAnnotation:
|
||||
Exclude:
|
||||
- 'lib/faraday/adapter/httpclient.rb'
|
||||
|
||||
# Offense count: 2
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
||||
@ -577,7 +569,7 @@ Style/GuardClause:
|
||||
- 'lib/faraday/request/url_encoded.rb'
|
||||
- 'lib/faraday/utils/headers.rb'
|
||||
|
||||
# Offense count: 161
|
||||
# Offense count: 162
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
||||
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
||||
|
@ -35,7 +35,7 @@ module Faraday
|
||||
|
||||
configure_client
|
||||
|
||||
# TODO Don't stream yet.
|
||||
# TODO: Don't stream yet.
|
||||
# https://github.com/nahi/httpclient/pull/90
|
||||
env[:body] = env[:body].read if env[:body].respond_to? :read
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user