hot-glue 0.2.6 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +1 -2
  3. data/Gemfile.lock +3 -23
  4. data/LICENCE +11 -4
  5. data/README.md +0 -642
  6. data/app/helpers/hot_glue/controller_helper.rb +2 -1
  7. data/lib/generators/hot_glue/install_generator.rb +121 -33
  8. data/lib/generators/hot_glue/markup_templates/erb.rb +53 -27
  9. data/lib/generators/hot_glue/markup_templates/haml.rb +5 -3
  10. data/lib/generators/hot_glue/scaffold_generator.rb +224 -58
  11. data/lib/generators/hot_glue/templates/controller.rb.erb +39 -32
  12. data/lib/generators/hot_glue/templates/erb/_form.erb +1 -1
  13. data/lib/generators/hot_glue/templates/erb/_line.erb +3 -2
  14. data/lib/generators/hot_glue/templates/erb/_list.erb +24 -8
  15. data/lib/generators/hot_glue/templates/erb/_show.erb +27 -4
  16. data/lib/generators/hot_glue/templates/erb/create.turbo_stream.erb +4 -4
  17. data/lib/generators/hot_glue/templates/erb/destroy.turbo_stream.erb +2 -2
  18. data/lib/generators/hot_glue/templates/erb/edit.erb +2 -5
  19. data/lib/generators/hot_glue/templates/erb/index.erb +11 -9
  20. data/lib/generators/hot_glue/templates/erb/update.turbo_stream.erb +5 -2
  21. data/lib/generators/hot_glue/templates/haml/_line.haml +1 -1
  22. data/lib/generators/hot_glue/templates/haml/_list.haml +6 -2
  23. data/lib/generators/hot_glue/templates/haml/create.turbo_stream.haml +3 -3
  24. data/lib/generators/hot_glue/templates/haml/destroy.turbo_stream.haml +1 -1
  25. data/lib/generators/hot_glue/templates/haml/edit.haml +0 -2
  26. data/lib/generators/hot_glue/templates/haml/index.haml +2 -3
  27. data/lib/generators/hot_glue/templates/system_spec.rb.erb +19 -8
  28. data/lib/generators/hot_glue/templates/themes/hotglue_scaffold_dark_knight.scss +158 -0
  29. data/lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_bootstrap.scss +154 -0
  30. data/lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_los_gatos.scss +182 -0
  31. data/lib/generators/hot_glue/templates/themes/hotglue_scaffold_like_mountain_view.scss +179 -0
  32. data/lib/hot-glue.rb +1 -2
  33. data/lib/hotglue/version.rb +1 -1
  34. metadata +13 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2000db5bcae078cadbe8afc0bc3d53750d0baa453ca5e627962b3a6b2b6615e1
4
- data.tar.gz: 6ce4745eb0e6a67cd37ede9db75eca2d7bddee4bb241c236aebd12c7d0a30502
3
+ metadata.gz: ea147399cbbc04e307d97c495a43e549b88bf99b44946a3392c0f0cf96d53f2d
4
+ data.tar.gz: 2d05eb14eaf6360b4df436ba453484a13abf9dc94c6ae472a205744aac10c50c
5
5
  SHA512:
6
- metadata.gz: 126bb570bf44f4a2d3fd36731bf5eca31d416f74eda2b8e1e60ff9ceec0cfc1cff5c03cc2f185b37a354f7c7a6e7c4812fa5187286c731d5702b0d77dadc5103
7
- data.tar.gz: 91cd67558e8910b5369886634eadc6b98a7be6d6b629e829f1cd81656579e86b015fa671f5636848f69be3af36aa0be551b19fef86117a45563d9ba35e49c2ab
6
+ metadata.gz: 1e29fd08a71cbc94ac38c5502bd5436184100378206d24222c20320f62ec441dc8863972bdb7e8486b5f80e2859d4070cf4247da1b637d3132c1f188725c9503
7
+ data.tar.gz: e24788fc22a3ed4bb2e63f4ea982650b722e3c5cf34ed960bbe8fee4540cbaa3b3a843a315488e6c6797790757f42c6b5154cea395b7f0bbbd04cf02e747e1cb
data/.github/FUNDING.yml CHANGED
@@ -1,2 +1 @@
1
- github: [jasonfb]
2
- custom: ["https://www.instagram.com/jfbcodes/"]
1
+ custom: ["https://heliosdev.shop/hot-glue-license?utm_source=github.com&utm_campaign=github_hot_glue_repo_funding_link","https://jfbcodes.com/hot-glue-tutorial", "https://shop.heliosdev.shop/?utm_source=github.com&utm_campaign=github_hot_glue_repo_funding_link"]
data/Gemfile.lock CHANGED
@@ -1,13 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hot-glue (0.2.5)
4
+ hot-glue (0.3.5)
5
5
  ffaker (~> 2.16)
6
- haml-rails (~> 2.0)
7
6
  kaminari (~> 1.2)
8
7
  rails (> 5.1, <= 7.0.0)
9
8
  sass-rails
10
- turbo-rails (~> 0.5)
9
+ turbo-rails (> 0.5)
11
10
 
12
11
  GEM
13
12
  remote: https://rubygems.org/
@@ -90,25 +89,10 @@ GEM
90
89
  warden (~> 1.2.3)
91
90
  diff-lcs (1.4.4)
92
91
  erubi (1.10.0)
93
- erubis (2.7.0)
94
92
  ffaker (2.20.0)
95
93
  ffi (1.15.4)
96
94
  globalid (0.4.2)
97
95
  activesupport (>= 4.2.0)
98
- haml (5.2.2)
99
- temple (>= 0.8.0)
100
- tilt
101
- haml-rails (2.0.1)
102
- actionpack (>= 5.1)
103
- activesupport (>= 5.1)
104
- haml (>= 4.0.6, < 6.0)
105
- html2haml (>= 1.0.1)
106
- railties (>= 5.1)
107
- html2haml (2.2.0)
108
- erubis (~> 2.7.0)
109
- haml (>= 4.0, < 6)
110
- nokogiri (>= 1.6.0)
111
- ruby_parser (~> 3.5)
112
96
  i18n (1.8.10)
113
97
  concurrent-ruby (~> 1.0)
114
98
  kaminari (1.2.1)
@@ -197,8 +181,6 @@ GEM
197
181
  rspec-mocks (~> 3.10)
198
182
  rspec-support (~> 3.10)
199
183
  rspec-support (3.10.2)
200
- ruby_parser (3.17.0)
201
- sexp_processor (~> 4.15, >= 4.15.1)
202
184
  sass-rails (6.0.0)
203
185
  sassc-rails (~> 2.1, >= 2.1.1)
204
186
  sassc (2.4.0)
@@ -209,7 +191,6 @@ GEM
209
191
  sprockets (> 3.0)
210
192
  sprockets-rails
211
193
  tilt
212
- sexp_processor (4.15.3)
213
194
  sprockets (4.0.2)
214
195
  concurrent-ruby (~> 1.0)
215
196
  rack (> 1, < 3)
@@ -218,10 +199,9 @@ GEM
218
199
  activesupport (>= 4.0)
219
200
  sprockets (>= 3.0.0)
220
201
  sqlite3 (1.4.2)
221
- temple (0.8.2)
222
202
  thor (1.1.0)
223
203
  tilt (2.0.10)
224
- turbo-rails (0.8.1)
204
+ turbo-rails (7.1.1)
225
205
  rails (>= 6.0.0)
226
206
  tzinfo (2.0.4)
227
207
  concurrent-ruby (~> 1.0)
data/LICENCE CHANGED
@@ -1,13 +1,20 @@
1
+
2
+ FOR HOBBYISTS/STUDENTS/TEACHERS/INDIVIDUALS/NON-PROFITS:
3
+
1
4
  Permission is hereby granted to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2
5
 
3
6
  Any users of this software agree to work to
4
- 1) dismantle systemic racism;
7
+ 1) dismantle systemic racism
5
8
  2) seek justice for black, brown, transgender people, women, and
6
- 3) work towards LGBTQIAA+ representation and inclusion.
9
+ 3) work towards LGBTQIAA+ representation and inclusion
7
10
 
8
- Organizations using this software agree to center the narratives of black, brown, transgender, and non-advantaged people in the world.
11
+ FOR ALL OTHERS:
9
12
 
10
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
13
+ TO PURCHASE A LICENSE PLEASE VISIT
14
+ https://heliosdev.shop/hot-glue-license
11
15
 
16
+ Organizations using this software agree to center the narratives of black, brown, transgender, and non-advantaged people in the world.
17
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
18
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
19
 
20
+