useragent_api.gemspec in useragent_api-0.1.2 vs useragent_api.gemspec in useragent_api-0.1.3
- old
+ new
@@ -1,5 +1,7 @@
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'useragent_api/version'
Gem::Specification.new do |spec|
spec.name = 'useragent_api'