Mattia Giuffrida
8cbfd758c2
Make 3.0 the minimum supported Ruby version
2023-12-28 18:09:17 +01:00
Bart de Water
39f1b35db6
Subclass Options structs using a block ( #1489 )
...
As recommended on https://ruby-doc.org/core-2.2.2/Struct.html#method-c-new and https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/StructInheritance
Has the nice side-effect of making the methods defined by Struct.new discoverable by Tapioca.
Using the @!parse directive to ensure YARD doesn't collapse the separate pages into constants under the Faraday module
2023-02-04 08:53:51 +00:00
Matt
43d6797770
Enables and fixes all new cops. ( #1443 )
2022-08-08 15:46:54 +01:00
Mattia Giuffrida
6799f5852d
Introduce new streaming API ( #1439 )
...
* Backwards-compatible
* Allow adapters to provide response info to on_call block
* Provide `stream_response` helper method
2022-08-08 12:23:09 +01:00
Konstantin S Kazarin
d420a12a57
Handle verify hostname ssl option ( #1428 )
2022-06-30 22:26:16 +01:00
Olle Jonsson
f0bc54fecb
Gem rubocop-inclusivity features are now upstream
...
This commit enables the Naming/InclusiveLanguage rule.
2021-08-17 08:44:04 +02:00
Olle Jonsson
01e840e151
RuboCop: add new rules
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
006940a359
Use latest RuboCop, and bump Ruby req to 2.6
2021-08-17 08:44:04 +02: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
Utkarsh Gupta
a5b7a6bc81
Drop git ls-files
in gemspec ( #1183 )
2020-09-23 11:20:37 +02:00
Olle Jonsson
90b4564cec
Rubocop linting with 0.84.0 ( #1160 )
2020-05-27 17:26:31 +01:00
Alexander Popov
c26df87b86
Update RuboCop
...
Require its specific version in `Gemfile`.
Fix it's installation in CI.
Enable new cops.
Resolve new offenses.
Drop support of Ruby 2.3
(it's not supported by RuboCop and by MRI:https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/ )
Deprecate `Faraday::Request#method`, replace it with `#http_method`.
2020-04-19 17:44:07 +02:00
Mattia
a53a4360e2
Adds compatibility with latest rubocop ( #1093 )
2019-12-27 16:43:11 +00:00
risk danger olson
e8792e43d5
port changes from #1000 ( #1004 )
2019-07-19 14:11:30 +02:00
Olle Jonsson
7c9a322b0d
Add --require to RuboCop configuration
2019-04-08 20:42:31 +02: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
bd322bba6b
chore: rubocop lint Metrics/LineLength ( #938 )
2019-03-08 17:45:12 +00:00
Olle Jonsson
c209c41da6
RuboCop rule: Allow !! ( #922 )
...
* RuboCop rule: Allow !!
* chore: Regenerate RuboCop TODO
2019-03-03 23:27:34 +01:00
Olle Jonsson
52833e2f2b
chore: Disable Metrics/BlockLength in spec/ ( #883 )
2019-02-27 07:43:35 +01:00
Olle Jonsson
03d05a25a9
RuboCop: Allow Lint/AssignmentInCondition - and enable RuboCop in CodeClimate ( #853 )
...
RuboCop: Create a TODO list and enable RuboCop in CodeClimate
2019-02-20 20:06:26 +01:00
Olle Jonsson
848251420a
Add RuboCop, start configuration, add --auto-gen-config ( #851 )
2019-02-20 18:28:48 +00:00