alephant-renderer 0.0.4.1 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/alephant-renderer.gemspec +1 -0
- data/lib/alephant/renderer/version.rb +1 -1
- data/lib/alephant/views/base.rb +2 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99aaf2d2aa11f5ac1f525a49943ad5e3b0662215
|
4
|
+
data.tar.gz: f50d57090b29cf1016ca6e80f6bd39b1b5598081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e45b2dc23c8cd5d18db75445f4dbc138ff96f427ad73acd0a17292ef1eaf35a0bae2019b8447618fa89425bea9e3881b880594b7c3cd8beaaf4a1401226987b
|
7
|
+
data.tar.gz: 8eaf85eb822165ceb11ae4ae3a1f37aa5e17d6354f987a41142810482e576d7b6f7c306c65bf8c9f50e198438627f3ea3ce44ea4ba761c33d18e3a0e86bcc8e5
|
data/Gemfile
CHANGED
data/alephant-renderer.gemspec
CHANGED
data/lib/alephant/views/base.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
require 'mustache'
|
2
2
|
require 'alephant/views'
|
3
|
+
require 'hashie'
|
3
4
|
|
4
5
|
module Alephant::Views
|
5
6
|
class Base < Mustache
|
6
7
|
attr_accessor :data
|
7
8
|
|
8
9
|
def initialize(data = {})
|
9
|
-
@data = data
|
10
|
+
@data = Hashie::Mash.new data
|
10
11
|
end
|
11
12
|
|
12
13
|
def self.inherited(subclass)
|
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.0.
|
4
|
+
version: 0.0.5
|
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-
|
11
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
prerelease: false
|
166
166
|
type: :runtime
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: hashie
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
requirement: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - '>='
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
179
|
+
prerelease: false
|
180
|
+
type: :runtime
|
167
181
|
description:
|
168
182
|
email:
|
169
183
|
- kenoir@gmail.com
|