summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-19 13:03:06 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-19 13:03:06 +0000
commit0a907a3792e3ce8d25ffb0ff68428c64160f5e6d (patch)
tree4412543837ac82a5b154086aa3274adced4d7dcb /ext
parent79f855716d82520315eeef3949888c8fd94c8013 (diff)
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
Diffstat (limited to 'ext')
-rw-r--r--ext/date/date.gemspec1
-rw-r--r--ext/dbm/dbm.gemspec1
-rw-r--r--ext/etc/etc.gemspec1
-rw-r--r--ext/fiddle/fiddle.gemspec1
-rw-r--r--ext/gdbm/gdbm.gemspec1
-rw-r--r--ext/sdbm/sdbm.gemspec1
-rw-r--r--ext/stringio/stringio.gemspec1
-rw-r--r--ext/strscan/strscan.gemspec1
-rw-r--r--ext/zlib/zlib.gemspec1
9 files changed, 9 insertions, 0 deletions
diff --git a/ext/date/date.gemspec b/ext/date/date.gemspec
index a6bbeb6..e89d61f 100644
--- a/ext/date/date.gemspec
+++ b/ext/date/date.gemspec
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "date"
s.version = '0.0.1'
diff --git a/ext/dbm/dbm.gemspec b/ext/dbm/dbm.gemspec
index 6f6938d..de33108 100644
--- a/ext/dbm/dbm.gemspec
+++ b/ext/dbm/dbm.gemspec
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "dbm"
s.version = '0.5.1'
diff --git a/ext/etc/etc.gemspec b/ext/etc/etc.gemspec
index 8a16928..5bbaf0e 100644
--- a/ext/etc/etc.gemspec
+++ b/ext/etc/etc.gemspec
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "etc"
diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec
index b1504d3..3e54f47 100644
--- a/ext/fiddle/fiddle.gemspec
+++ b/ext/fiddle/fiddle.gemspec
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "fiddle"
spec.version = '1.0.0.beta1'
diff --git a/ext/gdbm/gdbm.gemspec b/ext/gdbm/gdbm.gemspec
index 0dacaa7..485346c 100644
--- a/ext/gdbm/gdbm.gemspec
+++ b/ext/gdbm/gdbm.gemspec
@@ -1,4 +1,5 @@
# coding: utf-8
+# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "gdbm"
diff --git a/ext/sdbm/sdbm.gemspec b/ext/sdbm/sdbm.gemspec
index 70c2386..c03695b 100644
--- a/ext/sdbm/sdbm.gemspec
+++ b/ext/sdbm/sdbm.gemspec
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "sdbm"
s.version = '0.0.1'
diff --git a/ext/stringio/stringio.gemspec b/ext/stringio/stringio.gemspec
index 5bda30e..db5c3e0 100644
--- a/ext/stringio/stringio.gemspec
+++ b/ext/stringio/stringio.gemspec
@@ -1,4 +1,5 @@
# -*- encoding: utf-8 -*-
+# frozen_string_literal: true
# stub: stringio 0.0.0 ruby lib
# stub: extconf.rb
diff --git a/ext/strscan/strscan.gemspec b/ext/strscan/strscan.gemspec
index 268550f..0f091b7 100644
--- a/ext/strscan/strscan.gemspec
+++ b/ext/strscan/strscan.gemspec
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "strscan"
s.version = '0.0.1'
diff --git a/ext/zlib/zlib.gemspec b/ext/zlib/zlib.gemspec
index ca2de4e..a073536 100644
--- a/ext/zlib/zlib.gemspec
+++ b/ext/zlib/zlib.gemspec
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
Gem::Specification.new do |s|
s.name = "zlib"
s.version = '0.0.1'