lib/gepub.rb in gepub-0.6.9.2 vs lib/gepub.rb in gepub-0.7.0beta1

- old
+ new

@@ -1,38 +1,22 @@ -if RUBY_VERSION < '1.9' - # hash.key - class Hash - def key(x) - index(x) - end - end - class String - def force_to_bin - self - end - end -else - class String - def force_to_bin - force_encoding('us-ascii') - end - end -end require 'gepub/version' +require 'gepub/dsl_util' require 'gepub/xml_util' require 'gepub/meta' require 'gepub/datemeta' require 'gepub/meta_array' require 'gepub/metadata' require 'gepub/manifest' require 'gepub/spine' require 'gepub/bindings' require 'gepub/package' +require 'gepub/mime' require 'gepub/item' require 'gepub/book' require 'gepub/builder_mixin' require 'gepub/resource_builder' require 'gepub/builder' +