bootstrap_form 5.1.0 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +21 -8
  3. data/.gitignore +4 -2
  4. data/.rubocop.yml +2 -1
  5. data/.yarnrc +5 -0
  6. data/CHANGELOG.md +11 -3
  7. data/CONTRIBUTING.md +101 -14
  8. data/Dangerfile +4 -4
  9. data/Dockerfile +5 -5
  10. data/Gemfile +5 -21
  11. data/README.md +68 -21
  12. data/RELEASING.md +12 -1
  13. data/Rakefile +7 -6
  14. data/bootstrap_form.gemspec +6 -8
  15. data/docker-compose.yml +6 -24
  16. data/gemfiles/6.0.gemfile +1 -1
  17. data/gemfiles/6.1.gemfile +1 -1
  18. data/gemfiles/7.0.gemfile +2 -3
  19. data/gemfiles/common.gemfile +28 -0
  20. data/gemfiles/edge.gemfile +3 -2
  21. data/lib/bootstrap_form/components/labels.rb +3 -9
  22. data/lib/bootstrap_form/components/validation.rb +36 -19
  23. data/lib/bootstrap_form/form_builder.rb +3 -0
  24. data/lib/bootstrap_form/form_group.rb +9 -6
  25. data/lib/bootstrap_form/form_group_builder.rb +10 -7
  26. data/lib/bootstrap_form/helpers/bootstrap.rb +7 -8
  27. data/lib/bootstrap_form/helpers/field.rb +26 -0
  28. data/lib/bootstrap_form/helpers.rb +1 -0
  29. data/lib/bootstrap_form/inputs/check_box.rb +22 -6
  30. data/lib/bootstrap_form/inputs/radio_button.rb +3 -3
  31. data/lib/bootstrap_form/version.rb +2 -1
  32. data/lib/bootstrap_form.rb +1 -1
  33. metadata +14 -146
  34. data/demo/.postcssrc.yml +0 -3
  35. data/demo/.ruby-version +0 -1
  36. data/demo/Gemfile +0 -80
  37. data/demo/Gemfile.lock +0 -261
  38. data/demo/Procfile.dev +0 -2
  39. data/demo/README.md +0 -17
  40. data/demo/Rakefile +0 -6
  41. data/demo/app/assets/builds/.keep +0 -0
  42. data/demo/app/assets/builds/application.js.LICENSE.txt +0 -9
  43. data/demo/app/assets/config/manifest.js +0 -2
  44. data/demo/app/assets/stylesheets/actiontext.css +0 -31
  45. data/demo/app/assets/stylesheets/actiontext.scss +0 -38
  46. data/demo/app/assets/stylesheets/application.scss +0 -1
  47. data/demo/app/controllers/application_controller.rb +0 -2
  48. data/demo/app/controllers/bootstrap_controller.rb +0 -29
  49. data/demo/app/controllers/users_controller.rb +0 -9
  50. data/demo/app/helpers/bootstrap_helper.rb +0 -27
  51. data/demo/app/javascript/application.js +0 -3
  52. data/demo/app/javascript/channels/consumer.js +0 -6
  53. data/demo/app/javascript/channels/index.js +0 -5
  54. data/demo/app/javascript/packs/application.js +0 -11
  55. data/demo/app/models/address.rb +0 -3
  56. data/demo/app/models/application_record.rb +0 -3
  57. data/demo/app/models/faux_user.rb +0 -9
  58. data/demo/app/models/skill.rb +0 -15
  59. data/demo/app/models/super_user.rb +0 -2
  60. data/demo/app/models/user.rb +0 -25
  61. data/demo/app/views/active_storage/blobs/_blob.html.erb +0 -14
  62. data/demo/app/views/bootstrap/form.html.erb +0 -67
  63. data/demo/app/views/layouts/action_text/contents/_content.html.erb +0 -3
  64. data/demo/app/views/layouts/application.html.erb +0 -76
  65. data/demo/bin/bundle +0 -3
  66. data/demo/bin/dev +0 -9
  67. data/demo/bin/rails +0 -4
  68. data/demo/bin/rake +0 -4
  69. data/demo/bin/setup +0 -36
  70. data/demo/bin/update +0 -31
  71. data/demo/bin/webpack +0 -15
  72. data/demo/bin/webpack-dev-server +0 -15
  73. data/demo/bin/yarn +0 -11
  74. data/demo/config/application.rb +0 -21
  75. data/demo/config/boot.rb +0 -5
  76. data/demo/config/database.yml +0 -21
  77. data/demo/config/environment.rb +0 -5
  78. data/demo/config/environments/development.rb +0 -60
  79. data/demo/config/environments/production.rb +0 -48
  80. data/demo/config/environments/test.rb +0 -46
  81. data/demo/config/initializers/application_controller_renderer.rb +0 -8
  82. data/demo/config/initializers/backtrace_silencers.rb +0 -7
  83. data/demo/config/initializers/cookies_serializer.rb +0 -5
  84. data/demo/config/initializers/filter_parameter_logging.rb +0 -4
  85. data/demo/config/initializers/inflections.rb +0 -16
  86. data/demo/config/initializers/mime_types.rb +0 -4
  87. data/demo/config/initializers/wrap_parameters.rb +0 -14
  88. data/demo/config/locales/en.yml +0 -33
  89. data/demo/config/puma.rb +0 -56
  90. data/demo/config/routes.rb +0 -6
  91. data/demo/config/spring.rb +0 -6
  92. data/demo/config/storage.yml +0 -35
  93. data/demo/config/webpack/development.js +0 -5
  94. data/demo/config/webpack/environment.js +0 -3
  95. data/demo/config/webpack/production.js +0 -5
  96. data/demo/config/webpack/test.js +0 -5
  97. data/demo/config/webpacker.yml +0 -92
  98. data/demo/config.ru +0 -5
  99. data/demo/db/schema.rb +0 -84
  100. data/demo/doc/screenshots/bootstrap/index/00_horizontal_form.png +0 -0
  101. data/demo/doc/screenshots/bootstrap/index/01_with_validation_error.png +0 -0
  102. data/demo/doc/screenshots/bootstrap/index/02_inline_form.png +0 -0
  103. data/demo/doc/screenshots/bootstrap/index/03_simple_action_text_example.png +0 -0
  104. data/demo/doc/screenshots/bootstrap/index/04_floating_labels.png +0 -0
  105. data/demo/doc/screenshots/bootstrap/readme/00_example.png +0 -0
  106. data/demo/doc/screenshots/bootstrap/readme/01_example.png +0 -0
  107. data/demo/doc/screenshots/bootstrap/readme/02_example.png +0 -0
  108. data/demo/doc/screenshots/bootstrap/readme/03_example.png +0 -0
  109. data/demo/doc/screenshots/bootstrap/readme/04_example.png +0 -0
  110. data/demo/doc/screenshots/bootstrap/readme/05_example.png +0 -0
  111. data/demo/doc/screenshots/bootstrap/readme/06_example.png +0 -0
  112. data/demo/doc/screenshots/bootstrap/readme/07_example.png +0 -0
  113. data/demo/doc/screenshots/bootstrap/readme/08_example.png +0 -0
  114. data/demo/doc/screenshots/bootstrap/readme/09_example.png +0 -0
  115. data/demo/doc/screenshots/bootstrap/readme/10_example.png +0 -0
  116. data/demo/doc/screenshots/bootstrap/readme/11_example.png +0 -0
  117. data/demo/doc/screenshots/bootstrap/readme/12_example.png +0 -0
  118. data/demo/doc/screenshots/bootstrap/readme/13_example.png +0 -0
  119. data/demo/doc/screenshots/bootstrap/readme/14_example.png +0 -0
  120. data/demo/doc/screenshots/bootstrap/readme/15_example.png +0 -0
  121. data/demo/doc/screenshots/bootstrap/readme/16_example.png +0 -0
  122. data/demo/doc/screenshots/bootstrap/readme/17_example.png +0 -0
  123. data/demo/doc/screenshots/bootstrap/readme/18_example.png +0 -0
  124. data/demo/doc/screenshots/bootstrap/readme/19_example.png +0 -0
  125. data/demo/doc/screenshots/bootstrap/readme/20_example.png +0 -0
  126. data/demo/doc/screenshots/bootstrap/readme/21_example.png +0 -0
  127. data/demo/doc/screenshots/bootstrap/readme/22_example.png +0 -0
  128. data/demo/doc/screenshots/bootstrap/readme/23_example.png +0 -0
  129. data/demo/doc/screenshots/bootstrap/readme/24_example.png +0 -0
  130. data/demo/doc/screenshots/bootstrap/readme/25_example.png +0 -0
  131. data/demo/doc/screenshots/bootstrap/readme/26_example.png +0 -0
  132. data/demo/doc/screenshots/bootstrap/readme/27_example.png +0 -0
  133. data/demo/doc/screenshots/bootstrap/readme/28_example.png +0 -0
  134. data/demo/doc/screenshots/bootstrap/readme/29_example.png +0 -0
  135. data/demo/doc/screenshots/bootstrap/readme/30_example.png +0 -0
  136. data/demo/doc/screenshots/bootstrap/readme/31_example.png +0 -0
  137. data/demo/doc/screenshots/bootstrap/readme/32_example.png +0 -0
  138. data/demo/doc/screenshots/bootstrap/readme/33_example.png +0 -0
  139. data/demo/doc/screenshots/bootstrap/readme/34_example.png +0 -0
  140. data/demo/doc/screenshots/bootstrap/readme/35_example.png +0 -0
  141. data/demo/doc/screenshots/bootstrap/readme/36_example.png +0 -0
  142. data/demo/doc/screenshots/bootstrap/readme/37_example.png +0 -0
  143. data/demo/doc/screenshots/bootstrap/readme/38_example.png +0 -0
  144. data/demo/doc/screenshots/bootstrap/readme/39_example.png +0 -0
  145. data/demo/doc/screenshots/bootstrap/readme/40_example.png +0 -0
  146. data/demo/doc/screenshots/bootstrap/readme/41_example.png +0 -0
  147. data/demo/doc/screenshots/bootstrap/readme/42_example.png +0 -0
  148. data/demo/doc/screenshots/bootstrap/readme/43_example.png +0 -0
  149. data/demo/doc/screenshots/bootstrap/readme/44_example.png +0 -0
  150. data/demo/doc/screenshots/bootstrap/readme/45_example.png +0 -0
  151. data/demo/doc/screenshots/bootstrap/readme/46_example.png +0 -0
  152. data/demo/doc/screenshots/bootstrap/readme/47_example.png +0 -0
  153. data/demo/doc/screenshots/bootstrap/readme/48_example.png +0 -0
  154. data/demo/doc/screenshots/bootstrap/readme/49_example.png +0 -0
  155. data/demo/doc/screenshots/bootstrap/readme/50_example.png +0 -0
  156. data/demo/log/.keep +0 -0
  157. data/demo/package.json +0 -21
  158. data/demo/public/favicon.ico +0 -0
  159. data/demo/test/application_system_test_case.rb +0 -8
  160. data/demo/test/controllers/bootstrap_controller_test.rb +0 -8
  161. data/demo/test/controllers/users_controller_test.rb +0 -13
  162. data/demo/test/fixtures/action_text/rich_texts.yml +0 -4
  163. data/demo/test/fixtures/users.yml +0 -2
  164. data/demo/test/system/bootstrap_test.rb +0 -84
  165. data/demo/test/test_helper.rb +0 -10
  166. data/demo/webpack.config.js +0 -20
  167. data/demo/yarn.lock +0 -7176
  168. data/gemfiles/5.2.gemfile +0 -4
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Potenza
8
8
  - Carlos Lopes
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-06-25 00:00:00.000000000 Z
12
+ date: 2023-05-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '5.2'
20
+ version: '6.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '5.2'
27
+ version: '6.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: activemodel
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '5.2'
34
+ version: '6.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: '5.2'
41
+ version: '6.0'
42
42
  description: bootstrap_form is a rails form builder that makes it super easy to create
43
43
  beautiful-looking forms using Bootstrap 5
44
44
  email:
@@ -52,6 +52,7 @@ files:
52
52
  - ".github/workflows/ruby.yml"
53
53
  - ".gitignore"
54
54
  - ".rubocop.yml"
55
+ - ".yarnrc"
55
56
  - CHANGELOG.md
56
57
  - CODE_OF_CONDUCT.md
57
58
  - CONTRIBUTING.md
@@ -67,145 +68,11 @@ files:
67
68
  - UPGRADE-5.0.md
68
69
  - app/assets/stylesheets/rails_bootstrap_forms.css
69
70
  - bootstrap_form.gemspec
70
- - demo/.postcssrc.yml
71
- - demo/.ruby-version
72
- - demo/Gemfile
73
- - demo/Gemfile.lock
74
- - demo/Procfile.dev
75
- - demo/README.md
76
- - demo/Rakefile
77
- - demo/app/assets/builds/.keep
78
- - demo/app/assets/builds/application.js.LICENSE.txt
79
- - demo/app/assets/config/manifest.js
80
- - demo/app/assets/stylesheets/actiontext.css
81
- - demo/app/assets/stylesheets/actiontext.scss
82
- - demo/app/assets/stylesheets/application.scss
83
- - demo/app/controllers/application_controller.rb
84
- - demo/app/controllers/bootstrap_controller.rb
85
- - demo/app/controllers/users_controller.rb
86
- - demo/app/helpers/bootstrap_helper.rb
87
- - demo/app/javascript/application.js
88
- - demo/app/javascript/channels/consumer.js
89
- - demo/app/javascript/channels/index.js
90
- - demo/app/javascript/packs/application.js
91
- - demo/app/models/address.rb
92
- - demo/app/models/application_record.rb
93
- - demo/app/models/faux_user.rb
94
- - demo/app/models/skill.rb
95
- - demo/app/models/super_user.rb
96
- - demo/app/models/user.rb
97
- - demo/app/views/active_storage/blobs/_blob.html.erb
98
- - demo/app/views/bootstrap/form.html.erb
99
- - demo/app/views/layouts/action_text/contents/_content.html.erb
100
- - demo/app/views/layouts/application.html.erb
101
- - demo/bin/bundle
102
- - demo/bin/dev
103
- - demo/bin/rails
104
- - demo/bin/rake
105
- - demo/bin/setup
106
- - demo/bin/update
107
- - demo/bin/webpack
108
- - demo/bin/webpack-dev-server
109
- - demo/bin/yarn
110
- - demo/config.ru
111
- - demo/config/application.rb
112
- - demo/config/boot.rb
113
- - demo/config/database.yml
114
- - demo/config/environment.rb
115
- - demo/config/environments/development.rb
116
- - demo/config/environments/production.rb
117
- - demo/config/environments/test.rb
118
- - demo/config/initializers/application_controller_renderer.rb
119
- - demo/config/initializers/backtrace_silencers.rb
120
- - demo/config/initializers/cookies_serializer.rb
121
- - demo/config/initializers/filter_parameter_logging.rb
122
- - demo/config/initializers/inflections.rb
123
- - demo/config/initializers/mime_types.rb
124
- - demo/config/initializers/wrap_parameters.rb
125
- - demo/config/locales/en.yml
126
- - demo/config/puma.rb
127
- - demo/config/routes.rb
128
- - demo/config/spring.rb
129
- - demo/config/storage.yml
130
- - demo/config/webpack/development.js
131
- - demo/config/webpack/environment.js
132
- - demo/config/webpack/production.js
133
- - demo/config/webpack/test.js
134
- - demo/config/webpacker.yml
135
- - demo/db/schema.rb
136
- - demo/doc/screenshots/bootstrap/index/00_horizontal_form.png
137
- - demo/doc/screenshots/bootstrap/index/01_with_validation_error.png
138
- - demo/doc/screenshots/bootstrap/index/02_inline_form.png
139
- - demo/doc/screenshots/bootstrap/index/03_simple_action_text_example.png
140
- - demo/doc/screenshots/bootstrap/index/04_floating_labels.png
141
- - demo/doc/screenshots/bootstrap/readme/00_example.png
142
- - demo/doc/screenshots/bootstrap/readme/01_example.png
143
- - demo/doc/screenshots/bootstrap/readme/02_example.png
144
- - demo/doc/screenshots/bootstrap/readme/03_example.png
145
- - demo/doc/screenshots/bootstrap/readme/04_example.png
146
- - demo/doc/screenshots/bootstrap/readme/05_example.png
147
- - demo/doc/screenshots/bootstrap/readme/06_example.png
148
- - demo/doc/screenshots/bootstrap/readme/07_example.png
149
- - demo/doc/screenshots/bootstrap/readme/08_example.png
150
- - demo/doc/screenshots/bootstrap/readme/09_example.png
151
- - demo/doc/screenshots/bootstrap/readme/10_example.png
152
- - demo/doc/screenshots/bootstrap/readme/11_example.png
153
- - demo/doc/screenshots/bootstrap/readme/12_example.png
154
- - demo/doc/screenshots/bootstrap/readme/13_example.png
155
- - demo/doc/screenshots/bootstrap/readme/14_example.png
156
- - demo/doc/screenshots/bootstrap/readme/15_example.png
157
- - demo/doc/screenshots/bootstrap/readme/16_example.png
158
- - demo/doc/screenshots/bootstrap/readme/17_example.png
159
- - demo/doc/screenshots/bootstrap/readme/18_example.png
160
- - demo/doc/screenshots/bootstrap/readme/19_example.png
161
- - demo/doc/screenshots/bootstrap/readme/20_example.png
162
- - demo/doc/screenshots/bootstrap/readme/21_example.png
163
- - demo/doc/screenshots/bootstrap/readme/22_example.png
164
- - demo/doc/screenshots/bootstrap/readme/23_example.png
165
- - demo/doc/screenshots/bootstrap/readme/24_example.png
166
- - demo/doc/screenshots/bootstrap/readme/25_example.png
167
- - demo/doc/screenshots/bootstrap/readme/26_example.png
168
- - demo/doc/screenshots/bootstrap/readme/27_example.png
169
- - demo/doc/screenshots/bootstrap/readme/28_example.png
170
- - demo/doc/screenshots/bootstrap/readme/29_example.png
171
- - demo/doc/screenshots/bootstrap/readme/30_example.png
172
- - demo/doc/screenshots/bootstrap/readme/31_example.png
173
- - demo/doc/screenshots/bootstrap/readme/32_example.png
174
- - demo/doc/screenshots/bootstrap/readme/33_example.png
175
- - demo/doc/screenshots/bootstrap/readme/34_example.png
176
- - demo/doc/screenshots/bootstrap/readme/35_example.png
177
- - demo/doc/screenshots/bootstrap/readme/36_example.png
178
- - demo/doc/screenshots/bootstrap/readme/37_example.png
179
- - demo/doc/screenshots/bootstrap/readme/38_example.png
180
- - demo/doc/screenshots/bootstrap/readme/39_example.png
181
- - demo/doc/screenshots/bootstrap/readme/40_example.png
182
- - demo/doc/screenshots/bootstrap/readme/41_example.png
183
- - demo/doc/screenshots/bootstrap/readme/42_example.png
184
- - demo/doc/screenshots/bootstrap/readme/43_example.png
185
- - demo/doc/screenshots/bootstrap/readme/44_example.png
186
- - demo/doc/screenshots/bootstrap/readme/45_example.png
187
- - demo/doc/screenshots/bootstrap/readme/46_example.png
188
- - demo/doc/screenshots/bootstrap/readme/47_example.png
189
- - demo/doc/screenshots/bootstrap/readme/48_example.png
190
- - demo/doc/screenshots/bootstrap/readme/49_example.png
191
- - demo/doc/screenshots/bootstrap/readme/50_example.png
192
- - demo/log/.keep
193
- - demo/package.json
194
- - demo/public/favicon.ico
195
- - demo/test/application_system_test_case.rb
196
- - demo/test/controllers/bootstrap_controller_test.rb
197
- - demo/test/controllers/users_controller_test.rb
198
- - demo/test/fixtures/action_text/rich_texts.yml
199
- - demo/test/fixtures/users.yml
200
- - demo/test/system/bootstrap_test.rb
201
- - demo/test/test_helper.rb
202
- - demo/webpack.config.js
203
- - demo/yarn.lock
204
71
  - docker-compose.yml
205
- - gemfiles/5.2.gemfile
206
72
  - gemfiles/6.0.gemfile
207
73
  - gemfiles/6.1.gemfile
208
74
  - gemfiles/7.0.gemfile
75
+ - gemfiles/common.gemfile
209
76
  - gemfiles/edge.gemfile
210
77
  - lib/bootstrap_form.rb
211
78
  - lib/bootstrap_form/action_view_extensions/form_helper.rb
@@ -221,6 +88,7 @@ files:
221
88
  - lib/bootstrap_form/form_group_builder.rb
222
89
  - lib/bootstrap_form/helpers.rb
223
90
  - lib/bootstrap_form/helpers/bootstrap.rb
91
+ - lib/bootstrap_form/helpers/field.rb
224
92
  - lib/bootstrap_form/inputs.rb
225
93
  - lib/bootstrap_form/inputs/base.rb
226
94
  - lib/bootstrap_form/inputs/check_box.rb
@@ -260,7 +128,7 @@ licenses:
260
128
  - MIT
261
129
  metadata:
262
130
  rubygems_mfa_required: 'true'
263
- post_install_message:
131
+ post_install_message:
264
132
  rdoc_options: []
265
133
  require_paths:
266
134
  - lib
@@ -268,15 +136,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
268
136
  requirements:
269
137
  - - ">="
270
138
  - !ruby/object:Gem::Version
271
- version: '2.7'
139
+ version: '3.0'
272
140
  required_rubygems_version: !ruby/object:Gem::Requirement
273
141
  requirements:
274
142
  - - ">="
275
143
  - !ruby/object:Gem::Version
276
144
  version: '0'
277
145
  requirements: []
278
- rubygems_version: 3.1.2
279
- signing_key:
146
+ rubygems_version: 3.4.10
147
+ signing_key:
280
148
  specification_version: 4
281
149
  summary: Rails form builder that makes it easy to style forms using Bootstrap 5
282
150
  test_files: []
data/demo/.postcssrc.yml DELETED
@@ -1,3 +0,0 @@
1
- plugins:
2
- postcss-import: {}
3
- postcss-cssnext: {}
data/demo/.ruby-version DELETED
@@ -1 +0,0 @@
1
- ruby-2.7.6
data/demo/Gemfile DELETED
@@ -1,80 +0,0 @@
1
- source "https://rubygems.org"
2
- git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
-
4
- ruby File.read("#{__dir__}/.ruby-version").delete_prefix("ruby-").chomp
5
-
6
- # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7
- gem "rails", "~> 7.0.0"
8
-
9
- # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
10
- gem "sprockets-rails"
11
-
12
- # Use sqlite3 as the database for Active Record
13
- gem "sqlite3", "~> 1.4"
14
-
15
- # Use the Puma web server [https://github.com/puma/puma]
16
- gem "puma", "~> 5.0"
17
-
18
- # Bundle and transpile JavaScript [https://github.com/rails/jsbundling-rails]
19
- gem "jsbundling-rails"
20
-
21
- # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
22
- gem "turbo-rails"
23
-
24
- # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
25
- gem "stimulus-rails"
26
-
27
- # Bundle and process CSS [https://github.com/rails/cssbundling-rails]
28
- gem "cssbundling-rails"
29
-
30
- # Build JSON APIs with ease [https://github.com/rails/jbuilder]
31
- gem "jbuilder"
32
-
33
- # Use Redis adapter to run Action Cable in production
34
- # gem "redis", "~> 4.0"
35
-
36
- # Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
37
- # gem "kredis"
38
-
39
- # Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
40
- # gem "bcrypt", "~> 3.1.7"
41
-
42
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
43
- gem "tzinfo-data", platforms: %i[mingw mswin x64_mingw jruby]
44
-
45
- # Reduces boot times through caching; required in config/boot.rb
46
- gem "bootsnap", require: false
47
-
48
- gem "bootstrap_form", "~> 5.0"
49
-
50
- # Needed for our demo app but not the gem itself
51
- gem "htmlbeautifier"
52
-
53
- # Use Sass to process CSS
54
- gem "sassc-rails"
55
-
56
- # Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
57
- # gem "image_processing", "~> 1.2"
58
-
59
- group :development, :test do
60
- # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
61
- gem "debug", platforms: %i[mri mingw x64_mingw]
62
- end
63
-
64
- group :development do
65
- # Use console on exceptions pages [https://github.com/rails/web-console]
66
- gem "web-console"
67
-
68
- # Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
69
- # gem "rack-mini-profiler"
70
-
71
- # Speed up commands on slow machines / big apps [https://github.com/rails/spring]
72
- # gem "spring"
73
- end
74
-
75
- group :test do
76
- # Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
77
- gem "capybara-screenshot-diff"
78
- gem "selenium-webdriver"
79
- gem "webdrivers"
80
- end
data/demo/Gemfile.lock DELETED
@@ -1,261 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- actioncable (7.0.2.4)
5
- actionpack (= 7.0.2.4)
6
- activesupport (= 7.0.2.4)
7
- nio4r (~> 2.0)
8
- websocket-driver (>= 0.6.1)
9
- actionmailbox (7.0.2.4)
10
- actionpack (= 7.0.2.4)
11
- activejob (= 7.0.2.4)
12
- activerecord (= 7.0.2.4)
13
- activestorage (= 7.0.2.4)
14
- activesupport (= 7.0.2.4)
15
- mail (>= 2.7.1)
16
- net-imap
17
- net-pop
18
- net-smtp
19
- actionmailer (7.0.2.4)
20
- actionpack (= 7.0.2.4)
21
- actionview (= 7.0.2.4)
22
- activejob (= 7.0.2.4)
23
- activesupport (= 7.0.2.4)
24
- mail (~> 2.5, >= 2.5.4)
25
- net-imap
26
- net-pop
27
- net-smtp
28
- rails-dom-testing (~> 2.0)
29
- actionpack (7.0.2.4)
30
- actionview (= 7.0.2.4)
31
- activesupport (= 7.0.2.4)
32
- rack (~> 2.0, >= 2.2.0)
33
- rack-test (>= 0.6.3)
34
- rails-dom-testing (~> 2.0)
35
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (7.0.2.4)
37
- actionpack (= 7.0.2.4)
38
- activerecord (= 7.0.2.4)
39
- activestorage (= 7.0.2.4)
40
- activesupport (= 7.0.2.4)
41
- globalid (>= 0.6.0)
42
- nokogiri (>= 1.8.5)
43
- actionview (7.0.2.4)
44
- activesupport (= 7.0.2.4)
45
- builder (~> 3.1)
46
- erubi (~> 1.4)
47
- rails-dom-testing (~> 2.0)
48
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (7.0.2.4)
50
- activesupport (= 7.0.2.4)
51
- globalid (>= 0.3.6)
52
- activemodel (7.0.2.4)
53
- activesupport (= 7.0.2.4)
54
- activerecord (7.0.2.4)
55
- activemodel (= 7.0.2.4)
56
- activesupport (= 7.0.2.4)
57
- activestorage (7.0.2.4)
58
- actionpack (= 7.0.2.4)
59
- activejob (= 7.0.2.4)
60
- activerecord (= 7.0.2.4)
61
- activesupport (= 7.0.2.4)
62
- marcel (~> 1.0)
63
- mini_mime (>= 1.1.0)
64
- activesupport (7.0.2.4)
65
- concurrent-ruby (~> 1.0, >= 1.0.2)
66
- i18n (>= 1.6, < 2)
67
- minitest (>= 5.1)
68
- tzinfo (~> 2.0)
69
- addressable (2.8.0)
70
- public_suffix (>= 2.0.2, < 5.0)
71
- bindex (0.8.1)
72
- bootsnap (1.11.1)
73
- msgpack (~> 1.2)
74
- bootstrap_form (5.0.0)
75
- actionpack (>= 5.2)
76
- activemodel (>= 5.2)
77
- builder (3.2.4)
78
- capybara (3.36.0)
79
- addressable
80
- matrix
81
- mini_mime (>= 0.1.3)
82
- nokogiri (~> 1.8)
83
- rack (>= 1.6.0)
84
- rack-test (>= 0.6.3)
85
- regexp_parser (>= 1.5, < 3.0)
86
- xpath (~> 3.2)
87
- capybara-screenshot-diff (1.6.1)
88
- actionpack (>= 4.2, < 8)
89
- capybara (>= 2, < 4)
90
- chunky_png (~> 1.3)
91
- childprocess (4.1.0)
92
- chunky_png (1.4.0)
93
- concurrent-ruby (1.1.10)
94
- crass (1.0.6)
95
- cssbundling-rails (1.1.0)
96
- railties (>= 6.0.0)
97
- debug (1.5.0)
98
- irb (>= 1.3.6)
99
- reline (>= 0.2.7)
100
- digest (3.1.0)
101
- erubi (1.10.0)
102
- ffi (1.15.5)
103
- globalid (1.0.0)
104
- activesupport (>= 5.0)
105
- htmlbeautifier (1.4.2)
106
- i18n (1.10.0)
107
- concurrent-ruby (~> 1.0)
108
- io-console (0.5.11)
109
- irb (1.4.1)
110
- reline (>= 0.3.0)
111
- jbuilder (2.11.5)
112
- actionview (>= 5.0.0)
113
- activesupport (>= 5.0.0)
114
- jsbundling-rails (1.0.2)
115
- railties (>= 6.0.0)
116
- loofah (2.16.0)
117
- crass (~> 1.0.2)
118
- nokogiri (>= 1.5.9)
119
- mail (2.7.1)
120
- mini_mime (>= 0.1.1)
121
- marcel (1.0.2)
122
- matrix (0.4.2)
123
- method_source (1.0.0)
124
- mini_mime (1.1.2)
125
- minitest (5.15.0)
126
- msgpack (1.5.1)
127
- net-imap (0.2.3)
128
- digest
129
- net-protocol
130
- strscan
131
- net-pop (0.1.1)
132
- digest
133
- net-protocol
134
- timeout
135
- net-protocol (0.1.3)
136
- timeout
137
- net-smtp (0.3.1)
138
- digest
139
- net-protocol
140
- timeout
141
- nio4r (2.5.8)
142
- nokogiri (1.13.4-x86_64-darwin)
143
- racc (~> 1.4)
144
- nokogiri (1.13.4-x86_64-linux)
145
- racc (~> 1.4)
146
- public_suffix (4.0.7)
147
- puma (5.6.4)
148
- nio4r (~> 2.0)
149
- racc (1.6.0)
150
- rack (2.2.3)
151
- rack-test (1.1.0)
152
- rack (>= 1.0, < 3)
153
- rails (7.0.2.4)
154
- actioncable (= 7.0.2.4)
155
- actionmailbox (= 7.0.2.4)
156
- actionmailer (= 7.0.2.4)
157
- actionpack (= 7.0.2.4)
158
- actiontext (= 7.0.2.4)
159
- actionview (= 7.0.2.4)
160
- activejob (= 7.0.2.4)
161
- activemodel (= 7.0.2.4)
162
- activerecord (= 7.0.2.4)
163
- activestorage (= 7.0.2.4)
164
- activesupport (= 7.0.2.4)
165
- bundler (>= 1.15.0)
166
- railties (= 7.0.2.4)
167
- rails-dom-testing (2.0.3)
168
- activesupport (>= 4.2.0)
169
- nokogiri (>= 1.6)
170
- rails-html-sanitizer (1.4.2)
171
- loofah (~> 2.3)
172
- railties (7.0.2.4)
173
- actionpack (= 7.0.2.4)
174
- activesupport (= 7.0.2.4)
175
- method_source
176
- rake (>= 12.2)
177
- thor (~> 1.0)
178
- zeitwerk (~> 2.5)
179
- rake (13.0.6)
180
- regexp_parser (2.3.1)
181
- reline (0.3.1)
182
- io-console (~> 0.5)
183
- rexml (3.2.5)
184
- rubyzip (2.3.2)
185
- sassc (2.4.0)
186
- ffi (~> 1.9)
187
- sassc-rails (2.1.2)
188
- railties (>= 4.0.0)
189
- sassc (>= 2.0)
190
- sprockets (> 3.0)
191
- sprockets-rails
192
- tilt
193
- selenium-webdriver (4.1.0)
194
- childprocess (>= 0.5, < 5.0)
195
- rexml (~> 3.2, >= 3.2.5)
196
- rubyzip (>= 1.2.2)
197
- sprockets (4.0.3)
198
- concurrent-ruby (~> 1.0)
199
- rack (> 1, < 3)
200
- sprockets-rails (3.4.2)
201
- actionpack (>= 5.2)
202
- activesupport (>= 5.2)
203
- sprockets (>= 3.0.0)
204
- sqlite3 (1.4.2)
205
- stimulus-rails (1.0.4)
206
- railties (>= 6.0.0)
207
- strscan (3.0.1)
208
- thor (1.2.1)
209
- tilt (2.0.10)
210
- timeout (0.2.0)
211
- turbo-rails (1.0.1)
212
- actionpack (>= 6.0.0)
213
- railties (>= 6.0.0)
214
- tzinfo (2.0.4)
215
- concurrent-ruby (~> 1.0)
216
- web-console (4.2.0)
217
- actionview (>= 6.0.0)
218
- activemodel (>= 6.0.0)
219
- bindex (>= 0.4.0)
220
- railties (>= 6.0.0)
221
- webdrivers (5.0.0)
222
- nokogiri (~> 1.6)
223
- rubyzip (>= 1.3.0)
224
- selenium-webdriver (~> 4.0)
225
- websocket-driver (0.7.5)
226
- websocket-extensions (>= 0.1.0)
227
- websocket-extensions (0.1.5)
228
- xpath (3.2.0)
229
- nokogiri (~> 1.8)
230
- zeitwerk (2.5.4)
231
-
232
- PLATFORMS
233
- x86_64-darwin-21
234
- x86_64-linux
235
-
236
- DEPENDENCIES
237
- bootsnap
238
- bootstrap_form (~> 5.0)
239
- capybara-screenshot-diff
240
- cssbundling-rails
241
- debug
242
- htmlbeautifier
243
- jbuilder
244
- jsbundling-rails
245
- puma (~> 5.0)
246
- rails (~> 7.0.0)
247
- sassc-rails
248
- selenium-webdriver
249
- sprockets-rails
250
- sqlite3 (~> 1.4)
251
- stimulus-rails
252
- turbo-rails
253
- tzinfo-data
254
- web-console
255
- webdrivers
256
-
257
- RUBY VERSION
258
- ruby 2.7.6p219
259
-
260
- BUNDLED WITH
261
- 2.3.12
data/demo/Procfile.dev DELETED
@@ -1,2 +0,0 @@
1
- web: bin/rails server -p 3000 -b 0.0.0.0
2
- js: yarn build --watch
data/demo/README.md DELETED
@@ -1,17 +0,0 @@
1
- # DEMO APP (Rails 5.2)
2
-
3
- ### Usage
4
-
5
- - `rake db:schema:load`
6
- - `rails s`
7
- - Navigate to http://localhost:3000
8
-
9
- ### Following files were added or changed:
10
-
11
- - db/schema.rb
12
- - config/{application, routes, boot}.rb
13
- - config/environments/{development, test}.rb
14
- - app/models/{address,user,super_user,faux_user}.rb
15
- - app/controllers/bootstrap_controller.rb
16
- - app/views/layouts/application.html.erb
17
- - app/views/bootstrap/form.html.erb
data/demo/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require_relative 'config/application'
5
-
6
- Rails.application.load_tasks
File without changes
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4
- * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
- * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
- * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
- * Code distributed by Google as part of the polymer project is also
8
- * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- */
@@ -1,2 +0,0 @@
1
- //= link application.css
2
- //= link_tree ../builds
@@ -1,31 +0,0 @@
1
- /*
2
- * Provides a drop-in pointer for the default Trix stylesheet that will format the toolbar and
3
- * the trix-editor content (whether displayed or under editing). Feel free to incorporate this
4
- * inclusion directly in any other asset bundle and remove this file.
5
- *
6
- *= require trix
7
- */
8
-
9
- /*
10
- * We need to override trix.css’s image gallery styles to accommodate the
11
- * <action-text-attachment> element we wrap around attachments. Otherwise,
12
- * images in galleries will be squished by the max-width: 33%; rule.
13
- */
14
- .trix-content .attachment-gallery > action-text-attachment,
15
- .trix-content .attachment-gallery > .attachment {
16
- flex: 1 0 33%;
17
- padding: 0 0.5em;
18
- max-width: 33%;
19
- }
20
-
21
- .trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
22
- .trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
23
- .trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
24
- flex-basis: 50%;
25
- max-width: 50%;
26
- }
27
-
28
- .trix-content action-text-attachment .attachment {
29
- padding: 0 !important;
30
- max-width: 100% !important;
31
- }