elibri_onix_generator 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ElibriOnixGenerator
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -942,7 +942,7 @@ module Elibri
942
942
  # identyfikatorów produktu. Poza podstawowym <strong>&lt;ProductIdentifier&gt;</strong>, znajdują się także identyfikatory
943
943
  # poszczególnych dostawców. Tag <strong>&lt;IDTypeName&gt;</strong> zawiera nazwę dostawcy.
944
944
  def export_supply_details!(product)
945
- return if product.try(:skip_ProductSupply)
945
+ return if product.respond_to?(:skip_ProductSupply) && product.skip_ProductSupply
946
946
  unless product.product_availabilities.empty?
947
947
  tag(:ProductSupply) do
948
948
  product.product_availabilities.each do |pa|
metadata CHANGED
@@ -1,49 +1,41 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: elibri_onix_generator
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.9
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 8
10
- version: 0.1.8
11
6
  platform: ruby
12
- authors:
13
- - "Marcin Urba\xC5\x84ski"
7
+ authors:
8
+ - Marcin Urbański
14
9
  - Piotr Szmielew
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2013-01-10 00:00:00 +01:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
13
+ date: 2013-01-20 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
23
16
  name: builder
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
26
18
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
34
23
  type: :runtime
35
- version_requirements: *id001
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
36
31
  description: XML Generator used by Elibri gems
37
- email:
32
+ email:
38
33
  - marcin@urbanski.vdl.pl
39
34
  - p.szmielew@beinformed.pl
40
35
  executables: []
41
-
42
36
  extensions: []
43
-
44
37
  extra_rdoc_files: []
45
-
46
- files:
38
+ files:
47
39
  - .gitignore
48
40
  - Gemfile
49
41
  - README
@@ -52,39 +44,28 @@ files:
52
44
  - lib/elibri_onix_generator.rb
53
45
  - lib/elibri_onix_generator/version.rb
54
46
  - lib/xml_tags.yml
55
- has_rdoc: true
56
- homepage: ""
47
+ homepage: ''
57
48
  licenses: []
58
-
59
49
  post_install_message:
60
50
  rdoc_options: []
61
-
62
- require_paths:
51
+ require_paths:
63
52
  - lib
64
- required_ruby_version: !ruby/object:Gem::Requirement
53
+ required_ruby_version: !ruby/object:Gem::Requirement
65
54
  none: false
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- hash: 3
70
- segments:
71
- - 0
72
- version: "0"
73
- required_rubygems_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
60
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- hash: 3
79
- segments:
80
- - 0
81
- version: "0"
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
82
65
  requirements: []
83
-
84
66
  rubyforge_project: elibri_onix_generator
85
- rubygems_version: 1.5.2
67
+ rubygems_version: 1.8.24
86
68
  signing_key:
87
69
  specification_version: 3
88
70
  summary: XML Generator used by Elibri gems
89
71
  test_files: []
90
-