minimal 0.0.23 → 0.0.24
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.
- data/Gemfile.lock +3 -3
- data/lib/minimal/template.rb +2 -1
- data/lib/minimal/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
minimal (0.0.
|
|
4
|
+
minimal (0.0.23)
|
|
5
5
|
actionpack (>= 3.0.0)
|
|
6
6
|
activesupport (>= 3.0.0)
|
|
7
7
|
|
|
@@ -31,9 +31,9 @@ GEM
|
|
|
31
31
|
rack (1.2.1)
|
|
32
32
|
rack-mount (0.6.13)
|
|
33
33
|
rack (>= 1.0.0)
|
|
34
|
-
rack-test (0.5.
|
|
34
|
+
rack-test (0.5.7)
|
|
35
35
|
rack (>= 1.0)
|
|
36
|
-
test_declarative (0.0.
|
|
36
|
+
test_declarative (0.0.5)
|
|
37
37
|
tzinfo (0.3.23)
|
|
38
38
|
|
|
39
39
|
PLATFORMS
|
data/lib/minimal/template.rb
CHANGED
|
@@ -44,7 +44,8 @@ class Minimal::Template
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
def call_view(method, *args, &block)
|
|
47
|
-
|
|
47
|
+
buffer = args.last.delete(:_buffer) if args.last.is_a?(Hash)
|
|
48
|
+
view.send(method, *args, &block).tap { |result| self << result if !buffer.is_a?(FalseClass) && auto_buffer?(method) }
|
|
48
49
|
end
|
|
49
50
|
|
|
50
51
|
def auto_buffer?(method)
|
data/lib/minimal/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minimal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 47
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 24
|
|
10
|
+
version: 0.0.24
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Sven Fuchs
|