Make string literal to frozen object on gemspec of defulte gems.
Added following gemspecs. * extensions: date, dbm, etc, fiddle, gdbm, sdbm, stringio, strscan, zlib * pure ruby libraries: cmath, csv, fileutils, scanf, webrick psych and rdoc is out of scope of this commit. I will merge after upstream was change to `frozen_string_literal: true`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
79f855716d
commit
0a907a3792
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "date"
|
s.name = "date"
|
||||||
s.version = '0.0.1'
|
s.version = '0.0.1'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "dbm"
|
s.name = "dbm"
|
||||||
s.version = '0.5.1'
|
s.version = '0.5.1'
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "etc"
|
spec.name = "etc"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "fiddle"
|
spec.name = "fiddle"
|
||||||
spec.version = '1.0.0.beta1'
|
spec.version = '1.0.0.beta1'
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "gdbm"
|
spec.name = "gdbm"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "sdbm"
|
s.name = "sdbm"
|
||||||
s.version = '0.0.1'
|
s.version = '0.0.1'
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
|
# frozen_string_literal: true
|
||||||
# stub: stringio 0.0.0 ruby lib
|
# stub: stringio 0.0.0 ruby lib
|
||||||
# stub: extconf.rb
|
# stub: extconf.rb
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "strscan"
|
s.name = "strscan"
|
||||||
s.version = '0.0.1'
|
s.version = '0.0.1'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "zlib"
|
s.name = "zlib"
|
||||||
s.version = '0.0.1'
|
s.version = '0.0.1'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "cmath"
|
s.name = "cmath"
|
||||||
s.version = '0.0.1'
|
s.version = '0.0.1'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "csv"
|
s.name = "csv"
|
||||||
s.version = '0.0.1'
|
s.version = '0.0.1'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "fileutils"
|
s.name = "fileutils"
|
||||||
s.version = '0.7.2'
|
s.version = '0.7.2'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = "scanf"
|
s.name = "scanf"
|
||||||
s.version = '0.0.1'
|
s.version = '0.0.1'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
||||||
require 'webrick/version'
|
require 'webrick/version'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user