phlex 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of phlex might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 463bbaade702e9495ee8965c20ca4c5aeb926b10a2e190584a0a0dfcc4f43709
4
- data.tar.gz: f57de49b85bfc10920f890581656a7aa1c86d6d120ce45017c9fc0c355587514
3
+ metadata.gz: 2e7e702f2d22fc85cc0c02a467508f372b1adf091e06756ffa1188f63e48ea81
4
+ data.tar.gz: 386a078fd6d65ac5e84043c3e15fd638b5b5402b55519849147f3ab8f9c22f0b
5
5
  SHA512:
6
- metadata.gz: cf30a011b71eb056c093b0e0691e635b7fc60f3b2ed533fec63d65bd8c29ca5ddea794ac054a33c27cb2b79e8caab587299522707646c34c12a822a819aeba05
7
- data.tar.gz: c8dc0e52c90c686e0824ee611afb303c8cdb8c9d9ebbb0293e1f0a0905e83a302499cabca54e44f2bddbe859ac43dd71d004f4f05b1feaf3dbd8d7f9696f24b8
6
+ metadata.gz: f9c844aaefa12de8714fa1c4d745a35bb8385f9aca10367b3f14bb60667c2c894c74628649055d4a915a4f7a3c9c2f571b537c8b0097307a4411f8eba61c3774
7
+ data.tar.gz: 2c6fb7d0fff4131faa8fdfd7b5f7c4b44a7af8604026046915cf61f80c2d4c5fe1ff605c7e280d3fef4a0973283643654f2d906a7fca7c6ef32a413a1ee03184
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## [1.8.1] 2024-04-19
6
+
7
+ ### Fixed
8
+
9
+ - Rendering a component with a false `render?` predicate should return an empty String rather than `nil`.
10
+
5
11
  ## [1.8.0] 2024-04-19
6
12
 
7
13
  ### Changed
data/lib/phlex/sgml.rb CHANGED
@@ -102,7 +102,7 @@ module Phlex
102
102
 
103
103
  block ||= @_content_block
104
104
 
105
- return unless render?
105
+ return "" unless render?
106
106
 
107
107
  around_template do
108
108
  if block
data/lib/phlex/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Phlex
4
- VERSION = "1.8.0"
4
+ VERSION = "1.8.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Drapper
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-19 00:00:00.000000000 Z
11
+ date: 2023-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby