rcrewai-rails 0.2.4 → 0.2.6

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: 549c659f778f292e8677b5f5cbf13461ba9873d044dd12317cb4f7944ec7ee46
4
- data.tar.gz: a8d6363f2648b9c8791064f4b747d7c602d988a9372999142ad28be827f38c24
3
+ metadata.gz: 872001faf8c7f314a6beea8024068c39b5ae4574e4d43ad35feecb371b449365
4
+ data.tar.gz: c0288668bd7032e041df4773c66c50a844958a0a81d471e32ba3fd6ba74704a4
5
5
  SHA512:
6
- metadata.gz: 22d327599cb0fa2bb640a97e996a60235a35eef0a65ba66246918450cf002b82a65df1c03c7271f538bb35ee992eb6accbff3204f5f3e429caaa9f5863eb8ee4
7
- data.tar.gz: c777c68dc9dfa1ae135b93b44f3ab2b5e36d97e63d06d8c94a6c1e2bca5db6e250df8a6955ac9b942dae5acfda73a988a542c3115fe4b1730bd90846b5e4a628
6
+ metadata.gz: 7644f833271d093afd7ec3828ac7463a5caae48216737a666c2f275849df7c2672da85d8637546776a2c6a554b91a301cf32eefed82000b0a7cc243418e13763
7
+ data.tar.gz: 7c2b61cc774d3e7220a97516f251836cc4724c0ed0ccf9498199bcf7f50d1506f36e3695a0872a44ccb100b431c0506e3ca9e12ff97a2853667792fd9341df03
data/README.md CHANGED
@@ -35,7 +35,20 @@ $ rails db:migrate
35
35
  This will:
36
36
  - Create the necessary database migrations
37
37
  - Add an initializer file for configuration
38
- - Mount the engine routes
38
+ - Mount the engine routes in `config/routes.rb`
39
+
40
+ ### Manual Routes Setup
41
+
42
+ If you need to mount the routes manually, add this to your `config/routes.rb`:
43
+
44
+ ```ruby
45
+ Rails.application.routes.draw do
46
+ mount RcrewAI::Rails::Engine => '/rcrewai'
47
+ # Your other routes...
48
+ end
49
+ ```
50
+
51
+ This makes the web UI available at `/rcrewai` and API endpoints at `/rcrewai/api/v1/`.
39
52
 
40
53
  ## Configuration
41
54
 
@@ -1,5 +1,5 @@
1
1
  module RcrewAI
2
2
  module Rails
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.6"
4
4
  end
5
5
  end
data/lib/rcrewai_rails.rb CHANGED
@@ -1 +1,4 @@
1
- require "rcrewai/rails"
1
+ require "rcrewai/rails"
2
+
3
+ # Define the constant that Zeitwerk expects based on the filename
4
+ RcrewAIRails = RcrewAI::Rails
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcrewai-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - gkosmo