activerabbit-ai 0.3.1 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7140880a3f3d5d65a37a01fc85789c656911488e5106411c6777a4f2d24812a9
4
- data.tar.gz: c429cfdda0f862d1c9ba81315451899115d58f82ec28d77a266b962029f22101
3
+ metadata.gz: ec5ef4721bc8a2096c534eb4f04e54d0520daa42dc95341feefa5bca17ba88e7
4
+ data.tar.gz: bd3b5b9eb8879ecc3eb682126262e036a46dc3352be1f5b0ba71e7d234402868
5
5
  SHA512:
6
- metadata.gz: f0656be41868bb0acbbcd15d72cc8e09efc2ee63fb1671a6b71de083e0066bd7d28dc7b62cf67b31935a885fd604e6ff8b0b25e66b46eff3beb020d9726695f8
7
- data.tar.gz: 513e482c93e2465fc7b275b6256ef40843cc6e0e9b0ae41a9bb4a118fe20aed5d7367c13925ac17efc7350595edfd3d8a8307baa55d3c5d37ebf266ef2aced48
6
+ metadata.gz: 6421b105cc63156671b119f8ce06fa94a5ce4fa5525f3f8eba96ac351b6da59f6cda1edb00acb03d607e9d7e9ca5074fb288cf6b3f8874468e67ad6ed5684d78
7
+ data.tar.gz: 8543aa8f59de9a40a35936927fcb6010e62a45221ebc071ad513ebd7a6c3d2c42243d57a18f5e520d20d6045fefce14d1db78f567e68941cec9690267724e480
data/CHANGELOG.md CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.4.0] - 2025-01-04
6
+
7
+ ### Added
8
+ - Comprehensive RSpec test suite with 73+ test examples
9
+ - API integration tests with WebMock for mocked API calls
10
+ - Live API integration tests for real API testing
11
+ - Support for testing Rails middleware integration
12
+ - API helper modules for test setup and configuration
13
+ - Test coverage for all major gem components:
14
+ - HTTP client with Net::HTTP implementation
15
+ - Configuration management and validation
16
+ - PII scrubbing functionality
17
+ - Error and performance tracking
18
+ - Batch processing and retry logic
19
+
20
+ ### Improved
21
+ - Enhanced test reliability with proper WebMock configuration
22
+ - Better error handling in test scenarios
23
+ - Comprehensive validation of API communication
24
+ - Live API testing capabilities with localhost support
25
+
26
+ ### Fixed
27
+ - Corrected User-Agent header in HTTP client tests
28
+ - Fixed WebMock header matching issues
29
+ - Resolved RSpec version constant references
30
+ - Improved test isolation and cleanup
31
+
5
32
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
33
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
34
 
@@ -175,7 +175,7 @@ module ActiveRabbit
175
175
  # Set headers
176
176
  request['Content-Type'] = 'application/json'
177
177
  request['Accept'] = 'application/json'
178
- request['User-Agent'] = "ActiveRabbit-Ruby/#{ActiveRabbit::Client::VERSION}"
178
+ request['User-Agent'] = "ActiveRabbit-Client/#{ActiveRabbit::Client::VERSION}"
179
179
  request['X-Project-Token'] = configuration.api_key
180
180
 
181
181
  if configuration.project_id
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRabbit
4
4
  module Client
5
- VERSION = "0.3.1"
5
+ VERSION = "0.4.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerabbit-ai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Shapalov
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubygems_version: 3.5.11
124
+ rubygems_version: 3.5.15
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Ruby client for ActiveRabbit.ai application monitoring and error tracking