ptools 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/CHANGES +6 -0
  2. data/MANIFEST +19 -21
  3. data/README +2 -2
  4. data/Rakefile +11 -1
  5. data/test/tc_constants.rb +1 -1
  6. metadata +3 -3
data/CHANGES CHANGED
@@ -1,3 +1,9 @@
1
+ == 1.1.4 - 21-May-2007
2
+ * Removed the install.rb file. Installation is now handled exclusively by the
3
+ rake install task.
4
+ * Updated the MANIFEST file, and made it rdoc friendly.
5
+ * Manual installation corrections in the README file.
6
+
1
7
  == 1.1.3 - 29-Apr-2007
2
8
  * I changed the way that the constants IS_WINDOWS and WIN32EXTS are defined.
3
9
  * The IS_WINDOWS and WIN32EXTS are no long documented publically. They were
data/MANIFEST CHANGED
@@ -1,21 +1,19 @@
1
- CHANGES
2
- README
3
- MANIFEST
4
- install.rb
5
- ptools.gemspec
6
-
7
- lib/ptools.rb
8
-
9
- test/ts_all.rb
10
- test/tc_constants.rb
11
- test/tc_head.rb
12
- test/tc_middle.rb
13
- test/tc_nlconvert.rb
14
- test/tc_null.rb
15
- test/tc_tail.rb
16
- test/tc_touch.rb
17
- test/tc_wc.rb
18
- test/tc_which.rb
19
- test/tc_whereis.rb
20
- test/test_file.txt
21
- test/test_file2.txt
1
+ * CHANGES
2
+ * README
3
+ * MANIFEST
4
+ * Rakefile
5
+ * ptools.gemspec
6
+ * lib/ptools.rb
7
+ * test/ts_all.rb
8
+ * test/tc_constants.rb
9
+ * test/tc_head.rb
10
+ * test/tc_middle.rb
11
+ * test/tc_nlconvert.rb
12
+ * test/tc_null.rb
13
+ * test/tc_tail.rb
14
+ * test/tc_touch.rb
15
+ * test/tc_wc.rb
16
+ * test/tc_which.rb
17
+ * test/tc_whereis.rb
18
+ * test/test_file.txt
19
+ * test/test_file2.txt
data/README CHANGED
@@ -11,8 +11,8 @@
11
11
  ruby ptools.gemspec
12
12
  gem install ptools-x.y.z.gem
13
13
  === Manual
14
- ruby test/ts_all.rb (optional)
15
- ruby install.rb
14
+ rake test (optional)
15
+ rake install
16
16
 
17
17
  == Synopsis
18
18
  require "ptools"
data/Rakefile CHANGED
@@ -1,9 +1,19 @@
1
1
  require 'rake'
2
2
  require 'rake/testtask'
3
+ require 'rbconfig'
4
+ include Config
3
5
 
4
6
  desc 'Install the ptools package (non-gem)'
5
7
  task :install do
6
- ruby 'install.rb'
8
+ sitelibdir = CONFIG["sitelibdir"]
9
+ file = "lib/ptools.rb"
10
+ FileUtils.cp(file, sitelibdir, :verbose => true)
11
+ end
12
+
13
+ task :install_gem do
14
+ ruby 'ptools.gemspec'
15
+ file = Dir["*.gem"].first
16
+ sh "gem install #{file}"
7
17
  end
8
18
 
9
19
  Rake::TestTask.new do |t|
@@ -9,7 +9,7 @@ require 'ptools'
9
9
 
10
10
  class TC_Constants < Test::Unit::TestCase
11
11
  def test_version
12
- assert_equal('1.1.3', File::PTOOLS_VERSION)
12
+ assert_equal('1.1.4', File::PTOOLS_VERSION)
13
13
  end
14
14
 
15
15
  if RUBY_PLATFORM.match('mswin')
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: ptools
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.3
7
- date: 2007-04-29 00:00:00 -06:00
6
+ version: 1.1.4
7
+ date: 2007-05-21 00:00:00 -06:00
8
8
  summary: Extra methods for the File class
9
9
  require_paths:
10
10
  - lib
@@ -32,8 +32,8 @@ files:
32
32
  - lib/ptools.rb
33
33
  - CHANGES
34
34
  - MANIFEST
35
- - Rakefile
36
35
  - README
36
+ - Rakefile
37
37
  - test/tc_binary.rb
38
38
  - test/tc_constants.rb
39
39
  - test/tc_head.rb