pathname2 1.8.0 → 1.8.1

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
- SHA1:
3
- metadata.gz: 113b69a61947d4b98d3c4a44c1a030d2a49e193e
4
- data.tar.gz: 03c39ef8fdfbf343c04ce7ab3da048af9f5da3db
2
+ SHA256:
3
+ metadata.gz: 7362403f5ed4a9b4807a38a2e0f8c96209440db7249d4b0a1c770c65e92e132d
4
+ data.tar.gz: 143b74af295b7294509ce2e91d9e5c51f45b5c46f41b3b2dce66e78bb4fc8894
5
5
  SHA512:
6
- metadata.gz: fec8d35e327db644ea24c8777288df0690c6e8e6d85627b7646aae83d99266bbeb0ef8c256727afd77342c89ed5cf36ca9923c444aa4c01edcb00a3d435cc98d
7
- data.tar.gz: 80eadfb04099f368725d206f487ab3195515819053bb365173a90b7ee64a1c136e3a0cbb36bd18622174ae9d582ee125b84cf5f2b3918ecb58adadd5eb0ee72a
6
+ metadata.gz: da17cf72e1bb4a86aef9ea5acde7abe6e892ac35f3ab31a37a2e83dfd2e202166963d439d50f60a43aec9119172ed96d7b09aea8c0f66d56606b002f2ab27401
7
+ data.tar.gz: dc42ede4a4e8bae29f44e691fa966c96b8fffc014648561061b812dc00d04a29e4c4a9f25af8f90ea2851b9e8402ef2fda8b99b21b91d9cafd8667261bdd51ea
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,9 @@
1
+ == 1.8.1 - 31-Jan-2019
2
+ * The VERSION constant is now frozen.
3
+ * Added metadata to the gemspec.
4
+ * Fixed missing hyphen in license name.
5
+ * Updated cert, should be good for about 10 years.
6
+
1
7
  == 1.8.0 - 19-Jun-2016
2
8
  * Changed license to Apache 2.0.
3
9
  * Some cleanup and updates to the Rakefile and benchmarks.
data/README CHANGED
@@ -82,10 +82,10 @@
82
82
  Suggestions welcome.
83
83
 
84
84
  == License
85
- Apache 2.0
85
+ Apache-2.0
86
86
 
87
87
  == Copyright
88
- (C) 2003-2016 Daniel J. Berger
88
+ (C) 2003-2019 Daniel J. Berger
89
89
  All rights reserved.
90
90
 
91
91
  == Warranty
@@ -1,21 +1,26 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
2
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDAhkamJl
3
3
  cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
4
- MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
4
+ MB4XDTE4MDMxODE1MjIwN1oXDTI4MDMxNTE1MjIwN1owPzERMA8GA1UEAwwIZGpi
5
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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1UdDwQEAwIEsDAdBgNVHQ4EFgQUFZsMapgzJimzsbaBG2Tm8j5e
16
+ AzgwHQYDVR0RBBYwFIESZGpiZXJnOTZAZ21haWwuY29tMB0GA1UdEgQWMBSBEmRq
17
+ YmVyZzk2QGdtYWlsLmNvbTANBgkqhkiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
18
+ /3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
19
+ h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
20
+ 6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
21
+ ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
22
+ 1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
23
+ DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
24
+ ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
25
+ WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
21
26
  -----END CERTIFICATE-----
@@ -93,7 +93,7 @@ class Pathname < String
93
93
  public
94
94
 
95
95
  # The version of the pathname2 library
96
- VERSION = '1.8.0'
96
+ VERSION = '1.8.1'.freeze
97
97
 
98
98
  # The maximum length of a path
99
99
  MAXPATH = 1024 unless defined? MAXPATH # Yes, I willfully violate POSIX
@@ -2,9 +2,9 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'pathname2'
5
- spec.version = '1.8.0'
5
+ spec.version = '1.8.1'
6
6
  spec.author = 'Daniel J. Berger'
7
- spec.license = 'Apache 2.0'
7
+ spec.license = 'Apache-2.0'
8
8
  spec.email = 'djberg96@gmail.com'
9
9
  spec.homepage = 'https://github.com/djberg96/pathname2'
10
10
  spec.summary = 'An alternate implementation of the Pathname class'
@@ -17,6 +17,15 @@ Gem::Specification.new do |spec|
17
17
  spec.add_development_dependency('test-unit')
18
18
  spec.add_development_dependency('rake')
19
19
 
20
+ spec.metadata = {
21
+ 'homepage_uri' => 'https://github.com/djberg96/pathname2',
22
+ 'bug_tracker_uri' => 'https://github.com/djberg96/pathname2/issues',
23
+ 'changelog_uri' => 'https://github.com/djberg96/pathname2/blob/ffi/CHANGES',
24
+ 'documentation_uri' => 'https://github.com/djberg96/pathname2/wiki',
25
+ 'source_code_uri' => 'https://github.com/djberg96/pathname2',
26
+ 'wiki_uri' => 'https://github.com/djberg96/pathname2/wiki'
27
+ }
28
+
20
29
  if File::ALT_SEPARATOR
21
30
  spec.add_dependency('ffi')
22
31
  spec.test_files = FileList['test/windows/*.rb', 'test/test_version.rb']
@@ -8,6 +8,10 @@ require 'test-unit'
8
8
 
9
9
  class TC_Pathname_Version < Test::Unit::TestCase
10
10
  test "version is set to expected value" do
11
- assert_equal('1.8.0', Pathname::VERSION)
11
+ assert_equal('1.8.1', Pathname::VERSION)
12
+ end
13
+
14
+ test "version is frozen" do
15
+ assert_true(Pathname::VERSION.frozen?)
12
16
  end
13
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pathname2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -10,27 +10,32 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
13
+ MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MREwDwYDVQQDDA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xxKTsVVpZD8QZxvK91OQ
30
+ h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
31
+ 6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
32
+ ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
33
+ 1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
34
+ DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
35
+ ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
36
+ WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
32
37
  -----END CERTIFICATE-----
33
- date: 2016-06-19 00:00:00.000000000 Z
38
+ date:
34
39
  dependencies:
35
40
  - !ruby/object:Gem::Dependency
36
41
  name: facade
@@ -90,56 +95,62 @@ extra_rdoc_files:
90
95
  - CHANGES
91
96
  - MANIFEST
92
97
  files:
93
- - benchmarks
94
- - benchmarks/bench_pathname.rb
95
- - benchmarks/bench_plus.rb
96
- - certs
97
- - certs/djberg96_pub.pem
98
98
  - CHANGES
99
- - examples
100
- - examples/example_pathname.rb
101
- - lib
102
- - lib/pathname2.rb
103
- - MANIFEST
104
99
  - pathname2.gemspec
105
- - Rakefile
106
- - README
107
100
  - test
108
101
  - test/test_pathname.rb
109
- - test/test_version.rb
110
102
  - test/windows
111
- - test/windows/test_append.rb
103
+ - test/windows/test_pstrip.rb
104
+ - test/windows/test_drive_number.rb
105
+ - test/windows/test_is_absolute.rb
112
106
  - test/windows/test_aref.rb
107
+ - test/windows/test_realpath.rb
113
108
  - test/windows/test_ascend.rb
114
- - test/windows/test_children.rb
109
+ - test/windows/test_undecorate.rb
110
+ - test/windows/test_is_root.rb
115
111
  - test/windows/test_clean.rb
112
+ - test/windows/test_relative_path_from.rb
113
+ - test/windows/test_root.rb
114
+ - test/windows/test_append.rb
115
+ - test/windows/test_pstrip_bang.rb
116
116
  - test/windows/test_clean_bang.rb
117
+ - test/windows/test_children.rb
118
+ - test/windows/test_undecorate_bang.rb
119
+ - test/windows/test_misc.rb
117
120
  - test/windows/test_constructor.rb
118
- - test/windows/test_descend.rb
119
- - test/windows/test_drive_number.rb
120
- - test/windows/test_each.rb
121
- - test/windows/test_facade.rb
122
- - test/windows/test_is_absolute.rb
123
- - test/windows/test_is_relative.rb
124
- - test/windows/test_is_root.rb
125
- - test/windows/test_is_unc.rb
126
- - test/windows/test_join.rb
127
121
  - test/windows/test_long_path.rb
128
- - test/windows/test_misc.rb
122
+ - test/windows/test_each.rb
129
123
  - test/windows/test_parent.rb
130
- - test/windows/test_pstrip.rb
131
- - test/windows/test_pstrip_bang.rb
132
- - test/windows/test_realpath.rb
133
- - test/windows/test_relative_path_from.rb
134
- - test/windows/test_root.rb
124
+ - test/windows/test_is_unc.rb
125
+ - test/windows/test_is_relative.rb
126
+ - test/windows/test_facade.rb
135
127
  - test/windows/test_short_path.rb
136
128
  - test/windows/test_to_a.rb
137
- - test/windows/test_undecorate.rb
138
- - test/windows/test_undecorate_bang.rb
129
+ - test/windows/test_descend.rb
130
+ - test/windows/test_join.rb
131
+ - test/test_version.rb
132
+ - examples
133
+ - examples/example_pathname.rb
134
+ - README
135
+ - benchmarks
136
+ - benchmarks/bench_plus.rb
137
+ - benchmarks/bench_pathname.rb
138
+ - Rakefile
139
+ - MANIFEST
140
+ - lib
141
+ - lib/pathname2.rb
142
+ - certs
143
+ - certs/djberg96_pub.pem
139
144
  homepage: https://github.com/djberg96/pathname2
140
145
  licenses:
141
- - Apache 2.0
142
- metadata: {}
146
+ - Apache-2.0
147
+ metadata:
148
+ homepage_uri: https://github.com/djberg96/pathname2
149
+ bug_tracker_uri: https://github.com/djberg96/pathname2/issues
150
+ changelog_uri: https://github.com/djberg96/pathname2/blob/ffi/CHANGES
151
+ documentation_uri: https://github.com/djberg96/pathname2/wiki
152
+ source_code_uri: https://github.com/djberg96/pathname2
153
+ wiki_uri: https://github.com/djberg96/pathname2/wiki
143
154
  post_install_message:
144
155
  rdoc_options: []
145
156
  require_paths:
@@ -155,8 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
166
  - !ruby/object:Gem::Version
156
167
  version: '0'
157
168
  requirements: []
158
- rubyforge_project:
159
- rubygems_version: 2.6.4
169
+ rubygems_version: 3.0.2
160
170
  signing_key:
161
171
  specification_version: 4
162
172
  summary: An alternate implementation of the Pathname class
metadata.gz.sig CHANGED
Binary file