Support frozen string literals
M bin/thingfish +1 -1
@@ 1,5 1,5 @@ 
 #!/usr/bin/env ruby
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'strelka'
 require 'thingfish/handler'

          
M etc/mongrel2-config.rb +1 -1
@@ 1,6 1,6 @@ 
 # -*- ruby -*-
 # vim: set nosta noet ts=4 sw=4:
-#encoding: utf-8
+# frozen_string_literal: true
 
 #
 # This script generates a Mongrel2 configuration database suitable for

          
M lib/strelka/app/metadata.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'strelka'
 require 'strelka/plugins'

          
M lib/strelka/apps.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'strelka/discovery'
 

          
M lib/strelka/httprequest/metadata.rb +1 -1
@@ 1,6 1,6 @@ 
 # -*- ruby -*-
 # vim: set nosta noet ts=4 sw=4:
-# encoding: utf-8
+# frozen_string_literal: true
 
 require 'strelka/constants'
 require 'strelka/httprequest' unless defined?( Strelka::HTTPRequest )

          
M lib/thingfish/behaviors.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'rspec'
 

          
M lib/thingfish/datastore.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'securerandom'
 require 'pluggability'

          
M lib/thingfish/datastore/memory.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'thingfish' unless defined?( Thingfish )
 require 'thingfish/datastore' unless defined?( Thingfish::Datastore )

          
M lib/thingfish/handler.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'strelka'
 require 'strelka/app'

          
M lib/thingfish/metastore.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'pluggability'
 require 'strelka'

          
M lib/thingfish/metastore/memory.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'thingfish' unless defined?( Thingfish )
 require 'thingfish/metastore' unless defined?( Thingfish::Metastore )

          
M lib/thingfish/mixins.rb +1 -1
@@ 1,6 1,6 @@ 
 # -*- ruby -*-
 # vim: set nosta noet ts=4 sw=4:
-# encoding: utf-8
+# frozen_string_literal: true
 
 require 'securerandom'
 

          
M lib/thingfish/processor.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'pluggability'
 require 'strelka/httprequest/acceptparams'

          
M lib/thingfish/processor/sha256.rb +2 -2
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 
 require 'digest/sha2'
 

          
@@ 37,7 37,7 @@ class Thingfish::Processor::SHA256 < Thi
 	### Given an +io+, return a sha256 checksum of it's contents.
 	def checksum( io )
 		digest = Digest::SHA256.new
-		buf = ''
+		buf = String.new
 
 		while io.read( CHUNK_SIZE, buf )
 			digest.update( buf )

          
M lib/thingfish/spechelpers.rb +1 -1
@@ 1,5 1,5 @@ 
 # -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
 # vim: set nosta noet ts=4 sw=4 ft=ruby:
 
 require 'time'

          
M thingfish.gemspec +1 -1
@@ 1,4 1,4 @@ 
-# -*- encoding: utf-8 -*-
+# -*- frozen_string_literal: true -*-
 # stub: thingfish 0.8.0.pre.20200304144036 ruby lib
 
 Gem::Specification.new do |s|