appchat 0.0.0 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f9959082fad1640186188cb5b51aa368261bd223f0b6de9064199c761131178
4
- data.tar.gz: 7878632c1a40ec83858995d14a9ad9c138c914d5ebd992b7ca1e773b59087c23
3
+ metadata.gz: 673aa6b6d3460c98d8731fd03b68201bfdda69a190f3b3890b1c05160fd707f1
4
+ data.tar.gz: 15fa530e300361c280054729fb325b2bf12bf169565f9b9602ceec763be3b6d8
5
5
  SHA512:
6
- metadata.gz: 12b74b31bc530a0118980c53fef319b06dce69a041be1d0e244985907a3db07495a6e74decaa2c75a7a0a2489eab8f32c4c2b8290c8e1451fa09442b74dcbf2a
7
- data.tar.gz: 7c6816271a82c6c8e017d94b3c61ec268e6ec757e30174dc430728bc2f51238d145c76ef97650f03ce675246c285a35fe6fe6454d10cb300e8c7656b3ff8fab5
6
+ metadata.gz: 2afea783c7fdf8e72f42194d8be4b498250e726dde74fb99b5d177129f6140ee930cfc17fca8b6e9c6b971e6c458c82d2cf590acce9c67a8e712402a12b59eb0
7
+ data.tar.gz: 8717c5896f4fe1e46499464dd6389f366147c43381a7eb03bea5e1871a42fd4a766c81d5da3ad21546e782c82b1704fa70997f33b04f288538091b40cf00d30a
@@ -4,7 +4,8 @@ require 'bundler'
4
4
 
5
5
  class AppchatGenerator < Rails::Generators::Base
6
6
  include Turbo::FramesHelper, ActionView::Helpers::TagHelper,
7
- ActionView::Helpers::FormTagHelper, ActionView::Helpers::FormHelper, Rails.application.routes.url_helpers
7
+ ActionView::Helpers::FormTagHelper, ActionView::Helpers::FormHelper,
8
+ Rails.application.routes.url_helpers
8
9
  source_root File.expand_path('templates', __dir__)
9
10
 
10
11
  def add_gems
@@ -24,6 +25,7 @@ class AppchatGenerator < Rails::Generators::Base
24
25
 
25
26
  def generate_scaffolds
26
27
  generate "model", "Chat"
28
+ route "resources :chats"
27
29
  generate "scaffold", "Message chat:references content:text role:integer"
28
30
  end
29
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appchat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - hackliteracy