glimmer-dsl-web 0.0.10 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +865 -45
- data/VERSION +1 -1
- data/glimmer-dsl-web.gemspec +11 -5
- data/lib/glimmer/dsl/web/component_expression.rb +2 -1
- data/lib/glimmer/dsl/web/dsl.rb +24 -0
- data/lib/glimmer/dsl/web/formatting_element_expression.rb +19 -0
- data/lib/glimmer/dsl/web/observe_expression.rb +42 -0
- data/lib/glimmer/helpers/glimmer_helper.rb +5 -7
- data/lib/glimmer/web/component.rb +22 -0
- data/lib/glimmer/web/element_proxy.rb +10 -14
- data/lib/glimmer/web/event_proxy.rb +7 -4
- data/lib/glimmer/web/formatting_element_proxy.rb +56 -0
- data/lib/glimmer/web/listener_proxy.rb +12 -11
- data/lib/glimmer-dsl-web/samples/hello/hello_observer.rb +90 -0
- data/lib/glimmer-dsl-web/samples/hello/hello_paragraph.rb +67 -0
- data/lib/glimmer-dsl-web/samples/regular/button_counter.rb +36 -0
- metadata +21 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-dsl-web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glimmer
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.5.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.5.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: to_collection
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,10 +230,17 @@ dependencies:
|
|
230
230
|
- - "~>"
|
231
231
|
- !ruby/object:Gem::Version
|
232
232
|
version: 0.8.0.alpha2
|
233
|
-
description: Glimmer DSL for Web (Ruby in the Browser Web GUI Frontend Library)
|
234
|
-
|
235
|
-
|
236
|
-
|
233
|
+
description: Glimmer DSL for Web (Ruby in the Browser Web GUI Frontend Library) enables
|
234
|
+
building Web GUI frontends using Ruby in the Browser, as per Matz's recommendation
|
235
|
+
in his RubyConf 2022 keynote speech to replace JavaScript with Ruby. It aims at
|
236
|
+
providing the simplest, most intuitive, most straight-forward, and most productive
|
237
|
+
frontend library in existence. The library follows the Ruby way (with DSLs and TIMTOWTDI)
|
238
|
+
and the Rails way (Convention over Configuration) while supporting both Unidirectional
|
239
|
+
(One-Way) Data-Binding (using <=) and Bidirectional (Two-Way) Data-Binding (using
|
240
|
+
<=>). Dynamic rendering (and re-rendering) of HTML content is also supported via
|
241
|
+
Content Data-Binding. And, modular design is supported with Glimmer Web Components.
|
242
|
+
You can finally live in pure Rubyland on the Web in both the frontend and backend
|
243
|
+
with Glimmer DSL for Web! This library relies on Opal Ruby.
|
237
244
|
email: andy.am@gmail.com
|
238
245
|
executables: []
|
239
246
|
extensions: []
|
@@ -259,7 +266,10 @@ files:
|
|
259
266
|
- lib/glimmer-dsl-web/samples/hello/hello_form.rb
|
260
267
|
- lib/glimmer-dsl-web/samples/hello/hello_glimmer_component_helper/address_form.rb
|
261
268
|
- lib/glimmer-dsl-web/samples/hello/hello_input_date_time.rb
|
269
|
+
- lib/glimmer-dsl-web/samples/hello/hello_observer.rb
|
270
|
+
- lib/glimmer-dsl-web/samples/hello/hello_paragraph.rb
|
262
271
|
- lib/glimmer-dsl-web/samples/hello/hello_world.rb
|
272
|
+
- lib/glimmer-dsl-web/samples/regular/button_counter.rb
|
263
273
|
- lib/glimmer-dsl-web/vendor/jquery.js
|
264
274
|
- lib/glimmer/config/opal_logger.rb
|
265
275
|
- lib/glimmer/data_binding/element_binding.rb
|
@@ -269,8 +279,10 @@ files:
|
|
269
279
|
- lib/glimmer/dsl/web/data_binding_expression.rb
|
270
280
|
- lib/glimmer/dsl/web/dsl.rb
|
271
281
|
- lib/glimmer/dsl/web/element_expression.rb
|
282
|
+
- lib/glimmer/dsl/web/formatting_element_expression.rb
|
272
283
|
- lib/glimmer/dsl/web/general_element_expression.rb
|
273
284
|
- lib/glimmer/dsl/web/listener_expression.rb
|
285
|
+
- lib/glimmer/dsl/web/observe_expression.rb
|
274
286
|
- lib/glimmer/dsl/web/p_expression.rb
|
275
287
|
- lib/glimmer/dsl/web/property_expression.rb
|
276
288
|
- lib/glimmer/dsl/web/select_expression.rb
|
@@ -281,6 +293,7 @@ files:
|
|
281
293
|
- lib/glimmer/web/component.rb
|
282
294
|
- lib/glimmer/web/element_proxy.rb
|
283
295
|
- lib/glimmer/web/event_proxy.rb
|
296
|
+
- lib/glimmer/web/formatting_element_proxy.rb
|
284
297
|
- lib/glimmer/web/listener_proxy.rb
|
285
298
|
homepage: http://github.com/AndyObtiva/glimmer-dsl-web
|
286
299
|
licenses:
|