1835 Commits

Author SHA1 Message Date
Olle Jonsson
e640be9866 Lint Style/RedundantBegin 2021-08-17 08:44:04 +02:00
Olle Jonsson
59c32867b3 Regenerate RuboCop TODO file 2021-08-17 08:44:04 +02:00
Olle Jonsson
0b719c18a6 Add all new RuboCop rules 2021-08-17 08:44:04 +02:00
Olle Jonsson
d143b2d4f0 chore: Remove unnecessary lint skip 2021-08-17 08:44:04 +02:00
Olle Jonsson
006940a359 Use latest RuboCop, and bump Ruby req to 2.6 2021-08-17 08:44:04 +02:00
Matt
fe600c72ad
Drop deprecated auth helpers from Connection. (#1308)
Merge Authentication middleware.
Add possibility of passing a proc.
Update documentation.
2021-08-15 10:28:49 +02:00
Matt
7d727f4f02 Merge latest commits from 1.x 2021-08-14 13:32:53 +01:00
Matt
fa612a060a
[1.x] Deprecate Authorization helpers in Faraday::Connection (#1306) 2021-08-14 13:30:11 +01:00
Matt
ce0fdf8bca
Remove deprecated Faraday::UploadIO (#1307) 2021-08-14 09:48:16 +01:00
Matt
da878eaf38
Update README to inform about main branch containing unreleased v2 code and documentation (#1305) 2021-08-13 16:26:52 +01:00
Olle Jonsson
456191715a
Remove deprecated Faraday::Request#method (#1303) 2021-08-09 15:30:37 +02:00
Matt
4b6162d364
Move json middleware (request and response) from faraday_middleware (#1300) 2021-08-09 08:52:02 +01:00
Matt
83a97b72df
Version Bump to 1.7.0 v1.7.0 2021-08-09 08:50:42 +01:00
Matt
08b7d4d3b7
Autoloading, dependency loading and middleware registry cleanup (#1301) 2021-08-09 08:25:02 +01:00
Matt
ca37a9420e Merge branch '1.x' of https://github.com/lostisland/faraday 2021-08-01 18:08:32 +01:00
Yutaka Kamei
a1ee375bcd
Add strict_mode to Test::Stubs (#1298) 2021-08-01 17:45:32 +01:00
Matt
6333b73d13
Begin v2 release (#1297)
* Update UPGRADING.md to highlight adapters being moved out
* Cleanup tests
* Cleanup Gemfile
* Update CI
2021-08-01 17:09:03 +01:00
Matt
a089fb83fa
Version bump to 1.6.0 v1.6.0 2021-08-01 09:03:31 +01:00
Matt
fd1007ae33
Use external Rack adapter (#1296) 2021-08-01 09:01:13 +01:00
Matt
66d5dae371
Version bump to 1.5.1 v1.5.1 2021-07-11 11:03:24 +01:00
Pavel Rosický
6ed220cabf
Fix jruby incompatibility after moving out EM adapters (#1294) 2021-07-11 11:02:52 +01:00
Kenichi Kamiya
8727853801
Update YARD to follow RackBuilder (#1292) 2021-07-08 15:41:27 +01:00
Matt
0e8bfa592f
Version bump to 1.5.0 v1.5.0 2021-07-04 19:51:28 +01:00
Matt
bc4eb877c9
Use external patron adapter (#1290) 2021-07-04 19:50:59 +01:00
Matt
274f5fa6ba
Use external httpclient adapter (#1289) 2021-07-04 16:55:22 +01:00
Matt
8ca6a7eb58
Update version.rb v1.4.3 2021-06-24 16:10:59 +01:00
Alexey D
4dd36897af
Always dup url_prefix in Connection#build_exclusive_url (#1288) 2021-06-24 16:09:26 +01:00
Adam Doppelt
830b696ae7
silence warning (#1286) 2021-05-27 08:06:31 +02:00
Matt
63c33d234d
Version bump to 1.4.2 v1.4.2 2021-05-22 09:33:25 +01:00
Adam Doppelt
1f496a7f17
Default proxy scheme to http:// if necessary, fixes #1282 (#1283) 2021-05-22 09:27:06 +01:00
Adam Doppelt
11d793dd7e
Docs: add more middleware examples (#1277) 2021-05-02 08:28:29 +02:00
Catalin
53e4baedc7
Add proxy setting when url_prefix is changed (#1276)
* Add proxy setting when url_prefix is changed

Without this setting, setting the url_prefix after
a Faraday::Connection is initialized results in no_proxy
settings ignored when using relative paths.

* Increase Rubocop Metrics/ClassLength
2021-04-28 15:54:08 +02:00
Matt
67c5f7b239
Use external em_http and em_synchrony adapters (#1274) 2021-04-26 11:57:10 +02:00
Adam Doppelt
a582495311
[docs] Improve introduction page (#1273)
This set of change are intended to help the first-time reader.

- show method signatures for HTTP verbs
- give an overview of adapters & middleware
- explain a bit more about the shortcut methods vs. creating a connection
- use httpbingo.org instead of the defunct sushi.com
- make a quick note about the default connection and url encoding

Discussion started in #1270.
2021-04-26 09:00:28 +02:00
Matt
048718fb79
Update version.rb v1.4.1 2021-04-18 19:22:24 +01:00
Matt
e82694793b
Fix dependencies from external adapter gems (excon, net_http_persistent) (#1269) 2021-04-18 19:22:01 +01:00
Matt
41d87d6225
Update version.rb v1.4.0 2021-04-16 11:27:04 +01:00
Olle Jonsson
bf7d855598
Add rubocop-inclusivity (#1267)
Co-authored-by: Mattia Giuffrida <giuffrida.mattia@gmail.com>
2021-04-14 17:57:11 +02:00
Olle Jonsson
38d9398559
CONTRIBUTING: add a policy on inclusive language (#1262) 2021-04-14 16:35:26 +01:00
Olle Jonsson
0787548639
Drop RDoc support file .document (#1264)
Co-authored-by: Matt <iMacTia@users.noreply.github.com>
2021-04-14 16:34:03 +02:00
Olle Jonsson
952dac0b4c Update RuboCop TODO file
Fixes #1258
2021-04-14 08:52:10 +02:00
Olle Jonsson
a0c4a1cd03 Trivially edit docs/ README
...to push to the docs/ directory, to try to get it to build.
2021-04-14 08:31:48 +02:00
Olle Jonsson
21ac595919
CI: Rename default branch to main (#1263) 2021-04-13 19:57:39 +01:00
Olle Jonsson
fbb441eca2
CONTRIBUTING: Fix grammar and layout (#1261) 2021-04-13 18:51:23 +02:00
Olle Jonsson
33ee1c4eed
Drop CodeClimate (#1259)
This removes CodeClimate test reporter ID and badge.

Since the quality of reporting has gone down, and these fail the
builds, reducing our warning-seeing ability, I now take step of
stopping reporting to CC.

If we want to do any spot-checks, we can run rubycritic, or some other
metrics tool, which does not disrupt our workflow.
2021-04-13 18:27:34 +02:00
Matt
20be816bc8
Replace Excon adapter with Faraday::Excon gem, and fix autoloading issue with Faraday::NetHttpPersistent (#1257) 2021-04-12 11:36:09 +02:00
Damau
8d379a16fe
Some docs on EventMachine adapters. (#1232) 2021-04-11 13:30:57 +01:00
Marouen Bousnina
99afc0ff6f
Fix NoMethodError undefined method 'coverage' (#1255) 2021-03-28 11:36:26 +01:00
Olle Jonsson
506954e5fe
CI: Configure the regenerated Coveralls token (#1256) 2021-03-28 10:10:16 +01:00
Mike Rogers
14d0dd70c4
Replacing Net::HTTP::Persistent with faraday-net_http_persistent (#1250) 2021-03-26 08:00:05 +00:00