ptools 1.1.7 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +20 -0
- data/MANIFEST +0 -2
- data/README +35 -47
- data/Rakefile +110 -0
- data/lib/ptools.rb +301 -231
- data/ptools.gemspec +31 -0
- data/test/test_binary.rb +7 -2
- data/test/test_constants.rb +1 -1
- data/test/test_head.rb +7 -2
- data/test/test_image.rb +6 -1
- data/test/test_middle.rb +2 -1
- data/test/test_nlconvert.rb +13 -9
- data/test/test_null.rb +5 -0
- data/test/test_tail.rb +6 -1
- data/test/test_touch.rb +6 -1
- data/test/test_wc.rb +5 -0
- data/test/test_whereis.rb +83 -37
- data/test/test_which.rb +90 -32
- metadata +27 -18
- data/test/test_file1.txt +0 -25
- data/test/test_file2.txt +0 -25
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ptools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 1
|
8
|
+
- 9
|
9
|
+
version: 1.1.9
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Daniel J. Berger
|
@@ -9,20 +14,24 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-03-25 00:00:00 -06:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: test-unit
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
25
|
-
|
27
|
+
segments:
|
28
|
+
- 2
|
29
|
+
- 0
|
30
|
+
- 7
|
31
|
+
version: 2.0.7
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
description: " The ptools (power tools) library provides several handy methods to\n Ruby's core File class, such as File.which for finding executables,\n File.null to return the null device on your platform, and so on.\n"
|
26
35
|
email: djberg96@gmail.com
|
27
36
|
executables: []
|
28
37
|
|
@@ -33,11 +42,14 @@ extra_rdoc_files:
|
|
33
42
|
- CHANGES
|
34
43
|
- MANIFEST
|
35
44
|
files:
|
45
|
+
- CHANGES
|
36
46
|
- lib/ptools.rb
|
47
|
+
- MANIFEST
|
48
|
+
- ptools.gemspec
|
49
|
+
- Rakefile
|
50
|
+
- README
|
37
51
|
- test/test_binary.rb
|
38
52
|
- test/test_constants.rb
|
39
|
-
- test/test_file1.txt
|
40
|
-
- test/test_file2.txt
|
41
53
|
- test/test_head.rb
|
42
54
|
- test/test_image.rb
|
43
55
|
- test/test_middle.rb
|
@@ -48,9 +60,6 @@ files:
|
|
48
60
|
- test/test_wc.rb
|
49
61
|
- test/test_whereis.rb
|
50
62
|
- test/test_which.rb
|
51
|
-
- README
|
52
|
-
- CHANGES
|
53
|
-
- MANIFEST
|
54
63
|
has_rdoc: true
|
55
64
|
homepage: http://www.rubyforge.org/projects/shards
|
56
65
|
licenses:
|
@@ -64,26 +73,26 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
64
73
|
requirements:
|
65
74
|
- - ">="
|
66
75
|
- !ruby/object:Gem::Version
|
76
|
+
segments:
|
77
|
+
- 0
|
67
78
|
version: "0"
|
68
|
-
version:
|
69
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
80
|
requirements:
|
71
81
|
- - ">="
|
72
82
|
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 0
|
73
85
|
version: "0"
|
74
|
-
version:
|
75
86
|
requirements: []
|
76
87
|
|
77
88
|
rubyforge_project: shards
|
78
|
-
rubygems_version: 1.3.
|
89
|
+
rubygems_version: 1.3.6
|
79
90
|
signing_key:
|
80
91
|
specification_version: 3
|
81
92
|
summary: Extra methods for the File class
|
82
93
|
test_files:
|
83
94
|
- test/test_binary.rb
|
84
95
|
- test/test_constants.rb
|
85
|
-
- test/test_file1.txt
|
86
|
-
- test/test_file2.txt
|
87
96
|
- test/test_head.rb
|
88
97
|
- test/test_image.rb
|
89
98
|
- test/test_middle.rb
|
data/test/test_file1.txt
DELETED
data/test/test_file2.txt
DELETED