markababy 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/lib/markababy/rails_template_context.rb +1 -1
- data/lib/markababy/rails_template_handler.rb +1 -1
- data/markababy.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b6a178f6e549aad27f67e34231d7846cbc671071070c7b1c0278f6d68ae2f4b
|
4
|
+
data.tar.gz: 6c0168a1e33b4a38f9d8836996cb9a30f50a193e3faf6d73257dc1e6605702a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 992a470b24c2761a51027872afb0523968f3ec464bb0e13ef54c77402a974a14d17d9ba98ac8c9ed2145c111f8dc5ec4ef6f32b84674bd0fc50bded13def160e
|
7
|
+
data.tar.gz: 462b050b3c49ae95525b9d927e30bb1226d2902b244ae4dd646c1d6e0dde68eea40ac2579d959aa54e887f2253583508b446da0c40f9d56ce8e708b44a4226d5
|
data/LICENSE.txt
CHANGED
@@ -3,7 +3,7 @@ module Markababy
|
|
3
3
|
def initialize(controller)
|
4
4
|
@controller = controller
|
5
5
|
|
6
|
-
@ivars =
|
6
|
+
@ivars = @controller.instance_variables.map(&:to_sym)
|
7
7
|
end
|
8
8
|
|
9
9
|
def respond_to_missing?(sym, include_private = false)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Markababy
|
2
2
|
module RailsTemplateHandler
|
3
|
-
def self.call(template)
|
3
|
+
def self.call(template, source)
|
4
4
|
"self.output_buffer = ''\n" +
|
5
5
|
"Markababy.capture(:output => self.output_buffer, :context => Markababy::RailsTemplateContext.new(self)) do\n" +
|
6
6
|
"#{template.source}\n" +
|
data/markababy.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markababy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Craft
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Markaby's little sister
|
14
14
|
email:
|
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0'
|
49
49
|
requirements: []
|
50
|
-
rubygems_version: 3.
|
50
|
+
rubygems_version: 3.2.3
|
51
51
|
signing_key:
|
52
52
|
specification_version: 4
|
53
53
|
summary: See description
|