mbuzz 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/mbuzz/version.rb +1 -1
- data/lib/mbuzz.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 58bb33f56016e563027651d3fe6e0d5a8bd55a5b51e9920693a74b380380612a
|
|
4
|
+
data.tar.gz: 169f9818380dad8e239311ed1bd9c3501eb96b24d3f650a90679af1ad91630d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 684d91a340148e2a0762a476c401b9c8dc21f0bbff61882c8740394cc00ff72ea7ed65264f0d37880bac055e8add2b62548d4b6b474b427fe3fb8d03544d126e
|
|
7
|
+
data.tar.gz: 446e948eb88580966f4aaa9e5e0757510e7569f84fecf6bd1967c8ac364745b445e71484584807ae525f298b2b6e939bdeff6357982b47d1bf3cea3c79145808
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.8.2] - 2026-03-15
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **Removed `api_url` from `init()` parameters** — the proxy URL (`https://api.mbuzz.co/api/v1`) is now hardcoded. This prevents accidental bypass of the edge ingest proxy. For development, `Mbuzz.config.api_url` can still be set directly after init.
|
|
13
|
+
|
|
8
14
|
## [0.8.1] - 2026-03-16
|
|
9
15
|
|
|
10
16
|
### Fixed
|
data/lib/mbuzz/version.rb
CHANGED
data/lib/mbuzz.rb
CHANGED
|
@@ -42,14 +42,12 @@ module Mbuzz
|
|
|
42
42
|
|
|
43
43
|
# New simplified configuration method (v0.5.0)
|
|
44
44
|
# @param api_key [String] Your mbuzz API key
|
|
45
|
-
# @param api_url [String, nil] Override API URL (defaults to https://api.mbuzz.co/api/v1)
|
|
46
45
|
# @param session_timeout [Integer, nil] Session timeout in seconds
|
|
47
46
|
# @param debug [Boolean, nil] Enable debug logging
|
|
48
47
|
# @param skip_paths [Array<String>, nil] Additional paths to skip tracking (e.g., ["/admin", "/internal"])
|
|
49
48
|
# @param skip_extensions [Array<String>, nil] Additional extensions to skip (e.g., [".pdf"])
|
|
50
|
-
def self.init(api_key:,
|
|
49
|
+
def self.init(api_key:, session_timeout: nil, debug: nil, skip_paths: nil, skip_extensions: nil)
|
|
51
50
|
config.api_key = api_key
|
|
52
|
-
config.api_url = api_url if api_url
|
|
53
51
|
config.session_timeout = session_timeout if session_timeout
|
|
54
52
|
config.debug = debug unless debug.nil?
|
|
55
53
|
config.skip_paths = skip_paths if skip_paths
|