rick olson
1fa623b35a
remove test/unit related gems
2019-03-31 14:13:04 -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
risk danger olson
ef8d9eb2bc
Merge pull request #957 from lostisland/docs-retry-arg
...
document missing `:retry_statuses` argument
2019-03-30 08:52:31 -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
risk danger olson
ffc6911ed3
Merge pull request #948 from lostisland/document-example
...
[documentation] RackBuilder example, params
2019-03-20 16:34:33 -06:00
rick olson
e500ccd42d
Merge branch 'master' into document-example
2019-03-20 16:27:34 -06:00
risk danger olson
d16ea15626
Merge pull request #952 from lostisland/rubocop-0.66
...
Rubocop 0.66
2019-03-20 16:26:38 -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
rick olson
6167052fc7
Execute Order 66.
...
A manual version tweak in the Gemfile is required because rubocop
updated its
unicode-display_width dependency version:
* OLD - '~> 1.4.0'
* NEW - '< 1.6, >= 1.4.0'
Bundler wanted to install v1.5.0 for rubocop v0.66, but fails to update
rubocop
because unicode-display_width v1.5.0 will not work with rubocop v0.65.
2019-03-20 13:27:31 -06:00
rick olson
a2161e10a8
remove sinatra from gemspec, only used for live http tests
2019-03-20 13:23:35 -06:00
Olle Jonsson
5b924852fb
YARD comment for RackBuilder example
2019-03-18 14:46:33 +01:00
Mattia
6f0168b20b
Setup CodeClimate TestReporter on CircleCI ( #945 )
...
* CircleCI now runs CodeClimate TestReporter only on Ruby2.6
* Expects simplecov report instead of clover
2019-03-14 07:25:01 +01:00
Ted Johansson
88698363fd
Chore: RuboCop Style/MultipleComparison ( #923 )
2019-03-11 20:59:09 +00:00
Mattia
224dd98ebe
Update badges in README.md ( #942 )
...
Update Test coverage and Maintainability badges in README.md
2019-03-10 11:02:58 +01:00
Mattia
14b596fd30
Support standalone adapters ( #941 )
...
* Expose relevant specs to external adapters
2019-03-10 11:02:19 +01:00
Geoff Hubbard
6ff61c0ecc
chore: RuboCop lint Style/Globalvars ( #943 )
2019-03-09 13:23:48 +00:00
Olle Jonsson
c8c9a0217c
README: Add CircleCI badge ( #940 )
2019-03-09 10:21:56 +00:00
Olle Jonsson
0a47c7b115
CI: CircleCI configuration ( #935 )
...
* CI: CircleCI example
* README: Drop Travis CI badge
* NetHttp adapter: include EADDRNOTAVAIL, too
- this is about connections failing in JRuby tests
* HttpClient adapter: add EADDRNOTAVAIL failing in JRuby tests
* CI: deploy on Git tags
* CI: Try adding JRuby 9.2
* CI: add JRUBY_OPTS=--debug
* CI: Add RspecJunitFormatter
* CI: Identify Test Results via directory names
* CI: Use valid config YAML
* CI: Call rspec CLI
* CI: YAML alias to share steps
* CI: Drop Travis configuration file
2019-03-08 20:03:42 +01:00
Olle Jonsson
a1f698ef44
CI: Drop Travis configuration file
2019-03-08 19:35:38 +01:00
Olle Jonsson
c5632466d9
CI: Avoid bad cache
2019-03-08 19:34:49 +01:00
Olle Jonsson
752b67cad4
CI: YAML alias to share steps
2019-03-08 19:32:54 +01:00
Olle Jonsson
e955e55cb7
CI: Call rspec CLI
...
- Rakefile: remove CI-specific detail
2019-03-08 19:25:05 +01: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
Mattia
4102f3add4
Removes legacy tests as replaced by RSpec ( #939 )
2019-03-08 11:00:56 +00:00
Mattia
626d68f6ff
Adds rack adapter to RSpec tests ( #937 )
2019-03-07 23:18:29 +00:00
Olle Jonsson
82c82a9a8f
CI: disable JRuby
2019-03-07 22:47:01 +01:00
risk danger olson
c58723d028
Merge pull request #933 from lostisland/rubocop-style-classvars
...
Rubocop: style/classvars
2019-03-07 10:47:38 -07: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
385203be78
CI: Use valid config YAML
2019-03-06 22:04:48 +01:00
Olle Jonsson
780222e1ec
CI: Identify Test Results via directory names
2019-03-06 22:02:14 +01:00
Olle Jonsson
e84d1653b7
Linting
2019-03-06 21:57:08 +01:00
Olle Jonsson
5b97393d2b
CI: Add RspecJunitFormatter to RSpec rake task
2019-03-06 21:56:14 +01:00
Olle Jonsson
96047c855b
CI: add JRUBY_OPTS=--debug
2019-03-06 21:04:14 +01:00
Olle Jonsson
0d3e566f68
CI: Try adding JRuby 9.2
2019-03-06 21:00:38 +01:00
Olle Jonsson
ea1142a4a2
CI: deploy on Git tags
2019-03-06 20:52:30 +01: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
726de4a186
use a descriptive variable name
2019-03-06 11:23:52 -07:00
Olle Jonsson
2730f1247a
README: Drop Travis CI badge
2019-03-06 18:22:20 +01:00
Olle Jonsson
f6e8d7ad58
CI: CircleCI example
2019-03-06 18:14:58 +01:00
rick olson
907c5190b1
add AdapterRegistry spec
2019-03-06 10:14:10 -07:00