hot-glue 0.2.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +1 -2
  3. data/Gemfile.lock +4 -24
  4. data/LICENCE +11 -4
  5. data/README.md +0 -524
  6. data/app/helpers/hot_glue/controller_helper.rb +8 -5
  7. data/app/views/layouts/_flash_notices.erb +12 -0
  8. data/lib/generators/hot_glue/install_generator.rb +110 -1
  9. data/lib/generators/hot_glue/markup_templates/erb.rb +68 -29
  10. data/lib/generators/hot_glue/markup_templates/haml.rb +5 -3
  11. data/lib/generators/hot_glue/scaffold_generator.rb +223 -58
  12. data/lib/generators/hot_glue/templates/capybara_login.rb +8 -0
  13. data/lib/generators/hot_glue/templates/controller.rb.erb +41 -32
  14. data/lib/generators/hot_glue/templates/erb/_form.erb +1 -1
  15. data/lib/generators/hot_glue/templates/erb/_line.erb +3 -2
  16. data/lib/generators/hot_glue/templates/erb/_list.erb +24 -8
  17. data/lib/generators/hot_glue/templates/erb/_show.erb +24 -4
  18. data/lib/generators/hot_glue/templates/erb/create.turbo_stream.erb +4 -4
  19. data/lib/generators/hot_glue/templates/erb/destroy.turbo_stream.erb +2 -2
  20. data/lib/generators/hot_glue/templates/erb/edit.erb +3 -13
  21. data/lib/generators/hot_glue/templates/erb/index.erb +11 -9
  22. data/lib/generators/hot_glue/templates/erb/update.turbo_stream.erb +5 -2
  23. data/lib/generators/hot_glue/templates/haml/_line.haml +1 -1
  24. data/lib/generators/hot_glue/templates/haml/_list.haml +6 -2
  25. data/lib/generators/hot_glue/templates/haml/create.turbo_stream.haml +3 -3
  26. data/lib/generators/hot_glue/templates/haml/destroy.turbo_stream.haml +1 -1
  27. data/lib/generators/hot_glue/templates/haml/edit.haml +0 -2
  28. data/lib/generators/hot_glue/templates/haml/index.haml +2 -3
  29. data/lib/generators/hot_glue/templates/system_spec.rb.erb +146 -47
  30. data/lib/generators/hot_glue/templates/themes/hotglue_scaffold_dark_knight.scss +158 -0
  31. data/lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_bootstrap.scss +154 -0
  32. data/lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_los_gatos.scss +182 -0
  33. data/lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_mountain_view.scss +179 -0
  34. data/lib/hot-glue.rb +1 -2
  35. data/lib/hotglue/version.rb +1 -1
  36. metadata +15 -33
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hot-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Fleetwood-Boldt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-07 00:00:00.000000000 Z
11
+ date: 2021-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,32 +44,18 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.2'
47
- - !ruby/object:Gem::Dependency
48
- name: haml-rails
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '2.0'
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '2.0'
61
47
  - !ruby/object:Gem::Dependency
62
48
  name: turbo-rails
63
49
  requirement: !ruby/object:Gem::Requirement
64
50
  requirements:
65
- - - "~>"
51
+ - - ">"
66
52
  - !ruby/object:Gem::Version
67
53
  version: '0.5'
68
54
  type: :runtime
69
55
  prerelease: false
70
56
  version_requirements: !ruby/object:Gem::Requirement
71
57
  requirements:
72
- - - "~>"
58
+ - - ">"
73
59
  - !ruby/object:Gem::Version
74
60
  version: '0.5'
75
61
  - !ruby/object:Gem::Dependency
@@ -118,6 +104,7 @@ files:
118
104
  - app/assets/config/manifest.js
119
105
  - app/helpers/hot_glue/controller_helper.rb
120
106
  - app/helpers/hot_glue_helper.rb
107
+ - app/views/layouts/_flash_notices.erb
121
108
  - bin/rails
122
109
  - config/database.yml
123
110
  - db/migrate/20210306212711_create_abcs.rb
@@ -134,6 +121,7 @@ files:
134
121
  - lib/generators/hot_glue/markup_templates/slim.rb
135
122
  - lib/generators/hot_glue/scaffold_generator.rb
136
123
  - lib/generators/hot_glue/templates/base_controller.rb.erb
124
+ - lib/generators/hot_glue/templates/capybara_login.rb
137
125
  - lib/generators/hot_glue/templates/confirmable.js
138
126
  - lib/generators/hot_glue/templates/controller.rb.erb
139
127
  - lib/generators/hot_glue/templates/erb/_errors.erb
@@ -167,6 +155,10 @@ files:
167
155
  - lib/generators/hot_glue/templates/haml/new.haml
168
156
  - lib/generators/hot_glue/templates/haml/update.turbo_stream.haml
169
157
  - lib/generators/hot_glue/templates/system_spec.rb.erb
158
+ - lib/generators/hot_glue/templates/themes/hotglue_scaffold_dark_knight.scss
159
+ - lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_bootstrap.scss
160
+ - lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_los_gatos.scss
161
+ - lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_mountain_view.scss
170
162
  - lib/hot-glue.rb
171
163
  - lib/hotglue/engine.rb
172
164
  - lib/hotglue/version.rb
@@ -175,24 +167,14 @@ licenses:
175
167
  - Nonstandard
176
168
  metadata:
177
169
  source_code_uri: https://github.com/jasonfb/hot-glue
178
- documentation_uri: https://www.instagram.com/jfbcodes/
179
- homepage_uri: https://jasonfleetwoodboldt.com/hot-glue/
170
+ tutorial: https://jfbcodes.com/hot-glue-tutorial
171
+ buy_license: https://heliosdev.shop/hot-glue-licens
172
+ get_merch: https://shop.heliosdev.shop/?utm_source=rubygems&utm_campaign=hot_glue_gem_metadata
180
173
  post_install_message: |
181
174
  ---------------------------------------------
182
175
  Welcome to Hot Glue - A Scaffold Building Companion for Hotwire + Turbo-Rails
183
176
 
184
- rails generate hot_glue:scaffold Thing
185
-
186
- * Build plug-and-play scaffolding mixing HAML with the power of Hotwire and Turbo-Rails
187
- * Automatically Reads Your Models (make them before building your scaffolding!)
188
- * Excellent for CRUD, lists with pagination (coming soon: searching & sorting)
189
- * Great for prototyping.
190
- * Plays nicely with Devise, Kaminari, Haml-Rails, Rspec, FontAwesome
191
- * Create specs automatically along with the generated controllers.
192
- * Nest your routes model-by-model for built-in poor man's authentication.
193
- * Throw the scaffolding away when your app is ready to graduate to its next phase.
194
-
195
- see README for complete instructions.
177
+ To purchase a license, please visit https://heliosdev.shop/hot-glue-licens
196
178
  ---------------------------------------------
197
179
  rdoc_options: []
198
180
  require_paths:
@@ -211,5 +193,5 @@ requirements: []
211
193
  rubygems_version: 3.1.4
212
194
  signing_key:
213
195
  specification_version: 4
214
- summary: A gem build scaffolding.
196
+ summary: A gem to build Tubro Rails scaffolding.
215
197
  test_files: []