This repository was archived by the owner on Mar 13, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodebase_index.gemspec
More file actions
49 lines (42 loc) · 1.75 KB
/
codebase_index.gemspec
File metadata and controls
49 lines (42 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# frozen_string_literal: true
require_relative 'lib/codebase_index/version'
Gem::Specification.new do |spec|
spec.name = 'codebase_index'
spec.version = CodebaseIndex::VERSION
spec.authors = ['Leah Armstrong']
spec.email = ['info@leah.wtf']
spec.summary = 'Rails codebase extraction and indexing for AI-assisted development'
spec.description = <<~DESC
CodebaseIndex extracts structured data from Rails applications for use in
AI-assisted development tooling. It provides version-specific context by
running inside Rails to leverage runtime introspection, inlining concerns,
mapping routes to controllers, and indexing the exact Rails/gem source
versions in use.
DESC
spec.homepage = 'https://github.com/LeahArmstrong/codebase_index'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.0.0'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = "#{spec.homepage}/tree/main"
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues"
spec.metadata['documentation_uri'] = "#{spec.homepage}/tree/main/docs"
spec.metadata['rubygems_mfa_required'] = 'true'
# Specify which files should be added to the gem
spec.files = Dir[
'lib/**/*',
'exe/*',
'LICENSE.txt',
'README.md',
'CHANGELOG.md',
'CONTRIBUTING.md',
'CODE_OF_CONDUCT.md'
]
spec.bindir = 'exe'
spec.executables = %w[codebase-index-mcp codebase-index-mcp-start codebase-console-mcp codebase-console
codebase-index-mcp-http]
spec.require_paths = ['lib']
# Runtime dependencies
spec.add_dependency 'mcp', '~> 0.6'
spec.add_dependency 'railties', '>= 6.1'
end