elibri_onix 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,7 +75,7 @@ module Elibri
75
75
  #użytkownikowi w sklepie jako nazwa wydawnictwa.
76
76
  attr_reader :imprint_name
77
77
 
78
- #Status produktu - jedna z wartości: announced, :preorder, :published, :out_of_print
78
+ #Status produktu - jedna z wartości: announced, :preorder, :published, :out_of_print, :deleted
79
79
  attr_reader :current_state
80
80
 
81
81
  #Wiek czytelnika - od
@@ -453,6 +453,8 @@ module Elibri
453
453
  @current_state = :announced
454
454
  elsif @notification_type == "02"
455
455
  @current_state = :preorder
456
+ elsif @notification_type == "05"
457
+ @current_state = :deleted
456
458
  else
457
459
  if @publishing_status == "04"
458
460
  @current_state = :published
@@ -2,7 +2,7 @@ module Elibri
2
2
  module ONIX
3
3
  z = $VERBOSE
4
4
  $VERBOSE = nil
5
- VERSION = "0.2.7"
5
+ VERSION = "0.2.8"
6
6
  Version = VERSION
7
7
  $VERBOSE = z
8
8
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_onix
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
4
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 7
10
- version: 0.2.7
5
+ version: 0.2.8
11
6
  platform: ruby
12
7
  authors:
13
8
  - Marcin Urbanski
@@ -16,8 +11,7 @@ autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
13
 
19
- date: 2013-01-24 00:00:00 +01:00
20
- default_executable:
14
+ date: 2013-02-27 00:00:00 Z
21
15
  dependencies:
22
16
  - !ruby/object:Gem::Dependency
23
17
  name: activesupport
@@ -27,11 +21,6 @@ dependencies:
27
21
  requirements:
28
22
  - - ">="
29
23
  - !ruby/object:Gem::Version
30
- hash: 9
31
- segments:
32
- - 2
33
- - 3
34
- - 5
35
24
  version: 2.3.5
36
25
  type: :runtime
37
26
  version_requirements: *id001
@@ -43,9 +32,6 @@ dependencies:
43
32
  requirements:
44
33
  - - ">="
45
34
  - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
35
  version: "0"
50
36
  type: :runtime
51
37
  version_requirements: *id002
@@ -57,9 +43,6 @@ dependencies:
57
43
  requirements:
58
44
  - - ">="
59
45
  - !ruby/object:Gem::Version
60
- hash: 3
61
- segments:
62
- - 0
63
46
  version: "0"
64
47
  type: :runtime
65
48
  version_requirements: *id003
@@ -71,11 +54,6 @@ dependencies:
71
54
  requirements:
72
55
  - - ">="
73
56
  - !ruby/object:Gem::Version
74
- hash: 21
75
- segments:
76
- - 0
77
- - 0
78
- - 5
79
57
  version: 0.0.5
80
58
  type: :runtime
81
59
  version_requirements: *id004
@@ -87,9 +65,6 @@ dependencies:
87
65
  requirements:
88
66
  - - ">="
89
67
  - !ruby/object:Gem::Version
90
- hash: 3
91
- segments:
92
- - 0
93
68
  version: "0"
94
69
  type: :development
95
70
  version_requirements: *id005
@@ -101,9 +76,6 @@ dependencies:
101
76
  requirements:
102
77
  - - ">="
103
78
  - !ruby/object:Gem::Version
104
- hash: 3
105
- segments:
106
- - 0
107
79
  version: "0"
108
80
  type: :development
109
81
  version_requirements: *id006
@@ -115,9 +87,6 @@ dependencies:
115
87
  requirements:
116
88
  - - ">="
117
89
  - !ruby/object:Gem::Version
118
- hash: 3
119
- segments:
120
- - 0
121
90
  version: "0"
122
91
  type: :development
123
92
  version_requirements: *id007
@@ -129,11 +98,6 @@ dependencies:
129
98
  requirements:
130
99
  - - ">="
131
100
  - !ruby/object:Gem::Version
132
- hash: 23
133
- segments:
134
- - 1
135
- - 0
136
- - 0
137
101
  version: 1.0.0
138
102
  type: :development
139
103
  version_requirements: *id008
@@ -145,9 +109,6 @@ dependencies:
145
109
  requirements:
146
110
  - - ">="
147
111
  - !ruby/object:Gem::Version
148
- hash: 3
149
- segments:
150
- - 0
151
112
  version: "0"
152
113
  type: :development
153
114
  version_requirements: *id009
@@ -159,9 +120,6 @@ dependencies:
159
120
  requirements:
160
121
  - - ">="
161
122
  - !ruby/object:Gem::Version
162
- hash: 3
163
- segments:
164
- - 0
165
123
  version: "0"
166
124
  type: :development
167
125
  version_requirements: *id010
@@ -276,7 +234,6 @@ files:
276
234
  - test/fixtures/onix_titles_example.xml
277
235
  - test/fixtures/onix_unlimited_book_sample_example.xml
278
236
  - test/helper.rb
279
- has_rdoc: true
280
237
  homepage: http://github.com/elibri/elibri_onix
281
238
  licenses:
282
239
  - MIT
@@ -290,23 +247,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
290
247
  requirements:
291
248
  - - ">="
292
249
  - !ruby/object:Gem::Version
293
- hash: 3
294
- segments:
295
- - 0
296
250
  version: "0"
297
251
  required_rubygems_version: !ruby/object:Gem::Requirement
298
252
  none: false
299
253
  requirements:
300
254
  - - ">="
301
255
  - !ruby/object:Gem::Version
302
- hash: 3
303
- segments:
304
- - 0
305
256
  version: "0"
306
257
  requirements: []
307
258
 
308
259
  rubyforge_project:
309
- rubygems_version: 1.5.2
260
+ rubygems_version: 1.8.23
310
261
  signing_key:
311
262
  specification_version: 3
312
263
  summary: EDItEUR ONIX format subset implementation used in Elibri publication system
@@ -365,3 +316,4 @@ test_files:
365
316
  - test/fixtures/onix_titles_example.xml
366
317
  - test/fixtures/onix_unlimited_book_sample_example.xml
367
318
  - test/helper.rb
319
+ has_rdoc: