nova-cli 0.2.3 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b37fc476c794b5d8ef65085970ceda162fb4e3be7460c621572f4196c2123706
4
- data.tar.gz: b301b2eaa9dbf98f9bc788353a7b6f124c3674a428a4692d2c9ca14fd7f1e5b5
3
+ metadata.gz: 53123f326f497bb337df7002d55935867e2f00fc9b19160cd9069c8a42fe4343
4
+ data.tar.gz: 4041e88ce82242013e0ca9099b042968cf287002b3e359b0491c08863913f939
5
5
  SHA512:
6
- metadata.gz: 4e3b7441eec4ee00b6fe79e63cc510fa40c75661401505ff1d8f0fac4bf270d393525abf2f94f7aa1c4f8196bb9a8db8702ec8ef3b1d9c0562a7cbd6bf7565e7
7
- data.tar.gz: 4fe249bd630cc14c9d8d7d42e80cc5313dff4a751bd0fb93464b7c501ba8718ae28197611280ef41e6f299781c9a2edc540ce79ee9020a3c82e69ae506035a35
6
+ metadata.gz: 81696123b344b64628625ed5771a75fcfaa785757926ff78eb731d9c81f46ef0a5204095cccdbd14cf310f430c8001eddca915b7738a7fe03706f675d6041aa4
7
+ data.tar.gz: 4e966b66be6933036997e6e9c83783c0ea02dc62550f16a26b1a264f4a2a86293df3aad0a9a1de70f67f2f9282845eb3506bd919493595e060101cb0c9fe2b3c
data/README.md CHANGED
@@ -60,7 +60,7 @@ When you run `nova new [app_name]`, it creates the following structure:
60
60
  Nova now includes two foundational tasks by default:
61
61
 
62
62
  ### Task 1: Generate Application
63
- - Sets up Rails 8 with PostgreSQL, Tailwind CSS, RSpec, and Cypress
63
+ - Sets up Rails 8 with PostgreSQL, Tailwind CSS, RSpec, and Capybara
64
64
  - Configures Flowbite for UI components
65
65
  - Creates a hello world page to verify setup
66
66
  - Based on battle-tested Rails application setup
@@ -122,10 +122,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
122
122
 
123
123
  ---
124
124
 
125
- ## Prompt Library
126
-
127
- Explore a collection of example prompts for various development tasks in our [Prompt Library](./prompt-library/). These can be adapted for use with AI assistants to help with common setup and generation tasks.
128
-
129
- ---
130
-
131
125
  For questions or suggestions, please contact Ryan Francis (ryan@launchpadlab.com).
@@ -49,7 +49,7 @@ You are working in a Nova project that follows a structured product development
49
49
  - Keep methods under 10 lines (use POROs if needed)
50
50
  - Name POROs as verbs with single `call` method
51
51
  - Components should follow design system
52
- - Write E2E tests with Cypress
52
+ - Write E2E tests with Capybara
53
53
 
54
54
  ### Task Management
55
55
  - Work through tasks sequentially in /tasks
@@ -1,7 +1,7 @@
1
1
  # Generate Rails Application
2
2
 
3
3
  ## Task Overview
4
- In the code/ directory generate a Rails 8 application with PostgreSQL, Tailwind CSS, Rspec, Flowbite, and Cypress to serve as the foundation for the project.
4
+ In the code/ directory generate a Rails 8 application with PostgreSQL, Tailwind CSS, Rspec, Flowbite, and Capybara to serve as the foundation for the project.
5
5
 
6
6
  ## Prerequisites
7
7
  - Review PRD and technical requirements in ../1_big-picture/
@@ -39,14 +39,14 @@ In the code/ directory generate a Rails 8 application with PostgreSQL, Tailwind
39
39
  - [ ] 4.4 Add Flowbite tooltip component to test integration
40
40
  - [ ] 4.5 Verify page loads at `http://localhost:3000/hello`
41
41
 
42
- - [ ] 5.0 Set up Cypress for E2E Testing
43
- - [ ] 5.1 Install Cypress: `yarn add cypress start-server-and-test --dev`
44
- - [ ] 5.2 Create simple E2E test for Hello World page
45
- - [ ] 5.3 Add test scripts to package.json
46
- - [ ] 5.4 Verify tests run: `yarn test:e2e:open`
42
+ - [ ] 5.0 Set up Capybara for E2E Testing
43
+ - [ ] 5.1 Configure Capybara in `spec/rails_helper.rb`
44
+ - [ ] 5.2 Create simple system test for Hello World page in `spec/system/hello_world_spec.rb`
45
+ - [ ] 5.3 Add selenium-webdriver to Gemfile if not present: `bundle add selenium-webdriver --group test`
46
+ - [ ] 5.4 Verify tests run: `bundle exec rspec spec/system`
47
47
 
48
48
  - [ ] 6.0 Final Setup & Verification
49
- - [ ] 6.1 Verify all tests pass (RSpec and Cypress)
49
+ - [ ] 6.1 Verify all tests pass (RSpec including system tests)
50
50
  - [ ] 6.2 Verify server starts cleanly: `bin/dev`
51
51
  - [ ] 6.3 Create git commit for baseline setup
52
52
 
@@ -60,13 +60,13 @@ In the code/ directory generate a Rails 8 application with PostgreSQL, Tailwind
60
60
  | `app/javascript/application.js` | JS entry point | 3.2 | ⏳ |
61
61
  | `app/controllers/pages_controller.rb` | Static pages controller | 4.1 | ⏳ |
62
62
  | `app/views/pages/hello.html.erb` | Hello world view | 4.3 | ⏳ |
63
- | `cypress/e2e/hello_world_spec.cy.js` | E2E test | 5.2 | ⏳ |
64
- | `package.json` | Node.js scripts | 5.3 | ⏳ |
63
+ | `spec/system/hello_world_spec.rb` | System test | 5.2 | ⏳ |
65
64
 
66
65
  ### Files to Modify
67
66
  | File Path | Changes | Task Ref | Status |
68
67
  |-----------|---------|----------|--------|
69
68
  | `config/routes.rb` | Add hello route | 4.2 | ⏳ |
69
+ | `spec/rails_helper.rb` | Configure Capybara | 5.1 | ⏳ |
70
70
 
71
71
  ## Notes
72
72
  - Follow Tailwind v4 documentation as many conventions have changed from v3
@@ -105,7 +105,7 @@ These are NOT throwaway prototype pages. Create production-ready routes, control
105
105
  - [ ] 10.0 Testing and Validation
106
106
  - [ ] 10.1 Write controller tests
107
107
  - [ ] 10.2 Create system tests for user flows
108
- - [ ] 10.3 Add E2E tests with Cypress
108
+ - [ ] 10.3 Add E2E tests with Capybara
109
109
  - [ ] 10.4 Test all responsive breakpoints
110
110
  - [ ] 10.5 Validate accessibility
111
111
 
data/lib/nova.rb CHANGED
@@ -2,5 +2,5 @@ require_relative 'nova/cli'
2
2
  require_relative 'nova/generator'
3
3
 
4
4
  module Nova
5
- VERSION = '0.2.3'
5
+ VERSION = '0.2.4'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nova-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Francis