lib/middleware/lint.rb in tracksperanto-2.8.6 vs lib/middleware/lint.rb in tracksperanto-2.9.0
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding : utf-8 -*-
# Prevents you from exporting invalid trackers
class Tracksperanto::Middleware::Lint < Tracksperanto::Middleware::Base
class NoTrackersExportedError < RuntimeError
def message
"There were no trackers exported"
@@ -72,6 +73,6 @@
def end_export
raise NoTrackersExportedError if @trackers.zero?
super
end
-end
\ No newline at end of file
+end