elibri_xml_versions 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c1e97b43696955470db2450ac53e6c4523a9a57e
4
+ data.tar.gz: cfb13ebf27f7439df9446ae3783f20d488fba235
5
+ SHA512:
6
+ metadata.gz: f4e681f48030ac3a4013daeb0b1b8dd2026e86e3fe6f00bd511b0551f839078458bf7532c90e0af7338782f6601298d5eb6109127a0d53f45e826d5d9aa7e19e
7
+ data.tar.gz: 27533f2db556b69dec1ee6487a215903cf1ca1f85038d5e18d7a62bfae12f30ea713a38e080166768d6b316e2f74c5aead79de2abd3cc6468bd1887e92924d2b
@@ -62,7 +62,7 @@ module Elibri
62
62
 
63
63
  def check_tree(a, b)
64
64
  if a.class != b.class
65
- raise "Different classes for diff"
65
+ raise "Different classes for diff: #{a.class} and #{b.class}. Ids: #{a.eid}, #{b.eid}"
66
66
  end
67
67
  =begin
68
68
  if a.class.is_a? NilClass
@@ -1,3 +1,3 @@
1
1
  module ElibriXmlVersions
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,108 +1,72 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: elibri_xml_versions
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.9
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.10
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - Piotr Szmielew
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-26 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2014-02-04 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :development
23
16
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: rake
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - &id002
20
+ - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "0"
38
23
  type: :development
24
+ version_requirements: *id001
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
39
27
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: elibri_onix_mocks
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
28
+ requirement: &id003 !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - *id002
54
31
  type: :development
32
+ version_requirements: *id003
33
+ - !ruby/object:Gem::Dependency
34
+ name: elibri_onix_mocks
55
35
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
36
+ requirement: &id004 !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - *id002
39
+ type: :development
40
+ version_requirements: *id004
41
+ - !ruby/object:Gem::Dependency
63
42
  name: elibri_api_client
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :runtime
71
43
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: elibri_onix_dict
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
44
+ requirement: &id005 !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - *id002
86
47
  type: :runtime
48
+ version_requirements: *id005
49
+ - !ruby/object:Gem::Dependency
50
+ name: elibri_onix_dict
87
51
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- description: ! 'Gem created for comparing eLibri xml objects. More info coming soon.
95
- Currently working and tested only on REE.
96
-
52
+ requirement: &id006 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - *id002
55
+ type: :runtime
56
+ version_requirements: *id006
57
+ description: |-
58
+ Gem created for comparing eLibri xml objects. More info coming soon. Currently working and tested only on REE.
97
59
  Basic usage: Elibri::XmlVersions.new(product_ver1, product_ver2).diff
98
-
99
- it will return hash: {:added => [], :changes => [], :deleted => []}'
100
- email:
60
+ it will return hash: {:added => [], :changes => [], :deleted => []}
61
+ email:
101
62
  - p.szmielew@ava.waw.pl
102
63
  executables: []
64
+
103
65
  extensions: []
66
+
104
67
  extra_rdoc_files: []
105
- files:
68
+
69
+ files:
106
70
  - .gitignore
107
71
  - .travis.yml
108
72
  - Gemfile
@@ -113,36 +77,30 @@ files:
113
77
  - lib/elibri_xml_versions/version.rb
114
78
  - spec/elibri_xml_versions_spec.rb
115
79
  - spec/spec_helper.rb
116
- homepage: ''
80
+ homepage: ""
117
81
  licenses: []
82
+
83
+ metadata: {}
84
+
118
85
  post_install_message:
119
86
  rdoc_options: []
120
- require_paths:
87
+
88
+ require_paths:
121
89
  - lib
122
- required_ruby_version: !ruby/object:Gem::Requirement
123
- none: false
124
- requirements:
125
- - - ! '>='
126
- - !ruby/object:Gem::Version
127
- version: '0'
128
- segments:
129
- - 0
130
- hash: -3513691374160647720
131
- required_rubygems_version: !ruby/object:Gem::Requirement
132
- none: false
133
- requirements:
134
- - - ! '>='
135
- - !ruby/object:Gem::Version
136
- version: '0'
137
- segments:
138
- - 0
139
- hash: -3513691374160647720
90
+ required_ruby_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - *id002
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - *id002
140
96
  requirements: []
97
+
141
98
  rubyforge_project: elibri_xml_versions
142
- rubygems_version: 1.8.25
99
+ rubygems_version: 2.1.11
143
100
  signing_key:
144
- specification_version: 3
101
+ specification_version: 4
145
102
  summary: Gem created for comparing eLibri xml objects.
146
- test_files:
103
+ test_files:
147
104
  - spec/elibri_xml_versions_spec.rb
148
105
  - spec/spec_helper.rb
106
+ has_rdoc: