reviewed_braai 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,13 +2,14 @@ module ReviewedBraai
|
|
2
2
|
module Matchers
|
3
3
|
module Default
|
4
4
|
Braai::Template.clear!
|
5
|
-
Braai::Template.map(Braai::Matchers::IterationMatcher, Braai::Handlers::Iteration)
|
6
5
|
Braai::Template.map(Braai::Matchers::DefaultMatcher, ReviewedBraai::Handlers::Default)
|
7
6
|
Braai::Template.map(Braai::Matchers::RegionMatcher, ReviewedBraai::Handlers::DefaultRegion)
|
7
|
+
Braai::Template.map(Braai::Matchers::IterationMatcher, Braai::Handlers::Iteration)
|
8
8
|
|
9
9
|
Braai::Handlers.rescue_from ReviewedBraai::TagRenderError, ->(handler, e) do
|
10
10
|
# puts %{handler: #{handler.inspect}}
|
11
|
-
|
11
|
+
value = handler.matches[1..-1].join(' ')
|
12
|
+
"<!-- #{e.class.to_s}: #{value} -->"
|
12
13
|
end
|
13
14
|
|
14
15
|
# fallback match for any {{ word stuff="123" }} that isn't already commented out.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reviewed_braai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: braai
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.6.
|
21
|
+
version: 1.6.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.6.
|
29
|
+
version: 1.6.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rspec
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,12 +85,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- - ! '>='
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
hash: 859782602518534846
|
88
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
92
|
none: false
|
90
93
|
requirements:
|
91
94
|
- - ! '>='
|
92
95
|
- !ruby/object:Gem::Version
|
93
96
|
version: '0'
|
97
|
+
segments:
|
98
|
+
- 0
|
99
|
+
hash: 859782602518534846
|
94
100
|
requirements: []
|
95
101
|
rubyforge_project:
|
96
102
|
rubygems_version: 1.8.25
|