Aaron Suggs
809474fa7b
Merge pull request #231 from olleolleolle/patch-1
...
Travis: use jruby-9.1.10.0
2017-06-09 13:15:47 -04:00
Olle Jonsson
9e23f1acd1
Travis: use jruby-9.1.10.0
2017-05-26 12:30:17 +02:00
Aaron Suggs
26124874e2
Merge pull request #223 from marcgg/patch-1
...
Typo in comment
2017-04-03 16:26:05 -04:00
Marc G Gauthier
98b0ab866d
Typo in comment
2017-02-21 17:07:26 +01:00
Aaron Suggs
dc308add10
README: add section for maintainers
2017-02-09 22:26:57 -05:00
Aaron Suggs
301f2473f2
Merge pull request #215 from olleolleolle/patch-1
...
README: Badges as SVG not PNG
2017-01-16 13:23:17 -05:00
Olle Jonsson
7285e721aa
README: Badges as SVG not PNG
2017-01-16 12:24:25 +01:00
Aaron Suggs
f3e468a588
Merge pull request #214 from olleolleolle/patch-1
...
Travis: use JRuby latest stable 9.1.7.0
2017-01-16 06:21:26 -05:00
Olle Jonsson
05ed73ce53
Travis: use JRuby latest stable 9.1.7.0
2017-01-16 10:17:40 +01:00
Aaron Suggs
d85d318572
Merge pull request #204 from ktheory/license
...
Add LICENSE file
2016-10-24 09:52:51 -04:00
Aaron Suggs
c249488950
travis: switch to jruby 9.x
2016-10-24 09:28:46 -04:00
Aaron Suggs
ebf62e1536
Add LICENSE file
2016-10-23 21:40:18 -04:00
Aaron Suggs
8936cc647a
Merge pull request #195 from envato/add_testing_instructions
...
added discussion about how to run test suite
2016-08-26 05:53:29 -04:00
Aaron Suggs
68158ee133
Merge pull request #198 from kickstarter/fix-deprecated-args
...
Fix args to deprecated methods
2016-08-11 13:58:26 -04:00
Aaron Suggs
ebfa081e6d
Fix args to deprecated methods
...
Fixes #197
2016-08-11 13:39:22 -04:00
Aaron Suggs
e5cf56ae46
v5.0.0
...
No beta.
And update Changelog (for the last time)
2016-08-09 12:59:43 -04:00
Julian Doherty (madlep)
2c853bae9d
it's minitest, not rspec
2016-08-04 22:51:14 +10:00
Julian Doherty (madlep)
9402908db9
added discussion about how to run test suite
2016-08-04 21:49:43 +10:00
Aaron Suggs
53699d624b
Merge pull request #193 from ktheory/ratelimit-headers
...
README: add example for returning X-RateLimit-* headers
2016-08-03 14:05:14 -04:00
Aaron Suggs
b07537d51e
README: add example for returning X-RateLimit-* headers
2016-08-03 14:04:00 -04:00
Aaron Suggs
7860a82b5a
Merge pull request #187 from mferrier/spec-throttle-block-nil
...
add a spec to specify the behavior of non-matching throttle blocks
2016-07-18 11:33:12 -04:00
Mike Ferrier
031efcd123
add a spec to specify the behavior of non-matching throttle blocks
2016-07-13 10:20:08 -04:00
Aaron Suggs
88e3ed0efd
Merge pull request #188 from ktheory/fix-redis-activesupport
...
[tests] Fix gotcha with new activesupport redis versions
2016-07-11 16:02:57 -04:00
Aaron Suggs
ff22014a03
[tests] Fix gotcha with new activesupport redis versions
...
This fixes the error:
uninitialized constant ActiveSupport::VERSION
when loading active_support/cache/redis_store
2016-07-11 15:23:06 -04:00
Aaron Suggs
e3dfd0dd1c
Merge pull request #186 from kickstarter/rails5
...
Add tests for ActiveSupport 5.0
2016-07-05 15:07:59 -04:00
Aaron Suggs
8a6e1e6c03
Add tests for ActiveSupport 5.0
2016-07-05 14:27:49 -04:00
Aaron Suggs
e5e3ead0a5
Merge pull request #185 from ktheory/gemfile-tweaks
...
Remove ruby2.0 exceptions from gemfiles
2016-07-05 11:33:45 -04:00
Aaron Suggs
ac4975e692
Remove ruby2.0 exceptions from gemfiles
...
..since I stopped testing it in #184
2016-07-04 22:46:54 -04:00
Aaron Suggs
eb987a1caf
Update changelog for v5.0.0.beta1
2016-07-04 22:33:55 -04:00
Aaron Suggs
f9a67202e4
Merge pull request #183 from ktheory/v5.0-prep
...
More safelist/blocklist refactoring
2016-07-04 22:28:11 -04:00
Aaron Suggs
1bc85fa139
Merge pull request #184 from ktheory/travis-modern-rubies
...
Drop tests for ruby 2.0.
2016-07-04 22:27:50 -04:00
Aaron Suggs
f6762dfc63
Drop test coverage for activesupport 3.2/4.0; dalli 1.1
...
They’re EOL, and the tests are a pain to maintain.
2016-07-04 22:12:55 -04:00
Aaron Suggs
eb9331fb8c
whitespace
2016-07-04 21:42:44 -04:00
Aaron Suggs
e8433f7693
Bump to version v5.0.0.beta1
2016-07-04 21:42:44 -04:00
Aaron Suggs
f5f08d56e5
More safelist/blocklist refactoring
...
- Add Rack::Attack namespace to deprecation warning.
- Add deprecated Rack::Attack.blacklisted_response attr methods.
2016-07-04 21:42:41 -04:00
Aaron Suggs
118d0afe26
Drop tests for ruby 2.0.
...
It’s EOL, so we’re not supporting it anymore.
2016-07-04 21:35:05 -04:00
Aaron Suggs
4f462c33dc
Merge pull request #181 from renee-travisci/language_change_suggestion
...
Rename blacklist/whitelist to blocklist/safelist.
2016-07-04 21:08:18 -04:00
Renée Hendricksen
e1a0c804e1
suggesting changing whitelist/blacklist language to less controversial safelist/blocklist language
...
add deprication warnings
fix the method signatures
2016-07-01 21:44:45 -04:00
Aaron Suggs
e20c628460
Merge pull request #182 from renee-travisci/fix_master_tests
...
Fix master tests
2016-07-01 21:33:15 -04:00
Renée Hendricksen
c3ccb6f641
working Travis CI tests
2016-07-01 18:22:21 -04:00
Aaron Suggs
3bbf9b0b5b
Copyright Kickstarter, PBC
2016-05-18 06:27:47 -04:00
Aaron Suggs
58924168cc
update changelog for v4.4.1
2016-02-17 09:50:43 -05:00
Aaron Suggs
63ee77911e
Merge pull request #165 from kickstarter/fix-dalli-dependency
...
Refactor StoreProxy to avoid autoloading MemCacheStore
2016-02-17 09:45:31 -05:00
Aaron Suggs
cf89457ced
bump v4.4.1
2016-02-16 17:37:59 -05:00
Aaron Suggs
9d90610bbe
Refactor StoreProxy to avoid autoloading MemCacheStore
...
In v4.4.0, checking `defined?(ActiveSupport::Cache::MemCacheStore)`
could trigger an error loading dalli, which isn’t needed.
This fixes that bug, and prevents similar bugs by checking
`store.class.to_s` rather than `defined?(klass) && store.is_a?(klass)`.
Writing an automated test to ensure that dalli is truly optional is
difficult, but I was able to recreate the dalli load error in v4.4.0 by
running:
gem uninstall dalli
ruby -Ilib -ractive_support/all -ractive_support/cache/redis_store
-rrack/attack -e 'p Rack::Attack::StoreProxy.build(Redis::Store.new)'
Fixes #163
2016-02-16 16:59:24 -05:00
Aaron Suggs
14c7020242
Fix typo in changelog
2016-02-10 15:35:40 -05:00
Aaron Suggs
d8b9e2f111
v4.4.0
...
Update changelog
2016-02-10 15:05:43 -05:00
Aaron Suggs
d65796bfc0
Merge pull request #153 from elhu/master
...
feature: support for ActiveSupport::MemCacheStore
2016-02-08 13:59:14 -05:00
Vincent Boisard
585d1fd02c
Revert "refactor unwieldy Rack::Attack::StoreProxy.build method"
...
This reverts commit 8d124d868e .
2016-01-12 11:45:44 +01:00
Aaron Suggs
18147e244e
Merge pull request #158 from fighterleslie/typoFix
...
Fix typo in README.md
2016-01-08 09:46:56 -05:00