elibri_onix_generator 0.4.0 → 0.4.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
  SHA1:
3
- metadata.gz: 0faed0f0c617b030c2c52130b5c4d39e4828062a
4
- data.tar.gz: c25544cee00761b8a355caa1d3eb44f5da1f3257
3
+ metadata.gz: bee8e6c2913882760406524f264aab619450082b
4
+ data.tar.gz: 11d3128aeb22a56d762a26b357d95ee819222c58
5
5
  SHA512:
6
- metadata.gz: 653e5a4f5943fc9c3630d0552deb90894d5aec4944ff6104e6a1e104b6e52029dbbdc34f63d13cd81e24db0cbc1802e022eb4c4f8a80fcc322d2009f5fa001cf
7
- data.tar.gz: 5364c33f051ed26c3a360b84f8de67c644b6be034e434e25b4f20ff73db388f054b2bc1b73e19ec8752188755c853bf892753192f2af0a9a62b1449a98a6f39d
6
+ metadata.gz: 39843eef3ea0773575da1d41f3cf4d64392a309add00200aed180566bcd9c8bb318687eb7cc3e8e312c3f692528830b40d7b08625b8cfe0a107b18d464db0534
7
+ data.tar.gz: 7f9e7e479911edc7d044a0168cc49549bf79627804414c6b08407cfae3c3b0b1aafb6f386eb23a316c574e6dbb8ba49a7167ac7e28f28fb3f1fd6e2731b6dac6
@@ -1,3 +1,3 @@
1
1
  module ElibriOnixGenerator
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -780,7 +780,8 @@ module Elibri
780
780
  #
781
781
  #
782
782
  def export_titles!(product)
783
- if product.title_parts.present? or product.original_title.present? or product.trade_title.present?
783
+ if product.title_parts.present? or (product.respond_to?(:original_title) && product.original_title.present?) or
784
+ (product.respond_to?(:trade_title) && product.trade_title.present?)
784
785
  #comment_dictionary 'Rozróżniane typy tytułów', :TitleType, :indent => 10, :kind => :onix_titles
785
786
  end
786
787
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_onix_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Urbański
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-09-18 00:00:00.000000000 Z
12
+ date: 2018-08-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  requirements: []
62
62
  rubyforge_project: elibri_onix_generator
63
- rubygems_version: 2.4.8
63
+ rubygems_version: 2.5.1
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: XML Generator used by Elibri gems