airbrake_mcp 1.0.1 → 1.0.3

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: 5e2e01dbcff964da8ab3a58bdd9af724f62e2865005568a8d1fa430a517ff958
4
- data.tar.gz: 157e61e70cc661d9f93dfc69384767134c135ea4f22af257973737ae3d4e0ea0
3
+ metadata.gz: 722e5cf91d2f23f4723ce52aecf454c9e4dd6371e6388dbcd9d2dfb4703cf9f8
4
+ data.tar.gz: df24d6787c6ee9abb46783e58c87cc4b7c56a6999db39b657ee556099f7ca674
5
5
  SHA512:
6
- metadata.gz: c62c9237f24234be22af819ed9f7c1e538b6aa1eccdd25686a3b2b488c8debd9c34eacd339f76e3432539beb2eb8c97c22e628fa0b5b2420af27ec0b176e33cb
7
- data.tar.gz: 9a4b7edacf08589cbec426388488703723bcf0294a199ff36b3f9ad6aa399b40660dc7b338f9a7639c2ecb5924ceec851599707868ddd4a1ce6c52029330279f
6
+ metadata.gz: e078d5b0fb0435dd004ddb9ddf8654ac705a265469ea19025a8a01e7b9ea5cc1b6fde09ba457887efbafa54bf3f7386962ccd61497db9cc910f4bcbe77184b7b
7
+ data.tar.gz: 9fd4a9aefc16035ef2c0633a54a5083c6c0e2100fe3a6fb695cae8c3218dbcf6a0862fb5adde30269c0d5885afa2ea0bf8a31bef3eed6ad1b42f04587611dc9c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.3] - 2026-01-06
4
+
5
+ ### Fixed
6
+ - Removed `require 'bundler/setup'` from bin script to fix Bundler conflicts when running from project directories with their own Gemfile
7
+ - Made dotenv loading optional (development dependency only)
8
+
9
+ ### Changed
10
+ - Simplified README installation instructions
11
+
12
+ ## [1.0.2] - 2025-01-06
13
+
14
+ ### Added
15
+ - Documentation for rbenv/asdf/chruby users (non-interactive shell shim paths)
16
+ - Improved `claude mcp add` examples with `$(which airbrake_mcp)`
17
+
3
18
  ## [1.0.1] - 2025-01-06
4
19
 
5
20
  ### Changed
data/README.md CHANGED
@@ -48,36 +48,37 @@ bundle install
48
48
  ### Quick Setup
49
49
 
50
50
  ```bash
51
- claude mcp add airbrake -- airbrake_mcp \
51
+ claude mcp add airbrake airbrake_mcp \
52
52
  -e AIRBRAKE_USER_KEY=your_user_key \
53
53
  -e AIRBRAKE_PROJECT_ID=123456
54
54
  ```
55
55
 
56
- ### Manual Configuration
56
+ ### Using rbenv/asdf/chruby
57
57
 
58
- Add to `~/.claude/settings.json` or project's `.claude/settings.local.json`:
58
+ If you use a Ruby version manager, Claude Code runs in a non-interactive shell without access to your shell profile. Provide the full path to the shim:
59
59
 
60
- ```json
61
- {
62
- "mcpServers": {
63
- "airbrake": {
64
- "command": "airbrake_mcp",
65
- "env": {
66
- "AIRBRAKE_USER_KEY": "your_user_key",
67
- "AIRBRAKE_PROJECT_ID": "123456"
68
- }
69
- }
70
- }
71
- }
60
+ ```bash
61
+ # rbenv
62
+ claude mcp add airbrake ~/.rbenv/shims/airbrake_mcp \
63
+ -e AIRBRAKE_USER_KEY=your_user_key \
64
+ -e AIRBRAKE_PROJECT_ID=123456
65
+
66
+ # asdf
67
+ claude mcp add airbrake ~/.asdf/shims/airbrake_mcp \
68
+ -e AIRBRAKE_USER_KEY=your_user_key \
69
+ -e AIRBRAKE_PROJECT_ID=123456
72
70
  ```
73
71
 
74
- Or if installed from source:
72
+ ### Manual Configuration
73
+
74
+ Add to `~/.claude/settings.json`:
75
75
 
76
76
  ```json
77
77
  {
78
78
  "mcpServers": {
79
79
  "airbrake": {
80
- "command": "/path/to/airbrake_mcp/bin/airbrake_mcp",
80
+ "command": "airbrake_mcp",
81
+ "args": [],
81
82
  "env": {
82
83
  "AIRBRAKE_USER_KEY": "your_user_key",
83
84
  "AIRBRAKE_PROJECT_ID": "123456"
data/bin/airbrake_mcp CHANGED
@@ -1,8 +1,12 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require 'bundler/setup'
5
- require 'dotenv/load'
4
+ # Load dotenv for development (optional)
5
+ begin
6
+ require 'dotenv/load'
7
+ rescue LoadError
8
+ # dotenv is optional, used only for local development
9
+ end
6
10
 
7
11
  require 'airbrake_mcp'
8
12
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AirbrakeMcp
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake_mcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - httplab