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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9f935f1b1697ca3f91e7f88e06dddc00e11a1ce3a511410eb727709657a9291
4
- data.tar.gz: f4557e6da0e100db9fa2e6c8467c61ead04bc688b3153938fcea420b851cb086
3
+ metadata.gz: c9c83355498ef547dddeb348be536ffa6cc9a469b8fe8004cf18e593586a10d6
4
+ data.tar.gz: ca0af7657dc791a511c5b65e1f30bbfd49547203c2c3851d2aed1df93b1ffe83
5
5
  SHA512:
6
- metadata.gz: 006a5720f453344b5c83c1a1db4a08346b7574b3f3266920c5fd5ce001203b69824d60edca04e2beb7e4dd86230e1ce92f54a7bf0fd84726a48f8bcd7505ea6c
7
- data.tar.gz: e6fac9d8eea670a6cc2f84476a1a05d0279c369ab6deaecaca56fe99116b3b7dc9d73671efa753524ac93dcafd2dac5302e1737ec746353da86d13bf145e6b91
6
+ metadata.gz: b4cf6b122586ce5ece9490ff7ca6138d979c5534356ff3f769ffce133a7d9210a17e61cae7aadc08fe36f59a300034bedcea29cd5c9f6ffc037b3fee6946a22e
7
+ data.tar.gz: c36e14f2737233f2ea364d797cdd94380f4e9e0318eaa8cddeca77a12e6a94af51ad927e1bcf287b07d12d927a68f785d95a25fba57e1290f113aa809c8cd550
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- streamlined (0.2.0)
4
+ streamlined (0.3.0)
5
5
  serbea (>= 2.1)
6
6
  zeitwerk (~> 2.5)
7
7
 
@@ -81,7 +81,7 @@ module Streamlined
81
81
  end
82
82
 
83
83
  def text(callback)
84
- (callback.is_a?(Proc) ? html(callback) : callback).to_s.then do |str|
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}, "")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Streamlined
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streamlined
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bridgetown Team