foobara-mcp-connector-generator 0.0.5 → 0.1.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: 5604ce6d8c8ecdbcfd86bf738b720bde76a18a59eb7cf53ce84efd4a508da737
4
- data.tar.gz: 798cd79bb3144a4bb58c6932226b28055de127df30a8d2ead5a3b848d106e150
3
+ metadata.gz: 55201c69c96bdcc813d28abe28cbdf946a8122315f2b0e37bfecebe6a9f21947
4
+ data.tar.gz: '09dc1d2d17451b34c5d3440b9a6490a29bef0b95a27bf152f2b06b98642ac65b'
5
5
  SHA512:
6
- metadata.gz: 2342fd9b62b0cfd45bd3459ed62c49db46d3079ed3b38064caa1a441a9ea9fc57cf369eb15a753a4ce4ac5ab878c83ff25a29d430fc2c901a6ba37342c6c386f
7
- data.tar.gz: 7f9f16463c29d97b9847407623c8cb8c225b89f2875909cf37cfe9cdc398e781e9fddd0f2fa868dbe0d8d19511196f257f4193f524d09948e60d69aa49d7ef57
6
+ metadata.gz: 4d1e01667229c3917f9557379368cad98803b7cbed22e89ac8356505a9d6673f34eac8c0708ffde9607add187bf9a3df5a63e8da3bab25efb16b688796fe3205
7
+ data.tar.gz: 7c39947a9fba70e3f050523add7029c95ae42853ae10c741c9569e53f7f4b3afe44aca29d1cafc537126655e1626b389cbf293ead0953a92f2ee423b44945560
data/CHANGELOG.md CHANGED
@@ -1,19 +1,14 @@
1
- ## [0.0.5] - 2025-04-14
1
+ ## [0.1.0] - 2025-08-22
2
+
3
+ - Mark as compatible with Foobara 0.1.0
4
+
5
+ ## [0.0.6] - 2025-04-14
2
6
 
3
7
  - Don't bother running bundle or rubocop if they are not configured
4
8
  - Make sure server can be run even if it's not in PATH
5
9
  - Add an example command to the generated mcp-server file for demo purposes
6
-
7
- ## [0.0.4] - 2025-04-14
8
-
9
10
  - Fix bug generating .mcp.json with wrong file extension
10
-
11
- ## [0.0.3] - 2025-04-14
12
-
13
11
  - Do not require a Gemfile to be present to generate the other files
14
-
15
- ## [0.0.2] - 2025-04-14
16
-
17
12
  - Include templates in gem
18
13
 
19
14
  ## [0.0.1] - 2025-04-11
@@ -24,7 +24,7 @@ module Foobara
24
24
  new_entry = %(
25
25
  "#{mcp_server_name}": {
26
26
  "type": "stdio",
27
- "command": "#{program_path}",
27
+ "command": "#{executable_program_path}",
28
28
  "args": [],
29
29
  "env": {}
30
30
  },)
@@ -14,6 +14,18 @@ module Foobara
14
14
  def program_name
15
15
  @program_name ||= File.basename(program_path)
16
16
  end
17
+
18
+ def executable_program_path
19
+ return @executable_program_path if @executable_program_path
20
+
21
+ @executable_program_path = program_path
22
+
23
+ if program_path =~ /^\w/
24
+ @executable_program_path = "./#{@executable_program_path}"
25
+ end
26
+
27
+ @executable_program_path
28
+ end
17
29
  end
18
30
  end
19
31
  end
@@ -66,15 +66,7 @@ module Foobara
66
66
  end
67
67
 
68
68
  def program_path
69
- return @program_path if @program_path
70
-
71
- @program_path = mcp_connector_config.program_path
72
-
73
- if program_path =~ /^\w/
74
- @program_path = "./#{@program_path}"
75
- end
76
-
77
- @program_path
69
+ mcp_connector_config.program_path
78
70
  end
79
71
 
80
72
  def bundle_install
@@ -2,7 +2,7 @@
2
2
  "mcpServers": {
3
3
  "<%= mcp_server_name %>": {
4
4
  "type": "stdio",
5
- "command": "<%= program_path %>",
5
+ "command": "<%= executable_program_path %>",
6
6
  "args": [],
7
7
  "env": {}
8
8
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-mcp-connector-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
@@ -13,16 +13,42 @@ dependencies:
13
13
  name: foobara
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.0.99
18
+ version: 0.1.1
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.0
19
22
  type: :runtime
20
23
  prerelease: false
21
24
  version_requirements: !ruby/object:Gem::Requirement
22
25
  requirements:
23
- - - "~>"
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 0.1.1
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: 2.0.0
32
+ - !ruby/object:Gem::Dependency
33
+ name: foobara-files-generator
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: 0.1.0
39
+ - - "<"
40
+ - !ruby/object:Gem::Version
41
+ version: 2.0.0
42
+ type: :runtime
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: 0.1.0
49
+ - - "<"
24
50
  - !ruby/object:Gem::Version
25
- version: 0.0.99
51
+ version: 2.0.0
26
52
  email:
27
53
  - azimux@gmail.com
28
54
  executables: []
@@ -67,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
93
  - !ruby/object:Gem::Version
68
94
  version: '0'
69
95
  requirements: []
70
- rubygems_version: 3.6.7
96
+ rubygems_version: 3.7.1
71
97
  specification_version: 4
72
98
  summary: No description. Add one.
73
99
  test_files: []