hot-glue 0.2.3 → 0.2.9E
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 +1 -1
- data/.travis.yml +15 -0
- data/Gemfile +8 -2
- data/Gemfile.lock +35 -24
- data/README.md +307 -85
- data/Rakefile +34 -24
- data/app/helpers/hot_glue/controller_helper.rb +6 -4
- data/app/helpers/hot_glue_helper.rb +4 -0
- data/app/views/layouts/_flash_notices.erb +12 -0
- data/lib/generators/hot_glue/install_generator.rb +55 -0
- data/lib/generators/hot_glue/markup_templates/erb.rb +51 -8
- data/lib/generators/hot_glue/markup_templates/haml.rb +2 -2
- data/lib/generators/hot_glue/scaffold_generator.rb +87 -35
- data/lib/generators/hot_glue/templates/capybara_login.rb +8 -0
- data/lib/generators/hot_glue/templates/confirmable.js +14 -0
- data/lib/generators/hot_glue/templates/controller.rb.erb +18 -22
- data/lib/generators/hot_glue/templates/erb/_line.erb +1 -1
- data/lib/generators/hot_glue/templates/erb/_list.erb +10 -2
- data/lib/generators/hot_glue/templates/erb/_show.erb +18 -2
- data/lib/generators/hot_glue/templates/erb/create.turbo_stream.erb +3 -3
- data/lib/generators/hot_glue/templates/erb/destroy.turbo_stream.erb +1 -1
- data/lib/generators/hot_glue/templates/erb/edit.erb +3 -13
- data/lib/generators/hot_glue/templates/erb/index.erb +1 -2
- data/lib/generators/hot_glue/templates/erb/update.turbo_stream.erb +5 -2
- data/lib/generators/hot_glue/templates/haml/_line.haml +1 -1
- data/lib/generators/hot_glue/templates/haml/_list.haml +5 -1
- data/lib/generators/hot_glue/templates/haml/create.turbo_stream.haml +3 -3
- data/lib/generators/hot_glue/templates/haml/destroy.turbo_stream.haml +1 -1
- data/lib/generators/hot_glue/templates/haml/edit.haml +0 -2
- data/lib/generators/hot_glue/templates/haml/index.haml +1 -2
- data/lib/generators/hot_glue/templates/system_spec.rb.erb +146 -47
- data/lib/hot-glue.rb +1 -2
- data/lib/hotglue/version.rb +1 -1
- metadata +23 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 694eeeb9fd33b795d9f231788f078b48de4417ab38d5bd8194da97e214d0eb49
|
4
|
+
data.tar.gz: 1cea85144279962b16695b36b22d7e523333343e361a4240932ef34dd8468a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26fcba271d8af01f7eac6a86597eab276991ea9a4510f3f1f41cec0898e9a8162f82c76993d090e3383f037951eb495b0f577feb44900d7342552ffba616fd1d
|
7
|
+
data.tar.gz: c286a2b3ce6dd43b598ffec01266c963420cbacf2af68abc3609cd99169ba4fc0eca3944cd8dc4c55af90691f2a572a9d1113c61a50c00ff5b54ae6ba53d201f
|
data/.github/FUNDING.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
github: [jasonfb]
|
2
|
-
custom: ["https://
|
2
|
+
custom: ["https://heliosdev.shop?utm_source=gh_hot_glue_funding_link"]
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
@@ -3,8 +3,14 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
3
3
|
|
4
4
|
gemspec
|
5
5
|
|
6
|
+
# not required for your app
|
6
7
|
gem 'sqlite3'
|
7
8
|
gem 'byebug'
|
8
|
-
|
9
9
|
gem 'rails', '6.1'
|
10
|
-
gem 'devise', require: true
|
10
|
+
gem 'devise', require: true
|
11
|
+
|
12
|
+
|
13
|
+
# for testing
|
14
|
+
gem "rails-controller-testing", group: [:test]
|
15
|
+
gem "database_cleaner", group: [:test]
|
16
|
+
gem "rspec-rails", group: [:test]
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
hot-glue (0.2.
|
4
|
+
hot-glue (0.2.7)
|
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
|
@@ -76,32 +75,24 @@ GEM
|
|
76
75
|
byebug (11.1.3)
|
77
76
|
concurrent-ruby (1.1.9)
|
78
77
|
crass (1.0.6)
|
78
|
+
database_cleaner (2.0.1)
|
79
|
+
database_cleaner-active_record (~> 2.0.0)
|
80
|
+
database_cleaner-active_record (2.0.1)
|
81
|
+
activerecord (>= 5.a)
|
82
|
+
database_cleaner-core (~> 2.0.0)
|
83
|
+
database_cleaner-core (2.0.1)
|
79
84
|
devise (4.8.0)
|
80
85
|
bcrypt (~> 3.0)
|
81
86
|
orm_adapter (~> 0.1)
|
82
87
|
railties (>= 4.1.0)
|
83
88
|
responders
|
84
89
|
warden (~> 1.2.3)
|
90
|
+
diff-lcs (1.4.4)
|
85
91
|
erubi (1.10.0)
|
86
|
-
|
87
|
-
ffaker (2.19.0)
|
92
|
+
ffaker (2.20.0)
|
88
93
|
ffi (1.15.4)
|
89
94
|
globalid (0.4.2)
|
90
95
|
activesupport (>= 4.2.0)
|
91
|
-
haml (5.2.2)
|
92
|
-
temple (>= 0.8.0)
|
93
|
-
tilt
|
94
|
-
haml-rails (2.0.1)
|
95
|
-
actionpack (>= 5.1)
|
96
|
-
activesupport (>= 5.1)
|
97
|
-
haml (>= 4.0.6, < 6.0)
|
98
|
-
html2haml (>= 1.0.1)
|
99
|
-
railties (>= 5.1)
|
100
|
-
html2haml (2.2.0)
|
101
|
-
erubis (~> 2.7.0)
|
102
|
-
haml (>= 4.0, < 6)
|
103
|
-
nokogiri (>= 1.6.0)
|
104
|
-
ruby_parser (~> 3.5)
|
105
96
|
i18n (1.8.10)
|
106
97
|
concurrent-ruby (~> 1.0)
|
107
98
|
kaminari (1.2.1)
|
@@ -154,6 +145,10 @@ GEM
|
|
154
145
|
bundler (>= 1.15.0)
|
155
146
|
railties (= 6.1.0)
|
156
147
|
sprockets-rails (>= 2.0.0)
|
148
|
+
rails-controller-testing (1.0.5)
|
149
|
+
actionpack (>= 5.0.1.rc1)
|
150
|
+
actionview (>= 5.0.1.rc1)
|
151
|
+
activesupport (>= 5.0.1.rc1)
|
157
152
|
rails-dom-testing (2.0.3)
|
158
153
|
activesupport (>= 4.2.0)
|
159
154
|
nokogiri (>= 1.6)
|
@@ -169,8 +164,23 @@ GEM
|
|
169
164
|
responders (3.0.1)
|
170
165
|
actionpack (>= 5.0)
|
171
166
|
railties (>= 5.0)
|
172
|
-
|
173
|
-
|
167
|
+
rspec-core (3.10.1)
|
168
|
+
rspec-support (~> 3.10.0)
|
169
|
+
rspec-expectations (3.10.1)
|
170
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
171
|
+
rspec-support (~> 3.10.0)
|
172
|
+
rspec-mocks (3.10.2)
|
173
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
174
|
+
rspec-support (~> 3.10.0)
|
175
|
+
rspec-rails (5.0.2)
|
176
|
+
actionpack (>= 5.2)
|
177
|
+
activesupport (>= 5.2)
|
178
|
+
railties (>= 5.2)
|
179
|
+
rspec-core (~> 3.10)
|
180
|
+
rspec-expectations (~> 3.10)
|
181
|
+
rspec-mocks (~> 3.10)
|
182
|
+
rspec-support (~> 3.10)
|
183
|
+
rspec-support (3.10.2)
|
174
184
|
sass-rails (6.0.0)
|
175
185
|
sassc-rails (~> 2.1, >= 2.1.1)
|
176
186
|
sassc (2.4.0)
|
@@ -181,7 +191,6 @@ GEM
|
|
181
191
|
sprockets (> 3.0)
|
182
192
|
sprockets-rails
|
183
193
|
tilt
|
184
|
-
sexp_processor (4.15.3)
|
185
194
|
sprockets (4.0.2)
|
186
195
|
concurrent-ruby (~> 1.0)
|
187
196
|
rack (> 1, < 3)
|
@@ -190,10 +199,9 @@ GEM
|
|
190
199
|
activesupport (>= 4.0)
|
191
200
|
sprockets (>= 3.0.0)
|
192
201
|
sqlite3 (1.4.2)
|
193
|
-
temple (0.8.2)
|
194
202
|
thor (1.1.0)
|
195
203
|
tilt (2.0.10)
|
196
|
-
turbo-rails (0.
|
204
|
+
turbo-rails (0.8.1)
|
197
205
|
rails (>= 6.0.0)
|
198
206
|
tzinfo (2.0.4)
|
199
207
|
concurrent-ruby (~> 1.0)
|
@@ -210,10 +218,13 @@ PLATFORMS
|
|
210
218
|
|
211
219
|
DEPENDENCIES
|
212
220
|
byebug
|
221
|
+
database_cleaner
|
213
222
|
devise
|
214
223
|
hot-glue!
|
215
224
|
rails (= 6.1)
|
225
|
+
rails-controller-testing
|
226
|
+
rspec-rails
|
216
227
|
sqlite3
|
217
228
|
|
218
229
|
BUNDLED WITH
|
219
|
-
2.
|
230
|
+
2.1.4
|