lib/scribd_fu.rb in Shadowfiend-scribd_fu-1.2 vs lib/scribd_fu.rb in Shadowfiend-scribd_fu-1.3

- old
+ new

@@ -12,11 +12,11 @@ 'application/vnd.oasis.opendocument.text', 'application/vnd.oasis.opendocument.presentation', 'application/vnd.oasis.opendocument.spreadsheet', 'application/vnd.sun.xml.writer', 'application/vnd.sun.xml.impress', - 'application/vnd.sun.xml.calc', + 'application/vnd.sun.xml.calc' # OOXML, AKA `the MIME types from hell'. Seriously, these are long enough to # start their own dictionary... 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', @@ -85,10 +85,10 @@ def access_level if self.respond_to?(:is_public) && self.is_public != nil scribd_access = self.is_public ? 'public' : 'private' else - scribd_access = scribd_config['access'] + scribd_access = scribd_config[:scribd]['access'] end scribd_access end end