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
Geoff Hubbard
6ff61c0ecc
chore: RuboCop lint Style/Globalvars ( #943 )
2019-03-09 13:23:48 +00:00
risk danger olson
bd322bba6b
chore: rubocop lint Metrics/LineLength ( #938 )
2019-03-08 17:45:12 +00:00
Olle Jonsson
1a7ce3e367
Merge pull request #920 from lostisland/fix/rubocop-style-p
...
chore: RuboCop lint Style/P*
2019-03-03 20:36:28 +01:00
Olle Jonsson
8140cba74c
Drop scripts/release, scripts/package ( #919 )
...
* Drop scripts/release
- GitHub Releases are used to create and annotate tags
- Travis CI publishes and pushes gems
* Drop script/package
2019-03-03 19:30:40 +00:00
iMacTia
f8f5985f3e
Fixes Rubocop Style/ParallelAssignment
2019-03-03 19:23:46 +00:00
risk danger olson
4171215da7
chore: Rubocop lint Style/PercentLiteralDelimiters ( #905 )
2019-03-02 10:33:45 +01:00
James Herdman
4c7e0a7717
More Cops On Patrol ( #901 )
2019-03-01 15:28:19 +00:00
Olle Jonsson
9e23ce0be5
Merge branch 'master' into fix-more-lint-offenses
2019-02-28 18:58:28 +01:00
Olle Jonsson
2102b439c4
Merge branch 'master' into fix-more-lint-offenses
2019-02-28 18:26:31 +01:00
iMacTia
127555abcf
chore: Rubocop lint Style/YodaCondition
2019-02-28 17:19:40 +00:00
risk danger olson
fd7dbc709b
Rubocop style ( #897 )
...
* chore: Rubocop lint Style/AccessModifierDeclarations
* chore: Rubocop lint Style/Alias
* chore: Rubocop lint Style/AndOr
* chore: Rubocop lint Naming/ConstantName
* chore: Rubocop lint Naming/PredicateName
* chore: Rubocop lint Naming/UncommunicativeMethodParamName
* chore: Rubocop lint Performance/RedundantBlockCall
* chore: Rubocop lint Performance/StringReplacement
2019-02-28 17:15:28 +00:00
rick olson
08c107516d
fix Lint/UnusedMethodArgument offenses
2019-02-27 14:36:15 -07:00
Olle Jonsson
768c5151d2
chore: RuboCop lint Style/RedundantReturn
2019-02-27 21:42:20 +01:00
Olle Jonsson
bbf937dd44
chore: RuboCop lint Style/ColonMethodCall ( #894 )
2019-02-27 21:37:28 +01:00
Olle Jonsson
420b5a433f
chore: RuboCop lint Style/WordArray ( #893 )
2019-02-27 20:52:08 +01:00
Olle Jonsson
7ddccdbd1e
chore: RuboCop lint Layout/SpaceInsideBlockBraces
2019-02-27 08:41:05 +01:00
Olle Jonsson
8cb5865a78
chore: RuboCop lint Layout/SpaceAroundOperators
2019-02-27 08:37:07 +01:00
Mattia
aa4e33ff50
chore: Fix RuboCop Style/HashSyntax ( #878 )
...
* Fixes rubocop Style/HashSyntax issues.
* Fixes rubocop Style/HashSyntax issues in comments as well.
2019-02-26 12:10:35 +01:00
Olle Jonsson
00765145a3
chore: RuboCop Style/StringLiteral
2019-02-25 23:11:57 +01:00
rick olson
fc53cc5d2d
fix Lint/AssignmentInCondition
2019-02-25 12:59:59 -07:00
Mattia
b427091f0e
chore: RuboCop: Support Frozen String Literals ( #868 )
2019-02-24 20:35:12 +01:00
Mattia
ec709b3974
chore: RuboCop lint Layout/AlignHash ( #863 )
2019-02-24 11:52:48 +01:00
Olle Jonsson
b2857e6e20
chore: RuboCop linting ( #860 )
...
* chore: RuboCop lint Layout/LeadingCommentSpace
* chore: RuboCop lint Layout/EmptyLineAfterGuardClause
* chore: RuboCop lint Layout/EmptyLineBetweenDefs
* chore: RuboCop lint Layout/EmptyLines
* chore: Regenerate RuboCop TODO
2019-02-20 22:44:57 +01:00
Olle Jonsson
e63ef9b830
Remove Typhoeus adapter ( #715 )
2017-11-02 09:57:49 +00:00
Leon Miller-Out
a712938071
Fix Ruby 1.9.3 tests on Travis. Drop support for Ruby 1.8.7. ( #600 )
...
* Drop support for Ruby 1.9.2, which no-one should be using any more.
* Constraint gem versions for Ruby 1.9.3
* Drop support for Ruby 1.8.7. Many dependencies have dropped support for it.
* Remove conditionals checking for Ruby 1.8.7
* Document Ruby version dependency
2016-08-26 21:45:28 +01:00
Mislav Marohnić
80c0e66102
Add script/bootstrap
for eventmachine + OpenSSL issues on OS X
2015-12-23 16:56:39 +01:00
Mislav Marohnić
b681452bbf
Fix running test suite for Ruby 1.8
...
Fixes #553
2015-12-23 16:52:20 +01:00
Mislav Marohnić
915d7fae2f
Forward script/console
arguments to irb
...
[ci skip]
2015-10-03 01:21:51 +02:00
Mislav Marohnić
94c2dae1e7
Merge branch 'cleanup-rakefile'
...
Closes #519
2015-10-02 17:51:56 +02:00
Mislav Marohnić
658862c355
Simplify release script
2015-10-02 17:51:20 +02:00
Michael Grosser
95c574b0dd
Remove unnecessary scripts
2015-10-02 17:51:20 +02:00
Mislav Marohnić
bc453746c1
Output proxy log as well after CI failure
2015-10-02 01:03:46 +02:00
Mislav Marohnić
761930f3ae
Opt in to new Travis container-based architecture
2015-02-03 22:24:09 -08:00
Mislav Marohnić
62a5781b92
Only try to cache dependencies when Amazon secret is available
...
Fixes the case when someone forks the repo and runs Travis on their own.
Also, allows the use-case of restoring dependencies only without
necessarily trying to cache them.
2014-02-12 00:51:23 +01:00
Mislav Marohnić
03d92dd203
Cache Bundler dependencies on Travis CI
...
- Even after the cache is restored, `bundle install` still needs to hit
RubyGems.org because there is no Gemfile.lock. There doesn't seem to
be a way to tell it that everything it needs is right there in the
`./bundle` directory.
- Can't use `--standalone` due to bundler/bundler#2851
- It's not necessary to manually update RubyGems and Bundler anymore.
2014-02-11 12:12:29 +01:00
Mislav Marohnić
a8afbdb306
improve start/shutdown of test servers
...
- give more time for test server to start
- shutdown both test and proxy server on failure
2013-08-11 14:03:23 +02:00
Mislav Marohnić
d0b01a9b31
teach proxy server to challenge unauthenticated requests
...
HTTPClient needs this challenge to retry with Basic authentication,
otherwise it won't attempt authentication at all.
2013-07-27 00:29:45 +02:00
Mislav Marohnić
0a1deaf173
add integration tests for HTTP proxy support
...
Spins up a proxy server in a separate process, runs a few requests
through it with each adapter to verify that both proxy support and basic
authentication take effect.
2013-07-27 00:29:44 +02:00
Mislav Marohnić
eed09439f7
have script/server log to stdout when called directly
2013-07-27 00:29:44 +02:00
Mislav Marohnić
872b45a781
configure script/test
to not tolerate Ruby warnings
...
This makes CI fail if code is added to the project that generates
warnings in Ruby's verbose mode.
2013-06-25 05:55:26 +02:00
Mislav Marohnić
150b5e6c7d
output the test server log if it fails to boot up
2013-04-04 03:32:26 +02:00
Mislav Marohnić
c2adfbf918
rewrite test script in bash
...
The HTTP server is now started in a subprocess, not a thread. Running it
in a Ruby thread had all sorts of problems on different Rubies, such as
random failures on Rubinius.
The new script also avoids starting the HTTP server if not needed, e.g.
if filtering arguments have been used to select only the non-adapter tests.
The script dumps the server log to stdout if any tests failed on Travis.
Avoids auto-starting the debugger because it blocks for input in Rubinius
https://travis-ci.org/lostisland/faraday/jobs/5956815
2013-04-04 01:33:36 +02:00
Colin Jones
4f37e8c0ef
Add test to prove rejection of invalid peer
2013-01-16 15:25:42 -06:00
technoweenie
d5afe2b4c0
releasing pushes to legacy remote
2013-01-05 14:37:03 -07:00
Mislav Marohnić
86c43e5b83
improve scripts: done in shell, simpler, no gemspec gen
2012-12-28 15:55:24 +01:00
Mislav Marohnić
26e9869f0b
fix test runner after move to minitest
...
`testrb` utility is gone from minitest. `autorun` is needed if you want
the test to actually run
2012-12-28 15:53:27 +01:00
technoweenie
da5ae304a6
rename script/gem to script/package
2012-12-28 01:44:24 -07:00
technoweenie
7849079be4
use system, not `
...
/cc @eric
2012-12-28 01:44:19 -07:00