diff options
author | Ben Bleything <ben@bleything.net> | 2010-02-14 14:47:43 -0800 |
---|---|---|
committer | Ben Bleything <ben@bleything.net> | 2010-02-14 14:47:43 -0800 |
commit | d4eb33272efd78dacce83d46903c8f0a0a55ed4e (patch) | |
tree | b1e69c47b246119cc501b7702e3e75dbe61a91b0 | |
parent | 1b45eafe760602efbee6844578f5b5b147f7af82 (diff) | |
download | plist-d4eb33272efd78dacce83d46903c8f0a0a55ed4e.tar.gz |
remove ugly header comments, replace with simpler alternative
-rw-r--r-- | Rakefile | 18 | ||||
-rw-r--r-- | lib/plist.rb | 19 | ||||
-rw-r--r-- | lib/plist/generator.rb | 15 | ||||
-rw-r--r-- | lib/plist/parser.rb | 15 | ||||
-rw-r--r-- | test/test_data_elements.rb | 7 | ||||
-rw-r--r-- | test/test_generator.rb | 7 | ||||
-rw-r--r-- | test/test_generator_basic_types.rb | 7 | ||||
-rw-r--r-- | test/test_generator_collections.rb | 7 | ||||
-rw-r--r-- | test/test_parser.rb | 8 |
9 files changed, 38 insertions, 65 deletions
@@ -1,12 +1,12 @@ -############################################################## -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Based heavily on Geoffrey Grosenbach's Rakefile for gruff. # -# Includes whitespace-fixing task based on code from Typo. # -# # -# Distributed under the MIT license. # -############################################################## +# +# Plist Rakefile +# +# Based heavily on Geoffrey Grosenbach's Rakefile for gruff. +# Includes whitespace-fixing task based on code from Typo. +# +# Copyright 2006-2010 Ben Bleything and Patrick May +# Distributed under the MIT License +# require 'fileutils' require 'rubygems' diff --git a/lib/plist.rb b/lib/plist.rb index 3a74097..29e65dc 100644 --- a/lib/plist.rb +++ b/lib/plist.rb @@ -1,14 +1,13 @@ -#-- -############################################################## -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Distributed under the MIT license. # -############################################################## -#++ -# = Plist +#!/usr/bin/env ruby +# +# = plist +# +# This is the main file for plist. Everything interesting happens in +# Plist and Plist::Emit. +# +# Copyright 2006-2010 Ben Bleything and Patrick May +# Distributed under the MIT License # -# This is the main file for plist. Everything interesting happens in Plist and Plist::Emit. require 'base64' require 'cgi' diff --git a/lib/plist/generator.rb b/lib/plist/generator.rb index c6763a1..fd9fd32 100644 --- a/lib/plist/generator.rb +++ b/lib/plist/generator.rb @@ -1,11 +1,10 @@ -#--########################################################### -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Distributed under the MIT license. # -############################################################## -#++ -# See Plist::Emit. +#!/usr/bin/env ruby +# +# = plist +# +# Copyright 2006-2010 Ben Bleything and Patrick May +# Distributed under the MIT License +# module Plist ; end diff --git a/lib/plist/parser.rb b/lib/plist/parser.rb index e0623ae..6daa5bf 100644 --- a/lib/plist/parser.rb +++ b/lib/plist/parser.rb @@ -1,10 +1,11 @@ -#--########################################################### -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Distributed under the MIT license. # -############################################################## -#++ +#!/usr/bin/env ruby +# +# = plist +# +# Copyright 2006-2010 Ben Bleything and Patrick May +# Distributed under the MIT License +# + # Plist parses Mac OS X xml property list files into ruby data structures. # # === Load a plist file diff --git a/test/test_data_elements.rb b/test/test_data_elements.rb index 0b0ea71..ec0062b 100644 --- a/test/test_data_elements.rb +++ b/test/test_data_elements.rb @@ -1,9 +1,4 @@ -############################################################## -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Distributed under the MIT license. # -############################################################## +#!/usr/bin/env ruby require 'test/unit' require 'plist' diff --git a/test/test_generator.rb b/test/test_generator.rb index 0fefaa3..dbb1a59 100644 --- a/test/test_generator.rb +++ b/test/test_generator.rb @@ -1,9 +1,4 @@ -############################################################## -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Distributed under the MIT license. # -############################################################## +#!/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 d3f627c..1892d85 100644 --- a/test/test_generator_basic_types.rb +++ b/test/test_generator_basic_types.rb @@ -1,9 +1,4 @@ -############################################################## -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Distributed under the MIT license. # -############################################################## +#!/usr/bin/env ruby require 'test/unit' require 'plist' diff --git a/test/test_generator_collections.rb b/test/test_generator_collections.rb index e6a21d0..ea50c82 100644 --- a/test/test_generator_collections.rb +++ b/test/test_generator_collections.rb @@ -1,9 +1,4 @@ -############################################################## -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Distributed under the MIT license. # -############################################################## +#!/usr/bin/env ruby require 'test/unit' require 'plist' diff --git a/test/test_parser.rb b/test/test_parser.rb index b6313c0..28ddd10 100644 --- a/test/test_parser.rb +++ b/test/test_parser.rb @@ -1,12 +1,6 @@ -############################################################## -# Copyright 2006, Ben Bleything <ben@bleything.net> and # -# Patrick May <patrick@hexane.org> # -# # -# Distributed under the MIT license. # -############################################################## +#!/usr/bin/env ruby require 'test/unit' - require 'plist' class TestParser < Test::Unit::TestCase |