Santiago Bartesaghi
0d40ea6538
Add Rails 7.2 to CI ( #671 )
...
* Add Rails 7.2 to CI
* Fix CI
2024-10-15 15:00:41 -03:00
Alex Martens
427fdfabbc
Add tracks attr_reader to Configuration ( #664 )
2024-06-24 14:46:01 -03:00
fynsta
0fbc9a1c46
Track state is also stored in cache ( #658 )
2024-05-09 14:35:32 -03:00
Santiago Bartesaghi
b6ce502b14
Add test to prevent regressions ( #656 )
2024-05-03 20:49:45 -03:00
Santiago Bartesaghi
52ce45db11
Refactor notifications checks in tests ( #657 )
2024-05-03 20:49:03 -03:00
Sebastian Cohnen
d7a7a8bda5
readme: Clarify AS::Notification.subscribe arguments ( #654 )
...
* fix AS::Notification.subscribe arguments in README.md
* event_id -> instrumenter_id
2024-03-09 21:48:11 -03:00
Santiago Bartesaghi
429fb7fecc
ci: Don't fail fast ( #650 )
2024-01-23 20:01:52 -03:00
Santiago Bartesaghi
c4c51637fd
Add dependabot for GitHub Actions ( #644 )
2024-01-10 12:11:32 -03:00
Santiago Bartesaghi
5124a172ac
Fix Rails test not being ran ( #649 )
2024-01-10 12:10:56 -03:00
Santiago Bartesaghi
cb82b9f873
ci: freeze time in more specs ( #643 )
...
* ci: freeze time in more specs
* Introduce within_same_period helper method
---------
Co-authored-by: Gonzalo <456459+grzuy@users.noreply.github.com>
2024-01-10 11:55:37 -03:00
Santiago Bartesaghi
9b9f41c749
Add Ruby 3.3 to the CI ( #648 )
2024-01-10 11:47:22 -03:00
Santiago Bartesaghi
1f57b3361e
ci: Update checkout action ( #642 )
2023-12-25 22:14:39 -03:00
Jonathan del Strother
d3b3da44c4
ci: freeze time to fix flakey specs ( #640 )
2023-11-21 10:22:01 -03:00
Jonathan del Strother
d9fedfae4f
Avoid RedisCacheStore#increment on Rails 6+ ( #597 )
...
Rails has handled increment+expires_in since
6.0 (9d5b02ec50 ),
and more recent versions add pipeline optimizations on top of that.
2023-11-20 13:59:08 -03:00
Gonzalo
27ada96682
ci: no longer test against rack 1 ( #627 )
2023-11-15 13:30:55 -03:00
Santiago Bartesaghi
ffc210250f
refactor: minor refactoring ( #635 )
2023-10-27 21:46:07 -03:00
Santiago Bartesaghi
4a68debb7a
ci: automatically run with latest ruby patch version ( #634 )
2023-10-26 19:59:16 -03:00
Gonzalo
36b830ab3c
ci: update tested rails versions ( #626 )
2023-10-26 15:37:16 +13:00
Santiago Bartesaghi
c7098d610b
ci: improve ActiveSupport testing ( #633 )
2023-10-25 21:15:53 -03:00
Santiago Bartesaghi
070e467ef2
ci: test against ActiveSupport::RedisCacheStore v5 ( #632 )
2023-10-24 19:14:27 -03:00
Santiago Bartesaghi
8d77a5b0f1
Add Rails 7.1 to CI ( #631 )
2023-10-18 21:50:23 -03:00
Santiago Bartesaghi
3543f61b64
Fix #588 don't fail if request.ip is missing ( #630 )
...
* Fix #588 don't fail if request.ip is missing
* Fix Rails 4 suite
* Improve tests
---------
Co-authored-by: Gonzalo <456459+grzuy@users.noreply.github.com>
2023-10-18 00:19:29 +00:00
Santiago Bartesaghi
e9f472786a
Update rubocop ( #629 )
...
* Upgrade rubocop gem
* Fix obsolete parameter
* Fix Lint/MissingSuper
* Fix Lint/ConstantDefinitionInBlock
* Fix Layout/EmptyLineBetweenDefs
* Add rubocop-minitest
* Add rubocop-rake
* Upgrade rubocop-performance
2023-10-16 20:04:35 -03:00
Mitchell Henke
9a7815c332
Remove support for unmaintained ActiveSupport::Cache::RedisStore ( #625 )
...
* remove support for unmaintained ActiveSupport::Cache::RedisStore
* ci: removes active_support_redis_store matrix job
* test: removes unecessary redis-activesupport require
* test: removes dead code
* fix typo
---------
Co-authored-by: Gonzalo <456459+grzuy@users.noreply.github.com>
2023-10-14 11:29:19 -03:00
Matthias Käppler
c9bd363a69
Add Ruby 3.2.2 to CI build matrix, update older Rubies ( #622 )
...
* Add Ruby 3.2.2 to CI build matrix
* CI: Update older Rubies to latest versions
2023-08-24 23:46:14 +12:00
James Mead
a7d7be1eea
Changelog changes ( #619 )
...
* Add missing reference to CHANGELOG.md
I missed this in 2c52bef1b1 .
* Explain that CHANGELOG.md will no longer be updated
2023-08-02 21:05:20 +12:00
James Mead
2c52bef1b1
Update changelog for v6.7.0 ( #617 )
2023-08-02 19:11:17 +12:00
James Mead
31adbd0ad8
Rename MiniTest -> Minitest ( #618 )
...
The latest version of minitest dropped the "ancient MiniTest
compatibility layer" [1], so we need to use the newer module name,
`Minitest`.
[1]: https://github.com/minitest/minitest/blob/master/History.rdoc#label-5.19.0+-2F+2023-07-26
2023-08-02 19:01:56 +12:00
Samuel Williams
d82c9fd7e3
Bump minor version.
2023-07-26 16:39:28 +12:00
Samuel Williams
02ef216788
Gem release management. ( #614 )
...
* Use `bake-gem` for release management.
* Prefer `require_relative` for loading `version.rb` in gemspec.
2023-07-26 16:37:35 +12:00
Samuel Williams
b708de32f3
Support Rack 3. ( #586 )
2023-07-25 15:16:43 +12:00
Gonzalo
e039ecde2a
ci: tests against redis gem v5 ( #612 )
...
* ci: tests against redis gem v5
* ci: fixes incompatibility between redis-store 1.9.2 and redis 5
2023-07-25 13:13:39 +12:00
Gonzalo
c8e574aa6f
Merge pull request #604 from nateberkopec/patch-1
...
Add note about cache stores and in-memory caches.
2022-12-17 11:54:02 -03:00
Nate Berkopec
a6bbbdc779
Add note about cache stores and in-memory caches.
...
This was part of the "lessons learned" from Bannerbear's DDoS attack: https://www.bannerbear.com/blog/how-to-survive-a-ddos-attack/
2022-12-16 15:22:34 +09:00
Maksim Abramchuk
4d201f7e42
Update example description to not suggest using a deprecated method. ( #589 )
2022-09-04 09:37:52 +12:00
Gonzalo
e9b753b4e7
test: update rack-test to v2 from v1
2022-08-09 20:51:24 +12:00
Gonzalo
95ce9fdd7c
Merge pull request #579 from kyoshidajp/replace_git.io
...
Replace git.io URL
2022-05-01 16:20:27 -03:00
Katsuhiko YOSHIDA
d3be2f31a5
Replace git.io URL
2022-04-28 19:14:17 +09:00
Gonzalo
f5f92f4459
Bump gem version to v6.6.1
2022-04-13 22:50:01 -03:00
Gonzalo
07822ada92
ci: update rubies
2022-04-13 22:47:06 -03:00
Gonzalo
b0be38334a
Merge pull request #575 from sixpark/adriancb/update_readme
...
fix(documentation): Updating README with non-deprecated configuration.
2022-03-19 22:19:11 -03:00
Adrian CB
8313e38df3
fix(documentation): Updating README with non-deprecated configuration.
2022-03-08 16:58:58 +11:00
Samuel Williams
933c0576b8
Lower case headers. ( #573 )
2022-02-19 13:56:02 +13:00
Gonzalo
d41abd7908
Merge pull request #572 from ixti/ixti/fix-redis-4.6.0-warnings
...
fix: Fix redis-rb 4.6.0 deprecation warnings
2022-02-07 14:51:53 -03:00
Alexey Zapparov
c01208afe6
fix: Fix redis-rb 4.6.0 deprecation warnings
...
Redis 4.6.0 deprecated calling commands on `Redis` inside `#pipelined`:
redis.pipelined do
redis.get("key")
end
The above should be:
redis.pipelined do |pipeline|
pipeline.get("key")
end
See: https://github.com/redis/redis-rb/pull/1059
2022-02-04 21:14:00 +01:00
Gonzalo
82181325bc
docs: update docs to point to main branch
2022-02-01 09:48:23 -03:00
Gonzalo
d0ec4de69b
Bump gem version to v6.6.0
2022-01-29 16:15:15 -03:00
Gonzalo
3eca60dba1
Merge pull request #556 from zarqman/dalli3-and-rails7
...
Add support for Rails 7.0
2022-01-29 16:02:28 -03:00
Gonzalo
97abc93889
test: update rails 7 appraisal after final release
2022-01-29 15:52:40 -03:00
Gonzalo
8d9c884d40
Merge branch 'master' into dalli3-and-rails7
2022-01-29 15:51:25 -03:00