ptools 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGES +4 -0
- data/MANIFEST +1 -0
- data/Rakefile +3 -7
- data/certs/djberg96_pub.pem +21 -0
- data/lib/ptools.rb +1 -1
- data/ptools.gemspec +17 -16
- data/test/test_constants.rb +1 -1
- metadata +34 -11
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c180275bc8e38301a9c1d13771831614cf4febb5
|
4
|
+
data.tar.gz: 0de46ac283166ffc26a20955f2b4d4809116a6fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bf975d8d26c1f464f48cdb831347eba7a4094ccba45e9f974766ca14f343db58d87a41dad2a7647ad1f3b3a1923622549177c6936638b60a796ba33088984ee
|
7
|
+
data.tar.gz: 849697b55d1a7ee705f5eec78f3a2e19dcfe086e5b1cbf753bcf185509554dac11ee153709fd356ff8dc601d7806ebe9cc5d288abfb70cd6df5c6cd631449fdb
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
ADDED
Binary file
|
data/CHANGES
CHANGED
data/MANIFEST
CHANGED
data/Rakefile
CHANGED
@@ -16,14 +16,10 @@ end
|
|
16
16
|
namespace 'gem' do
|
17
17
|
desc 'Create the ptools gem'
|
18
18
|
task :create => [:clean] do
|
19
|
-
|
19
|
+
require 'rubygems/package'
|
20
20
|
spec = eval(IO.read('ptools.gemspec'))
|
21
|
-
|
22
|
-
|
23
|
-
else
|
24
|
-
require 'rubygems/package'
|
25
|
-
Gem::Package.build(spec)
|
26
|
-
end
|
21
|
+
spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
|
22
|
+
Gem::Package.build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D75zHFueY0viwGDVP1BNGFC+yXcb7u2GlK+nEMCORqzURbYPf7
|
16
|
+
tL+/hzmePIRz7i30UM//64GI1NLv9jl7nIwjhPpXpf7/lu2I9hOTsvwSumb5UiKC
|
17
|
+
/sqBxI3sfj9pr79Wpv4MuikX1XPik7Ncb7NPsJPw06Lvyc3Hkg5X2XpPtLtS+Gr2
|
18
|
+
wKJnmzb5rIPS1cmsqv0M9LPWflzfwoZ/SpnmhagP+g05p8bRNKjZSA2iImM/GyYZ
|
19
|
+
EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
|
20
|
+
tGSHgAmcLlkdGgan182qsE/4kKM=
|
21
|
+
-----END CERTIFICATE-----
|
data/lib/ptools.rb
CHANGED
data/ptools.gemspec
CHANGED
@@ -1,30 +1,31 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rbconfig'
|
3
3
|
|
4
|
-
Gem::Specification.new do |
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.name = 'ptools'
|
6
|
+
spec.version = '1.3.3'
|
7
|
+
spec.license = 'Artistic 2.0'
|
8
|
+
spec.author = 'Daniel J. Berger'
|
9
|
+
spec.email = 'djberg96@gmail.com'
|
10
|
+
spec.homepage = 'https://github.com/djberg96/ptools'
|
11
|
+
spec.summary = 'Extra methods for the File class'
|
12
|
+
spec.test_files = Dir['test/test*']
|
13
|
+
spec.files = Dir['**/*'] << '.gemtest'
|
14
|
+
spec.cert_chain = ['certs/djberg96_pub.pem']
|
14
15
|
|
15
|
-
|
16
|
+
spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
|
16
17
|
|
17
|
-
|
18
|
+
spec.description = <<-EOF
|
18
19
|
The ptools (power tools) library provides several handy methods to
|
19
20
|
Ruby's core File class, such as File.which for finding executables,
|
20
21
|
File.null to return the null device on your platform, and so on.
|
21
22
|
EOF
|
22
23
|
|
23
|
-
|
24
|
-
|
24
|
+
spec.add_development_dependency('rake')
|
25
|
+
spec.add_development_dependency('test-unit', '>= 2.5.0')
|
25
26
|
|
26
27
|
if File::ALT_SEPARATOR
|
27
|
-
|
28
|
-
|
28
|
+
spec.platform = Gem::Platform.new(['universal', 'mingw32'])
|
29
|
+
spec.add_dependency('win32-file', '>= 0.7.0')
|
29
30
|
end
|
30
31
|
end
|
data/test/test_constants.rb
CHANGED
@@ -15,7 +15,7 @@ class TC_Ptools_Constants < Test::Unit::TestCase
|
|
15
15
|
end
|
16
16
|
|
17
17
|
test "PTOOLS_VERSION constant is set to expected value" do
|
18
|
-
assert_equal('1.3.
|
18
|
+
assert_equal('1.3.3', File::PTOOLS_VERSION)
|
19
19
|
end
|
20
20
|
|
21
21
|
test "IMAGE_EXT constant is set to array of values" do
|
metadata
CHANGED
@@ -1,14 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ptools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
|
14
|
+
cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
15
|
+
MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
|
16
|
+
ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
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|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2015-09-25 00:00:00.000000000 Z
|
12
34
|
dependencies:
|
13
35
|
- !ruby/object:Gem::Dependency
|
14
36
|
name: rake
|
@@ -56,6 +78,7 @@ files:
|
|
56
78
|
- MANIFEST
|
57
79
|
- README
|
58
80
|
- Rakefile
|
81
|
+
- certs/djberg96_pub.pem
|
59
82
|
- lib/ptools.rb
|
60
83
|
- ptools.gemspec
|
61
84
|
- test/img/test.gif
|
@@ -100,15 +123,15 @@ signing_key:
|
|
100
123
|
specification_version: 4
|
101
124
|
summary: Extra methods for the File class
|
102
125
|
test_files:
|
103
|
-
- test/test_nlconvert.rb
|
104
|
-
- test/test_wc.rb
|
105
|
-
- test/test_head.rb
|
106
|
-
- test/test_null.rb
|
107
|
-
- test/test_is_sparse.rb
|
108
|
-
- test/test_whereis.rb
|
109
126
|
- test/test_binary.rb
|
110
|
-
- test/test_touch.rb
|
111
|
-
- test/test_tail.rb
|
112
127
|
- test/test_constants.rb
|
128
|
+
- test/test_head.rb
|
113
129
|
- test/test_image.rb
|
130
|
+
- test/test_is_sparse.rb
|
131
|
+
- test/test_nlconvert.rb
|
132
|
+
- test/test_null.rb
|
133
|
+
- test/test_tail.rb
|
134
|
+
- test/test_touch.rb
|
135
|
+
- test/test_wc.rb
|
136
|
+
- test/test_whereis.rb
|
114
137
|
- test/test_which.rb
|
metadata.gz.sig
ADDED
Binary file
|