1510 Commits

Author SHA1 Message Date
risk danger olson
435e45b154
Merge pull request #1000 from lostisland/add-testing-examples
Add testing examples
2019-09-22 09:50:58 -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
risk danger olson
80ba52c721
update multipart docs to mention ParamPart class (#1018)
* update multipart docs to mention ParamsPart class

* Use newer "FilePart" name

* annotate example

* Consistently use single quotes

* remove last UploadIO reference
2019-09-20 05:08:56 -06:00
risk danger olson
b863c167d6
Merge pull request #1021 from lostisland/upload_io_file_part
Rename UploadIO -> FilePart
2019-09-19 11:38:01 -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
risk danger olson
1418454f04
Merge pull request #1017 from trainline-eu/add-part-params-class-to-allow-multipart-posts-with-json-content-and-file-upload
Create PartParams class to allow multipart posts with JSON content and file upload at the same time
2019-09-17 13:30:04 -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
risk danger olson
e8792e43d5 port changes from #1000 (#1004) 2019-07-19 14:11:30 +02:00
rick olson
f825112db3 remove debugging code 2019-07-18 14:32:26 -06:00
rick olson
e1c71d4d57 whats up with webmock and patron 2019-07-18 14:10:53 -06:00
rick olson
ffbc597146 fix rubocop issues in examples 2019-07-18 13:45:59 -06:00
rick olson
d0ed8f891f describe stub request response, add exception example 2019-07-18 12:51:19 -06:00
rick olson
8e31ce1684 fix pointers to example files 2019-07-18 12:51:02 -06:00
rick olson
90122910d1 isolate examples from rspec test suite run in ci 2019-07-18 12:48:34 -06:00
rick olson
25c4791791 add example testing exception 2019-07-18 12:00:09 -06:00
risk danger olson
8d2eb3c079
Update docs/adapters/testing.md
Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
2019-07-18 10:30:51 -06:00
risk danger olson
fff3227cee
Update docs/adapters/testing.md
Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
2019-07-18 10:30:43 -06:00
risk danger olson
52b260112a
Update spec/examples/client_spec.rb
Co-Authored-By: Olle Jonsson <olle.jonsson@gmail.com>
2019-07-18 10:30:31 -06:00
rick olson
4a2d1e6b3d so picky 2019-07-10 10:35:21 -06:00
rick olson
d8ccce2bc0 show example of testing the env object too 2019-07-10 10:34:50 -06:00
rick olson
8b71ba3320 let it goooooo 2019-07-10 10:29:53 -06:00
rick olson
bbb015b500 let it go 2019-07-10 10:19:56 -06:00
rick olson
657b0231f8 Link directly to the blob pages on github 2019-07-10 10:05:18 -06:00
rick olson
869cf338de add test/unit and rspec test examples 2019-07-10 10:00:34 -06:00
Lewis Cowles
ac27ce502e Configure Jekyll plugin jekyll-remote-theme to support Docker usage (#999)
I tried to build with Jekyll 3.6.x (`jekyll/jekyll:latest`). It went badly.

By following the author guide https://github.com/benbalter/jekyll-remote-theme I noticed we were missing a YAML configuration entry.
2019-07-09 22:05:10 +02:00
risk danger olson
8fa2b46196
Merge pull request #994 from lostisland/fix/website-navigation
Website Navigation Fix
v1.0-rc1
2019-07-08 12:07:02 -06:00
risk danger olson
8585604508
Merge pull request #995 from lostisland/fix-options-inspect
teach #inspect how to build string without appending to a frozen string
2019-07-08 12:06:24 -06:00
rick olson
432fcd267d fix test 2019-07-08 11:55:56 -06:00
iMacTia
0ec66e8959 Fixes website navigation by adding trailing slashes to /index.md files.
See https://stackoverflow.com/questions/54727643/trailing-slashes-in-jekyll-github-pages-site-cause-404
2019-07-08 18:45:46 +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
risk danger olson
7eae1cbf23
Merge pull request #993 from lostisland/prep-1.0-rc1
Ship 1.0.0-rc1
2019-07-08 11:30:13 -06:00
rick olson
2a2a0ebfe5 Merge branch 'master' into prep-1.0-rc1 2019-07-08 11:14:20 -06:00
risk danger olson
a285d7a8b6
Merge pull request #982 from lostisland/faraday-website
Faraday Website
2019-07-08 11:11:59 -06:00
rick olson
26c542d9e1 fix the order of the site nav 2019-07-02 07:43:06 -06:00
iMacTia
6cd8c5dc35 Fixes placeholders for Faraday website URL. 2019-06-27 15:47:06 +01:00
iMacTia
0826817f4e Switches back to standard theme. 2019-06-26 12:08:20 +01:00
iMacTia
5d3e667c1a Merge branch 'faraday-website' of https://github.com/lostisland/faraday into faraday-website 2019-06-26 09:54:16 +01:00
iMacTia
9070f6bf2e Fixes homepage title. 2019-06-26 09:53:44 +01:00
rick olson
275d1e3daa bump version to 1.0.0-rc1 2019-06-25 10:57:44 -06:00
rick olson
62cbdb9d78 restructure adapters section:
* more prominent placing of test adapter
* remove next/prev navigation for adapter pages, they don't need to be read in order
* ensure all adapter pages link to top nav
2019-06-25 10:28:14 -06:00
rick olson
08cd1b3be9 top links to middleware pages 2019-06-25 10:09:12 -06:00
rick olson
caf7545906 add top links to usage pages 2019-06-25 10:07:43 -06:00
rick olson
75605b9c36 remove redundant sitemap 2019-06-25 09:59:18 -06:00
rick olson
2f96d9b3a7 rename Introduction section => to Usage 2019-06-25 09:38:52 -06:00
iMacTia
cf078cf20b Adds Elena contribution to team page and footer.
Aligns README footer with Website one.
2019-06-25 16:31:51 +01:00