json_flit 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/Gemfile.lock +29 -3
- data/README.md +3 -5
- data/demo/.ruby-version +1 -0
- data/demo/Gemfile +73 -0
- data/demo/Gemfile.lock +218 -0
- data/demo/Procfile.dev +3 -0
- data/demo/README.md +24 -0
- data/demo/Rakefile +6 -0
- data/demo/app/assets/builds/.keep +0 -0
- data/demo/app/assets/fonts/Lato-Regular.ttf +0 -0
- data/demo/app/assets/fonts/MetalMania-Regular.ttf +0 -0
- data/demo/app/assets/images/.keep +0 -0
- data/demo/app/assets/images/image1.jpg +0 -0
- data/demo/app/assets/images/image10.jpg +0 -0
- data/demo/app/assets/images/image11.jpg +0 -0
- data/demo/app/assets/images/image12.jpg +0 -0
- data/demo/app/assets/images/image13.jpg +0 -0
- data/demo/app/assets/images/image14.jpg +0 -0
- data/demo/app/assets/images/image15.jpg +0 -0
- data/demo/app/assets/images/image16.jpg +0 -0
- data/demo/app/assets/images/image17.jpg +0 -0
- data/demo/app/assets/images/image2.jpg +0 -0
- data/demo/app/assets/images/image3.jpg +0 -0
- data/demo/app/assets/images/image4.jpg +0 -0
- data/demo/app/assets/images/image5.jpg +0 -0
- data/demo/app/assets/images/image6.jpg +0 -0
- data/demo/app/assets/images/image7.jpg +0 -0
- data/demo/app/assets/images/image8.jpg +0 -0
- data/demo/app/assets/images/image9.jpg +0 -0
- data/demo/app/assets/images/profile.jpg +0 -0
- data/demo/app/assets/images/visa.svg +1 -0
- data/demo/app/assets/pages/align.json +182 -0
- data/demo/app/assets/pages/animated_align.json +50 -0
- data/demo/app/assets/pages/animated_container.json +56 -0
- data/demo/app/assets/pages/animated_cross_fade.json +63 -0
- data/demo/app/assets/pages/animated_default_text_style.json +53 -0
- data/demo/app/assets/pages/animated_opacity.json +49 -0
- data/demo/app/assets/pages/animated_padding.json +50 -0
- data/demo/app/assets/pages/animated_physical_model.json +73 -0
- data/demo/app/assets/pages/animated_positioned.json +54 -0
- data/demo/app/assets/pages/animated_positioned_directional.json +60 -0
- data/demo/app/assets/pages/animated_size.json +61 -0
- data/demo/app/assets/pages/animated_switcher.json +62 -0
- data/demo/app/assets/pages/animated_theme.json +52 -0
- data/demo/app/assets/pages/aspect_ratio.json +124 -0
- data/demo/app/assets/pages/asset_images.json +667 -0
- data/demo/app/assets/pages/bank_example.json +913 -0
- data/demo/app/assets/pages/baseline.json +81 -0
- data/demo/app/assets/pages/buttons.json +139 -0
- data/demo/app/assets/pages/card.json +121 -0
- data/demo/app/assets/pages/center.json +25 -0
- data/demo/app/assets/pages/checkbox.json +77 -0
- data/demo/app/assets/pages/circular_progress_indicator.json +45 -0
- data/demo/app/assets/pages/clips.json +156 -0
- data/demo/app/assets/pages/conditional.json +197 -0
- data/demo/app/assets/pages/cupertino_switch.yaml +72 -0
- data/demo/app/assets/pages/decorated_box.json +38 -0
- data/demo/app/assets/pages/directionality.json +31 -0
- data/demo/app/assets/pages/dynamic.json +299 -0
- data/demo/app/assets/pages/fitted_box.json +41 -0
- data/demo/app/assets/pages/for_each.json +130 -0
- data/demo/app/assets/pages/form.json +276 -0
- data/demo/app/assets/pages/fractional_translation.json +31 -0
- data/demo/app/assets/pages/fractionally_sized_box.json +34 -0
- data/demo/app/assets/pages/gestures.json +83 -0
- data/demo/app/assets/pages/grid_view.json +217 -0
- data/demo/app/assets/pages/image_page.json +32 -0
- data/demo/app/assets/pages/images.json +89 -0
- data/demo/app/assets/pages/indexed_stack.json +101 -0
- data/demo/app/assets/pages/input_error.json +64 -0
- data/demo/app/assets/pages/interactive_viewer.json +30 -0
- data/demo/app/assets/pages/intrinsic_height.json +63 -0
- data/demo/app/assets/pages/intrinsic_width.json +63 -0
- data/demo/app/assets/pages/issue_10.json +23 -0
- data/demo/app/assets/pages/issue_109.json +65 -0
- data/demo/app/assets/pages/issue_11.json +23 -0
- data/demo/app/assets/pages/issue_12.json +34 -0
- data/demo/app/assets/pages/issue_20_list.json +31 -0
- data/demo/app/assets/pages/issue_20_single.json +31 -0
- data/demo/app/assets/pages/issue_30.json +35 -0
- data/demo/app/assets/pages/layout_builder.json +403 -0
- data/demo/app/assets/pages/length.json +125 -0
- data/demo/app/assets/pages/limited_box.json +33 -0
- data/demo/app/assets/pages/linear_progress_indicator.json +25 -0
- data/demo/app/assets/pages/list_view.json +410 -0
- data/demo/app/assets/pages/measured.json +266 -0
- data/demo/app/assets/pages/offstage.json +50 -0
- data/demo/app/assets/pages/opacity.json +136 -0
- data/demo/app/assets/pages/overflow_box.json +52 -0
- data/demo/app/assets/pages/placeholder.json +57 -0
- data/demo/app/assets/pages/popup_menu_button.json +38 -0
- data/demo/app/assets/pages/radio.json +60 -0
- data/demo/app/assets/pages/rich_text.json +45 -0
- data/demo/app/assets/pages/scroll_view.json +974 -0
- data/demo/app/assets/pages/semantics.json +212 -0
- data/demo/app/assets/pages/set_default_value.json +77 -0
- data/demo/app/assets/pages/simple_page.json +25 -0
- data/demo/app/assets/pages/slivers.json +268 -0
- data/demo/app/assets/pages/switch.json +77 -0
- data/demo/app/assets/pages/theme.json +228 -0
- data/demo/app/assets/pages/tooltip.json +77 -0
- data/demo/app/assets/pages/tween_animation.json +43 -0
- data/demo/app/assets/pages/variables.json +64 -0
- data/demo/app/assets/pages/wrap.json +117 -0
- data/demo/app/assets/stylesheets/application.css +1 -0
- data/demo/app/assets/stylesheets/application.tailwind.css +13 -0
- data/demo/app/assets/widgets/issue_24.json +42 -0
- data/demo/app/channels/application_cable/channel.rb +4 -0
- data/demo/app/channels/application_cable/connection.rb +4 -0
- data/demo/app/controllers/application_controller.rb +2 -0
- data/demo/app/controllers/concerns/.keep +0 -0
- data/demo/app/controllers/welcome_controller.rb +22 -0
- data/demo/app/helpers/application_helper.rb +2 -0
- data/demo/app/helpers/welcome_helper.rb +2 -0
- data/demo/app/javascript/application.js +3 -0
- data/demo/app/javascript/controllers/application.js +9 -0
- data/demo/app/javascript/controllers/hello_controller.js +7 -0
- data/demo/app/javascript/controllers/index.js +8 -0
- data/demo/app/jobs/application_job.rb +7 -0
- data/demo/app/mailers/application_mailer.rb +4 -0
- data/demo/app/models/application_record.rb +3 -0
- data/demo/app/models/concerns/.keep +0 -0
- data/demo/app/views/layouts/application.html.erb +16 -0
- data/demo/app/views/layouts/mailer.html.erb +13 -0
- data/demo/app/views/layouts/mailer.text.erb +1 -0
- data/demo/app/views/welcome/index.html.erb +5 -0
- data/demo/app/views/welcome/show.html.erb +6 -0
- data/demo/bin/bundle +109 -0
- data/demo/bin/dev +8 -0
- data/demo/bin/rails +4 -0
- data/demo/bin/rake +4 -0
- data/demo/bin/setup +33 -0
- data/demo/config/application.rb +37 -0
- data/demo/config/boot.rb +4 -0
- data/demo/config/cable.yml +11 -0
- data/demo/config/credentials.yml.enc +1 -0
- data/demo/config/database.yml +25 -0
- data/demo/config/environment.rb +5 -0
- data/demo/config/environments/development.rb +68 -0
- data/demo/config/environments/production.rb +87 -0
- data/demo/config/environments/test.rb +60 -0
- data/demo/config/initializers/assets.rb +12 -0
- data/demo/config/initializers/content_security_policy.rb +25 -0
- data/demo/config/initializers/filter_parameter_logging.rb +8 -0
- data/demo/config/initializers/inflections.rb +16 -0
- data/demo/config/initializers/permissions_policy.rb +11 -0
- data/demo/config/locales/en.yml +33 -0
- data/demo/config/puma.rb +43 -0
- data/demo/config/routes.rb +5 -0
- data/demo/config/storage.yml +34 -0
- data/demo/config/tailwind.config.js +22 -0
- data/demo/config.ru +6 -0
- data/demo/db/development.sqlite3 +0 -0
- data/demo/db/seeds.rb +7 -0
- data/demo/lib/assets/.keep +0 -0
- data/demo/lib/tasks/.keep +0 -0
- data/demo/log/.keep +0 -0
- data/demo/public/404.html +67 -0
- data/demo/public/422.html +67 -0
- data/demo/public/500.html +66 -0
- data/demo/public/apple-touch-icon-precomposed.png +0 -0
- data/demo/public/apple-touch-icon.png +0 -0
- data/demo/public/favicon.ico +0 -0
- data/demo/public/robots.txt +1 -0
- data/demo/storage/.keep +0 -0
- data/demo/tmp/.keep +0 -0
- data/demo/tmp/pids/.keep +0 -0
- data/demo/tmp/storage/.keep +0 -0
- data/demo/vendor/.keep +0 -0
- data/lib/json_flit/registry.rb +144 -0
- data/lib/json_flit/version.rb +1 -1
- metadata +185 -3
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_flit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron F Stanton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
12
|
-
dependencies:
|
11
|
+
date: 2023-03-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: flit_view_components
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description: A flexible system of using JSON to define the structure of a page.
|
14
28
|
email:
|
15
29
|
- afstanton@gmail.com
|
@@ -24,8 +38,176 @@ files:
|
|
24
38
|
- LICENSE.txt
|
25
39
|
- README.md
|
26
40
|
- Rakefile
|
41
|
+
- demo/.ruby-version
|
42
|
+
- demo/Gemfile
|
43
|
+
- demo/Gemfile.lock
|
44
|
+
- demo/Procfile.dev
|
45
|
+
- demo/README.md
|
46
|
+
- demo/Rakefile
|
47
|
+
- demo/app/assets/builds/.keep
|
48
|
+
- demo/app/assets/fonts/Lato-Regular.ttf
|
49
|
+
- demo/app/assets/fonts/MetalMania-Regular.ttf
|
50
|
+
- demo/app/assets/images/.keep
|
51
|
+
- demo/app/assets/images/image1.jpg
|
52
|
+
- demo/app/assets/images/image10.jpg
|
53
|
+
- demo/app/assets/images/image11.jpg
|
54
|
+
- demo/app/assets/images/image12.jpg
|
55
|
+
- demo/app/assets/images/image13.jpg
|
56
|
+
- demo/app/assets/images/image14.jpg
|
57
|
+
- demo/app/assets/images/image15.jpg
|
58
|
+
- demo/app/assets/images/image16.jpg
|
59
|
+
- demo/app/assets/images/image17.jpg
|
60
|
+
- demo/app/assets/images/image2.jpg
|
61
|
+
- demo/app/assets/images/image3.jpg
|
62
|
+
- demo/app/assets/images/image4.jpg
|
63
|
+
- demo/app/assets/images/image5.jpg
|
64
|
+
- demo/app/assets/images/image6.jpg
|
65
|
+
- demo/app/assets/images/image7.jpg
|
66
|
+
- demo/app/assets/images/image8.jpg
|
67
|
+
- demo/app/assets/images/image9.jpg
|
68
|
+
- demo/app/assets/images/profile.jpg
|
69
|
+
- demo/app/assets/images/visa.svg
|
70
|
+
- demo/app/assets/pages/align.json
|
71
|
+
- demo/app/assets/pages/animated_align.json
|
72
|
+
- demo/app/assets/pages/animated_container.json
|
73
|
+
- demo/app/assets/pages/animated_cross_fade.json
|
74
|
+
- demo/app/assets/pages/animated_default_text_style.json
|
75
|
+
- demo/app/assets/pages/animated_opacity.json
|
76
|
+
- demo/app/assets/pages/animated_padding.json
|
77
|
+
- demo/app/assets/pages/animated_physical_model.json
|
78
|
+
- demo/app/assets/pages/animated_positioned.json
|
79
|
+
- demo/app/assets/pages/animated_positioned_directional.json
|
80
|
+
- demo/app/assets/pages/animated_size.json
|
81
|
+
- demo/app/assets/pages/animated_switcher.json
|
82
|
+
- demo/app/assets/pages/animated_theme.json
|
83
|
+
- demo/app/assets/pages/aspect_ratio.json
|
84
|
+
- demo/app/assets/pages/asset_images.json
|
85
|
+
- demo/app/assets/pages/bank_example.json
|
86
|
+
- demo/app/assets/pages/baseline.json
|
87
|
+
- demo/app/assets/pages/buttons.json
|
88
|
+
- demo/app/assets/pages/card.json
|
89
|
+
- demo/app/assets/pages/center.json
|
90
|
+
- demo/app/assets/pages/checkbox.json
|
91
|
+
- demo/app/assets/pages/circular_progress_indicator.json
|
92
|
+
- demo/app/assets/pages/clips.json
|
93
|
+
- demo/app/assets/pages/conditional.json
|
94
|
+
- demo/app/assets/pages/cupertino_switch.yaml
|
95
|
+
- demo/app/assets/pages/decorated_box.json
|
96
|
+
- demo/app/assets/pages/directionality.json
|
97
|
+
- demo/app/assets/pages/dynamic.json
|
98
|
+
- demo/app/assets/pages/fitted_box.json
|
99
|
+
- demo/app/assets/pages/for_each.json
|
100
|
+
- demo/app/assets/pages/form.json
|
101
|
+
- demo/app/assets/pages/fractional_translation.json
|
102
|
+
- demo/app/assets/pages/fractionally_sized_box.json
|
103
|
+
- demo/app/assets/pages/gestures.json
|
104
|
+
- demo/app/assets/pages/grid_view.json
|
105
|
+
- demo/app/assets/pages/image_page.json
|
106
|
+
- demo/app/assets/pages/images.json
|
107
|
+
- demo/app/assets/pages/indexed_stack.json
|
108
|
+
- demo/app/assets/pages/input_error.json
|
109
|
+
- demo/app/assets/pages/interactive_viewer.json
|
110
|
+
- demo/app/assets/pages/intrinsic_height.json
|
111
|
+
- demo/app/assets/pages/intrinsic_width.json
|
112
|
+
- demo/app/assets/pages/issue_10.json
|
113
|
+
- demo/app/assets/pages/issue_109.json
|
114
|
+
- demo/app/assets/pages/issue_11.json
|
115
|
+
- demo/app/assets/pages/issue_12.json
|
116
|
+
- demo/app/assets/pages/issue_20_list.json
|
117
|
+
- demo/app/assets/pages/issue_20_single.json
|
118
|
+
- demo/app/assets/pages/issue_30.json
|
119
|
+
- demo/app/assets/pages/layout_builder.json
|
120
|
+
- demo/app/assets/pages/length.json
|
121
|
+
- demo/app/assets/pages/limited_box.json
|
122
|
+
- demo/app/assets/pages/linear_progress_indicator.json
|
123
|
+
- demo/app/assets/pages/list_view.json
|
124
|
+
- demo/app/assets/pages/measured.json
|
125
|
+
- demo/app/assets/pages/offstage.json
|
126
|
+
- demo/app/assets/pages/opacity.json
|
127
|
+
- demo/app/assets/pages/overflow_box.json
|
128
|
+
- demo/app/assets/pages/placeholder.json
|
129
|
+
- demo/app/assets/pages/popup_menu_button.json
|
130
|
+
- demo/app/assets/pages/radio.json
|
131
|
+
- demo/app/assets/pages/rich_text.json
|
132
|
+
- demo/app/assets/pages/scroll_view.json
|
133
|
+
- demo/app/assets/pages/semantics.json
|
134
|
+
- demo/app/assets/pages/set_default_value.json
|
135
|
+
- demo/app/assets/pages/simple_page.json
|
136
|
+
- demo/app/assets/pages/slivers.json
|
137
|
+
- demo/app/assets/pages/switch.json
|
138
|
+
- demo/app/assets/pages/theme.json
|
139
|
+
- demo/app/assets/pages/tooltip.json
|
140
|
+
- demo/app/assets/pages/tween_animation.json
|
141
|
+
- demo/app/assets/pages/variables.json
|
142
|
+
- demo/app/assets/pages/wrap.json
|
143
|
+
- demo/app/assets/stylesheets/application.css
|
144
|
+
- demo/app/assets/stylesheets/application.tailwind.css
|
145
|
+
- demo/app/assets/widgets/issue_24.json
|
146
|
+
- demo/app/channels/application_cable/channel.rb
|
147
|
+
- demo/app/channels/application_cable/connection.rb
|
148
|
+
- demo/app/controllers/application_controller.rb
|
149
|
+
- demo/app/controllers/concerns/.keep
|
150
|
+
- demo/app/controllers/welcome_controller.rb
|
151
|
+
- demo/app/helpers/application_helper.rb
|
152
|
+
- demo/app/helpers/welcome_helper.rb
|
153
|
+
- demo/app/javascript/application.js
|
154
|
+
- demo/app/javascript/controllers/application.js
|
155
|
+
- demo/app/javascript/controllers/hello_controller.js
|
156
|
+
- demo/app/javascript/controllers/index.js
|
157
|
+
- demo/app/jobs/application_job.rb
|
158
|
+
- demo/app/mailers/application_mailer.rb
|
159
|
+
- demo/app/models/application_record.rb
|
160
|
+
- demo/app/models/concerns/.keep
|
161
|
+
- demo/app/views/layouts/application.html.erb
|
162
|
+
- demo/app/views/layouts/mailer.html.erb
|
163
|
+
- demo/app/views/layouts/mailer.text.erb
|
164
|
+
- demo/app/views/welcome/index.html.erb
|
165
|
+
- demo/app/views/welcome/show.html.erb
|
166
|
+
- demo/bin/bundle
|
167
|
+
- demo/bin/dev
|
168
|
+
- demo/bin/rails
|
169
|
+
- demo/bin/rake
|
170
|
+
- demo/bin/setup
|
171
|
+
- demo/config.ru
|
172
|
+
- demo/config/application.rb
|
173
|
+
- demo/config/boot.rb
|
174
|
+
- demo/config/cable.yml
|
175
|
+
- demo/config/credentials.yml.enc
|
176
|
+
- demo/config/database.yml
|
177
|
+
- demo/config/environment.rb
|
178
|
+
- demo/config/environments/development.rb
|
179
|
+
- demo/config/environments/production.rb
|
180
|
+
- demo/config/environments/test.rb
|
181
|
+
- demo/config/initializers/assets.rb
|
182
|
+
- demo/config/initializers/content_security_policy.rb
|
183
|
+
- demo/config/initializers/filter_parameter_logging.rb
|
184
|
+
- demo/config/initializers/inflections.rb
|
185
|
+
- demo/config/initializers/permissions_policy.rb
|
186
|
+
- demo/config/locales/en.yml
|
187
|
+
- demo/config/puma.rb
|
188
|
+
- demo/config/routes.rb
|
189
|
+
- demo/config/storage.yml
|
190
|
+
- demo/config/tailwind.config.js
|
191
|
+
- demo/db/development.sqlite3
|
192
|
+
- demo/db/seeds.rb
|
193
|
+
- demo/lib/assets/.keep
|
194
|
+
- demo/lib/tasks/.keep
|
195
|
+
- demo/log/.keep
|
196
|
+
- demo/public/404.html
|
197
|
+
- demo/public/422.html
|
198
|
+
- demo/public/500.html
|
199
|
+
- demo/public/apple-touch-icon-precomposed.png
|
200
|
+
- demo/public/apple-touch-icon.png
|
201
|
+
- demo/public/favicon.ico
|
202
|
+
- demo/public/robots.txt
|
203
|
+
- demo/storage/.keep
|
204
|
+
- demo/tmp/.keep
|
205
|
+
- demo/tmp/pids/.keep
|
206
|
+
- demo/tmp/storage/.keep
|
207
|
+
- demo/vendor/.keep
|
27
208
|
- docs/CHANGELOG.md
|
28
209
|
- lib/json_flit.rb
|
210
|
+
- lib/json_flit/registry.rb
|
29
211
|
- lib/json_flit/version.rb
|
30
212
|
- sig/json_flit.rbs
|
31
213
|
homepage: https://github.com/afstanton/json_flit
|