railstart 0.4.2 → 0.4.4
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 +4 -4
- data/CHANGELOG.md +19 -1
- data/README.md +7 -12
- data/lib/railstart/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd4bc05bf9236456bea6842ab827b0e0952bb51dcc343559058ee4a15408fa4c
|
|
4
|
+
data.tar.gz: 1aef0a78ad64e118f62e651a12f2f56089953b50c31c5422df1a455acf668cfb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb7172fba59faed9ff3011c4a821e94ac198942d98fc4ee8335a313c0cccfc86e204efaac30c8d50c354f000d917751bd79b9e8e8adeb4a348cc0f2a026ccf2f
|
|
7
|
+
data.tar.gz: 1c19160cf6da9f35bb2260ae8360b5af95878b69fd614b564d412f9f73e5e37a4227c969ab43612783c3ff909fdb7dbd6fa552a5abb17bc1c85ff860fed27a5d
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ 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.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.4.4] - 2026-04-30
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- **Agent skill**: Refactored `.agents/skills/railstart-coder/` into a lean skill with focused reference files for CLI usage, presets, post-actions, and gem development
|
|
14
|
+
- **Agent metadata**: Added `agents/openai.yaml` metadata for the railstart skill
|
|
15
|
+
- **Gem packaging**: Excluded local `.omx/` orchestration state from gem builds
|
|
16
|
+
- **README**: Updated the skill section to describe the agent-oriented skill layout
|
|
17
|
+
|
|
18
|
+
### Removed
|
|
19
|
+
- **Redundant preset skill doc**: Removed `docs/railstart-preset-builder/SKILL.md`; preset authoring guidance now lives in `.agents/skills/railstart-coder/references/`
|
|
20
|
+
|
|
21
|
+
## [0.4.3] - 2026-01-04
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
- **CI**: Added Ruby 4.0 support to the test matrix
|
|
25
|
+
|
|
8
26
|
## [0.4.2] - 2025-11-25
|
|
9
27
|
|
|
10
28
|
### Fixed
|
|
@@ -21,7 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
21
39
|
- **CRITICAL ARCHITECTURE FIX**: Fixed `multi_select` question defaults to use stable choice **values** (internal IDs like "action_mailer") instead of fragile display **names** (like "Action Mailer"). This prevents preset breakage when display text changes.
|
|
22
40
|
- Updated `lib/railstart/generator.rb` `ask_multi_select` method to transform values → names at the TTY::Prompt boundary
|
|
23
41
|
- Updated `config/presets/api-only.yaml` to use values in defaults
|
|
24
|
-
- Updated
|
|
42
|
+
- Updated preset documentation examples to use values
|
|
25
43
|
- Added comprehensive test coverage (3 new tests) validating transformation and storage behavior
|
|
26
44
|
- **Documentation**: Corrected SKILL.md to explain values-based approach with stability rationale
|
|
27
45
|
- Improved discoverability of configuration options - users no longer need to guess what can be configured
|
data/README.md
CHANGED
|
@@ -143,7 +143,7 @@ railstart new my_app --preset api-only --default
|
|
|
143
143
|
|
|
144
144
|
## Creating Custom Presets
|
|
145
145
|
|
|
146
|
-
Presets are powerful tools for defining opinionated Rails configurations for specific stacks or team standards.
|
|
146
|
+
Presets are powerful tools for defining opinionated Rails configurations for specific stacks or team standards.
|
|
147
147
|
|
|
148
148
|
### Quick Preset Creation
|
|
149
149
|
|
|
@@ -198,17 +198,6 @@ Railstart includes several ready-to-use presets:
|
|
|
198
198
|
- **`api-only`** - Minimal Rails for JSON APIs (no views, no frontend)
|
|
199
199
|
- **`vite-bun`** - Modern SPA with Vite + Bundlebun
|
|
200
200
|
|
|
201
|
-
### Learn More
|
|
202
|
-
|
|
203
|
-
For detailed documentation including:
|
|
204
|
-
- Available questions and post-actions
|
|
205
|
-
- ID-based merging system
|
|
206
|
-
- Step-by-step workflow
|
|
207
|
-
- Real-world examples
|
|
208
|
-
- Best practices and troubleshooting
|
|
209
|
-
|
|
210
|
-
See the comprehensive **[Creating Presets Guide](docs/railstart-preset-builder/SKILL.md)**.
|
|
211
|
-
|
|
212
201
|
## Configuration
|
|
213
202
|
|
|
214
203
|
### Initialize Configuration Files
|
|
@@ -411,6 +400,10 @@ Merging is by `id` for both `questions` and `post_actions`, allowing surgical ov
|
|
|
411
400
|
- **Command Builder** (`lib/railstart/command_builder.rb`) - Translates answers to `rails new` flags
|
|
412
401
|
- **CLI** (`lib/railstart/cli.rb`) - Thor command interface with `--preset` option
|
|
413
402
|
|
|
403
|
+
## AI Agent Skill
|
|
404
|
+
|
|
405
|
+
Railstart ships with an agent skill at `.agents/skills/railstart-coder/` for Codex- and Claude-style coding agents. The skill is structured as a lean `SKILL.md` plus focused reference files covering CLI usage, config layering, preset authoring, template post-actions, and gem development.
|
|
406
|
+
|
|
414
407
|
## Contributing
|
|
415
408
|
|
|
416
409
|
Bug reports and pull requests are welcome on GitHub at https://github.com/dpaluy/railstart.
|
|
@@ -418,3 +411,5 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/dpaluy
|
|
|
418
411
|
## License
|
|
419
412
|
|
|
420
413
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
414
|
+
|
|
415
|
+
Supported by [Majestic Labs](https://majesticlabs.dev/).
|
data/lib/railstart/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railstart
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- dpaluy
|
|
@@ -89,7 +89,7 @@ metadata:
|
|
|
89
89
|
homepage_uri: https://github.com/dpaluy/railstart
|
|
90
90
|
documentation_uri: https://rubydoc.info/gems/railstart
|
|
91
91
|
source_code_uri: https://github.com/dpaluy/railstart
|
|
92
|
-
changelog_uri: https://github.com/dpaluy/railstart/blob/
|
|
92
|
+
changelog_uri: https://github.com/dpaluy/railstart/blob/master/CHANGELOG.md
|
|
93
93
|
bug_tracker_uri: https://github.com/dpaluy/railstart/issues
|
|
94
94
|
rdoc_options: []
|
|
95
95
|
require_paths:
|