Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ext/bigdecimal/extconf.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require 'mkmf'

def have_builtin_func(name, check_expr, opt = "", &b)
Expand Down
2 changes: 1 addition & 1 deletion lib/bigdecimal/math.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require 'bigdecimal'

#
Expand Down
2 changes: 1 addition & 1 deletion lib/bigdecimal/util.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
#
#--
# bigdecimal/util extends various native classes to provide the #to_d method,
Expand Down
2 changes: 0 additions & 2 deletions sample/linear.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: false

#
# linear.rb
#
Expand Down
2 changes: 0 additions & 2 deletions sample/nlsolve.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: false

#
# nlsolve.rb
# An example for solving nonlinear algebraic equation system.
Expand Down
2 changes: 0 additions & 2 deletions sample/pi.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# frozen_string_literal: false

#
# pi.rb
#
Expand Down
2 changes: 1 addition & 1 deletion test/bigdecimal/helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "test/unit"
require "bigdecimal"
require 'rbconfig/sizeof'
Expand Down
4 changes: 2 additions & 2 deletions test/bigdecimal/test_bigdecimal.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require_relative "helper"
require 'bigdecimal/math'

Expand Down Expand Up @@ -266,7 +266,7 @@ def test_BigDecimal_with_big_decimal
def test_BigDecimal_with_tainted_string
Thread.new {
$SAFE = 1
BigDecimal('1'.taint)
BigDecimal('1'.dup.taint)
}.join
ensure
$SAFE = 0
Expand Down
2 changes: 1 addition & 1 deletion test/bigdecimal/test_bigdecimal_util.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require_relative "helper"
require 'bigdecimal/util'

Expand Down
2 changes: 1 addition & 1 deletion test/bigdecimal/test_bigmath.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require_relative "helper"
require "bigdecimal/math"

Expand Down
2 changes: 1 addition & 1 deletion test/bigdecimal/test_jruby.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require_relative 'helper'
require 'bigdecimal/math'

Expand Down
2 changes: 1 addition & 1 deletion test/bigdecimal/test_vp_operation.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require_relative 'helper'
require 'bigdecimal'

Expand Down
Loading