alephant-renderer 0.0.8 → 0.0.9

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: 5b3e4f2af63d5bf342fcea4ce03b0d8a374582f1
4
- data.tar.gz: 228afde78ea95f09d47cf78a3ec719056c0f46ca
3
+ metadata.gz: 128c9a65c285628666a483b665c2baac732dcd70
4
+ data.tar.gz: d52c276a2def00d664a38ce4b41b0891d7fc6dae
5
5
  SHA512:
6
- metadata.gz: 3b19e15e82b6e6ef56f7ad7fe77c8004ff0082f86be6d738e3513dbf5711d0a37bf5ae8a80a3bbfd4b5970fe69ad122902f1d3125d4f5bba392013a3ab95a736
7
- data.tar.gz: 3929c6a4d61e9200c454d5ee29de7fb16c7ee64ae59bb452a0c91fd2fccd4754f2751cec0851543ad0b8dd0e01104ad1455362b7d510806358d089a1c8d85169
6
+ metadata.gz: c2374d88c67d9673a437c9ad2300a4edbb94eea786fa954447e7f05a396e1d58b617793f32c8ee86df88bd2b31c32066184e78f5b048ad94b62963024b687b94
7
+ data.tar.gz: dbb6e7acc7af49fea6165430faa34dfad0b78c53c1fc58e687f05f474beb1086ff9c22b08a1206c8e14e8c5f73a19d5fdcdfdf744a409fe14493b396bd79e5e2
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Renderer
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
@@ -18,7 +18,7 @@ module Alephant::Views
18
18
 
19
19
  def t(key, params = {})
20
20
  I18n.locale = locale
21
- prefix = /\/([^\/]+)\./.match(template_file)[1]
21
+ prefix = /\/([^\/]+)\.mustache/.match(template_file)[1]
22
22
  I18n.translate("#{prefix}.#{key}", params)
23
23
  end
24
24
 
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.8
4
+ version: 0.0.9
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-04-10 00:00:00.000000000 Z
11
+ date: 2014-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec