voog-kit 0.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/voog/dtk/filemanager.rb +9 -9
- data/lib/voog/dtk/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: 9c9f1079f0ef59107da7b523f88cf7a443201e78
|
4
|
+
data.tar.gz: 315a4457e8b6801c2496a0f816dbfd7153be7b33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa86407a6dd8e34f0226bfe37503e3b405490533e0ea517c6661f83166db2de1a7f2fd6fde1e68bb72664bc2197af5b5bda622211292672cacaefe35a30c8b9e
|
7
|
+
data.tar.gz: a2d01697c7aaa0c530e9f538af1521618da54ca8c6fd03bf9e67eceea244d8989a1c2d6c568d4fc5aba796b2347fed9578116656fb777ba7a0b8c9661375c8ed
|
data/lib/voog/dtk/filemanager.rb
CHANGED
@@ -359,11 +359,11 @@ module Voog::Dtk
|
|
359
359
|
|
360
360
|
manifest[:layouts] = layouts.inject(Array.new) do |memo, l|
|
361
361
|
memo << {
|
362
|
-
title
|
363
|
-
layout_name
|
364
|
-
content_type
|
365
|
-
component
|
366
|
-
file
|
362
|
+
'title' => l.title,
|
363
|
+
'layout_name' => l.title.gsub(/[^\w\.\-]/, '_').downcase,
|
364
|
+
'content_type' => l.content_type,
|
365
|
+
'component' => l.component,
|
366
|
+
'file' => "#{(l.component ? 'components' : 'layouts')}/#{l.title.gsub(/[^\w\.\-]/, '_').downcase}.tpl"
|
367
367
|
}
|
368
368
|
end
|
369
369
|
|
@@ -376,10 +376,10 @@ module Voog::Dtk
|
|
376
376
|
folder = asset_folders.fetch(kind, 'assets')
|
377
377
|
|
378
378
|
memo << {
|
379
|
-
kind
|
380
|
-
filename
|
381
|
-
file
|
382
|
-
content_type
|
379
|
+
'kind' => kind,
|
380
|
+
'filename' => a.filename,
|
381
|
+
'file' => "#{folder}/#{a.filename}",
|
382
|
+
'content_type' => a.content_type
|
383
383
|
}
|
384
384
|
end
|
385
385
|
|
data/lib/voog/dtk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voog-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikk Pristavka
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
12
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|