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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6694c0c2b460500662c877cdf54fae84d5ca7130
4
- data.tar.gz: 1cbdd8d6b0f6d992e81c607f39436871dc944e59
3
+ metadata.gz: 6a548a2e4eae5cb8d20b0c5ba3b2204fda5e0dda
4
+ data.tar.gz: 9a44ca48c981e6973aafd25b24a4234021fcf1f7
5
5
  SHA512:
6
- metadata.gz: 10bfc100f18dff6b618b52627350ac19c61b26a1797215423dbfa0576e0568c5b83ecda7fe93f3196fa629bb5aca6576384bc5f51f6942f97a525ab67a633c90
7
- data.tar.gz: 80d27ec9c635c456f0dd298c256f05701926e7ad2b6eb2578003bb4fbd932c3d0e37ef87f233fcf8d7d83b65b8e49e46961fa6dc59cca14a347da0e22c8a864f
6
+ metadata.gz: 884e962e44fad82fbd7b0c9050ab9136ddaff2c9d02fc980d504b4d3d8db5a24e7de68ca4ddf67a4c2adc435741bd90cab7887bacdd16b01d1f03c70df03b87e
7
+ data.tar.gz: ca7a696c892b21c47833306b221894a6396fd19c5c28377c83176ac27b2a4cb632c26fd9f9240d90a05db25015b69255f107ba3c261bd9dc801c5808dd4cee43
@@ -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').reject(&:nil?).select { |ol| ol.fetch('file').include? l }.first || {}
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').reject(&:nil?).select { |ol| ol.fetch('file').include? c }.first || {}
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').reject(&:nil?).select { |ol| ol.fetch('file').include? file }.first || {}
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
@@ -1,5 +1,5 @@
1
1
  module Voog
2
2
  module Dtk
3
- VERSION = '0.3.6'
3
+ VERSION = '0.3.7'
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.6
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-26 00:00:00.000000000 Z
12
+ date: 2015-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler