inplace_editing 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6801d65b3d5b90f76f587473a0baf34376ea0099
4
- data.tar.gz: 2ec5d2f1412c3fb07933df5896e706a27e96fba8
3
+ metadata.gz: 4eda694589f21f2d02dae5604277228604edff8f
4
+ data.tar.gz: 9c519b02c3c2fcbb0744564d6405732f5dcfdff6
5
5
  SHA512:
6
- metadata.gz: 88f92b9f96537c52876e02b32aeadf45412565e5e0aa1b6682cc2a47f8d0a9c6584064c126f76edd2034b009b6a07ec0cd05a20f612ecc8e577bb4e6204569cf
7
- data.tar.gz: 37c201ead76e9a43d064c0eefa9d87e73a9720e0f224568ced56fe3041380bf14bd065f6d7cc4eccf4cf46d5d0277adabfc2dd7941316a42d182358077bca0ac
6
+ metadata.gz: 2f058e85aec359fb35abf48f1b0b75def15b2844f4ff175cd52f5925a4582d7f06c93a1e66e059692457eaf9fbb7d69ad724d2f658bc862c1d3c366d3ad04ba3
7
+ data.tar.gz: fcb2fafec8fae7c6721509e01c72f5468ce99024e735a0c90cac9b3ffb3098cbf453555b7331a718ddea08940a7f75e9108122bec420911d2dea80f73f574caa
@@ -102,7 +102,7 @@ module InplaceEditingHelper
102
102
  tag = EmptyTag.new(args[0], args[1] || {})
103
103
  old_buf = @output_buffer
104
104
  @output_buffer = ActionView::OutputBuffer.new
105
- yield
105
+ yield(tag)
106
106
  content = tag.render(@output_buffer.presence)
107
107
  @output_buffer = old_buf
108
108
  content
@@ -1,3 +1,3 @@
1
1
  module InplaceEditing
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inplace_editing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrique Rangel