rbexy 2.0.0.beta3 → 2.0.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rbexy/nodes/component_element.rb +1 -1
- data/lib/rbexy/rails/engine.rb +1 -1
- data/lib/rbexy/runtime.rb +1 -1
- data/lib/rbexy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9cb20a821099f8fd51a0abb4b80ad3b2d8d936afcfe240a4b99ea29f4dea92a
|
4
|
+
data.tar.gz: aab32903c9632f245857c917b0b99743e5e58ddb8356fce1274c5dd2e4791b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a849303b1f41e2e6295558b09f1a608a3b24bca8317bde650c579c6a0da2206c67f1ea9bb49e4b7bf15e66497960fff70703845544a57271c4947e4abe16d5ef
|
7
|
+
data.tar.gz: 5f08d1838d39cf38d3f3d727e5c1ea098255e81e4a2ab4affd2b67a77a10d7f55dccdff52114f5ce9d544238d81d09a66f548ed74961298026f7887ad30339fd
|
data/Gemfile.lock
CHANGED
@@ -36,7 +36,7 @@ module Rbexy
|
|
36
36
|
members.each_with_object("") do |member, result|
|
37
37
|
case member
|
38
38
|
when ExpressionGroup
|
39
|
-
result << "**#{member.compile},"
|
39
|
+
result << "**#{member.compile}.transform_keys { |k| ActiveSupport::Inflector.underscore(k).to_sym },"
|
40
40
|
when Newline
|
41
41
|
result << member.compile
|
42
42
|
else
|
data/lib/rbexy/rails/engine.rb
CHANGED
@@ -4,7 +4,7 @@ module Rbexy
|
|
4
4
|
module Rails
|
5
5
|
class Engine < ::Rails::Engine
|
6
6
|
initializer "rbexy" do |app|
|
7
|
-
template_handler = proc { |template, source| Rbexy.compile(template) }
|
7
|
+
template_handler = proc { |template, source| Rbexy.compile(Rbexy::Template.new(source, template.identifier)) }
|
8
8
|
|
9
9
|
ActionView::Template.register_template_handler(:rbx, template_handler)
|
10
10
|
|
data/lib/rbexy/runtime.rb
CHANGED
data/lib/rbexy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbexy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Giancola
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|