ptools 1.3.2-universal-mingw32 → 1.3.3-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abd04552aee2e63571d405c51d5a3d387495214b
4
- data.tar.gz: 9330c2cdcb21eacc81cb198f4f697eed9c12acec
3
+ metadata.gz: 825f3067d1acabd589eb633c4307140008626138
4
+ data.tar.gz: 2924015a89255311cb29ce3f26de584a81935288
5
5
  SHA512:
6
- metadata.gz: 9c7b92ced5615da6348d05cf1eb0a904af769f731096bafb1092b014a4e75c60b214fd26b3eb816679b7adcd0b1b920d58f0d01b0d730775d8262df84f25ea2c
7
- data.tar.gz: e53ccd4e7d37e6b3c5cb5f9f1991a6c13e2ddd334d43e9ee715ec2a7a9b57fab55a614d4792c030d4b2531082c49fbdf2e59530f0449b7d29c12064530664afe
6
+ metadata.gz: 204eff0e8d7e2251793f0acf20ec16b113d35595a57012525700a343f917492d6ce2a5dee7504e6792f37f84f563bef421f232ea2e41776eafef49bc183a942a
7
+ data.tar.gz: 6ea1e00173da43e41da1400af67369d68e68fa56582c480cc4b51be43f9f28553bcac286ee0a0d6b4945de6163582dc09bbe82bc4321c647a6800ec9de9beab3
@@ -0,0 +1 @@
1
+ 7,����o���f!�x(p��Q�e6M@y#�g>�"ξ��&�@Z�Q�"�|֋T2��-5�m���C��k��|b�^�z�Mʔ�F�&%u1��ʲK��� jeh�g���IGc��/�U�E����ͱ��B5.}�K0�Ρ�o~2�ٍ��Pĉ��(g�ә�$z+�0����2�g2�#-��MvF����n�������`�H)��hw��a"cgB�*�j9 �'KWc۝Zu�;�4+���=O"�A �?^���]ˢ
Binary file
data/CHANGES CHANGED
@@ -1,168 +1,172 @@
1
- == 1.3.2 - 11-Dec-2014
2
- * Update to the File.tail method that deals prevents potential line ending
3
- issues in JRuby.
4
- * Added known issues with JRuby to the README.
5
-
6
- == 1.3.1 - 9-Dec-2014
7
- * Fixed some potential issues with File.tail. Thanks go to Matt Hoyle for
8
- the patch.
9
-
10
- == 1.3.0 - 8-Dec-2014
11
- * Made the File.tail method efficient. It's no longer slurpy, and it also no
12
- longer includes line endings in the result.
13
- * Removed the File.middle method. I don't think it's useful.
14
-
15
- == 1.2.7 - 6-Dec-2014
16
- * File.which now expands ~ for paths. Thanks go to dg-vrnetze for the patch.
17
- * Use /dev/null for cygwin instead of NUL.
18
- * Use mv instead of cp in the nl_convert method.
19
- * Solaris now handled explicitly in nl_convert, and OSX now considered Unix.
20
- * Modified the binary? method to check 4096 bytes at most.
21
- * Thanks to Matt Hoyle for many of the changes implemented in this release.
22
-
23
- == 1.2.6 - 14-Jul-2014
24
- * Updated the png? and jpg? methods so they explicitly specify the
25
- offset argument so that it works with 1.9.2 and earlier. Thanks go to
26
- Anurag Priyam for the spot.
27
-
28
- == 1.2.5 - 11-Jul-2014
29
- * Added a Gemfile, mostly for Travis CI.
30
- * Added rake as a development dependency.
31
- * Revert back to hash syntax supported by 1.8.x.
32
- * Removed rubyforge_project from gemspec.
33
- * Updated the tests for File.sparse? so that it doesn't rely on
34
- an external file.
35
-
36
- == 1.2.4 - 25-Feb-2014
37
- * The File.binary method now always returns false for images. It is meant to
38
- detect executables, shared objects, etc. Use File.image? to detect images.
39
- * Encoding fixes for the File.image? method.
40
-
41
- == 1.2.3 - 19-Feb-2014
42
- * Fixed a bug where File.binary? would return true for unicode text. Thanks go
43
- to Ben Hollis for the spot.
44
- * Updated the win32-file and test-unit dependencies.
45
- * Replace all instances of File.exists? with File.exist? because the former
46
- is deprecated in Ruby 2.1 and later.
47
-
48
- == 1.2.2 - 6-Apr-2012
49
- * Yet another sparse file test fix for OSX, which does not support
50
- sparse file generation on HFS+.
51
- * Fixed a bug in the File.whereis method on Windows when dealing with
52
- absolute paths.
53
- * Some Config vs RbConfig fixes to silence 1.9.3 warnings.
54
- * Refactored and cleaned up some tests.
55
-
56
- == 1.2.1 - 20-May-2011
57
- * Added an (empty) .gemtest file so that it can be used with test.rubygems.org.
58
- * Fixed a sparse file test.
59
-
60
- == 1.2.0 - 8-Jan-2011
61
- * Added the File.sparse? method for Unix platforms. This method already
62
- exists on Windows courtesy of the win32-file library.
63
-
64
- == 1.1.9 - 25-Mar-2010
65
- * Refactored File.which and File.whereis and added additional tests for each.
66
- * Removed the block form of File.whereis.
67
- * Reorganized the Rakefile a bit and put the test tasks under the 'test'
68
- namespace, and the gem tasks under the 'gem' namespace.
69
- * Updated the test-unit development dependency.
70
- * Updates the README.
71
-
72
- == 1.1.8 - 6-Oct-2009
73
- * Fixed some bad variable names that crept into the File.nl_convert method.
74
- * Added the File.null_device alias for File.null.
75
- * Added cygwin and mingw to Windows detection code.
76
- * One of the nlconvert tests is now skipped on Windows.
77
- * Two text files that were previously bundled as part of this library for
78
- testing purposes have been removed. Those are now dynamically generated
79
- within the tests themselves.
80
- * Gemspec updates.
81
- * Documentation updates.
82
- * Added the :gem rake task.
83
-
84
- == 1.1.7 - 28-Jul-2009
85
- * Now compatible with Ruby 1.9.x.
86
- * Replaced RUBY_PLATFORM with rbconfig check for the sake of other
87
- implementations, such as JRuby.
88
- * Updated the tests to be more friendly to JRuby.
89
- * Added Test::Unit 2.x as a development dependency.
90
- * Renamed the test files.
91
-
92
- == 1.1.6 - 31-Aug-2007
93
- * Fixed the File.touch method so that it doesn't whack existing files. Thanks
94
- go to Thomas Preymesser for the spot.
95
- * Added corresponding tests to the tc_touch.rb file.
96
-
97
- == 1.1.5 - 19-Jul-2007
98
- * Added the File.image? method. Inspired by ruby-talk: 260487.
99
-
100
- == 1.1.4 - 21-May-2007
101
- * Removed the install.rb file. Installation is now handled exclusively by the
102
- rake install task.
103
- * Updated the MANIFEST file, and made it rdoc friendly.
104
- * Manual installation corrections in the README file.
105
-
106
- == 1.1.3 - 29-Apr-2007
107
- * I changed the way that the constants IS_WINDOWS and WIN32EXTS are defined.
108
- * The IS_WINDOWS and WIN32EXTS are no long documented publically. They were
109
- never meant for public use.
110
- * The tc_constants.rb file was modified to only run certain tests on Windows.
111
-
112
- == 1.1.2 - 28-Apr-2007
113
- * Fixed a require line that could cause problems on MS Windows.
114
- * Added a Rakefile which includes tasks for installation and testing.
115
- * Some cleanup and improvement in the various test files.
116
-
117
- == 1.1.1 - 24-Aug-2006
118
- * Added the File.binary? method, based on code from Ryan Davis.
119
-
120
- == 1.1.0 - 23-Aug-2006
121
- * Added the File.null method which returns the bit bucket on your platform.
122
- * The suffixes on MS Windows are now based on the PATHEXT environment variable,
123
- and defaults to '.com', '.bat' and '.exe' only if it's not defined.
124
- * The File.which and File.whereis methods were tweaked a bit for Windows so
125
- that they ignore the case of suffixes.
126
- * Modified the platform checking and path separator handling.
127
- * Added and tweaked some tests.
128
-
129
- == 1.0.0 - 2-Jun-2005
130
- * Modified the File.middle method to accept an optional block.
131
- * File.whereis is now limited to unique values so that redundant PATH entries
132
- do not cause redundant entries in the returned array (or block).
133
- * File.nl_convert and File.touch now return self.
134
- * File.nl_convert now raises ArgumentError (instead of StandardError) if
135
- an unknown platform is provided.
136
- * File.wc now raises ArgumentError (instead of RuntimeError) if a bad option
137
- is provided.
138
- * Made documentation rdoc friendly.
139
- * Test suite updates, corrections and additions.
140
- * Removed the INSTALL file. See the README instead.
141
- * Moved project to RubyForge.
142
-
143
- == 0.1.3 - 5-Dec-2003
144
- * Modified File#which and File#whereis for Win32 to handle extensions better,
145
- i.e. you can send "ruby" or "ruby.exe" and get back the same result.
146
- * Minor test changes to tc_which.rb and tc_whereis.rb.
147
-
148
- == 0.1.2 - 14-May-2003
149
- * Modified nl_convert() to allow the destination filename to be the same as the
150
- source file. In that case, a tempfile is used and copied back over the
151
- original file.
152
- * The target file name for nl_convert() now defaults to the source file name and
153
- the default format is now "dos".
154
- * Added a tc_constants.rb test suite.
155
- * Test suite additions/fixes.
156
- * Updates to MANIFEST.
157
-
158
- == 0.1.1 - 21-Mar-2003
159
- * Modified File.tail to return data in the same order that 'tail' does.
160
- * Modified File.which to return nil if the program is not found.
161
- * Modified File.whereis now uses '\' instead of '/' on MS Windows.
162
- * Added File.middle class method.
163
- * Test suite modification & additions.
164
- * Thanks go to Shanko for both the spot and patch for tail, which, whereis
165
- and middle.
166
-
167
- == 0.1.0 - 18-Mar-2003
168
- * Initial release
1
+ == 1.3.3 - 25-Sep-2015
2
+ * This gem is now signed.
3
+ * The Rakefile tasks now assume Rubygems 2.x.
4
+
5
+ == 1.3.2 - 11-Dec-2014
6
+ * Update to the File.tail method that deals prevents potential line ending
7
+ issues in JRuby.
8
+ * Added known issues with JRuby to the README.
9
+
10
+ == 1.3.1 - 9-Dec-2014
11
+ * Fixed some potential issues with File.tail. Thanks go to Matt Hoyle for
12
+ the patch.
13
+
14
+ == 1.3.0 - 8-Dec-2014
15
+ * Made the File.tail method efficient. It's no longer slurpy, and it also no
16
+ longer includes line endings in the result.
17
+ * Removed the File.middle method. I don't think it's useful.
18
+
19
+ == 1.2.7 - 6-Dec-2014
20
+ * File.which now expands ~ for paths. Thanks go to dg-vrnetze for the patch.
21
+ * Use /dev/null for cygwin instead of NUL.
22
+ * Use mv instead of cp in the nl_convert method.
23
+ * Solaris now handled explicitly in nl_convert, and OSX now considered Unix.
24
+ * Modified the binary? method to check 4096 bytes at most.
25
+ * Thanks to Matt Hoyle for many of the changes implemented in this release.
26
+
27
+ == 1.2.6 - 14-Jul-2014
28
+ * Updated the png? and jpg? methods so they explicitly specify the
29
+ offset argument so that it works with 1.9.2 and earlier. Thanks go to
30
+ Anurag Priyam for the spot.
31
+
32
+ == 1.2.5 - 11-Jul-2014
33
+ * Added a Gemfile, mostly for Travis CI.
34
+ * Added rake as a development dependency.
35
+ * Revert back to hash syntax supported by 1.8.x.
36
+ * Removed rubyforge_project from gemspec.
37
+ * Updated the tests for File.sparse? so that it doesn't rely on
38
+ an external file.
39
+
40
+ == 1.2.4 - 25-Feb-2014
41
+ * The File.binary method now always returns false for images. It is meant to
42
+ detect executables, shared objects, etc. Use File.image? to detect images.
43
+ * Encoding fixes for the File.image? method.
44
+
45
+ == 1.2.3 - 19-Feb-2014
46
+ * Fixed a bug where File.binary? would return true for unicode text. Thanks go
47
+ to Ben Hollis for the spot.
48
+ * Updated the win32-file and test-unit dependencies.
49
+ * Replace all instances of File.exists? with File.exist? because the former
50
+ is deprecated in Ruby 2.1 and later.
51
+
52
+ == 1.2.2 - 6-Apr-2012
53
+ * Yet another sparse file test fix for OSX, which does not support
54
+ sparse file generation on HFS+.
55
+ * Fixed a bug in the File.whereis method on Windows when dealing with
56
+ absolute paths.
57
+ * Some Config vs RbConfig fixes to silence 1.9.3 warnings.
58
+ * Refactored and cleaned up some tests.
59
+
60
+ == 1.2.1 - 20-May-2011
61
+ * Added an (empty) .gemtest file so that it can be used with test.rubygems.org.
62
+ * Fixed a sparse file test.
63
+
64
+ == 1.2.0 - 8-Jan-2011
65
+ * Added the File.sparse? method for Unix platforms. This method already
66
+ exists on Windows courtesy of the win32-file library.
67
+
68
+ == 1.1.9 - 25-Mar-2010
69
+ * Refactored File.which and File.whereis and added additional tests for each.
70
+ * Removed the block form of File.whereis.
71
+ * Reorganized the Rakefile a bit and put the test tasks under the 'test'
72
+ namespace, and the gem tasks under the 'gem' namespace.
73
+ * Updated the test-unit development dependency.
74
+ * Updates the README.
75
+
76
+ == 1.1.8 - 6-Oct-2009
77
+ * Fixed some bad variable names that crept into the File.nl_convert method.
78
+ * Added the File.null_device alias for File.null.
79
+ * Added cygwin and mingw to Windows detection code.
80
+ * One of the nlconvert tests is now skipped on Windows.
81
+ * Two text files that were previously bundled as part of this library for
82
+ testing purposes have been removed. Those are now dynamically generated
83
+ within the tests themselves.
84
+ * Gemspec updates.
85
+ * Documentation updates.
86
+ * Added the :gem rake task.
87
+
88
+ == 1.1.7 - 28-Jul-2009
89
+ * Now compatible with Ruby 1.9.x.
90
+ * Replaced RUBY_PLATFORM with rbconfig check for the sake of other
91
+ implementations, such as JRuby.
92
+ * Updated the tests to be more friendly to JRuby.
93
+ * Added Test::Unit 2.x as a development dependency.
94
+ * Renamed the test files.
95
+
96
+ == 1.1.6 - 31-Aug-2007
97
+ * Fixed the File.touch method so that it doesn't whack existing files. Thanks
98
+ go to Thomas Preymesser for the spot.
99
+ * Added corresponding tests to the tc_touch.rb file.
100
+
101
+ == 1.1.5 - 19-Jul-2007
102
+ * Added the File.image? method. Inspired by ruby-talk: 260487.
103
+
104
+ == 1.1.4 - 21-May-2007
105
+ * Removed the install.rb file. Installation is now handled exclusively by the
106
+ rake install task.
107
+ * Updated the MANIFEST file, and made it rdoc friendly.
108
+ * Manual installation corrections in the README file.
109
+
110
+ == 1.1.3 - 29-Apr-2007
111
+ * I changed the way that the constants IS_WINDOWS and WIN32EXTS are defined.
112
+ * The IS_WINDOWS and WIN32EXTS are no long documented publically. They were
113
+ never meant for public use.
114
+ * The tc_constants.rb file was modified to only run certain tests on Windows.
115
+
116
+ == 1.1.2 - 28-Apr-2007
117
+ * Fixed a require line that could cause problems on MS Windows.
118
+ * Added a Rakefile which includes tasks for installation and testing.
119
+ * Some cleanup and improvement in the various test files.
120
+
121
+ == 1.1.1 - 24-Aug-2006
122
+ * Added the File.binary? method, based on code from Ryan Davis.
123
+
124
+ == 1.1.0 - 23-Aug-2006
125
+ * Added the File.null method which returns the bit bucket on your platform.
126
+ * The suffixes on MS Windows are now based on the PATHEXT environment variable,
127
+ and defaults to '.com', '.bat' and '.exe' only if it's not defined.
128
+ * The File.which and File.whereis methods were tweaked a bit for Windows so
129
+ that they ignore the case of suffixes.
130
+ * Modified the platform checking and path separator handling.
131
+ * Added and tweaked some tests.
132
+
133
+ == 1.0.0 - 2-Jun-2005
134
+ * Modified the File.middle method to accept an optional block.
135
+ * File.whereis is now limited to unique values so that redundant PATH entries
136
+ do not cause redundant entries in the returned array (or block).
137
+ * File.nl_convert and File.touch now return self.
138
+ * File.nl_convert now raises ArgumentError (instead of StandardError) if
139
+ an unknown platform is provided.
140
+ * File.wc now raises ArgumentError (instead of RuntimeError) if a bad option
141
+ is provided.
142
+ * Made documentation rdoc friendly.
143
+ * Test suite updates, corrections and additions.
144
+ * Removed the INSTALL file. See the README instead.
145
+ * Moved project to RubyForge.
146
+
147
+ == 0.1.3 - 5-Dec-2003
148
+ * Modified File#which and File#whereis for Win32 to handle extensions better,
149
+ i.e. you can send "ruby" or "ruby.exe" and get back the same result.
150
+ * Minor test changes to tc_which.rb and tc_whereis.rb.
151
+
152
+ == 0.1.2 - 14-May-2003
153
+ * Modified nl_convert() to allow the destination filename to be the same as the
154
+ source file. In that case, a tempfile is used and copied back over the
155
+ original file.
156
+ * The target file name for nl_convert() now defaults to the source file name and
157
+ the default format is now "dos".
158
+ * Added a tc_constants.rb test suite.
159
+ * Test suite additions/fixes.
160
+ * Updates to MANIFEST.
161
+
162
+ == 0.1.1 - 21-Mar-2003
163
+ * Modified File.tail to return data in the same order that 'tail' does.
164
+ * Modified File.which to return nil if the program is not found.
165
+ * Modified File.whereis now uses '\' instead of '/' on MS Windows.
166
+ * Added File.middle class method.
167
+ * Test suite modification & additions.
168
+ * Thanks go to Shanko for both the spot and patch for tail, which, whereis
169
+ and middle.
170
+
171
+ == 0.1.0 - 18-Mar-2003
172
+ * Initial release
data/Gemfile CHANGED
@@ -1,12 +1,12 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'structured_warnings'
4
-
5
- group :production do
6
- gem 'win32-file' if File::ALT_SEPARATOR
7
- end
8
-
9
- group :test do
10
- gem 'rake'
11
- gem 'test-unit'
12
- end
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'structured_warnings'
4
+
5
+ group :production do
6
+ gem 'win32-file' if File::ALT_SEPARATOR
7
+ end
8
+
9
+ group :test do
10
+ gem 'rake'
11
+ gem 'test-unit'
12
+ end
data/MANIFEST CHANGED
@@ -1,19 +1,20 @@
1
- * CHANGES
2
- * README
3
- * MANIFEST
4
- * Rakefile
5
- * ptools.gemspec
6
- * lib/ptools.rb
7
- * test/test_constants.rb
8
- * test/test_head.rb
9
- * test/test_image.rb
10
- * test/test_nlconvert.rb
11
- * test/test_null.rb
12
- * test/test_tail.rb
13
- * test/test_touch.rb
14
- * test/test_wc.rb
15
- * test/test_which.rb
16
- * test/test_whereis.rb
17
- * test/img/test.gif
18
- * test/img/test.jpg
19
- * test/img/test.png
1
+ * CHANGES
2
+ * README
3
+ * MANIFEST
4
+ * Rakefile
5
+ * ptools.gemspec
6
+ * certs/djberg96_pub.pem
7
+ * lib/ptools.rb
8
+ * test/test_constants.rb
9
+ * test/test_head.rb
10
+ * test/test_image.rb
11
+ * test/test_nlconvert.rb
12
+ * test/test_null.rb
13
+ * test/test_tail.rb
14
+ * test/test_touch.rb
15
+ * test/test_wc.rb
16
+ * test/test_which.rb
17
+ * test/test_whereis.rb
18
+ * test/img/test.gif
19
+ * test/img/test.jpg
20
+ * test/img/test.png
data/README CHANGED
@@ -1,66 +1,66 @@
1
- == Description
2
- The ptools (power tools) library is an additional set of commands for the
3
- File class based on Unix command line tools.
4
-
5
- == Prerequisites
6
- On MS Windows you will need the win32-file gem.
7
-
8
- == Installation
9
- gem install ptools
10
-
11
- == Synopsis
12
- require "ptools"
13
-
14
- File.which("ruby") # '/usr/local/bin/ruby'
15
- File.whereis("ruby") # ['/usr/local/bin/ruby','/opt/bin/ruby']
16
-
17
- File.head("myfile") # Returns first 10 lines of 'myfile'
18
- File.tail("myfile",3) # Returns last 3 lines of 'myfile'
19
- File.wc("myfile",'words') # Returns the number of words in 'myfile'
20
-
21
- File.touch("newfile") # "newfile" now exists
22
- File.null # '/dev/null' on Unix, 'NUL' on Windows
23
- File.binary?('some_file') # true or false
24
- File.sparse?('some_file') # true or false
25
-
26
- # Creates a copy of 'myfile' called 'newfile', in DOS format
27
- File.nl_convert("myfile", "newfile", "dos")
28
-
29
- == Known Bugs
30
- The File.which and File.whereis methods may fail when using JRuby on Windows.
31
- See https://github.com/jruby/jruby/issues/2291 for details.
32
-
33
- Please report any other issues on the github project page.
34
-
35
- http://www.github.com/djberg96/ptools
36
-
37
- == Acknowledgements
38
- The File.which method was originally adopted from the FileWhich code posted
39
- by Michael Granger on the now defunct rubygarden.org website. That code was
40
- later replaced by a version based on the ruby-which library.
41
-
42
- The File.nl_convert method is based on the nlcvt program found at
43
- http://www.perl.com/language/ppt/src/nlcvt/nlcvt, written by Tom Christiansen.
44
-
45
- The binary?() method was based almost entirely on a blog post by Ryan
46
- Davis (who, in turn, based his code on Perl's -B switch).
47
-
48
- Thanks go to Matt Hoyle for help with the File.tail method.
49
-
50
- == Future Plans
51
- Add whatever other tools people think might be useful.
52
-
53
- == License
54
- Artistic 2.0
55
-
56
- == Copyright
57
- (C) 2003-2014 Daniel J. Berger
58
- All Rights Reserved.
59
-
60
- == Warranty
61
- This package is provided "as is" and without any express or
62
- implied warranties, including, without limitation, the implied
63
- warranties of merchantability and fitness for a particular purpose.
64
-
65
- == Author
66
- Daniel J. Berger
1
+ == Description
2
+ The ptools (power tools) library is an additional set of commands for the
3
+ File class based on Unix command line tools.
4
+
5
+ == Prerequisites
6
+ On MS Windows you will need the win32-file gem.
7
+
8
+ == Installation
9
+ gem install ptools
10
+
11
+ == Synopsis
12
+ require "ptools"
13
+
14
+ File.which("ruby") # '/usr/local/bin/ruby'
15
+ File.whereis("ruby") # ['/usr/local/bin/ruby','/opt/bin/ruby']
16
+
17
+ File.head("myfile") # Returns first 10 lines of 'myfile'
18
+ File.tail("myfile",3) # Returns last 3 lines of 'myfile'
19
+ File.wc("myfile",'words') # Returns the number of words in 'myfile'
20
+
21
+ File.touch("newfile") # "newfile" now exists
22
+ File.null # '/dev/null' on Unix, 'NUL' on Windows
23
+ File.binary?('some_file') # true or false
24
+ File.sparse?('some_file') # true or false
25
+
26
+ # Creates a copy of 'myfile' called 'newfile', in DOS format
27
+ File.nl_convert("myfile", "newfile", "dos")
28
+
29
+ == Known Bugs
30
+ The File.which and File.whereis methods may fail when using JRuby on Windows.
31
+ See https://github.com/jruby/jruby/issues/2291 for details.
32
+
33
+ Please report any other issues on the github project page.
34
+
35
+ http://www.github.com/djberg96/ptools
36
+
37
+ == Acknowledgements
38
+ The File.which method was originally adopted from the FileWhich code posted
39
+ by Michael Granger on the now defunct rubygarden.org website. That code was
40
+ later replaced by a version based on the ruby-which library.
41
+
42
+ The File.nl_convert method is based on the nlcvt program found at
43
+ http://www.perl.com/language/ppt/src/nlcvt/nlcvt, written by Tom Christiansen.
44
+
45
+ The binary?() method was based almost entirely on a blog post by Ryan
46
+ Davis (who, in turn, based his code on Perl's -B switch).
47
+
48
+ Thanks go to Matt Hoyle for help with the File.tail method.
49
+
50
+ == Future Plans
51
+ Add whatever other tools people think might be useful.
52
+
53
+ == License
54
+ Artistic 2.0
55
+
56
+ == Copyright
57
+ (C) 2003-2014 Daniel J. Berger
58
+ All Rights Reserved.
59
+
60
+ == Warranty
61
+ This package is provided "as is" and without any express or
62
+ implied warranties, including, without limitation, the implied
63
+ warranties of merchantability and fitness for a particular purpose.
64
+
65
+ == Author
66
+ Daniel J. Berger