sequent-sinatra 0.1.6 → 0.1.7

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: 4e8b3cbd50679e6f42d91f38e4f470d13a303c392dea54ce26cb5e8f3ad13450
4
- data.tar.gz: 17ce0801d05b66d645dfeb3d187f7adad57b87e7f18cb27aaf2310d99c564fad
3
+ metadata.gz: 597954293c2fbc00d113806fc883568a0a8f36af6c1f1e8a13d22b2d9ec11eb2
4
+ data.tar.gz: b1ded1906cc961839d3d9c5fb5517d1c1e908762b656da9357504c7329227a78
5
5
  SHA512:
6
- metadata.gz: 20e726ce805af874678c436b2b03441eba03ec090312404acdd652e2fd2e50131d5efc8dd5f5366e45775dc3e0929d1a14d44843185bb54f724754da10d7c7f8
7
- data.tar.gz: 541cd0f638019aaac3c0b0fae67d94d7257a1c2a005809a5fdb596ba71bfc2f32f0437007b310b3e6447c9833028ac8b8381ed5cbe7dd2ff3df7020792e7939b
6
+ metadata.gz: 18190ea1e3b94e0e1b11db25013c8abe732dff1c97a948fa5b67298389b10fc59a4fea56d5c53c4c1ede6f269137e2adddcd245a8b367964b4e97eed31c6d17d
7
+ data.tar.gz: 2daef0553de0e033614b35e42a07f1bf432600dd4666443eae02c59a437603c414be8f42328a44ddc8eed22fabcec8dbefd0d4389bd0823bb56c6270255205f5
@@ -37,8 +37,9 @@ module Sequent
37
37
  out = tag(:form, nil, {:action => @action, :method => @method.to_s.upcase}.merge(@options)) + method_input + csrf_tag
38
38
  out << inner_html
39
39
  out << '</form>'
40
- buf = @context.instance_variable_get("@_out_buf")
41
- buf << out
40
+
41
+ buf = @context.instance_variable_get("@_out_buf").dup
42
+ @context.instance_variable_set("@_out_buf", buf << out)
42
43
  end
43
44
 
44
45
  def fieldset(obj_name, options = {}, &block)
@@ -68,4 +69,3 @@ module Sequent
68
69
  end
69
70
  end
70
71
  end
71
-
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SequentSinatra
2
- VERSION='0.1.6'
2
+ VERSION='0.1.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequent-sinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Vonk