362 Commits

Author SHA1 Message Date
HoneyryderChuck
c118924d6f don't need to reset the gemfile.lock in the container 2018-07-18 14:21:04 +01:00
HoneyryderChuck
712d0f604a using /get endpoint instead of / 2018-07-04 19:23:08 +01:00
HoneyryderChuck
17e54cb4f4 make gems install in global dir and not locally, so I can run the CI suite and not have my gems destroyed 2018-06-12 14:29:14 +01:00
HoneyryderChuck
e45b5a246c Merge branch 'master' of gitlab.com:honeyryderchuck/httpx 2018-06-11 19:25:55 +01:00
HoneyryderChuck
caadfd4024 Merge branch 'multi_proxy' into 'master'
Multi proxy

Closes #20

See merge request honeyryderchuck/httpx!22
2018-06-11 18:25:31 +00:00
HoneyryderChuck
81d7a1714f do not build documentation if tests fail 2018-06-11 19:16:44 +01:00
HoneyryderChuck
b2cc1c8d4a enabled parallel testing; turn off certificate verification on CI mode 2018-06-11 19:16:22 +01:00
HoneyryderChuck
e666dfb85d Merge branch 'retries' into 'master'
Retries

Closes #17

See merge request honeyryderchuck/httpx!23
2018-06-11 17:56:46 +00:00
HoneyryderChuck
38facaece7 rubocoping 2018-06-11 18:27:57 +01:00
HoneyryderChuck
ce4a30cc57 fixed the proxy array setup 2018-06-11 17:57:23 +01:00
HoneyryderChuck
daa843504c Merge branch 'unixsock' into 'master'
Unixsock

Closes #24

See merge request honeyryderchuck/httpx!20
2018-06-07 11:34:27 +00:00
HoneyryderChuck
0a846f05f3 rubocopping 2018-06-07 12:16:37 +01:00
HoneyryderChuck
c74b86b435 do not test result of real requests 2018-06-06 20:59:52 +01:00
HoneyryderChuck
0be7efaab2 added follow_insecure_redirects, which allows users to opt in on https-to-http redirects (shut down by default) 2018-06-06 17:51:21 +01:00
HoneyryderChuck
0c46794c20 added retries test module, with max_retries already there 2018-06-06 17:50:58 +01:00
HoneyryderChuck
a54fab5998 remove traces of the retries parameter, which wasn't being used anyway 2018-06-06 17:48:44 +01:00
HoneyryderChuck
68861bc336 proxy: allow to pass a list of possible proxies to :uri parameter; taking the first one from the list 2018-06-04 09:59:28 +01:00
HoneyryderChuck
4e5507f1db do not escape redirect location in tests (uris are escaped now) 2018-06-01 19:17:51 +01:00
HoneyryderChuck
19503156e1 encoding URLs properly by replacing unsafe characters 2018-06-01 17:29:30 +01:00
HoneyryderChuck
b7e875a761 rubocoped this 2018-05-28 10:00:54 +01:00
HoneyryderChuck
6c49581dc2 added unix io type (so now one can open unix sockets), added a basic test to show that connectivity is possible 2018-05-25 15:57:46 +01:00
HoneyryderChuck
5b4c465c72 allow to pass transport type (tcp, ssl, unix)and a transport options 2018-05-25 15:55:41 +01:00
HoneyryderChuck
1065607837 fixed patch for CI 2.5 to count with 2.5.1 as well 2018-04-03 19:47:40 +01:00
HoneyryderChuck
79c7d72f2a bumped rubocop to 0.54 2018-03-26 17:16:41 +01:00
HoneyryderChuck
44f9b9c31a skip connection refused test in jruby (to be debugged) 2018-03-26 12:15:41 +01:00
HoneyryderChuck
f5c8508f44 guarding connection initialization against EADDRNOTAVAIL 2018-03-26 11:55:12 +01:00
HoneyryderChuck
7b8d0d89f7 show the actual error coming 2018-03-23 15:00:07 +00:00
HoneyryderChuck
e36c6347bf rubocop indications 2018-03-23 14:48:10 +00:00
HoneyryderChuck
d29b198d68 added tests for connection refused behaviour 2018-03-23 14:45:03 +00:00
HoneyryderChuck
67eb755a3b added Response#raise_for_status, which raises an exception if the http code is an error code; it also duck-types the error response, which will raise its exception 2018-03-23 10:53:16 +00:00
HoneyryderChuck
0b4c6fc8c3 ErrorResponse now receives a full exception instead of only the message 2018-03-23 10:52:30 +00:00
HoneyryderChuck
0a92135c57 slipped through this... 2018-03-22 20:32:45 +00:00
HoneyryderChuck
4be12daa00 verify_status receives response and raises when not a proper response 2018-03-20 20:08:24 +00:00
HoneyryderChuck
aac720128f faster bundle install 2018-02-25 17:34:31 +00:00
HoneyryderChuck
cea5feefdd only build docs for latest ruby 2018-02-24 20:18:06 +00:00
HoneyryderChuck
522b1ffb57 make CI always use latest bundler 2018-02-24 13:21:22 +00:00
HoneyryderChuck
3202dba08b using apk --update flag to get from package manager 2018-02-21 23:11:47 +00:00
HoneyryderChuck
96ab04884d removed log 2018-02-21 22:38:23 +00:00
HoneyryderChuck
130841c58b moar log 2018-02-21 20:21:12 +00:00
HoneyryderChuck
7f06f3c170 proper exit status 2018-02-21 09:27:46 +00:00
HoneyryderChuck
873689c5d8 getting the ruby version in the build script in a different way 2018-02-20 22:36:53 +00:00
HoneyryderChuck
361f56d39f Update build.sh 2018-02-20 17:08:38 +00:00
HoneyryderChuck
17077dad69 echo ruby version 2018-02-20 10:33:57 +00:00
HoneyryderChuck
722b577eb3 only run jekyll for 2.5 2018-02-19 23:35:27 +00:00
HoneyryderChuck
072e5cd4c4 building jekyll output to local public 2018-02-19 22:48:27 +00:00
HoneyryderChuck
eb3da2bca9 moved jekyll task to the container (needs ruby) 2018-02-19 00:52:54 +00:00
HoneyryderChuck
bc6f3ea85b indent 2018-02-18 14:17:13 +00:00
HoneyryderChuck
e207c57513 moved http1/http2 to http/https tests 2018-02-17 22:18:05 +00:00
HoneyryderChuck
0dd9d1152c disable ssl verification in ruby 2.5 2018-02-17 16:31:56 +00:00
HoneyryderChuck
57a62fe19a removing pushed request from pending to avoid race-condition on sent requests 2018-02-14 19:04:45 +00:00