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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 567b8c9e88bdaed3107c8248a607801686db5ef0
4
- data.tar.gz: d6ea99f75c65ec236c1606d856a729f9b26b1659
3
+ metadata.gz: c180275bc8e38301a9c1d13771831614cf4febb5
4
+ data.tar.gz: 0de46ac283166ffc26a20955f2b4d4809116a6fc
5
5
  SHA512:
6
- metadata.gz: 210ee8e720a6cf80f8136ff7fb951d24ec7c58880d666a12118e4bc7f85b9daeeba7892a71dbb56f46c81ebf36cb61da2d6d09604399073a1afb45b8f13d6441
7
- data.tar.gz: 3e1f8324bd844ade8ca6dffe4d3b5df19382db1243c27f3278594276365cf25373102f26e909eadb264b306cfcda070bf1e899ed9773eebfaa90f1b9f793aefc
6
+ metadata.gz: 8bf975d8d26c1f464f48cdb831347eba7a4094ccba45e9f974766ca14f343db58d87a41dad2a7647ad1f3b3a1923622549177c6936638b60a796ba33088984ee
7
+ data.tar.gz: 849697b55d1a7ee705f5eec78f3a2e19dcfe086e5b1cbf753bcf185509554dac11ee153709fd356ff8dc601d7806ebe9cc5d288abfb70cd6df5c6cd631449fdb
Binary file
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.3.3 - 25-Sep-2015
2
+ * This gem is now signed.
3
+ * The Rakefile tasks now assume Rubygems 2.x.
4
+
1
5
  == 1.3.2 - 11-Dec-2014
2
6
  * Update to the File.tail method that deals prevents potential line ending
3
7
  issues in JRuby.
data/MANIFEST CHANGED
@@ -3,6 +3,7 @@
3
3
  * MANIFEST
4
4
  * Rakefile
5
5
  * ptools.gemspec
6
+ * certs/djberg96_pub.pem
6
7
  * lib/ptools.rb
7
8
  * test/test_constants.rb
8
9
  * test/test_head.rb
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
- Dir["*.gem"].each{ |f| File.delete(f) } # Clean first
19
+ require 'rubygems/package'
20
20
  spec = eval(IO.read('ptools.gemspec'))
21
- if Gem::VERSION < "2.0.0"
22
- Gem::Builder.new(spec).build
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(spec)
27
23
  end
28
24
 
29
25
  desc 'Install the ptools gem'
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
3
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
4
+ MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
5
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
6
+ bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyTkvXqRp6hLs9eoJOS
7
+ Hmi8kRYbq9Vkf15/hMxJpotYMgJVHHWrmDcC5Dye2PbnXjTkKf266Zw0PtT9h+lI
8
+ S3ts9HO+vaCFSMwFFZmnWJSpQ3CNw2RcHxjWkk9yF7imEM8Kz9ojhiDXzBetdV6M
9
+ gr0lV/alUr7TNVBDngbXEfTWscyXh1qd7xZ4EcOdsDktCe5G45N/o3662tPQvJsi
10
+ FOF0CM/KuBsa/HL1/eoEmF4B3EKIRfTHrQ3hu20Kv3RJ88QM4ec2+0dd97uX693O
11
+ zv6981fyEg+aXLkxrkViM/tz2qR2ZE0jPhHTREPYeMEgptRkTmWSKAuLVWrJEfgl
12
+ DtkCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEwe
13
+ nn6bfJADmuIDiMSOzedOrL+xMB0GA1UdEQQWMBSBEmRqYmVyZzk2QGdtYWlsLmNv
14
+ bTAdBgNVHRIEFjAUgRJkamJlcmc5NkBnbWFpbC5jb20wDQYJKoZIhvcNAQEFBQAD
15
+ ggEBAHmNOCWoDVD75zHFueY0viwGDVP1BNGFC+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-----
@@ -3,7 +3,7 @@ require 'win32/file' if File::ALT_SEPARATOR
3
3
 
4
4
  class File
5
5
  # The version of the ptools library.
6
- PTOOLS_VERSION = '1.3.2'
6
+ PTOOLS_VERSION = '1.3.3'
7
7
 
8
8
  # :stopdoc:
9
9
 
@@ -1,30 +1,31 @@
1
1
  require 'rubygems'
2
2
  require 'rbconfig'
3
3
 
4
- Gem::Specification.new do |gem|
5
- gem.name = 'ptools'
6
- gem.version = '1.3.2'
7
- gem.license = 'Artistic 2.0'
8
- gem.author = 'Daniel J. Berger'
9
- gem.email = 'djberg96@gmail.com'
10
- gem.homepage = 'https://github.com/djberg96/ptools'
11
- gem.summary = 'Extra methods for the File class'
12
- gem.test_files = Dir['test/test*']
13
- gem.files = Dir['**/*'] << '.gemtest'
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
- gem.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
16
+ spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
16
17
 
17
- gem.description = <<-EOF
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
- gem.add_development_dependency('rake')
24
- gem.add_development_dependency('test-unit', '>= 2.5.0')
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
- gem.platform = Gem::Platform.new(['universal', 'mingw32'])
28
- gem.add_dependency('win32-file', '>= 0.7.0')
28
+ spec.platform = Gem::Platform.new(['universal', 'mingw32'])
29
+ spec.add_dependency('win32-file', '>= 0.7.0')
29
30
  end
30
31
  end
@@ -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.2', File::PTOOLS_VERSION)
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.2
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
- date: 2014-12-11 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ M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w06Lvyc3Hkg5X2XpPtLtS+Gr2
29
+ wKJnmzb5rIPS1cmsqv0M9LPWflzfwoZ/SpnmhagP+g05p8bRNKjZSA2iImM/GyYZ
30
+ EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
31
+ tGSHgAmcLlkdGgan182qsE/4kKM=
32
+ -----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
Binary file