Commit graph

870 commits

Author SHA1 Message Date
dependabot[bot]
4606efbe5e
build(deps): bump actions/checkout from 4 to 5 (#690)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gonzalo R <456459+grzuy@users.noreply.github.com>
2025-08-30 19:16:15 -04:00
Santiago Bartesaghi
40d83d1281
Fix GHA Runner (#692)
Co-authored-by: Gonzalo R <456459+grzuy@users.noreply.github.com>
2025-08-30 18:55:07 -04:00
Santiago Bartesaghi
1dba6ec133
Remove CodeClimate (#693) 2025-08-30 12:45:02 -04:00
Santiago Bartesaghi
467770882d
Add Ruby 3.4 to the CI (#681) 2025-02-12 19:37:28 -03:00
Santiago Bartesaghi
87108769f8
Fix CI (#683) 2025-01-21 22:46:28 -03:00
Santiago Bartesaghi
86650c4f7e
Fix reset! when using namespaced cache store (#673) 2024-12-19 23:46:53 -03:00
Santiago Bartesaghi
8d5b210fcd
Fix wrong merge resolution (#680) 2024-12-16 22:23:01 -03:00
Santiago Bartesaghi
6db4a73253
Drop Dalli 2 support (#679) 2024-12-16 09:56:09 -03:00
Santiago Bartesaghi
f8fc4dc1ea
Drop Rails 5.2 support (#678) 2024-12-16 09:54:23 -03:00
Santiago Bartesaghi
0b48f9f92c
Add Rails 8 to CI (#677) 2024-12-14 22:47:38 -03:00
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