rails-ai-context 0.4.0 → 0.5.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: 6f3efeed4bfe44c20ff766c0398b1d8a526a13c053b47d2a93d8faa320abfdda
4
- data.tar.gz: 2cfe5512db995e2b08a2f9516793f1e68e787e8b76092780370ea6b04e280f69
3
+ metadata.gz: 02a013fe4a14de4cb1d0325741d96859a1765e233f07ec28fc48085d96f58036
4
+ data.tar.gz: 98d02669a11d01ca8e9d956d77ac0638698f141afa4e4b18c4e237cf48daf777
5
5
  SHA512:
6
- metadata.gz: 4ccbff85f3a231a4c207522834387662af03240511c2bbbf491023e2b6361b68ea1e109cc3d8b383f02c9989db5542e555b6579b01037c25757acb3d84cc4525
7
- data.tar.gz: 62a53606b4e98f331e716a44a8e424479e2cd61649de82814778feb1f4b3de23607f6a1f35fb6664c465fc130c9f2a140d928c6ce8864c4d4038f7ed27ddbcbc
6
+ metadata.gz: b12234f274c1a55985817c75f1f13027f888dafb27bbd87ff8ca73bcbae9f20bb51f3f4d13f2479342d24f6cfd69c0d1ea96213ade97616042d962c55c0379b4
7
+ data.tar.gz: 89ebe2a9bbeb138a87e40e6771f2487963458a1a2a43890c641f81e824bcff1c566096ae592c77a7bcf7f9d86b918201c3c3bd1bab86f2992b9a93965a796b3e
data/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.0] - 2026-03-18
9
+
10
+ ### Added
11
+
12
+ - **Automated release workflow** — GitHub Actions publishes to RubyGems via trusted publishing when a version tag is pushed
13
+ - **Version consistency check** — Release workflow verifies git tag matches `version.rb` before publishing
14
+ - **Auto GitHub Release** — Release notes extracted from CHANGELOG.md automatically
15
+
8
16
  ## [0.4.0] - 2026-03-18
9
17
 
10
18
  ### Added
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  **Turn any Rails app into an AI-ready codebase — one gem install.**
4
4
 
5
- [![Gem Version](https://badge.fury.io/rb/rails-ai-context.svg)](https://rubygems.org/gems/rails-ai-context)
6
5
  [![CI](https://github.com/crisnahine/rails-ai-context/actions/workflows/ci.yml/badge.svg)](https://github.com/crisnahine/rails-ai-context/actions)
7
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
8
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAiContext
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-ai-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - crisnahine
@@ -222,7 +222,6 @@ files:
222
222
  - lib/rails_ai_context/tools/search_code.rb
223
223
  - lib/rails_ai_context/version.rb
224
224
  - lib/rails_ai_context/watcher.rb
225
- - rails-ai-context.gemspec
226
225
  homepage: https://github.com/crisnahine/rails-ai-context
227
226
  licenses:
228
227
  - MIT
@@ -1,64 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/rails_ai_context/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "rails-ai-context"
7
- spec.version = RailsAiContext::VERSION
8
- spec.authors = [ "crisnahine" ]
9
- spec.email = [ "crisjosephnahine@gmail.com" ]
10
-
11
- spec.summary = "Auto-expose Rails app structure to AI via MCP (Model Context Protocol) — zero config."
12
- spec.description = <<~DESC
13
- rails-ai-context automatically introspects your Rails application and exposes
14
- models, routes, schema, controllers, views, jobs, mailers, Turbo/Hotwire,
15
- auth, API layer, tests, config, and conventions through the Model Context
16
- Protocol (MCP). Works with Claude Code, Cursor, Windsurf, GitHub Copilot, and
17
- any MCP-compatible AI tool. Zero configuration required.
18
- DESC
19
-
20
- spec.homepage = "https://github.com/crisnahine/rails-ai-context"
21
- spec.license = "MIT"
22
-
23
- spec.required_ruby_version = ">= 3.2.0"
24
-
25
- spec.metadata["homepage_uri"] = spec.homepage
26
- spec.metadata["source_code_uri"] = "#{spec.homepage}/tree/main"
27
- spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
28
- spec.metadata["documentation_uri"] = "#{spec.homepage}#readme"
29
- spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
30
- spec.metadata["funding_uri"] = "https://github.com/sponsors/crisnahine"
31
- spec.metadata["rubygems_mfa_required"] = "true"
32
-
33
- spec.post_install_message = <<~MSG
34
- rails-ai-context installed! Quick start:
35
- rails generate rails_ai_context:install
36
- rails ai:context # generate all context files
37
- rails ai:context:claude # generate CLAUDE.md only (zsh-friendly)
38
- rails ai:serve # start MCP server for Claude Code / Cursor
39
- MSG
40
-
41
- spec.files = Dir.chdir(__dir__) do
42
- `git ls-files -z`.split("\x0").reject do |f|
43
- (File.expand_path(f) == __FILE__) ||
44
- f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
45
- end
46
- end
47
-
48
- spec.bindir = "exe"
49
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
50
- spec.require_paths = [ "lib" ]
51
-
52
- # Core dependencies
53
- spec.add_dependency "mcp", "~> 0.8" # Official MCP Ruby SDK
54
- spec.add_dependency "railties", ">= 7.1", "< 9.0"
55
- spec.add_dependency "thor", ">= 1.0", "< 3.0"
56
-
57
- # Dev dependencies
58
- spec.add_development_dependency "rspec", "~> 3.13"
59
- spec.add_development_dependency "rake", "~> 13.0"
60
- spec.add_development_dependency "rubocop", "~> 1.65"
61
- spec.add_development_dependency "rubocop-rails-omakase", "~> 1.0"
62
- spec.add_development_dependency "yard", "~> 0.9"
63
- spec.add_development_dependency "combustion", "~> 1.4" # Test Rails engines in isolation
64
- end