bin/rdf in gutenberg_rdf-1.0.0 vs bin/rdf in gutenberg_rdf-1.0.1

- old
+ new

@@ -1,7 +1,9 @@ #!/usr/bin/env ruby +warn "NOTE: the 'rdf' command is deprecated; use 'gutenberg_rdf' instead. It will be removed on or after 2020-07-01." + $LOAD_PATH << File.expand_path(File.dirname(__FILE__) + '/../lib') require "gutenberg_rdf" unless ARGV.last && File.exist?(ARGV.last) @@ -17,10 +19,10 @@ puts " Type: #{rdf.type}" puts " Title: #{rdf.title}" puts " Subtitle: #{rdf.subtitle}" puts " Authors: #{rdf.authors.join(', ')}" puts "Published: #{rdf.published}" -puts " Language: #{rdf.language}" +puts "Languages: #{rdf.languages.join(', ')}" puts " Rights: #{rdf.rights}" puts "Bookcover: #{rdf.covers.first}" puts " eBooks: \n#{rdf.ebooks.map{|b| " #{b.uri}" }.join("\n")}" puts " Subjects: \n #{rdf.subjects.join("\n ")}"