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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a2a935dbcec456b0e6b3a680e6909c5447c42b8
4
- data.tar.gz: 683fd54508a44969a79fa8eb6b4d1d83123851ed
3
+ metadata.gz: 5939b61cda95b8530e3fc4a9e982c8680a1fee1d
4
+ data.tar.gz: 42c614cb7cf2742c79c074743190f8d66410a63e
5
5
  SHA512:
6
- metadata.gz: dc2155534f400ebc1c1fe29424698924d40f0cf49e1988ef6032948ca4344da6686bec32b4527b669e1e3533a66738226b7fd9645603560442ba567f02073328
7
- data.tar.gz: ccd773c830fa23e553fce955667cdeec785c0c5f8ff3bf25714e31838d6762eb26cb2419bf9e88800597a80b0d378389f2accade8954983ce0005dd7129cc305
6
+ metadata.gz: 89dbff62069088d5ed93517361493fc55ca735f749cbd2836a28b7e764417b6f4081a6590cef4dc87b32b4baad1c83a0e348257deafd1b32919502c6b304cd6f
7
+ data.tar.gz: 67cf30110e1e1a7171579c210d28c000fffec793c8998b08dee3ba5d67f0c315a4f89b20c3fde8f019177127ba9e792b72e16a8585bce51c4c3ccb647273ad36
@@ -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]
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Renderer
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
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.2.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-08 00:00:00.000000000 Z
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