voog-kit 0.3 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a2272da9fd83bf225e3f78ae2b1cab6efb6823f
4
- data.tar.gz: f070ed157d1e875e409e47887d86b15acaa43111
3
+ metadata.gz: 9c9f1079f0ef59107da7b523f88cf7a443201e78
4
+ data.tar.gz: 315a4457e8b6801c2496a0f816dbfd7153be7b33
5
5
  SHA512:
6
- metadata.gz: b9fe5dd1a8b2871e254bf1b2550d1d11a6e9d6a6a18706f93ae2ff316dc89b18c5cd73add73c90ec77152e2aa06e5040cb4783d9d04cd5f6ba3f4ca5558a0b7f
7
- data.tar.gz: efdcffbc79f82d2f38a2f19888d749b15a16ba34e19ad0d6bb3ff002f84ceb7e0c8fbbfed4bbba3f27225d94b6c07c76ff25ddd19131c9b686bf7a344d46d934
6
+ metadata.gz: aa86407a6dd8e34f0226bfe37503e3b405490533e0ea517c6661f83166db2de1a7f2fd6fde1e68bb72664bc2197af5b5bda622211292672cacaefe35a30c8b9e
7
+ data.tar.gz: a2d01697c7aaa0c530e9f538af1521618da54ca8c6fd03bf9e67eceea244d8989a1c2d6c568d4fc5aba796b2347fed9578116656fb777ba7a0b8c9661375c8ed
@@ -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: 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"
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: kind,
380
- filename: a.filename,
381
- file: "#{folder}/#{a.filename}",
382
- content_type: a.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
 
@@ -1,5 +1,5 @@
1
1
  module Voog
2
2
  module Dtk
3
- VERSION = '0.3'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
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: '0.3'
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-09 00:00:00.000000000 Z
12
+ date: 2015-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler