bin/oddb2xml in oddb2xml-1.4.1 vs bin/oddb2xml in oddb2xml-1.4.2
- old
+ new
@@ -63,9 +63,16 @@
begin
if opts[:format] == :xml
opts[:ean14] = true # force
end
#puts opts if opts[:debug]
+ if RUBY_VERSION.to_f < 1.9
+ message = <<-MES
+Once you find some time, please upgrade your Ruby to 1.9.3 ;)
+then you will not see anymore warnings
+ MES
+ warn message
+ end
ui.run
rescue Interrupt
puts
exit
end