diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:07:31 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:07:31 +0000 |
commit | 54c23ed4007904a361b45a77363f4b9ca2f3d7f5 (patch) | |
tree | 584f90b868188077c435bf144e15e66540a73acd /lib/rubygems/package | |
parent | f0404ac28bb51c0d80f6b3491da9918693e146be (diff) | |
download | ruby-54c23ed4007904a361b45a77363f4b9ca2f3d7f5.tar.gz |
Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/package')
-rw-r--r-- | lib/rubygems/package/digest_io.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/file_source.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/io_source.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/old.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/source.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/tar_header.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/tar_reader.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/tar_reader/entry.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/tar_test_case.rb | 1 | ||||
-rw-r--r-- | lib/rubygems/package/tar_writer.rb | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/lib/rubygems/package/digest_io.rb b/lib/rubygems/package/digest_io.rb index f8bde0f557..47f76ec10d 100644 --- a/lib/rubygems/package/digest_io.rb +++ b/lib/rubygems/package/digest_io.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false ## # IO wrapper that creates digests of contents written to the IO it wraps. diff --git a/lib/rubygems/package/file_source.rb b/lib/rubygems/package/file_source.rb index 85316f62e7..4c2a7b9a4e 100644 --- a/lib/rubygems/package/file_source.rb +++ b/lib/rubygems/package/file_source.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false ## # The primary source of gems is a file on disk, including all usages # internal to rubygems. diff --git a/lib/rubygems/package/io_source.rb b/lib/rubygems/package/io_source.rb index f89593dd2d..16a6e4be8b 100644 --- a/lib/rubygems/package/io_source.rb +++ b/lib/rubygems/package/io_source.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false ## # Supports reading and writing gems from/to a generic IO object. This is # useful for other applications built on top of rubygems, such as diff --git a/lib/rubygems/package/old.rb b/lib/rubygems/package/old.rb index bcf60a00c9..1f1f33b856 100644 --- a/lib/rubygems/package/old.rb +++ b/lib/rubygems/package/old.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. diff --git a/lib/rubygems/package/source.rb b/lib/rubygems/package/source.rb index 1f18d479da..3dcce02a67 100644 --- a/lib/rubygems/package/source.rb +++ b/lib/rubygems/package/source.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false class Gem::Package::Source # :nodoc: end diff --git a/lib/rubygems/package/tar_header.rb b/lib/rubygems/package/tar_header.rb index f9ab13aca7..71529ee978 100644 --- a/lib/rubygems/package/tar_header.rb +++ b/lib/rubygems/package/tar_header.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false #-- # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. diff --git a/lib/rubygems/package/tar_reader.rb b/lib/rubygems/package/tar_reader.rb index e257fdd846..a1ea81cac4 100644 --- a/lib/rubygems/package/tar_reader.rb +++ b/lib/rubygems/package/tar_reader.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false #-- # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. diff --git a/lib/rubygems/package/tar_reader/entry.rb b/lib/rubygems/package/tar_reader/entry.rb index 1d917a81ac..59d167ee8e 100644 --- a/lib/rubygems/package/tar_reader/entry.rb +++ b/lib/rubygems/package/tar_reader/entry.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false #++ # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. diff --git a/lib/rubygems/package/tar_test_case.rb b/lib/rubygems/package/tar_test_case.rb index b2d6f4ea77..3e494e5594 100644 --- a/lib/rubygems/package/tar_test_case.rb +++ b/lib/rubygems/package/tar_test_case.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: false require 'rubygems/test_case' require 'rubygems/package' diff --git a/lib/rubygems/package/tar_writer.rb b/lib/rubygems/package/tar_writer.rb index fff02e9235..6f1aab47a1 100644 --- a/lib/rubygems/package/tar_writer.rb +++ b/lib/rubygems/package/tar_writer.rb @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# frozen_string_literal: false #-- # Copyright (C) 2004 Mauricio Julio Fernández Pradier # See LICENSE.txt for additional licensing information. |