Skip to content

Commit

Permalink
Merge pull request #559 from flori/remove-needless-encodings
Browse files Browse the repository at this point in the history
Remove needless encodings
  • Loading branch information
hsbt committed Dec 5, 2023
2 parents 3f2efd6 + 39d6c85 commit da84ab4
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 11 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
3 changes: 1 addition & 2 deletions tests/json_encoding_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# encoding: utf-8
#frozen_string_literal: false
# frozen_string_literal: false
require_relative 'test_helper'

class JSONEncodingTest < Test::Unit::TestCase
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 da84ab4

Please sign in to comment.