railstart 0.4.4 → 0.4.5

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: bd4bc05bf9236456bea6842ab827b0e0952bb51dcc343559058ee4a15408fa4c
4
- data.tar.gz: 1aef0a78ad64e118f62e651a12f2f56089953b50c31c5422df1a455acf668cfb
3
+ metadata.gz: 335bb58fb0448ef183a5dab96d9d866e212d75a09310db0ed4c017d9e27cf327
4
+ data.tar.gz: 42fea9cfc2d16dc6b167eb8580f108d43a940f6809de97c308cc64d467bb5056
5
5
  SHA512:
6
- metadata.gz: fb7172fba59faed9ff3011c4a821e94ac198942d98fc4ee8335a313c0cccfc86e204efaac30c8d50c354f000d917751bd79b9e8e8adeb4a348cc0f2a026ccf2f
7
- data.tar.gz: 1c19160cf6da9f35bb2260ae8360b5af95878b69fd614b564d412f9f73e5e37a4227c969ab43612783c3ff909fdb7dbd6fa552a5abb17bc1c85ff860fed27a5d
6
+ metadata.gz: a7b8a26a4060fc6e1c449ab759d5dbbf8911ceba0166a8ce5b094fe81f069ee70b38c9ee88671f38e91eb4f1a6cb4f334815c8457efccc570a9fc57d94f7bf12
7
+ data.tar.gz: 29d65e728974f716e6d514135f574b48a7b335842c9330e6457553462bf943dcc5b9beead5e5c5bcfb4212a8c6b30301f689df342e861e2e7f83bfce345f6729
data/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.5] - 2026-04-30
11
+
12
+ ### Added
13
+ - **Example configs**: Added copyable `examples/` YAML files for global defaults, API apps, standard PostgreSQL apps, minimal SQLite apps, Vite/Bun apps, and template post-actions
14
+
15
+ ### Changed
16
+ - **Agent guidance**: Tracked `AGENTS.md` in git while excluding it from gem builds
17
+
10
18
  ## [0.4.4] - 2026-04-30
11
19
 
12
20
  ### Changed
data/README.md CHANGED
@@ -147,11 +147,11 @@ Presets are powerful tools for defining opinionated Rails configurations for spe
147
147
 
148
148
  ### Quick Preset Creation
149
149
 
150
- Create a new preset file in `config/presets/{name}.yaml`:
150
+ Create a new preset file in `~/.config/railstart/presets/{name}.yaml`:
151
151
 
152
152
  ```yaml
153
153
  ---
154
- # My Team Preset - PostgreSQL + RSpec + Vite
154
+ # My Team Preset - PostgreSQL + Tailwind + Importmap
155
155
 
156
156
  questions:
157
157
  - id: database
@@ -160,23 +160,21 @@ questions:
160
160
  value: postgresql
161
161
  default: true
162
162
 
163
- - id: javascript
163
+ - id: css
164
164
  choices:
165
- - name: Vite (via vite_rails gem)
166
- value: vite
165
+ - name: Tailwind
166
+ value: tailwind
167
167
  default: true
168
168
 
169
- - id: test_framework
169
+ - id: javascript
170
170
  choices:
171
- - name: RSpec
172
- value: rspec
171
+ - name: Importmap
172
+ value: importmap
173
173
  default: true
174
+ rails_flag: "--javascript=importmap"
174
175
 
175
176
  post_actions:
176
- - id: setup_vite
177
- enabled: true
178
-
179
- - id: setup_rspec
177
+ - id: init_git
180
178
  enabled: true
181
179
  ```
182
180
 
@@ -198,6 +196,30 @@ Railstart includes several ready-to-use presets:
198
196
  - **`api-only`** - Minimal Rails for JSON APIs (no views, no frontend)
199
197
  - **`vite-bun`** - Modern SPA with Vite + Bundlebun
200
198
 
199
+ ### Example YAML Files
200
+
201
+ This repository also includes copyable YAML examples in `examples/`:
202
+
203
+ - `examples/config.yml` - global defaults for `~/.config/railstart/config.yaml`
204
+ - `examples/presets/api-postgresql.yml` - JSON API service with PostgreSQL
205
+ - `examples/presets/standard-postgresql.yml` - full-stack PostgreSQL app
206
+ - `examples/presets/minimal-sqlite.yml` - lightweight local prototype app
207
+ - `examples/presets/vite-bun.yml` - Vite, Bun, Tailwind, and PostgreSQL
208
+ - `examples/presets/template-action.yml` - template post-action reference
209
+
210
+ Use a preset example directly by passing its path:
211
+
212
+ ```bash
213
+ railstart new my_app --preset ./examples/presets/standard-postgresql.yml --default
214
+ ```
215
+
216
+ Or copy one into your user presets directory:
217
+
218
+ ```bash
219
+ cp examples/presets/standard-postgresql.yml ~/.config/railstart/presets/standard-postgresql.yml
220
+ railstart new my_app --preset standard-postgresql --default
221
+ ```
222
+
201
223
  ## Configuration
202
224
 
203
225
  ### Initialize Configuration Files
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Railstart
4
- VERSION = "0.4.4"
4
+ VERSION = "0.4.5"
5
5
  end
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
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - dpaluy