twitter-bootstrap-rails 5.5.1 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/README.md +83 -4
- data/lib/generators/bootstrap/agent/agent_generator.rb +12 -0
- data/lib/generators/bootstrap/agent/templates/guide.md.erb +23 -3
- data/lib/generators/bootstrap/bootstrap5_markup.rb +22 -0
- data/lib/generators/bootstrap/cdn/cdn_generator.rb +32 -2
- data/lib/generators/bootstrap/cdn_tags.rb +11 -0
- data/lib/generators/bootstrap/install/install_generator.rb +77 -21
- data/lib/generators/bootstrap/layout/layout_generator.rb +15 -0
- data/lib/generators/bootstrap/layout/templates/layout.html.erb +4 -1
- data/lib/generators/bootstrap/layout/templates/layout.html.haml +4 -1
- data/lib/generators/bootstrap/layout/templates/layout.html.slim +4 -1
- data/lib/generators/bootstrap/nes/nes_generator.rb +101 -0
- data/lib/generators/bootstrap/snippets/snippet_base.rb +4 -0
- data/lib/generators/bootstrap/stimulus/stimulus_generator.rb +49 -0
- data/lib/generators/bootstrap/stimulus/templates/bootstrap_controller.js.tt +67 -0
- data/lib/generators/bootstrap/themed/themed_generator.rb +4 -0
- data/lib/twitter/bootstrap/rails/config.rb +17 -4
- data/lib/twitter/bootstrap/rails/doctor.rb +125 -6
- data/lib/twitter/bootstrap/rails/version.rb +33 -1
- data/spec/lib/generators/cdn_generator_spec.rb +31 -0
- data/spec/lib/generators/doctor_generator_spec.rb +52 -0
- data/spec/lib/generators/install_generator_spec.rb +51 -1
- data/spec/lib/generators/layout_generator_spec.rb +24 -0
- data/spec/lib/generators/nes_generator_spec.rb +164 -0
- data/spec/lib/generators/no_hardcoded_versions_spec.rb +3 -1
- data/spec/lib/generators/stimulus_generator_spec.rb +65 -0
- data/spec/support/generator_spec_helper.rb +2 -0
- data/vendor/assets/javascripts/twitter/bootstrap/bootstrap.esm.min.js +7 -0
- data/vendor/assets/javascripts/twitter/bootstrap/popper.esm.js +15 -0
- metadata +28 -10
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: twitter-bootstrap-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Seyhun Akyurek
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '7.1'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: '9.0'
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
29
|
+
version: '7.1'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: '9.0'
|
|
@@ -36,7 +36,7 @@ dependencies:
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
39
|
+
version: '7.1'
|
|
40
40
|
- - "<"
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
42
|
version: '9.0'
|
|
@@ -46,12 +46,13 @@ dependencies:
|
|
|
46
46
|
requirements:
|
|
47
47
|
- - ">="
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: '
|
|
49
|
+
version: '7.1'
|
|
50
50
|
- - "<"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: '9.0'
|
|
53
|
-
description:
|
|
54
|
-
|
|
53
|
+
description: Vendors Bootstrap 5 for Propshaft, Sprockets, importmap or the CDN, and
|
|
54
|
+
adds generators for layouts, scaffolds and every snippet from the Bootstrap docs,
|
|
55
|
+
plus view helpers and a doctor that checks an app's setup.
|
|
55
56
|
email:
|
|
56
57
|
- seyhunak@gmail.com
|
|
57
58
|
executables: []
|
|
@@ -75,6 +76,7 @@ files:
|
|
|
75
76
|
- lib/generators/bootstrap/agent/agent_generator.rb
|
|
76
77
|
- lib/generators/bootstrap/agent/templates/guide.md.erb
|
|
77
78
|
- lib/generators/bootstrap/badge/badge_generator.rb
|
|
79
|
+
- lib/generators/bootstrap/bootstrap5_markup.rb
|
|
78
80
|
- lib/generators/bootstrap/breadcrumb/breadcrumb_generator.rb
|
|
79
81
|
- lib/generators/bootstrap/button/button_generator.rb
|
|
80
82
|
- lib/generators/bootstrap/cdn/cdn_generator.rb
|
|
@@ -98,6 +100,7 @@ files:
|
|
|
98
100
|
- lib/generators/bootstrap/layout/templates/layout.html.slim
|
|
99
101
|
- lib/generators/bootstrap/list_group/list_group_generator.rb
|
|
100
102
|
- lib/generators/bootstrap/modal/modal_generator.rb
|
|
103
|
+
- lib/generators/bootstrap/nes/nes_generator.rb
|
|
101
104
|
- lib/generators/bootstrap/partial/partial_generator.rb
|
|
102
105
|
- lib/generators/bootstrap/partial/templates/_login.html.erb
|
|
103
106
|
- lib/generators/bootstrap/partial/templates/_navbar-devise.html.erb
|
|
@@ -170,6 +173,8 @@ files:
|
|
|
170
173
|
- lib/generators/bootstrap/snippets/templates/sidebars/list_group.html.erb
|
|
171
174
|
- lib/generators/bootstrap/starter/starter_generator.rb
|
|
172
175
|
- lib/generators/bootstrap/starter/templates/starter.html.erb
|
|
176
|
+
- lib/generators/bootstrap/stimulus/stimulus_generator.rb
|
|
177
|
+
- lib/generators/bootstrap/stimulus/templates/bootstrap_controller.js.tt
|
|
173
178
|
- lib/generators/bootstrap/themed/templates/_form.html.erb
|
|
174
179
|
- lib/generators/bootstrap/themed/templates/_form.html.haml
|
|
175
180
|
- lib/generators/bootstrap/themed/templates/_form.html.slim
|
|
@@ -204,9 +209,11 @@ files:
|
|
|
204
209
|
- spec/lib/generators/doctor_generator_spec.rb
|
|
205
210
|
- spec/lib/generators/install_generator_spec.rb
|
|
206
211
|
- spec/lib/generators/layout_generator_spec.rb
|
|
212
|
+
- spec/lib/generators/nes_generator_spec.rb
|
|
207
213
|
- spec/lib/generators/no_hardcoded_versions_spec.rb
|
|
208
214
|
- spec/lib/generators/snippet_generators_spec.rb
|
|
209
215
|
- spec/lib/generators/starter_generator_spec.rb
|
|
216
|
+
- spec/lib/generators/stimulus_generator_spec.rb
|
|
210
217
|
- spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb
|
|
211
218
|
- spec/lib/twitter_bootstrap_rails/bootstrap_flash_helper_spec.rb
|
|
212
219
|
- spec/lib/twitter_bootstrap_rails/breadcrumbs_view_spec.rb
|
|
@@ -220,11 +227,19 @@ files:
|
|
|
220
227
|
- spec/spec_helper.rb
|
|
221
228
|
- spec/support/generator_spec_helper.rb
|
|
222
229
|
- vendor/assets/javascripts/twitter/bootstrap/bootstrap.bundle.min.js
|
|
230
|
+
- vendor/assets/javascripts/twitter/bootstrap/bootstrap.esm.min.js
|
|
231
|
+
- vendor/assets/javascripts/twitter/bootstrap/popper.esm.js
|
|
223
232
|
- vendor/assets/stylesheets/twitter/bootstrap/bootstrap.min.css
|
|
224
233
|
homepage: https://github.com/seyhunak/twitter-bootstrap-rails
|
|
225
234
|
licenses:
|
|
226
235
|
- MIT
|
|
227
|
-
metadata:
|
|
236
|
+
metadata:
|
|
237
|
+
source_code_uri: https://github.com/seyhunak/twitter-bootstrap-rails
|
|
238
|
+
changelog_uri: https://github.com/seyhunak/twitter-bootstrap-rails/blob/master/CHANGELOG.md
|
|
239
|
+
bug_tracker_uri: https://github.com/seyhunak/twitter-bootstrap-rails/issues
|
|
240
|
+
documentation_uri: https://github.com/seyhunak/twitter-bootstrap-rails#readme
|
|
241
|
+
funding_uri: https://opencollective.com/seyhunak
|
|
242
|
+
rubygems_mfa_required: 'true'
|
|
228
243
|
post_install_message:
|
|
229
244
|
rdoc_options: []
|
|
230
245
|
require_paths:
|
|
@@ -243,7 +258,8 @@ requirements: []
|
|
|
243
258
|
rubygems_version: 3.5.16
|
|
244
259
|
signing_key:
|
|
245
260
|
specification_version: 4
|
|
246
|
-
summary: Bootstrap 5
|
|
261
|
+
summary: 'Bootstrap 5 for Rails 8 and 7.1+: generators, helpers, and checks for coding
|
|
262
|
+
agents'
|
|
247
263
|
test_files:
|
|
248
264
|
- spec/lib/breadcrumbs_spec.rb
|
|
249
265
|
- spec/lib/generators/agent_generator_spec.rb
|
|
@@ -251,9 +267,11 @@ test_files:
|
|
|
251
267
|
- spec/lib/generators/doctor_generator_spec.rb
|
|
252
268
|
- spec/lib/generators/install_generator_spec.rb
|
|
253
269
|
- spec/lib/generators/layout_generator_spec.rb
|
|
270
|
+
- spec/lib/generators/nes_generator_spec.rb
|
|
254
271
|
- spec/lib/generators/no_hardcoded_versions_spec.rb
|
|
255
272
|
- spec/lib/generators/snippet_generators_spec.rb
|
|
256
273
|
- spec/lib/generators/starter_generator_spec.rb
|
|
274
|
+
- spec/lib/generators/stimulus_generator_spec.rb
|
|
257
275
|
- spec/lib/twitter_bootstrap_rails/badge_label_helper_spec.rb
|
|
258
276
|
- spec/lib/twitter_bootstrap_rails/bootstrap_flash_helper_spec.rb
|
|
259
277
|
- spec/lib/twitter_bootstrap_rails/breadcrumbs_view_spec.rb
|