streamlined 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
- data/Gemfile.lock +1 -1
- data/lib/streamlined/helpers.rb +1 -1
- data/lib/streamlined/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9c83355498ef547dddeb348be536ffa6cc9a469b8fe8004cf18e593586a10d6
|
4
|
+
data.tar.gz: ca0af7657dc791a511c5b65e1f30bbfd49547203c2c3851d2aed1df93b1ffe83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4cf6b122586ce5ece9490ff7ca6138d979c5534356ff3f769ffce133a7d9210a17e61cae7aadc08fe36f59a300034bedcea29cd5c9f6ffc037b3fee6946a22e
|
7
|
+
data.tar.gz: c36e14f2737233f2ea364d797cdd94380f4e9e0318eaa8cddeca77a12e6a94af51ad927e1bcf287b07d12d927a68f785d95a25fba57e1290f113aa809c8cd550
|
data/Gemfile.lock
CHANGED
data/lib/streamlined/helpers.rb
CHANGED
@@ -81,7 +81,7 @@ module Streamlined
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def text(callback)
|
84
|
-
(callback.is_a?(Proc) ?
|
84
|
+
(callback.is_a?(Proc) ? callback.pipe : callback).to_s.then do |str|
|
85
85
|
next str if str.html_safe?
|
86
86
|
|
87
87
|
str.encode(xml: :attr).gsub(%r{\A"|"\Z}, "")
|
data/lib/streamlined/version.rb
CHANGED