1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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:
hsbt 2017-06-19 13:03:06 +00:00
parent 79f855716d
commit 0a907a3792
14 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "date"
s.version = '0.0.1'

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "dbm"
s.version = '0.5.1'

View file

@ -1,4 +1,5 @@
# coding: utf-8
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "etc"

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "fiddle"
spec.version = '1.0.0.beta1'

View file

@ -1,4 +1,5 @@
# coding: utf-8
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "gdbm"

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "sdbm"
s.version = '0.0.1'

View file

@ -1,4 +1,5 @@
# -*- encoding: utf-8 -*-
# frozen_string_literal: true
# stub: stringio 0.0.0 ruby lib
# stub: extconf.rb

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "strscan"
s.version = '0.0.1'

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "zlib"
s.version = '0.0.1'

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "cmath"
s.version = '0.0.1'

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "csv"
s.version = '0.0.1'

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "fileutils"
s.version = '0.7.2'

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "scanf"
s.version = '0.0.1'

View file

@ -1,3 +1,4 @@
# frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'webrick/version'