rbexy 0.2.1 → 0.2.2

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: 4cf2789f8c063a3b67dc6c4da86979b89214679833c8be14bee61d52b1a17f3b
4
- data.tar.gz: 89d4d684fb473837be4b7c239e034ec6d27f9b754978cb6bfeb7b77774310e9b
3
+ metadata.gz: 9b5edab6a6162d1d195a6e72652727a6be94934f6759eeaa4425ca252fc2be6a
4
+ data.tar.gz: 77112d7e4c606ad909d34777c1a549c904acef758cb64705aec70fea5ef9bf35
5
5
  SHA512:
6
- metadata.gz: cf0cd9cbf4fc983f6f7213da1babd5e6e334f86c3bd9a3f129f4889d69390946e858a29bc9cede2ffe36e510c6573fea1eb8e55b2e1f504964305a765efd3236
7
- data.tar.gz: fc8090cb79071025b6f3ab491bdff3558a22dccfe43350830f36e6a8ba965e318b39e86bd07aec73659db428a4c223a115ccb3684b30a819e7dc5b577951d04b
6
+ metadata.gz: b018d547ad94191051c9dbf4dec6dc6032c71f55d5d9cbc96f0ceb5993ddec97f047a9301868499bb0fe038ca93fed7bb40af1c7a46b0d97c27cbceb1b70ddf7
7
+ data.tar.gz: 16058ae7865b3090b1975c66619787ab368268cc1c7dba50fb4899c0c206b0865de96b7e66c708eb65405b48b610d50d6b8cf701c3a04424e72f5a2ac69cee0d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbexy (0.2.1)
4
+ rbexy (0.2.2)
5
5
  actionview (>= 5.0, < 7.0)
6
6
  activesupport (>= 5.0, < 7.0)
7
7
  railties (>= 5.0, < 7.0)
@@ -40,7 +40,6 @@ module Rbexy
40
40
  def setup(**props); end
41
41
 
42
42
  def render(&block)
43
- @content = nil
44
43
  @content_block = block_given? ? block : nil
45
44
  call
46
45
  end
@@ -53,7 +52,7 @@ module Rbexy
53
52
  end
54
53
 
55
54
  def content
56
- @content ||= content_block ? view_context.capture(self, &content_block) : ""
55
+ content_block ? view_context.capture(self, &content_block) : ""
57
56
  end
58
57
 
59
58
  def create_context(name, value)
@@ -1,3 +1,3 @@
1
1
  module Rbexy
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Giancola
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-17 00:00:00.000000000 Z
11
+ date: 2020-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport