sequent-sinatra 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 639d06187d4fd1925f8595676362c1332df1c4fe
4
- data.tar.gz: 2384741bd38cb3c050ca5754536ccf779ce715df
3
+ metadata.gz: d4de24041294b04ecf9a92547e74e53a476ab37c
4
+ data.tar.gz: 0c1c4e5ce725830548554ea59e012f12aedea973
5
5
  SHA512:
6
- metadata.gz: f0789be96750e9dc5e86123c6cbc357294bb1b2f79400e11ec3fed45dfcacca7dabd97739f64d04f6cc9fdb13eea057b8a57a122c2f9e70f1b25ca8571a6cb51
7
- data.tar.gz: f8e6d7c25c4eecf640ed32334ef99370db85f0cc58c712be812d97252c93306b44ba8fb4efea746385e0346f239cf4e8728408461dec6f4446763446b6e9d17f
6
+ metadata.gz: d6703e46cf329713855289c5e45873b3ac894d106ec28945b48801fba6f7085e5c3098572ff1f63f7864f8dc547b49448e97866fa3c5b39a37321017f7058f9e
7
+ data.tar.gz: 219ac73516d0956b3fde4d32f5cc2e695265ea244963a617c5a98801e73c648c608deb1f015a37130f3ff19c33ff09dd2bc41f49df79856279399832665f506d
@@ -43,7 +43,6 @@ module Sequent
43
43
  out << '</form>'
44
44
  buf = @context.instance_variable_get("@_out_buf")
45
45
  buf << out
46
-
47
46
  end
48
47
 
49
48
  def fieldset(obj_name, options = {}, &block)
@@ -62,8 +61,7 @@ module Sequent
62
61
  def erb_with_output_buffer(buf = '')
63
62
  old_buffer = @context.instance_variable_get("@_out_buf")
64
63
  @context.instance_variable_set "@_out_buf", buf
65
- yield
66
- @context.instance_variable_get("@_out_buf")
64
+ yield || @context.instance_variable_get("@_out_buf")
67
65
  ensure
68
66
  @context.instance_variable_set "@_out_buf", old_buffer
69
67
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SequentSinatra
2
- VERSION='0.1.2'
2
+ VERSION='0.1.3'
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Vonk