-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode_healer.gemspec
More file actions
79 lines (68 loc) · 3.2 KB
/
code_healer.gemspec
File metadata and controls
79 lines (68 loc) · 3.2 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# frozen_string_literal: true
require_relative "lib/code_healer/version"
Gem::Specification.new do |spec|
spec.name = "code_healer"
spec.version = CodeHealer::VERSION
spec.authors = ["Deepan Kumar"]
spec.email = ["deepan.ppgit@gmail.com"]
spec.summary = "AI-powered code healing and self-repair system for Ruby applications"
spec.description = <<~DESC
CodeHealer is a revolutionary gem that enables your Ruby applications to
automatically detect, analyze, and fix errors using AI. It integrates
with OpenAI API, Claude Code terminal, and provides intelligent error handling,
business context awareness, and automated Git operations.
Features:
- 🤖 AI-powered error analysis and code generation
- 🎯 Business context-aware fixes
- 🔄 Multiple healing strategies (API, Claude Code, Hybrid)
- 📝 Automated Git operations and PR creation
- 📋 Business requirements integration from markdown
- ⚡ Background job processing with Sidekiq
- 🎨 Configurable via YAML files
DESC
spec.homepage = "https://github.com/deepan-g2/code-healer"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.7.0"
spec.metadata["homepage_uri"] = "https://github.com/deepan-g2/code-healer"
spec.metadata["source_code_uri"] = "https://github.com/deepan-g2/code-healer"
spec.metadata["changelog_uri"] = "https://github.com/deepan-g2/code-healer/blob/main/CHANGELOG.md"
spec.metadata["bug_tracker_uri"] = "https://github.com/deepan-g2/code-healer/issues"
spec.metadata["documentation_uri"] = "https://github.com/deepan-g2/code-healer/blob/main/README.md"
# Specify which files should be added to the gem when it is released
spec.files = Dir[
"lib/**/*",
"bin/**/*",
"config/**/*",
"docs/**/*",
"examples/**/*",
"*.md",
"code_healer.gemspec"
]
spec.require_paths = ["lib"]
spec.bindir = "exe"
spec.executables = ["code_healer-setup"]
# Runtime dependencies
spec.add_runtime_dependency 'rails', '>= 6.0.0'
spec.add_runtime_dependency 'sidekiq', '>= 6.0.0'
spec.add_runtime_dependency 'redis', '~> 4.0', '>= 4.0.0'
spec.add_runtime_dependency 'octokit', '~> 4.0', '>= 4.0.0'
spec.add_runtime_dependency 'git', '~> 1.0', '>= 1.0.0'
spec.add_runtime_dependency 'openai', '~> 0.16.0', '>= 0.16.0'
spec.add_runtime_dependency 'activesupport', '>= 6.0.0'
spec.add_runtime_dependency 'actionpack', '>= 6.0.0'
spec.add_runtime_dependency 'activemodel', '>= 6.0.0'
spec.add_runtime_dependency 'httparty', '~> 0.21.0', '>= 0.21.0'
# Development dependencies
spec.add_development_dependency "bundler", ">= 2.0.0"
spec.add_development_dependency "rake", ">= 13.0.0"
spec.add_development_dependency "rspec", ">= 3.0.0"
spec.add_development_dependency "rspec-rails", ">= 5.0.0"
spec.add_development_dependency "factory_bot_rails", ">= 6.0.0"
spec.add_development_dependency "faker", ">= 2.0.0"
spec.add_development_dependency "webmock", ">= 3.0.0"
spec.add_development_dependency "vcr", ">= 6.0.0"
spec.add_development_dependency "rubocop", ">= 1.0.0"
spec.add_development_dependency "rubocop-rails", ">= 2.0.0"
spec.add_development_dependency "yard", ">= 0.9.0"
spec.add_development_dependency "redcarpet", ">= 3.0.0"
end