elibri_onix_mocks 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module ElibriOnixMocks
2
- VERSION = "0.1.2"
3
- end
2
+ VERSION = "0.1.3"
3
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_onix_mocks
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Piotr Szmielew
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-08 00:00:00 +02:00
19
- default_executable:
18
+ date: 2012-05-10 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: rspec
@@ -47,7 +46,7 @@ dependencies:
47
46
  type: :development
48
47
  version_requirements: *id002
49
48
  - !ruby/object:Gem::Dependency
50
- name: elibri_onix_dict
49
+ name: elibri_onix_generator
51
50
  prerelease: false
52
51
  requirement: &id003 !ruby/object:Gem::Requirement
53
52
  none: false
@@ -61,7 +60,7 @@ dependencies:
61
60
  type: :runtime
62
61
  version_requirements: *id003
63
62
  - !ruby/object:Gem::Dependency
64
- name: elibri_api_client
63
+ name: elibri_onix_dict
65
64
  prerelease: false
66
65
  requirement: &id004 !ruby/object:Gem::Requirement
67
66
  none: false
@@ -75,7 +74,7 @@ dependencies:
75
74
  type: :runtime
76
75
  version_requirements: *id004
77
76
  - !ruby/object:Gem::Dependency
78
- name: mocha
77
+ name: elibri_api_client
79
78
  prerelease: false
80
79
  requirement: &id005 !ruby/object:Gem::Requirement
81
80
  none: false
@@ -89,7 +88,7 @@ dependencies:
89
88
  type: :runtime
90
89
  version_requirements: *id005
91
90
  - !ruby/object:Gem::Dependency
92
- name: builder
91
+ name: mocha
93
92
  prerelease: false
94
93
  requirement: &id006 !ruby/object:Gem::Requirement
95
94
  none: false
@@ -103,7 +102,7 @@ dependencies:
103
102
  type: :runtime
104
103
  version_requirements: *id006
105
104
  - !ruby/object:Gem::Dependency
106
- name: activesupport
105
+ name: builder
107
106
  prerelease: false
108
107
  requirement: &id007 !ruby/object:Gem::Requirement
109
108
  none: false
@@ -116,6 +115,20 @@ dependencies:
116
115
  version: "0"
117
116
  type: :runtime
118
117
  version_requirements: *id007
118
+ - !ruby/object:Gem::Dependency
119
+ name: activesupport
120
+ prerelease: false
121
+ requirement: &id008 !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ hash: 3
127
+ segments:
128
+ - 0
129
+ version: "0"
130
+ type: :runtime
131
+ version_requirements: *id008
119
132
  description: "Usage: Elibri::XmlGenerator.basic_product etc"
120
133
  email:
121
134
  - p.szmielew@ava.waw.pl
@@ -134,7 +147,6 @@ files:
134
147
  - elibri_onix_mocks.gemspec
135
148
  - lib/elibri_onix_mocks.rb
136
149
  - lib/elibri_onix_mocks/generators/xml_generator.rb
137
- - lib/elibri_onix_mocks/generators/xml_tags.yml
138
150
  - lib/elibri_onix_mocks/mocks/mock_method_missing.rb
139
151
  - lib/elibri_onix_mocks/mocks/xml_mocks.rb
140
152
  - lib/elibri_onix_mocks/onix_helpers.rb
@@ -142,7 +154,6 @@ files:
142
154
  - lib/elibri_onix_mocks/xml_variant.rb
143
155
  - spec/elibri_onix_mocks_spec.rb
144
156
  - spec/spec_helper.rb
145
- has_rdoc: true
146
157
  homepage: ""
147
158
  licenses: []
148
159
 
@@ -172,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
183
  requirements: []
173
184
 
174
185
  rubyforge_project: elibri_onix_mocks
175
- rubygems_version: 1.5.2
186
+ rubygems_version: 1.8.21
176
187
  signing_key:
177
188
  specification_version: 3
178
189
  summary: Gem that allows you to mock eLibri style xmls
@@ -1,388 +0,0 @@
1
- ---
2
- :WorkRelationCode: :x454
3
- :TaxType: :x470
4
- :ContributorDescription: :b048
5
- :Affiliation: :b046
6
- :PriceQualifier: :j261
7
- :DiscountType: :x467
8
- :ProductClassificationCode: :b275
9
- :CountryCode: :b251
10
- :AudienceRange: :audiencerange
11
- :DiscountPercent: :j267
12
- :SenderName: :x298
13
- :ReligiousText: :religioustext
14
- :ProductRelationCode: :x455
15
- :DiscountCodeTypeName: :j378
16
- :BiographicalNote: :b044
17
- :NewSupplier: :newsupplier
18
- :ThesisPresentedTo: :b369
19
- :SubjectSchemeIdentifier: :b067
20
- :ResourceVersionFeatureType: :x442
21
- :ExtentType: :b218
22
- :ComponentNumber: :b289
23
- :MarketDate: :marketdate
24
- :UnpricedItemType: :j192
25
- :SupplyDetail: :supplydetail
26
- :ScriptCode: :x420
27
- :ContentDate: :contentdate
28
- :Discount: :discount
29
- :PriceCondition: :pricecondition
30
- :ImprintIdentifier: :imprintidentifier
31
- :StudyBibleType: :b389
32
- :PublishingDateRole: :x448
33
- :PrizeCode: :g129
34
- :CopyrightOwnerIdentifier: :copyrightowneridentifier
35
- :AncillaryContentDescription: :x424
36
- :OnOrder: :j351
37
- :EpubUsageType: :x318
38
- :RegionsExcluded: :x452
39
- :ProductFormFeatureDescription: :b336
40
- :Bible: :bible
41
- :MinimumOrderQuantity: :j263
42
- :EmailAddress: :j272
43
- :TextContent: :textcontent
44
- :ResourceFeature: :resourcefeature
45
- :CollectionIdentifier: :collectionidentifier
46
- :ListName: :x432
47
- :TitlesBeforeNames: :b038
48
- :SupplierIdentifier: :supplieridentifier
49
- :SalesOutlet: :salesoutlet
50
- :FreeQuantity: :j265
51
- :ConferenceRole: :b051
52
- :YearOfAnnual: :b020
53
- :TelephoneNumber: :j270
54
- :PriceStatus: :j266
55
- :ContributorPlace: :contributorplace
56
- :AgentIdentifier: :agentidentifier
57
- :RecordReference: :a001
58
- :ProductClassificationType: :b274
59
- :PersonName: :b036
60
- :CountryOfManufacture: :x316
61
- :AudienceRangePrecision: :b075
62
- :SentDateTime: :x307
63
- :ReligiousTextFeature: :religioustextfeature
64
- :ProductSupply: :productsupply
65
- :NoCollection: :x411
66
- :DiscountCoded: :discountcoded
67
- :BookClubAdoption: :k169
68
- :ThesisType: :b368
69
- :SubjectSchemeName: :b171
70
- :ROWSalesRightsType: :x456
71
- :MarketDateRole: :j408
72
- :ExtentUnit: :b220
73
- :ComponentTypeName: :b288
74
- :Website: :website
75
- :SupportingResource: :supportingresource
76
- :Sender: :sender
77
- :PriceConditionQuantity: :priceconditionquantity
78
- :ImprintIDType: :x445
79
- :ContentDateRole: :x429
80
- :Subject: :subject
81
- :PublishingDetail: :publishingdetail
82
- :OnOrderDetail: :onorderdetail
83
- :EpubUsageUnit: :x321
84
- :PrizeCountry: :g128
85
- :CopyrightStatement: :copyrightstatement
86
- :Audience: :audience
87
- :Reissue: :reissue
88
- :ProductFormFeatureType: :b334
89
- :NameAsSubject: :nameassubject
90
- :BibleContents: :b352
91
- :TextItem: :textitem
92
- :ResourceFeatureType: :x438
93
- :LocationIdentifier: :locationidentifier
94
- :CollectionIDType: :x344
95
- :TitleText: :b203
96
- :SupplierIDType: :j345
97
- :SalesOutletIdentifier: :salesoutletidentifier
98
- :Product: :product
99
- :FromLanguage: :x412
100
- :ConferenceSponsor: :conferencesponsor
101
- :DateFormat: :j260
102
- :Territory: :territory
103
- :NumberOfCopies: :x323
104
- :PriceType: :x462
105
- :ContributorPlaceRelator: :x418
106
- :AgentIDType: :j400
107
- :RecordSourceIdentifier: :recordsourceidentifier
108
- :ProductComposition: :x314
109
- :Measurement: :c094
110
- :CountryOfPublication: :b083
111
- :AudienceRangeQualifier: :b074
112
- :PersonNameInverted: :b037
113
- :SequenceNumber: :b034
114
- :ReligiousTextFeatureCode: :b359
115
- :ProfessionalAffiliation: :professionalaffiliation
116
- :LanguageCode: :b252
117
- :NoContributor: :n339
118
- :EpubTechnicalProtection: :x317
119
- :CBO: :j375
120
- :ThesisYear: :b370
121
- :SubjectSchemeVersion: :b068
122
- :ReturnsCode: :j269
123
- :ExtentValue: :b219
124
- :Conference: :conference
125
- :MarketPublishingDetail: :marketpublishingdetail
126
- :WebsiteDescription: :b294
127
- :Tax: :tax
128
- :PriceConditionQuantityType: :x464
129
- :ImprintName: :b079
130
- :ContentDetail: :contentdetail
131
- :PublishingRole: :b291
132
- :CopyrightYear: :b087
133
- :AudienceCode: :b073
134
- :OrderTime: :j144
135
- :ExpectedDate: :j302
136
- :PrizeJury: :g343
137
- :ReissueDate: :j365
138
- :ProductFormFeatureValue: :b335
139
- :NameIdentifier: :nameidentifier
140
- :BiblePurpose: :b354
141
- :TextItemIDType: :b285
142
- :ResourceForm: :x441
143
- :CollectionType: :x329
144
- :LocationIDType: :j377
145
- :TitleType: :b202
146
- :SupplierName: :j137
147
- :SalesOutletIDType: :b393
148
- :DefaultCurrencyCode: :m186
149
- :PriceAmount: :j151
150
- :IDTypeName: :b233
151
- :ConferenceSponsorIDType: :b391
152
- :PublisherIdentifier: :publisheridentifier
153
- :ContributorRole: :b035
154
- :AgentName: :j401
155
- :NumberOfIllustrations: :b125
156
- :PriceTypeDescription: :j262
157
- :RecordSourceIDType: :x311
158
- :ProductContentType: :b385
159
- :MeasureType: :x315
160
- :CurrencyCode: :j152
161
- :AudienceRangeValue: :b076
162
- :PositionOnList: :x433
163
- :SourceName: :x330
164
- :ReligiousTextFeatureDescription: :b360
165
- :ProfessionalPosition: :b045
166
- :CitationNote: :x434
167
- :LanguageRole: :b253
168
- :NoEdition: :n386
169
- :EditionNumber: :b057
170
- :TitleDetail: :titledetail
171
- :Subtitle: :b029
172
- :ReturnsCodeType: :j268
173
- :ExtentValueRoman: :x421
174
- :ConferenceAcronym: :b341
175
- :MarketPublishingStatus: :j407
176
- :WebsiteLink: :b295
177
- :TaxAmount: :x474
178
- :Addressee: :addressee
179
- :PriceConditionType: :x463
180
- :InitialPrintRun: :k167
181
- :ContentItem: :contentitem
182
- :PublishingStatus: :b394
183
- :PrizeName: :g126
184
- :CorporateName: :b047
185
- :AudienceCodeType: :b204
186
- :PackQuantity: :j145
187
- :Extent: :extent
188
- :ReissueDescription: :j366
189
- :ProductIDType: :b221
190
- :NameIDType: :x415
191
- :BibleReferenceLocation: :b356
192
- :TextItemIdentifier: :textitemidentifier
193
- :ResourceLink: :x435
194
- :ComparisonProductPrice: :comparisonproductprice
195
- :LocationName: :j349
196
- :TitleWithoutPrefix: :b031
197
- :SupplierOwnCoding: :supplierowncoding
198
- :SalesOutletName: :b382
199
- :DefaultLanguageOfText: :m184
200
- :PriceCode: :x468
201
- :IDValue: :b244
202
- :ConferenceSponsorIdentifier: :conferencesponsoridentifier
203
- :StockQuantityCode: :j297
204
- :PublisherIDType: :x447
205
- :PrimaryContentType: :x416
206
- :ContributorStatement: :b049
207
- :AgentRole: :j402
208
- :NumberOfItemsOfThisForm: :x322
209
- :EndDate: :b325
210
- :RecordSourceName: :a197
211
- :ProductForm: :b012
212
- :PositionOnProduct: :x313
213
- :MeasureUnitCode: :c095
214
- :CurrencyZone: :x475
215
- :Barcode: :barcode
216
- :SourceTitle: :x428
217
- :ReligiousTextFeatureType: :b358
218
- :PromotionCampaign: :k165
219
- :NotificationType: :a002
220
- :EditionStatement: :b058
221
- :CitedContent: :citedcontent
222
- :LastPageNumber: :b287
223
- :TitleElement: :titleelement
224
- :SuffixToKey: :b248
225
- :ReturnsCodeTypeName: :x460
226
- :MarketPublishingStatusNote: :x406
227
- :FaxNumber: :j271
228
- :ConferenceDate: :b054
229
- :WebsiteRole: :b367
230
- :TaxRateCode: :x471
231
- :PriceDate: :pricedate
232
- :KeyNames: :b040
233
- :Contributor: :contributor
234
- :AddresseeIdentifier: :addresseeidentifier
235
- :PublishingStatusNote: :b395
236
- :PrizeYear: :g127
237
- :PageRun: :pagerun
238
- :CorporateNameInverted: :x443
239
- :AudienceCodeTypeName: :b205
240
- :RelatedMaterial: :relatedmaterial
241
- :ProductIdentifier: :productidentifier
242
- :NamesAfterKey: :b041
243
- :DiscountAmount: :x469
244
- :BibleTextFeature: :b357
245
- :TextItemType: :b290
246
- :ResourceMode: :x437
247
- :MainSubject: :x425
248
- :Complexity: :complexity
249
- :ToLanguage: :x413
250
- :SupplierRole: :j292
251
- :SalesRestriction: :salesrestriction
252
- :PriceCoded: :pricecoded
253
- :Illustrated: :x422
254
- :ConferenceTheme: :b342
255
- :DefaultPriceType: :x310
256
- :Text: :d104
257
- :StockQuantityCodeType: :j293
258
- :PublisherName: :b081
259
- :NumberOfPages: :b061
260
- :EpubUsageConstraint: :epubusageconstraint
261
- :PrimaryPart: :x457
262
- :CopiesSold: :k168
263
- :AlternativeName: :alternativename
264
- :RecordSourceType: :a194
265
- :ProductFormDescription: :b014
266
- :MessageNote: :m183
267
- :BarcodeType: :x312
268
- :PrefixToKey: :b247
269
- :SourceType: :x431
270
- :ReligiousTextIdentifier: :b376
271
- :PromotionContact: :k166
272
- :LatestReprintNumber: :x446
273
- :EditionType: :x419
274
- :CitedContentType: :x430
275
- :TitleElementLevel: :x409
276
- :Supplier: :supplier
277
- :ReturnsConditions: :returnsconditions
278
- :FeatureNote: :x440
279
- :ConferenceName: :b052
280
- :Measure: :measure
281
- :WorkIdentifier: :workidentifier
282
- :TaxRatePercent: :x472
283
- :PriceDateRole: :x476
284
- :Language: :language
285
- :ContributorDate: :contributordate
286
- :AddresseeIDType: :m380
287
- :Header: :header
288
- :Quantity: :x320
289
- :ProductAvailability: :j396
290
- :CountriesIncluded: :x449
291
- :AudienceCodeValue: :b206
292
- :PartNumber: :x410
293
- :SenderIDType: :m379
294
- :RelatedProduct: :relatedproduct
295
- :ProductPackaging: :b225
296
- :NamesBeforeKey: :b039
297
- :DiscountCode: :j364
298
- :BibleTextOrganization: :b355
299
- :TextSourceCorporate: :b374
300
- :SubjectCode: :b069
301
- :ResourceVersion: :resourceversion
302
- :ComplexityCode: :b078
303
- :MapScale: :b063
304
- :TradeCategory: :b384
305
- :SupplyDate: :supplydate
306
- :SalesRestrictionNote: :x453
307
- :PriceCodeType: :x465
308
- :IllustrationsNote: :b062
309
- :ContactName: :x299
310
- :DeletionText: :a199
311
- :StockQuantityCodeTypeName: :j296
312
- :PublisherRepresentative: :publisherrepresentative
313
- :AncillaryContent: :ancillarycontent
314
- :ONIXMessage: :ONIXmessage
315
- :EpubUsageLimit: :epubusagelimit
316
- :PrintedOnProduct: :x301
317
- :CopyrightOwner: :copyrightowner
318
- :RegionCode: :b398
319
- :ProductFormDetail: :b333
320
- :Date: :b306
321
- :MessageNumber: :m180
322
- :BatchBonus: :batchbonus
323
- :Price: :price
324
- :StartDate: :b324
325
- :ReprintDetail: :k309
326
- :Publisher: :publisher
327
- :LettersAfterNames: :b042
328
- :EditionVersionNumber: :b217
329
- :CityOfPublication: :b209
330
- :TitlePrefix: :b030
331
- :SupplierCodeType: :x458
332
- :SalesRights: :salesrights
333
- :FeatureValue: :x439
334
- :ConferenceNumber: :b053
335
- :Number: :b257
336
- :WorkIDType: :b201
337
- :TaxableAmount: :x473
338
- :PricePer: :j239
339
- :ContributorDateRole: :x417
340
- :AddresseeName: :x300
341
- :QuantityUnit: :x466
342
- :ProductClassification: :productclassification
343
- :CountriesExcluded: :x451
344
- :AudienceDescription: :b207
345
- :Percent: :b337
346
- :SenderIdentifier: :senderidentifier
347
- :RelatedWork: :relatedwork
348
- :ProductPart: :productpart
349
- :NameType: :x414
350
- :DiscountCodeType: :j363
351
- :BibleVersion: :b353
352
- :TextType: :x426
353
- :SubjectHeadingText: :b070
354
- :ResourceVersionFeature: :resourceversionfeature
355
- :ComplexitySchemeIdentifier: :b077
356
- :Market: :market
357
- :UnnamedPersons: :b249
358
- :SupplyDateRole: :x461
359
- :SalesRestrictionType: :b381
360
- :DescriptiveDetail: :descriptivedetail
361
- :PriceCodeTypeName: :x477
362
- :Collection: :collection
363
- :Imprint: :imprint
364
- :ContentAudience: :x427
365
- :StockQuantityCoded: :stockquantitycoded
366
- :PublishingDate: :publishingdate
367
- :Prize: :prize
368
- :CopyrightOwnerIDType: :b392
369
- :AncillaryContentType: :x423
370
- :OnHand: :j350
371
- :EpubUsageStatus: :x319
372
- :RegionsIncluded: :x450
373
- :ProductFormFeature: :productformfeature
374
- :MessageRepeat: :m181
375
- :BatchQuantity: :j264
376
- :TextAuthor: :d107
377
- :Stock: :stock
378
- :ResourceContentType: :x436
379
- :CollateralDetail: :collateraldetail
380
- :LevelSequenceNumber: :b284
381
- :TitlesAfterNames: :b043
382
- :SupplierCodeValue: :x459
383
- :SalesRightsType: :b089
384
- :FirstPageNumber: :b286
385
- :ConferencePlace: :b055
386
-
387
- # TAGI NIESTANDARDOWE
388
- :CoverType: :cover_type