voog-kit 0.3.6 → 0.3.7
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 +3 -3
- 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: 6a548a2e4eae5cb8d20b0c5ba3b2204fda5e0dda
|
4
|
+
data.tar.gz: 9a44ca48c981e6973aafd25b24a4234021fcf1f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 884e962e44fad82fbd7b0c9050ab9136ddaff2c9d02fc980d504b4d3d8db5a24e7de68ca4ddf67a4c2adc435741bd90cab7887bacdd16b01d1f03c70df03b87e
|
7
|
+
data.tar.gz: ca7a696c892b21c47833306b221894a6396fd19c5c28377c83176ac27b2a4cb632c26fd9f9240d90a05db25015b69255f107ba3c261bd9dc801c5808dd4cee43
|
data/lib/voog/dtk/filemanager.rb
CHANGED
@@ -246,7 +246,7 @@ module Voog::Dtk
|
|
246
246
|
'title' => l.split('.').first.gsub('_', ' ').capitalize
|
247
247
|
}
|
248
248
|
if @old_manifest && @old_manifest.fetch('layouts')
|
249
|
-
old_layout = @old_manifest.fetch('layouts').
|
249
|
+
old_layout = @old_manifest.fetch('layouts').select { |ol| ol.fetch('file').gsub('layouts/', '') == l }.first || {}
|
250
250
|
attrs.merge! old_layout
|
251
251
|
end
|
252
252
|
attrs
|
@@ -265,7 +265,7 @@ module Voog::Dtk
|
|
265
265
|
'title' => name
|
266
266
|
}
|
267
267
|
if @old_manifest && @old_manifest.fetch('layouts')
|
268
|
-
old_component = @old_manifest.fetch('layouts').
|
268
|
+
old_component = @old_manifest.fetch('layouts').select { |ol| ol.fetch('file').gsub('components/', '') == c }.first || {}
|
269
269
|
attrs.merge! old_component
|
270
270
|
end
|
271
271
|
attrs
|
@@ -288,7 +288,7 @@ module Voog::Dtk
|
|
288
288
|
'filename' => file
|
289
289
|
}
|
290
290
|
if @old_manifest && @old_manifest.fetch('assets')
|
291
|
-
old_asset = @old_manifest.fetch('assets').
|
291
|
+
old_asset = @old_manifest.fetch('assets').select { |ol| ol.fetch('filename') == file }.first || {}
|
292
292
|
attrs.merge! old_asset
|
293
293
|
end
|
294
294
|
assets << attrs
|
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: 0.3.
|
4
|
+
version: 0.3.7
|
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-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|