hot-glue 0.4.0 → 0.4.4
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 +49 -16
- data/lib/generators/hot_glue/layout/builder.rb +115 -0
- data/lib/generators/hot_glue/markup_templates/erb.rb +157 -179
- data/lib/generators/hot_glue/markup_templates/haml.rb +7 -2
- data/lib/generators/hot_glue/scaffold_generator.rb +108 -71
- 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 +9 -12
- 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 +10 -31
- 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: bd135c9fa591539fefc73e5a5c9bd546cb926d155a8ddc670fb58d4b22335c7e
|
4
|
+
data.tar.gz: fa992b698844c364585c50961fc44942664cfe0c031829ef6967d8ac00695062
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 037bdcb495e668e76763cd97a5b11781dbd5ab43c998f7ebcdc66e018586207185e95cb4707f1ade4a82391a2cd1c1fa537b9d7f299a87f531bcb461e41f3bc9
|
7
|
+
data.tar.gz: 2cb4bf43bf3ac0aa7ea9101255056982e410d12f15226eaceb4385919865082f700c3ab9aa2b45e1ce71f90b6e757e1663db3139b0673215246ba73ee5949cac
|
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.3
|
4
|
+
hot-glue (0.4.3)
|
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
|