xrb-rails 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/xrb/rails/template_handler.rb +6 -10
- data/lib/xrb/rails/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd9000b6fe53a7aa2ce1ec07c1f11349bf960ddb6e06c7263817bedf9bb7e71
|
4
|
+
data.tar.gz: 60fba824653041c0597e5eeeb39f4a8524ff1668e9fca1354153fa2a66048aed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '098d7238999ea6c0d509fb1a412782472d4c60ad4901a8bdd293b95109e3a9ec96e52363d09e3f160e8d773b72bf2a31fad91b34b34119ec61f88de16fd3364c'
|
7
|
+
data.tar.gz: 17e92ba186978a2b26e12e95ed579bc0632304f96f000a1449e5c996b2cb7284f78499022bcda9859b2b0420226914788c9444d77d40e6ee25bdc11f8d5b059c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -12,19 +12,15 @@ module XRB
|
|
12
12
|
class Builder
|
13
13
|
def initialize(output_buffer)
|
14
14
|
@output_buffer = output_buffer
|
15
|
+
@raw_buffer = @output_buffer
|
16
|
+
|
17
|
+
if @output_buffer.respond_to?(:raw_buffer)
|
18
|
+
@raw_buffer = @output_buffer.raw_buffer
|
19
|
+
end
|
15
20
|
end
|
16
21
|
|
17
22
|
def <<(content)
|
18
|
-
|
19
|
-
# XRB's safe output mechanism for lazy evaluation of fragments:
|
20
|
-
@output_buffer.safe_concat(content.to_s)
|
21
|
-
elsif content.is_a?(Markup)
|
22
|
-
# XRB's safe output mechanism:
|
23
|
-
@output_buffer.safe_concat(content)
|
24
|
-
else
|
25
|
-
# Unsafe output:
|
26
|
-
@output_buffer << content
|
27
|
-
end
|
23
|
+
content.append_markup(@raw_buffer)
|
28
24
|
end
|
29
25
|
|
30
26
|
def raw(content)
|
data/lib/xrb/rails/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xrb-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
38
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
39
|
-----END CERTIFICATE-----
|
40
|
-
date: 2024-
|
40
|
+
date: 2024-10-27 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: xrb
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '0.
|
48
|
+
version: '0.10'
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0.
|
55
|
+
version: '0.10'
|
56
56
|
description:
|
57
57
|
email:
|
58
58
|
executables: []
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
|
-
rubygems_version: 3.5.
|
90
|
+
rubygems_version: 3.5.11
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Add support XRB templates in Rails.
|
metadata.gz.sig
CHANGED
Binary file
|