lib/infoboxer/media_wiki.rb in infoboxer-0.3.3 vs lib/infoboxer/media_wiki.rb in infoboxer-0.4.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'mediawiktory'
require 'addressable/uri'
require_relative 'media_wiki/traits'
require_relative 'media_wiki/page'
@@ -23,10 +25,10 @@
# Default Infoboxer User-Agent header.
#
# You can set yours as an option to {Infoboxer.wiki} and its shortcuts,
# or to {#initialize}
UA = "Infoboxer/#{Infoboxer::VERSION} "\
- '(https://github.com/molybdenum-99/infoboxer; zverok.offline@gmail.com)'.freeze
+ '(https://github.com/molybdenum-99/infoboxer; zverok.offline@gmail.com)'
class << self
# User agent getter/setter.
#
# Default value is {UA}.