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 +4 -4
- data/lib/sequent-sinatra/form.rb +3 -3
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 597954293c2fbc00d113806fc883568a0a8f36af6c1f1e8a13d22b2d9ec11eb2
|
4
|
+
data.tar.gz: b1ded1906cc961839d3d9c5fb5517d1c1e908762b656da9357504c7329227a78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18190ea1e3b94e0e1b11db25013c8abe732dff1c97a948fa5b67298389b10fc59a4fea56d5c53c4c1ede6f269137e2adddcd245a8b367964b4e97eed31c6d17d
|
7
|
+
data.tar.gz: 2daef0553de0e033614b35e42a07f1bf432600dd4666443eae02c59a437603c414be8f42328a44ddc8eed22fabcec8dbefd0d4389bd0823bb56c6270255205f5
|
data/lib/sequent-sinatra/form.rb
CHANGED
@@ -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
|
-
|
41
|
-
buf
|
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