sun-sword 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/lib/generators/sun_sword/frontend_generator.rb +43 -19
- data/lib/generators/sun_sword/init_generator.rb +15 -0
- data/lib/generators/sun_sword/scaffold_generator.rb +135 -9
- data/lib/generators/sun_sword/templates_frontend/config/devise.rb +313 -0
- data/lib/generators/sun_sword/templates_frontend/controllers/application_controller.rb.tt +7 -3
- data/lib/generators/sun_sword/templates_frontend/controllers/site_controller.rb +1 -0
- data/lib/generators/sun_sword/templates_frontend/db/migrate/20241117042039_devise_create_auths.rb +47 -0
- data/lib/generators/sun_sword/templates_frontend/db/migrate/20241117043154_create_models_accounts.rb +11 -0
- data/lib/generators/sun_sword/templates_frontend/db/migrate/20241117044142_create_models_users.rb +16 -0
- data/lib/generators/sun_sword/templates_frontend/db/seeds.rb +3 -0
- data/lib/generators/sun_sword/templates_frontend/db/structures/example.yaml.tt +106 -0
- data/lib/generators/sun_sword/templates_frontend/frontend/pages/web.js +2 -8
- data/lib/generators/sun_sword/templates_frontend/models/models/account.rb +4 -0
- data/lib/generators/sun_sword/templates_frontend/models/models/auth.rb +8 -0
- data/lib/generators/sun_sword/templates_frontend/models/models/user.rb +5 -0
- data/lib/generators/sun_sword/templates_frontend/views/layouts/dashboard/_sidebar.html.erb.tt +11 -1
- data/lib/generators/sun_sword/templates_frontend/views/layouts/dashboard/application.html.erb.tt +6 -9
- data/lib/generators/sun_sword/templates_init/config/initializers/sun_sword.rb +3 -0
- data/lib/generators/sun_sword/templates_scaffold/controllers/controller.rb.tt +22 -18
- data/lib/generators/sun_sword/templates_scaffold/views/_form.html.erb.tt +3 -8
- data/lib/generators/sun_sword/templates_scaffold/views/components/menu/link.html.erb.tt +1 -1
- data/lib/generators/sun_sword/templates_scaffold/views/index.html.erb.tt +4 -4
- data/lib/generators/sun_sword/templates_scaffold/views/show.html.erb.tt +2 -2
- data/lib/sun-sword.rb +4 -2
- data/lib/sun_sword/configuration.rb +29 -0
- data/lib/sun_sword/version.rb +1 -1
- metadata +14 -3
- data/lib/generators/sun_sword/templates_frontend/controllers/dashboard/site_controller.rb +0 -6
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sun-sword
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kotarominami
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -67,15 +67,21 @@ files:
|
|
67
67
|
- Rakefile
|
68
68
|
- lib/generators/sun_sword/USAGE
|
69
69
|
- lib/generators/sun_sword/frontend_generator.rb
|
70
|
+
- lib/generators/sun_sword/init_generator.rb
|
70
71
|
- lib/generators/sun_sword/scaffold_generator.rb
|
71
72
|
- lib/generators/sun_sword/templates_frontend/Procfile.dev
|
72
73
|
- lib/generators/sun_sword/templates_frontend/assets/config/manifest.js
|
73
74
|
- lib/generators/sun_sword/templates_frontend/bin/watch
|
74
75
|
- lib/generators/sun_sword/templates_frontend/config/database.yml
|
76
|
+
- lib/generators/sun_sword/templates_frontend/config/devise.rb
|
75
77
|
- lib/generators/sun_sword/templates_frontend/config/vite.json
|
76
78
|
- lib/generators/sun_sword/templates_frontend/controllers/application_controller.rb.tt
|
77
|
-
- lib/generators/sun_sword/templates_frontend/controllers/dashboard/site_controller.rb
|
78
79
|
- lib/generators/sun_sword/templates_frontend/controllers/site_controller.rb
|
80
|
+
- lib/generators/sun_sword/templates_frontend/db/migrate/20241117042039_devise_create_auths.rb
|
81
|
+
- lib/generators/sun_sword/templates_frontend/db/migrate/20241117043154_create_models_accounts.rb
|
82
|
+
- lib/generators/sun_sword/templates_frontend/db/migrate/20241117044142_create_models_users.rb
|
83
|
+
- lib/generators/sun_sword/templates_frontend/db/seeds.rb
|
84
|
+
- lib/generators/sun_sword/templates_frontend/db/structures/example.yaml.tt
|
79
85
|
- lib/generators/sun_sword/templates_frontend/env.development
|
80
86
|
- lib/generators/sun_sword/templates_frontend/frontend/assets/images/.keep
|
81
87
|
- lib/generators/sun_sword/templates_frontend/frontend/assets/images/kotaro.ico
|
@@ -87,6 +93,9 @@ files:
|
|
87
93
|
- lib/generators/sun_sword/templates_frontend/frontend/pages/web.js
|
88
94
|
- lib/generators/sun_sword/templates_frontend/frontend/stylesheets/application.scss
|
89
95
|
- lib/generators/sun_sword/templates_frontend/helpers/application_helper.rb
|
96
|
+
- lib/generators/sun_sword/templates_frontend/models/models/account.rb
|
97
|
+
- lib/generators/sun_sword/templates_frontend/models/models/auth.rb
|
98
|
+
- lib/generators/sun_sword/templates_frontend/models/models/user.rb
|
90
99
|
- lib/generators/sun_sword/templates_frontend/package.json
|
91
100
|
- lib/generators/sun_sword/templates_frontend/postcss.config.js
|
92
101
|
- lib/generators/sun_sword/templates_frontend/rubocop.yml.tt
|
@@ -104,6 +113,7 @@ files:
|
|
104
113
|
- lib/generators/sun_sword/templates_frontend/views/site/_comment.html.erb.tt
|
105
114
|
- lib/generators/sun_sword/templates_frontend/views/site/stimulus.html.erb.tt
|
106
115
|
- lib/generators/sun_sword/templates_frontend/vite.config.ts.tt
|
116
|
+
- lib/generators/sun_sword/templates_init/config/initializers/sun_sword.rb
|
107
117
|
- lib/generators/sun_sword/templates_scaffold/controllers/controller.rb.tt
|
108
118
|
- lib/generators/sun_sword/templates_scaffold/example.rb.tt
|
109
119
|
- lib/generators/sun_sword/templates_scaffold/views/_form.html.erb.tt
|
@@ -113,6 +123,7 @@ files:
|
|
113
123
|
- lib/generators/sun_sword/templates_scaffold/views/new.html.erb.tt
|
114
124
|
- lib/generators/sun_sword/templates_scaffold/views/show.html.erb.tt
|
115
125
|
- lib/sun-sword.rb
|
126
|
+
- lib/sun_sword/configuration.rb
|
116
127
|
- lib/sun_sword/version.rb
|
117
128
|
homepage: https://github.com/kotaroisme/sun-sword
|
118
129
|
licenses:
|