akeneo 1.6.0 → 1.6.1

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
  SHA256:
3
- metadata.gz: f303ceb4a14dd7ab8dbc34262a322e34202c6eb4370139aa3ef0b3472db7b356
4
- data.tar.gz: f9ef743047f2579fa8b76d63ae1594e039dd693c2ac2efc6021a7fbc389f719d
3
+ metadata.gz: 1e1d711b6dceb7720654833651ba5fe4f53e45d1055e5b2fb01755d3955010c8
4
+ data.tar.gz: d8e7090e4b4fead27285fd2689ce4e67deaf54616077c8f617d91e76d3d30e80
5
5
  SHA512:
6
- metadata.gz: ce6e025a9e0cd24b4fe174c0d7fbcc4a409f609e76c9da60f61b7eddd324b4631c94f5eea0466559f87f2599958c574e66e61b95c81153c29c883883e2a8f284
7
- data.tar.gz: 5b57fe99232ffaa7b8d1e5f7c47099bf46afb5d8f09a58a540f4605f99d538da7efbd220192d5e3623065029afbb342bc071bae016bd1530df21382a522eea44
6
+ metadata.gz: a956b285ebd5cf98102a8629acbaab8301eace8553c8f6b83ba4f6658bbd410aeb2d3f5a4f5fbba04010a4ea192303dde8bfb6a0638f8acb8ff335b90cf6ac9b
7
+ data.tar.gz: cd520b33ddc98b8dfc0fdbabb00302d28b85d29521767f4844d3837e3e3aa816630d17f88da94853bcb070183a7ee230c1c62cc2af7439a9963e035c1ddcd707
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- akeneo (1.6.0)
4
+ akeneo (1.6.1)
5
5
  httparty
6
6
  mime-types
7
7
  redis
@@ -13,18 +13,18 @@ GEM
13
13
  addressable (2.5.2)
14
14
  public_suffix (>= 2.0.2, < 4.0)
15
15
  ast (2.4.0)
16
- concurrent-ruby (1.1.4)
16
+ concurrent-ruby (1.1.5)
17
17
  crack (0.4.3)
18
18
  safe_yaml (~> 1.0.0)
19
19
  diff-lcs (1.3)
20
20
  hashdiff (0.3.8)
21
- httparty (0.16.4)
21
+ httparty (0.17.0)
22
22
  mime-types (~> 3.0)
23
23
  multi_xml (>= 0.5.2)
24
24
  jaro_winkler (1.5.2)
25
25
  mime-types (3.2.2)
26
26
  mime-types-data (~> 3.2015)
27
- mime-types-data (3.2018.0812)
27
+ mime-types-data (3.2019.0331)
28
28
  multi_xml (0.6.0)
29
29
  parallel (1.12.1)
30
30
  parser (2.5.3.0)
@@ -33,7 +33,7 @@ GEM
33
33
  public_suffix (3.0.3)
34
34
  rainbow (3.0.0)
35
35
  rake (12.3.2)
36
- redis (4.1.0)
36
+ redis (4.1.1)
37
37
  rspec (3.8.0)
38
38
  rspec-core (~> 3.8.0)
39
39
  rspec-expectations (~> 3.8.0)
@@ -57,7 +57,7 @@ GEM
57
57
  unicode-display_width (~> 1.4.0)
58
58
  ruby-progressbar (1.10.0)
59
59
  safe_yaml (1.0.4)
60
- semantic_logger (4.4.0)
60
+ semantic_logger (4.5.0)
61
61
  concurrent-ruby (~> 1.0)
62
62
  unicode-display_width (1.4.1)
63
63
  webmock (3.5.1)
data/akeneo.gemspec CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'akeneo'
8
- spec.version = '1.6.0'
8
+ spec.version = '1.6.1'
9
9
  spec.authors = ['AWN Dev Team']
10
10
  spec.email = ['edv@awn.de']
11
11
 
@@ -62,7 +62,8 @@ module Akeneo
62
62
  end
63
63
 
64
64
  def load_parents(family, akeneo_parent, akeneo_grand_parent)
65
- return [] if akeneo_parent.nil? || akeneo_grand_parent.nil?
65
+ return [] if akeneo_parent.nil?
66
+ return [akeneo_parent] if akeneo_grand_parent.nil?
66
67
 
67
68
  @product_model_service.all(with_family: family).select do |parent|
68
69
  parent['parent'] == akeneo_grand_parent['code']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akeneo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AWN Dev Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-15 00:00:00.000000000 Z
11
+ date: 2019-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake