Commit graph

670 commits

Author SHA1 Message Date
Gonzalo Rodriguez
51a58634a3
ci: update from rails 6.0.0.rc2 to 6.0.0 2019-08-16 18:59:28 -03:00
Gonzalo Rodriguez
4fc4d79c9d
Merge pull request #428 from grzuy/style
Enable more code style checks
2019-08-06 11:36:56 -03:00
Gonzalo Rodriguez
0ce6befd68
style: update to latest rubocop 2019-08-02 17:04:52 -03:00
Gonzalo Rodriguez
8fafa7602b
style: fix Style/BlockDelimiters cop check 2019-08-02 15:24:17 -03:00
Gonzalo Rodriguez
c0328707b1
style: enable Style/ParallelAssignment cop checks 2019-08-02 13:47:54 -03:00
Gonzalo Rodriguez
9d2e66e4eb
style: attempt to improve gemspec legibility 2019-08-02 12:16:14 -03:00
Gonzalo Rodriguez
d508e21483
style: avoid multiple assignments to same variable in conditional 2019-08-02 11:59:15 -03:00
Gonzalo Rodriguez
26ac5d1370
ci: no longer allow failures for almost stable Rails 6 2019-08-02 11:30:36 -03:00
Gonzalo Rodriguez
c8021da91c
style: avoid compact class/module definitions 2019-08-02 11:17:41 -03:00
Gonzalo Rodriguez
f5a352b8f9
style: limit line length to 120 columns 2019-08-02 10:51:53 -03:00
Gonzalo Rodriguez
9a042ad19a
Merge pull request #426 from grzuy/chat
docs: add gitter chat badge
2019-08-01 14:47:04 -03:00
Gonzalo Rodriguez
f86632f386
docs: add gitter chat badge 2019-08-01 14:23:30 -03:00
Gonzalo Rodriguez
644d2a412e
Merge pull request #425 from joemasilotti/patch-1
Example Configuration: black/white -> block/safe
2019-07-27 14:41:58 -03:00
Joe Masilotti
8ceda70f14
black/white -> block/safe 2019-07-27 09:31:22 +02:00
Gonzalo Rodriguez
c8abad53fe
Merge remote-tracking branch 'upstream/master' 2019-07-22 15:22:20 -03:00
Gonzalo Rodriguez
7592b99886
Merge pull request #423 from ishigo974/patch-1
Fix typo in CHANGELOG.md
2019-07-16 10:59:53 -03:00
Maxime
c16eba61fb
Fix typo in CHANGELOG.md 2019-07-16 14:12:22 +02:00
Gonzalo Rodriguez
dc305e0782
Merge pull request #421 from cristiangreco/cristian/redis-cache-store-failsafe
Failsafe on Redis error replies in RedisCacheStoreProxy.
2019-07-15 18:47:17 -03:00
Cristian Greco
dd6c09e581 Failsafe on Redis error replies in RedisCacheStoreProxy.
RedisCacheStoreProxy will blow up when RedisCacheStore raises a
CommandError exception. In fact, by default the proxied store only
handles BaseConnectionError exceptions, but will let bubble up any other
type of exception from the underlying client.

This pull request uses the same approach from RedisProxy, where store
operations are wrapped in a `rescuing` block that rescues and ignores
BaseError exceptions (the most generic exception class that can be
raised by the Redis client).
2019-07-14 01:37:59 +01:00
Gonzalo Rodriguez
c3c6398f7e
Bump gem version to v6.1.0 2019-07-11 17:01:40 -03:00
Gonzalo Rodriguez
50fde1e751
Merge pull request #422 from grzuy/discriminator_in_throttle_data
feat: provide discriminator in throttle_data
2019-07-11 16:57:24 -03:00
Gonzalo Rodriguez
58ba650e6b
feat: provide discriminator in throttle_data 2019-07-10 17:21:48 -03:00
Gonzalo Rodriguez
d1b71da182
Merge pull request #418 from lmansur/update-rubies
Update rubies
2019-06-12 17:37:01 -03:00
Lucas Mansur
c043102904 Update rubies 2019-06-07 20:25:12 -03:00
Gonzalo Rodriguez
34e221acc6
Merge pull request #416 from lmansur/fix-readme
Update README example with new ActiveSupport Notification syntax
2019-05-24 11:24:01 -03:00
Lucas Mansur
93fa023322 Use namespaced event 2019-05-23 19:01:50 -03:00
Gonzalo Rodriguez
39337d416e
docs: update v6.0.0 changelog 2019-05-23 16:20:56 -03:00
Gonzalo Rodriguez
bd9fc930d4
docs: fix typo 2019-04-19 11:14:27 -03:00
Gonzalo Rodriguez
6045b82897
Bump version to v6.0.0 2019-04-17 18:44:59 -03:00
Gonzalo Rodriguez
6d1c9680d3
build: update development gems 2019-04-17 18:44:54 -03:00
Gonzalo Rodriguez
306d157df3
docs: fix Basic Auth example typo 2019-03-28 12:08:48 -03:00
Gonzalo Rodriguez
ca95156acc
Merge pull request #412 from grzuy/update_rubies
ci: update rubies
2019-03-14 16:25:28 -03:00
Gonzalo Rodriguez
9511ae3abc
ci: update rubies 2019-03-14 15:20:00 -03:00
Gonzalo Rodriguez
935b91815b
Merge pull request #410 from grzuy/style
Code style updates
2019-03-06 20:20:48 -03:00
Gonzalo Rodriguez
6541634fb0
style: enable Style/Semicolon rubocop 2019-03-01 22:25:27 -03:00
Gonzalo Rodriguez
fcb89a6c12
refactor: avoid unnecessary nil argument passing 2019-03-01 22:22:11 -03:00
Gonzalo Rodriguez
0e8dff4c88
refactor: make Throttle.new consistent with Blocklist/Safelist.new 2019-03-01 22:12:32 -03:00
Gonzalo Rodriguez
3639afc196
refactor: remove unnecessary block local variable 2019-03-01 22:01:17 -03:00
Gonzalo Rodriguez
5a42fd3ac7
style: enable Style/OptionalArguments rubocop 2019-03-01 21:51:15 -03:00
Gonzalo Rodriguez
7daeac3401
style: enable Style/Encoding rubocop 2019-03-01 21:27:08 -03:00
Gonzalo Rodriguez
2240e8f2c6
style: enable Style/RaiseArgs rubocop 2019-03-01 21:19:06 -03:00
Gonzalo Rodriguez
92bc56b7b7
style: enable Style/RedundantSelf rubocop 2019-03-01 21:15:50 -03:00
Gonzalo Rodriguez
a0259fb14a
style: enable Style/SingleLineMethods rubocop 2019-03-01 21:14:47 -03:00
Gonzalo Rodriguez
8e3077c845
style: enabled Style/RedundantBegin rubocop 2019-03-01 21:10:40 -03:00
Gonzalo Rodriguez
7dbb490c01
style: enabled Style/EmptyMethod rubocop 2019-03-01 21:09:46 -03:00
Gonzalo Rodriguez
04eeeb9a33
refactor: avoid rescuing pattern repetition 2019-02-28 22:51:57 -03:00
Gonzalo Rodriguez
20d668211e
style: fix Lint/HandleExceptions rubocop 2019-02-28 21:17:36 -03:00
Gonzalo Rodriguez
bf4e902407
Merge pull request #408 from grzuy/style
style: prefer ruby 1.9+ hash syntax
2019-02-28 21:07:20 -03:00
Gonzalo Rodriguez
f772d0b3cd
Merge pull request #406 from grzuy/optional_name
Make blocklist/safelist name argument optional
2019-02-28 21:01:55 -03:00
Gonzalo Rodriguez
c67e71defe
style: prefer ruby 1.9+ hash syntax 2019-02-27 23:29:32 -03:00