diff options
author | Matt Brictson <mattbrictson@users.noreply.github.com> | 2017-04-23 15:08:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-23 15:08:54 -0700 |
commit | e003463c1cb2a31f08bf62fe239249cc768f576a (patch) | |
tree | fa6d9ca57ace523a118e14cfd8fdc840dbac3cff | |
parent | 95906fe3a74e7cc31ddcdb1ea4facfa5b8b99209 (diff) | |
parent | 09fb07318cfe90f46f68a3c56585cc27af740b4b (diff) | |
download | plist-e003463c1cb2a31f08bf62fe239249cc768f576a.tar.gz |
Merge pull request #39 from patsplat/cleanup
Miscellaneous code cleanup
-rw-r--r-- | lib/plist.rb | 4 | ||||
-rw-r--r-- | lib/plist/generator.rb | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | lib/plist/parser.rb | 4 | ||||
-rw-r--r-- | lib/plist/version.rb | 2 | ||||
-rw-r--r-- | plist.gemspec | 2 | ||||
-rw-r--r-- | test/test_data_elements.rb | 2 | ||||
-rw-r--r-- | test/test_generator.rb | 2 | ||||
-rw-r--r-- | test/test_generator_basic_types.rb | 2 | ||||
-rw-r--r-- | test/test_generator_collections.rb | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | test/test_parser.rb | 2 |
10 files changed, 10 insertions, 18 deletions
diff --git a/lib/plist.rb b/lib/plist.rb index 9ed6436..986dad4 100644 --- a/lib/plist.rb +++ b/lib/plist.rb @@ -1,5 +1,5 @@ -#!/usr/bin/env ruby -# +# encoding: utf-8 + # = plist # # This is the main file for plist. Everything interesting happens in diff --git a/lib/plist/generator.rb b/lib/plist/generator.rb index e653675..84bef3a 100644 --- a/lib/plist/generator.rb +++ b/lib/plist/generator.rb @@ -1,12 +1,12 @@ -#!/usr/bin/env ruby -# +# encoding: utf-8 + # = plist # # Copyright 2006-2010 Ben Bleything and Patrick May # Distributed under the MIT License # -module Plist ; end +module Plist; end # === Create a plist # You can dump an object to a plist in one of two ways: diff --git a/lib/plist/parser.rb b/lib/plist/parser.rb index 367d35f..7df9802 100644..100755 --- a/lib/plist/parser.rb +++ b/lib/plist/parser.rb @@ -1,5 +1,5 @@ -#!/usr/bin/env ruby -# +# encoding: utf-8 + # = plist # # Copyright 2006-2010 Ben Bleything and Patrick May diff --git a/lib/plist/version.rb b/lib/plist/version.rb index bbc5885..acce382 100644 --- a/lib/plist/version.rb +++ b/lib/plist/version.rb @@ -1,3 +1,5 @@ +# encoding: utf-8 + module Plist VERSION = '3.2.0'.freeze end diff --git a/plist.gemspec b/plist.gemspec index 343dbcb..9b9a3b8 100644 --- a/plist.gemspec +++ b/plist.gemspec @@ -1,4 +1,4 @@ -# coding: utf-8 +# encoding: utf-8 lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) diff --git a/test/test_data_elements.rb b/test/test_data_elements.rb index 36ceac0..6d061e8 100644 --- a/test/test_data_elements.rb +++ b/test/test_data_elements.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - require 'test/unit' require 'plist' require 'stringio' diff --git a/test/test_generator.rb b/test/test_generator.rb index b03001c..241ff4f 100644 --- a/test/test_generator.rb +++ b/test/test_generator.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - require 'test/unit' require 'plist' diff --git a/test/test_generator_basic_types.rb b/test/test_generator_basic_types.rb index 1892d85..6134514 100644 --- a/test/test_generator_basic_types.rb +++ b/test/test_generator_basic_types.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - require 'test/unit' require 'plist' diff --git a/test/test_generator_collections.rb b/test/test_generator_collections.rb index ea50c82..8920979 100644 --- a/test/test_generator_collections.rb +++ b/test/test_generator_collections.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - require 'test/unit' require 'plist' diff --git a/test/test_parser.rb b/test/test_parser.rb index 6116750..e096196 100644..100755 --- a/test/test_parser.rb +++ b/test/test_parser.rb @@ -1,5 +1,3 @@ -#!/usr/bin/env ruby - require 'test/unit' require 'plist' |