alephant-renderer 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alephant/renderer.rb +4 -0
- data/lib/alephant/renderer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5939b61cda95b8530e3fc4a9e982c8680a1fee1d
|
4
|
+
data.tar.gz: 42c614cb7cf2742c79c074743190f8d66410a63e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89dbff62069088d5ed93517361493fc55ca735f749cbd2836a28b7e764417b6f4081a6590cef4dc87b32b4baad1c83a0e348257deafd1b32919502c6b304cd6f
|
7
|
+
data.tar.gz: 67cf30110e1e1a7171579c210d28c000fffec793c8998b08dee3ba5d67f0c315a4f89b20c3fde8f019177127ba9e792b72e16a8585bce51c4c3ccb647273ad36
|
data/lib/alephant/renderer.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'alephant/renderer/version'
|
2
2
|
require 'alephant/renderer/view_mapper'
|
3
|
+
require 'alephant/logger'
|
3
4
|
|
4
5
|
module Alephant
|
5
6
|
module Renderer
|
@@ -8,6 +9,8 @@ module Alephant
|
|
8
9
|
end
|
9
10
|
|
10
11
|
class Renderer
|
12
|
+
include Logger
|
13
|
+
|
11
14
|
attr_reader :config, :data
|
12
15
|
|
13
16
|
def initialize(config, data)
|
@@ -22,6 +25,7 @@ module Alephant
|
|
22
25
|
private
|
23
26
|
|
24
27
|
def mapper
|
28
|
+
logger.info "Renderer#mapper: renderer id '#{config[:renderer_id]}', view path '#{config[:view_path]}'"
|
25
29
|
@mapper ||= ViewMapper.new(
|
26
30
|
config[:renderer_id],
|
27
31
|
config[:view_path]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alephant-renderer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Kenny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|