Skip to content

Commit

Permalink
The modern Ruby uses utf-8 encodings by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 5, 2023
1 parent 3f2efd6 commit 11b3121
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions json-java.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

spec = Gem::Specification.new do |s|
s.name = "json"
s.version = File.read("VERSION").chomp
Expand Down
2 changes: 0 additions & 2 deletions json.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = "json"
s.version = File.read(File.expand_path('../VERSION', __FILE__)).chomp
Expand Down
2 changes: 0 additions & 2 deletions json_pure.gemspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = "json_pure".freeze
s.version = File.read("VERSION").chomp
Expand Down
1 change: 0 additions & 1 deletion tests/json_encoding_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
#frozen_string_literal: false
require_relative 'test_helper'

Expand Down
1 change: 0 additions & 1 deletion tests/json_generator_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
# encoding: utf-8
# frozen_string_literal: false

require_relative 'test_helper'
Expand Down
1 change: 0 additions & 1 deletion tests/ractor_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# encoding: utf-8
# frozen_string_literal: false

require_relative 'test_helper'
Expand Down
1 change: 0 additions & 1 deletion tools/server.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env ruby
# encoding: utf-8

require 'webrick'
include WEBrick
Expand Down

0 comments on commit 11b3121

Please sign in to comment.