Skip to content

Commit

Permalink
[CS] UTF-8 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld committed Apr 24, 2013
1 parent 73e9559 commit 9860e53
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ruby_fs.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

%w{
logger
celluloid/io
Expand Down
2 changes: 2 additions & 0 deletions lib/ruby_fs/command_reply.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'ruby_fs/response'

module RubyFS
Expand Down
2 changes: 2 additions & 0 deletions lib/ruby_fs/event.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'ruby_fs/response'

module RubyFS
Expand Down
2 changes: 2 additions & 0 deletions lib/ruby_fs/lexer.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

module RubyFS
class Lexer
ContentLengthPattern = /Content-length:\s*(\d+)/i
Expand Down
2 changes: 2 additions & 0 deletions lib/ruby_fs/response.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

module RubyFS
class Response
attr_reader :headers, :content
Expand Down
2 changes: 2 additions & 0 deletions lib/ruby_fs/stream.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'json'

require 'ruby_fs/lexer'
Expand Down
2 changes: 2 additions & 0 deletions lib/ruby_fs/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

module RubyFS
VERSION = "1.1.0"
end
2 changes: 2 additions & 0 deletions spec/ruby_fs/command_reply_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'spec_helper'

module RubyFS
Expand Down
2 changes: 2 additions & 0 deletions spec/ruby_fs/event_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'spec_helper'

module RubyFS
Expand Down
2 changes: 2 additions & 0 deletions spec/ruby_fs/response_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'spec_helper'

module RubyFS
Expand Down
2 changes: 2 additions & 0 deletions spec/ruby_fs/stream_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'spec_helper'
require 'timeout'

Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

require 'ruby_fs'

Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}
Expand Down
2 changes: 2 additions & 0 deletions spec/support/mock_server.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# encoding: utf-8

MockServer = Class.new

class ServerMock
Expand Down

0 comments on commit 9860e53

Please sign in to comment.