Skip to content

Commit

Permalink
no need to fiddle with encodings anymore
Browse files Browse the repository at this point in the history
- roxml is nokogiri based, which seems to be encoding aware
  • Loading branch information
yob committed Oct 19, 2009
1 parent 173f7a2 commit 36be973
Show file tree
Hide file tree
Showing 21 changed files with 0 additions and 47 deletions.
2 changes: 0 additions & 2 deletions lib/onix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ def self.two_digit
ROXML::SILENCE_XML_NAME_WARNING = true
end

require File.join(File.dirname(__FILE__), "onix", "common")

# core files
# - ordering is important, classes need to be defined before any
# other class can use them
Expand Down
1 change: 0 additions & 1 deletion lib/onix/addressee_identifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class AddresseeIdentifier
include ROXML
include ONIX::Common

xml_accessor :addressee_id_type, :from => "AddresseeIDType", :as => Fixnum # should be a 2 digit num
xml_accessor :id_type_name, :from => "IDTypeName"
Expand Down
26 changes: 0 additions & 26 deletions lib/onix/common.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/onix/contributor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Contributor
include ROXML
include ONIX::Common

xml_name "Contributor"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/header.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Header
include ROXML
include ONIX::Common

xml_name "Header"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/imprint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Imprint
include ROXML
include ONIX::Common

xml_name "Imprint"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/market_representation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class MarketRepresentation
include ROXML
include ONIX::Common

xml_name "MarketRepresentation"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/measure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Measure
include ROXML
include ONIX::Common

xml_name "Measure"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/media_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class MediaFile
include ROXML
include ONIX::Common

xml_name "MediaFile"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/other_text.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class OtherText
include ROXML
include ONIX::Common

xml_name "OtherText"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/price.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Price
include ROXML
include ONIX::Common

xml_name "Price"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/product.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Product
include ROXML
include ONIX::Common

xml_name "Product"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/product_identifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class ProductIdentifier
include ROXML
include ONIX::Common

xml_name "ProductIdentifier"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Publisher
include ROXML
include ONIX::Common

xml_name "Publisher"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/sales_restriction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class SalesRestriction
include ROXML
include ONIX::Common

xml_name "SalesRestriction"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/sender_identifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class SenderIdentifier
include ROXML
include ONIX::Common

xml_name "SenderIdentifier"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/stock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Stock
include ROXML
include ONIX::Common

xml_name "Stock"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/subject.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Subject
include ROXML
include ONIX::Common

xml_name "Subject"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/supply_detail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class SupplyDetail
include ROXML
include ONIX::Common

xml_name "SupplyDetail"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/title.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Title
include ROXML
include ONIX::Common

xml_name "Title"

Expand Down
1 change: 0 additions & 1 deletion lib/onix/website.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module ONIX
class Website
include ROXML
include ONIX::Common

xml_name "Website"

Expand Down

0 comments on commit 36be973

Please sign in to comment.