hot-glue 0.3.9 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +2 -1
- data/Gemfile +4 -4
- data/Gemfile.lock +17 -17
- data/README.md +811 -0
- data/config/database.yml +83 -8
- data/config/hot_glue.yml +3 -0
- data/db/schema.rb +3 -3
- data/lib/generators/hot_glue/helpers.rb +13 -0
- data/lib/generators/hot_glue/install_generator.rb +48 -13
- data/lib/generators/hot_glue/layout/builder.rb +115 -0
- data/lib/generators/hot_glue/markup_templates/erb.rb +158 -180
- data/lib/generators/hot_glue/markup_templates/haml.rb +7 -2
- data/lib/generators/hot_glue/scaffold_generator.rb +119 -77
- data/lib/generators/hot_glue/templates/capybara_login.rb +3 -3
- data/lib/generators/hot_glue/templates/erb/_form.erb +1 -1
- data/lib/generators/hot_glue/templates/erb/_list.erb +11 -13
- data/lib/generators/hot_glue/templates/erb/_show.erb +10 -8
- data/lib/generators/hot_glue/templates/erb/index.erb +2 -0
- data/lib/generators/hot_glue/templates/system_spec.rb.erb +65 -41
- data/lib/hotglue/version.rb +1 -1
- metadata +8 -25
- data/db/migrate/20210306212711_create_abcs.rb +0 -11
- data/db/migrate/20210306223300_create_defs.rb +0 -9
- data/db/migrate/20210306223305_create_ghis.rb +0 -9
- data/db/migrate/20210306223309_create_jkls.rb +0 -9
- data/db/migrate/20210306223701_devise_create_users.rb +0 -44
- data/db/migrate/20210306225506_create_xyzs.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d47957c2da1cdb01154d9f1c38f0b75a5b49884170ba3c828c2e09deed802434
|
4
|
+
data.tar.gz: 9163970db2cd3ce1b500b685a98f012aff047e2d0405567d5b58593660064af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03ffdc5b1334eb92efe53dd4f4a9e8619dbb1b4a654f5f491a52b013770eb144e2d493ca4cfa8c3177d171515e803c18beb8c29a0419dac7fd431e143b373e14
|
7
|
+
data.tar.gz: 127404dffcd900f65297a7fc4aa73b81fab8caf035aa80787649a73d216a09f23b10c45c20ebbf2b4589292ee5564211f6db2234d2e2743b7ae7373f5cd53059
|
data/.github/FUNDING.yml
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
custom: ["https://heliosdev.shop/hot-glue-license?utm_source=github.com&utm_campaign=github_hot_glue_repo_funding_link",
|
1
|
+
custom: ["https://heliosdev.shop/hot-glue-license?utm_source=github.com&utm_campaign=github_hot_glue_repo_funding_link",
|
2
|
+
"https://jfb.teachable.com/p/hot-glue-in-depth-tutorial?utm_source=github.com&utm_campaign=github_hot_glue_repo_funding_link"]
|
data/Gemfile
CHANGED
@@ -4,13 +4,13 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
4
4
|
gemspec
|
5
5
|
|
6
6
|
# not required for your app
|
7
|
-
gem '
|
7
|
+
gem 'pg'
|
8
8
|
gem 'byebug'
|
9
|
-
gem 'rails'
|
9
|
+
gem 'rails'
|
10
10
|
gem 'devise', require: true
|
11
11
|
|
12
|
-
|
13
12
|
# for testing
|
14
13
|
gem "rails-controller-testing", group: [:test]
|
15
14
|
gem "database_cleaner", group: [:test]
|
16
|
-
gem "rspec-rails", group: [:test]
|
15
|
+
gem "rspec-rails", group: [:test]
|
16
|
+
gem "factory_bot", group: [:test]
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
hot-glue (0.
|
4
|
+
hot-glue (0.4.2)
|
5
5
|
ffaker (~> 2.16)
|
6
6
|
kaminari (~> 1.2)
|
7
|
-
rails (> 5.1, <= 7
|
7
|
+
rails (> 5.1, <= 7)
|
8
8
|
sass-rails
|
9
|
-
turbo-rails (> 0.5)
|
10
9
|
|
11
10
|
GEM
|
12
11
|
remote: https://rubygems.org/
|
@@ -89,24 +88,26 @@ GEM
|
|
89
88
|
warden (~> 1.2.3)
|
90
89
|
diff-lcs (1.4.4)
|
91
90
|
erubi (1.10.0)
|
91
|
+
factory_bot (6.2.0)
|
92
|
+
activesupport (>= 5.0.0)
|
92
93
|
ffaker (2.20.0)
|
93
94
|
ffi (1.15.4)
|
94
95
|
globalid (0.4.2)
|
95
96
|
activesupport (>= 4.2.0)
|
96
97
|
i18n (1.8.10)
|
97
98
|
concurrent-ruby (~> 1.0)
|
98
|
-
kaminari (1.2.
|
99
|
+
kaminari (1.2.2)
|
99
100
|
activesupport (>= 4.1.0)
|
100
|
-
kaminari-actionview (= 1.2.
|
101
|
-
kaminari-activerecord (= 1.2.
|
102
|
-
kaminari-core (= 1.2.
|
103
|
-
kaminari-actionview (1.2.
|
101
|
+
kaminari-actionview (= 1.2.2)
|
102
|
+
kaminari-activerecord (= 1.2.2)
|
103
|
+
kaminari-core (= 1.2.2)
|
104
|
+
kaminari-actionview (1.2.2)
|
104
105
|
actionview
|
105
|
-
kaminari-core (= 1.2.
|
106
|
-
kaminari-activerecord (1.2.
|
106
|
+
kaminari-core (= 1.2.2)
|
107
|
+
kaminari-activerecord (1.2.2)
|
107
108
|
activerecord
|
108
|
-
kaminari-core (= 1.2.
|
109
|
-
kaminari-core (1.2.
|
109
|
+
kaminari-core (= 1.2.2)
|
110
|
+
kaminari-core (1.2.2)
|
110
111
|
loofah (2.10.0)
|
111
112
|
crass (~> 1.0.2)
|
112
113
|
nokogiri (>= 1.5.9)
|
@@ -126,6 +127,7 @@ GEM
|
|
126
127
|
mini_portile2 (~> 2.5.0)
|
127
128
|
racc (~> 1.4)
|
128
129
|
orm_adapter (0.5.0)
|
130
|
+
pg (1.2.3)
|
129
131
|
racc (1.5.2)
|
130
132
|
rack (2.2.3)
|
131
133
|
rack-test (1.1.0)
|
@@ -198,11 +200,8 @@ GEM
|
|
198
200
|
actionpack (>= 4.0)
|
199
201
|
activesupport (>= 4.0)
|
200
202
|
sprockets (>= 3.0.0)
|
201
|
-
sqlite3 (1.4.2)
|
202
203
|
thor (1.1.0)
|
203
204
|
tilt (2.0.10)
|
204
|
-
turbo-rails (7.1.1)
|
205
|
-
rails (>= 6.0.0)
|
206
205
|
tzinfo (2.0.4)
|
207
206
|
concurrent-ruby (~> 1.0)
|
208
207
|
warden (1.2.9)
|
@@ -220,11 +219,12 @@ DEPENDENCIES
|
|
220
219
|
byebug
|
221
220
|
database_cleaner
|
222
221
|
devise
|
222
|
+
factory_bot
|
223
223
|
hot-glue!
|
224
|
-
|
224
|
+
pg
|
225
|
+
rails
|
225
226
|
rails-controller-testing
|
226
227
|
rspec-rails
|
227
|
-
sqlite3
|
228
228
|
|
229
229
|
BUNDLED WITH
|
230
230
|
2.1.4
|