reviewed_braai 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ module ReviewedBraai
4
4
  Braai::Template.clear!
5
5
  Braai::Template.map(Braai::Matchers::DefaultMatcher, ReviewedBraai::Handlers::Default)
6
6
  Braai::Template.map(Braai::Matchers::RegionMatcher, ReviewedBraai::Handlers::DefaultRegion)
7
+ Braai::Template.map(Braai::Matchers::ConditionalMatcher, Braai::Handlers::Conditional)
7
8
  Braai::Template.map(Braai::Matchers::IterationMatcher, Braai::Handlers::Iteration)
8
9
 
9
10
  Braai::Handlers.rescue_from ReviewedBraai::TagRenderError, ->(handler, e) do
@@ -1 +1,6 @@
1
- <img src="{{ url }}" alt="{{ caption }}" class="attachment" />
1
+ <figure>
2
+ <img src="{{ url }}" alt="{{ name }}" class="attachment" />
3
+ {{ if caption }}
4
+ <figcaption>{{ caption }}</figcaption>
5
+ {{ /if }}
6
+ </figure>
@@ -1,3 +1,3 @@
1
1
  module ReviewedBraai
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.1
4
+ version: 0.2.2
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-11 00:00:00.000000000 Z
12
+ date: 2013-03-12 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.1
21
+ version: 1.6.2
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.1
29
+ version: 1.6.2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rspec
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -87,7 +87,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  segments:
89
89
  - 0
90
- hash: 859782602518534846
90
+ hash: -3173167499254061246
91
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  none: false
93
93
  requirements:
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  segments:
98
98
  - 0
99
- hash: 859782602518534846
99
+ hash: -3173167499254061246
100
100
  requirements: []
101
101
  rubyforge_project:
102
102
  rubygems_version: 1.8.25