markababy 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/markababy/builder.rb +4 -0
- data/markababy.gemspec +1 -1
- data/spec/markababy_spec.rb +6 -0
- metadata +4 -4
data/lib/markababy/builder.rb
CHANGED
data/markababy.gemspec
CHANGED
data/spec/markababy_spec.rb
CHANGED
@@ -70,4 +70,10 @@ describe Markababy do
|
|
70
70
|
|
71
71
|
output.must_equal "<!DOCTYPE html>\n<html><body><p>INSERT CONTENT HERE</p></body></html>"
|
72
72
|
end
|
73
|
+
|
74
|
+
it 'should provide access to constants' do
|
75
|
+
Something = Class.new
|
76
|
+
|
77
|
+
Markababy.capture { h1 Something }.must_equal('<h1>Something</h1>')
|
78
|
+
end
|
73
79
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markababy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-03-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &10049430 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 3.0.3
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *10049430
|
25
25
|
description: Markaby's little sister
|
26
26
|
email:
|
27
27
|
- mail@timcraft.com
|