risk danger olson
edcbd9f8e4
Merge branch 'master' into cleanup-adapter-connections
2019-10-14 14:13:02 -06:00
Olle Jonsson
6c7bf772b9
Rubocop: Lint/SendWithMixinArgument ( #1047 )
...
Same as 0ac691abaf1f78185f025ea8c8711f3970b49ebc, credits to @BobbyMcWho
2019-10-07 17:54:17 +01:00
rick olson
9882080737
release v0.16.0
2019-09-27 10:26:47 -06:00
risk danger olson
872a249fa7
Excon streaming ( #1026 )
...
* implement excon streaming
* trust that excon will return empty body on streamed responses
* track total byte size ourselves
* the extra args are needed
2019-09-22 09:43:18 -06:00
rick olson
f8615d5255
net_http and net_http_persistent share _some_ config code
2019-09-20 07:30:21 -06:00
rick olson
ba7b82d9a2
lint: fix alignment and rescue stmt
2019-09-20 05:32:14 -06:00
rick olson
bfe360a0a7
Refactor patron adapter to use #connection
2019-09-20 04:25:02 -06:00
rick olson
bfdb66ab71
Refactor httpclient adapter to use #connection
2019-09-19 20:44:18 -06:00
rick olson
86d3cf2e8b
Refactor excon adapter to use #connection
2019-09-19 20:38:20 -06:00
rick olson
36ff4a5c3e
Refactor net_http and net_http_persistent adapters to use #connection
2019-09-19 20:26:26 -06:00
rick olson
c0c911d0ee
properly indent @param tags
2019-09-18 14:50:54 -06:00
rick olson
c3bbb16dd3
remove class scope decl
2019-09-18 14:43:53 -06:00
rick olson
df8b15e720
move the Faraday::ParamPart#initialize yard desc to the class
2019-09-18 14:42:01 -06:00
rick olson
6fdc48e163
add specs for FilePart
2019-09-18 14:25:21 -06:00
rick olson
249835f8b6
add alias Faraday::FilePart for older Faraday::UploadIO
2019-09-18 14:18:14 -06:00
Jeremy ISRAEL
7dded89b33
Create PartParams class to allow multipart posts with JSON content and IO content in the same request
2019-09-17 10:29:22 +02:00
Aaron Patterson
f4ae96ea9b
This fixes warnings on Ruby 2.7 ( #1009 )
2019-08-15 22:17:16 +01:00
rick olson
70764fb34e
teach #inspect how to build string without appending to a frozen string
2019-07-08 11:43:19 -06:00
rick olson
275d1e3daa
bump version to 1.0.0-rc1
2019-06-25 10:57:44 -06:00
risk danger olson
1c3bf50d8a
rdoc: fix type info for SSLOptions ( #990 )
2019-06-03 13:47:52 -04:00
iMacTia
d4f062a56b
Use latest rubocop version like CircleCI.
2019-05-23 11:02:59 +01:00
lucasmoreno
91ba32e9d2
Introduces Faraday::ConflictError for 409 response code ( #979 )
2019-05-23 10:35:21 +01:00
Olle Jonsson
be097190e9
Refactor: Extract repeated calls to a shared map ( #973 )
...
* Extract repeated calls to a shared map
* Spec for net_http_persistent min_version
* Use realistic value in a spec
2019-04-14 20:51:52 +02:00
Bart de Water
b4a27f3734
Allow setting min/max SSL version for a Net::HTTP::Persistent connection
2019-04-13 19:17:59 -04:00
Olle Jonsson
7280a3803d
Lint Style/IfUnlessModifier
2019-04-08 20:42:10 +02:00
Olle Jonsson
def850b619
Lint Naming/RescuedExceptionsVariableName
2019-04-08 20:39:24 +02:00
risk danger olson
a8cd68e18f
Merge pull request #959 from lostisland/docs-connection-overload
...
document both uses of Connection#options
2019-04-01 15:41:08 -06:00
risk danger olson
cda3a0171d
Merge pull request #962 from lostisland/memoized-wo-block
...
Fix Memoized w/o block
2019-03-31 13:51:34 -06:00
rick olson
34bf23ae40
feed rubocop
2019-03-31 13:42:02 -06:00
rick olson
7aa80e21b9
stop relying on surprising Proc.new behavior
...
this raises a warning in ruby 2.7.0
https://docs.ruby-lang.org/en/trunk/NEWS.html
2019-03-31 13:39:21 -06:00
rick olson
342c2e4eb8
raise ArgumentError if Faraday::Options.memoized is called w/o a block
2019-03-31 13:28:25 -06:00
rick olson
4656ca4283
document both uses of Connection#options
2019-03-29 16:03:05 -06:00
rick olson
d986824c32
i've determined there's a spelling mistake here
2019-03-29 14:51:43 -06:00
rick olson
e2c07759de
document missing argument
2019-03-29 14:50:45 -06:00
risk danger olson
5063ffe963
rubocop: fix Style/Documentation offenses ( #951 )
...
* rubocop: fix Style/Documentation offenses
* no test dir
* use @see tag
* put @example after @params, before @return
2019-03-21 09:40:49 +01:00
rick olson
e500ccd42d
Merge branch 'master' into document-example
2019-03-20 16:27:34 -06:00
rick olson
9e29d03f63
prefer Lint/SafeNavigationWithEmpty
2019-03-20 13:29:27 -06:00
rick olson
6394090d1b
ignore more weird const names
2019-03-20 13:27:52 -06:00
Olle Jonsson
5b924852fb
YARD comment for RackBuilder example
2019-03-18 14:46:33 +01:00
Ted Johansson
88698363fd
Chore: RuboCop Style/MultipleComparison ( #923 )
2019-03-11 20:59:09 +00:00
Olle Jonsson
94a26eb1a8
Merge branch 'master' into use-circleci
2019-03-08 18:46:32 +01:00
risk danger olson
bd322bba6b
chore: rubocop lint Metrics/LineLength ( #938 )
2019-03-08 17:45:12 +00:00
rick olson
490ee83ddf
Merge branch 'master' into rubocop-style-classvars
2019-03-07 10:37:20 -07:00
rick olson
4d88475295
remove #constantize use and unnecessary nil checks
2019-03-07 10:28:55 -07:00
Mattia
609d1768cb
Adds em-synchrony adapter to RSpec tests ( #936 )
2019-03-07 13:23:41 +00:00
Olle Jonsson
338de4d938
HttpClient adapter: add EADDRNOTAVAIL
2019-03-06 19:53:20 +01:00
Olle Jonsson
148b99ee0f
NetHttp adapter: include EADDRNOTAVAIL, too
...
- this is about connections failing, an experiment
2019-03-06 19:50:23 +01:00
rick olson
73747c66b7
Merge branch 'master' into rubocop-style-classvars
2019-03-06 09:30:09 -07:00
risk danger olson
c801391d18
Merge pull request #932 from lostisland/em-http-tests
...
Adds em-http adapter to RSpec tests
2019-03-06 09:29:15 -07:00
Sergey Prikhodko
1d3d675821
Add the log formatter that is easy to override and safe to inherit ( #889 )
2019-03-06 16:13:14 +00:00