ahoy_matey 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 849e414e4b8b04c7bf3f9b24bc6266b4aaa456862a8fe7dd4a1ff153ae86187c
4
- data.tar.gz: 685e01e6b50b7a9243da4d4184b41d39ee328cc85b27e5af8e4edc5285e665a2
3
+ metadata.gz: f2da2e05c42ba50652c0fc6aada9a25bbaada8746a6802a7585790a751a2d9f4
4
+ data.tar.gz: 6ad4e393177de9f357957259082e0960ad8ea07e51d2c75e1b07826955a01456
5
5
  SHA512:
6
- metadata.gz: a5d139e886eb0fd9ae8c29acb0b0d3bec7e7b079825d38eeebb4df14427ed4102a98c08caa3dd7d5886db8edbae8e95307fb58da281615c3c54f98a841d49864
7
- data.tar.gz: f22e58183541c3075df962c2f13120b8748bf17bc212fa44719e2ce78d2bed7913ad9325f18ee3e3b39accbd480500c8d9b43d5f8e4e0d4bf95633b783696989
6
+ metadata.gz: cbfcb708d2a2343b51f0eb9b20de751f9802695445049d09f15a09ee214151ac4b20705d4f7369d12cdf254018a3b5f3c3271ebdfef5fc2516c52ecd457f5203
7
+ data.tar.gz: 135303f5c3c1f04a0e08b38859f4ed67e0d530e83908c1d1e83af7d012c6c68dabd810a2800bec9e32249ea5605a3405a66969ebb55d8cd56eba0a66d7b55af9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 5.0.2 (2023-10-05)
2
+
3
+ - Excluded visits from Rails health check
4
+
1
5
  ## 5.0.1 (2023-10-01)
2
6
 
3
7
  - Fixed error with geocoding with anonymity sets
data/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  Track visits and events in Ruby, JavaScript, and native apps. Data is stored in your database by default, and you can customize it for any data store as you grow.
6
6
 
7
+ **Ahoy 5.0 was recently released** - see [how to upgrade](#upgrading)
8
+
7
9
  :postbox: Check out [Ahoy Email](https://github.com/ankane/ahoy_email) for emails and [Field Test](https://github.com/ankane/field_test) for A/B testing
8
10
 
9
11
  :tangerine: Battle-tested at [Instacart](https://www.instacart.com/opensource)
@@ -488,7 +490,7 @@ Ahoy can switch from cookies to [anonymity sets](https://privacypatterns.org/pat
488
490
  Ahoy.cookies = :none
489
491
  ```
490
492
 
491
- Note: If Ahoy was installed before v5, [add an index](#5-0) before making this change.
493
+ Note: If Ahoy was installed before v5, [add an index](#50) before making this change.
492
494
 
493
495
  Previously set cookies are automatically deleted. If you use JavaScript tracking, also set:
494
496
 
@@ -37,7 +37,9 @@ module Ahoy
37
37
  end
38
38
 
39
39
  def exclude?
40
- (!Ahoy.track_bots && bot?) || exclude_by_method?
40
+ (!Ahoy.track_bots && bot?) ||
41
+ exclude_by_method? ||
42
+ (defined?(Rails::HealthController) && controller.is_a?(Rails::HealthController))
41
43
  end
42
44
 
43
45
  def generate_id
data/lib/ahoy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ahoy
2
- VERSION = "5.0.1"
2
+ VERSION = "5.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahoy_matey
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-02 00:00:00.000000000 Z
11
+ date: 2023-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport