pathname2 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +4 -0
- data/MANIFEST +28 -1
- data/README +5 -6
- data/lib/pathname2.rb +1 -1
- data/pathname2.gemspec +9 -1
- data/test/test_pathname.rb +0 -4
- data/test/test_version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a45bf8835ded8326c6c8d0667803b5ddfc1ce513
|
4
|
+
data.tar.gz: bddb0aa47ca5a98b5e513d0203e1ed9b086d3ef5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a86e59426f9e6c587859d464616d968671764581615e519775ee9f3150237c170eaeb7311999ddf557e2ebe55fed5d5a0220d967f386ca9be5e1677ab3982307
|
7
|
+
data.tar.gz: 2e8b806858a9c318e8b7704981208d848ffadf08d589bcdde4277ef409b8d49e39255b20b14667bb0e1cfa02780b133b63107a4406d2bf1572ad7c9fb6dcb2c2
|
data/CHANGES
CHANGED
data/MANIFEST
CHANGED
@@ -8,4 +8,31 @@
|
|
8
8
|
* examples/example_pathname.rb
|
9
9
|
* lib/pathname2.rb
|
10
10
|
* test/test_pathname.rb
|
11
|
-
* test/
|
11
|
+
* test/test_version.rb
|
12
|
+
* test/windows/test_append.rb
|
13
|
+
* test/windows/test_aref.rb
|
14
|
+
* test/windows/test_ascend.rb
|
15
|
+
* test/windows/test_children.rb
|
16
|
+
* test/windows/test_clean.rb
|
17
|
+
* test/windows/test_clean_bang.rb
|
18
|
+
* test/windows/test_constructor.rb
|
19
|
+
* test/windows/test_descend.rb
|
20
|
+
* test/windows/test_drive_number.rb
|
21
|
+
* test/windows/test_each.rb
|
22
|
+
* test/windows/test_facade.rb
|
23
|
+
* test/windows/test_is_absolute.rb
|
24
|
+
* test/windows/test_is_relative.rb
|
25
|
+
* test/windows/test_is_root.rb
|
26
|
+
* test/windows/test_is_unc.rb
|
27
|
+
* test/windows/test_long_path.rb
|
28
|
+
* test/windows/test_misc.rb
|
29
|
+
* test/windows/test_parent.rb
|
30
|
+
* test/windows/test_pstrip.rb
|
31
|
+
* test/windows/test_pstrip_bang.rb
|
32
|
+
* test/windows/test_realpath.rb
|
33
|
+
* test/windows/test_relative_path_from.rb
|
34
|
+
* test/windows/test_root.rb
|
35
|
+
* test/windows/test_short_path.rb
|
36
|
+
* test/windows/test_to_a.rb
|
37
|
+
* test/windows/test_undecorate.rb
|
38
|
+
* test/windows/test_undecorate_bang.rb
|
data/README
CHANGED
@@ -2,8 +2,9 @@
|
|
2
2
|
A drop-in replacement for the current Pathname class.
|
3
3
|
|
4
4
|
== Prerequisites
|
5
|
-
* facade
|
6
|
-
*
|
5
|
+
* facade
|
6
|
+
* ffi (Windows only)
|
7
|
+
* test-unit (testing only)
|
7
8
|
|
8
9
|
== Installation
|
9
10
|
|
@@ -76,9 +77,7 @@
|
|
76
77
|
supposed to be private. See ruby-core:7383.
|
77
78
|
|
78
79
|
Any other issues should be reported on the project page at
|
79
|
-
|
80
|
-
|
81
|
-
The git repo itself is located at https://github.com/djberg96/pathname2
|
80
|
+
https://github.com/djberg96/pathname2
|
82
81
|
|
83
82
|
== Future Plans
|
84
83
|
Suggestions welcome.
|
@@ -87,7 +86,7 @@
|
|
87
86
|
Artistic 2.0
|
88
87
|
|
89
88
|
== Copyright
|
90
|
-
(C) 2003-
|
89
|
+
(C) 2003-2014 Daniel J. Berger
|
91
90
|
All rights reserved.
|
92
91
|
|
93
92
|
== Warranty
|
data/lib/pathname2.rb
CHANGED
data/pathname2.gemspec
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'pathname2'
|
5
|
-
spec.version = '1.7.
|
5
|
+
spec.version = '1.7.1'
|
6
6
|
spec.author = 'Daniel J. Berger'
|
7
7
|
spec.license = 'Artistic 2.0'
|
8
8
|
spec.email = 'djberg96@gmail.com'
|
@@ -16,6 +16,14 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.add_development_dependency('test-unit')
|
17
17
|
spec.add_development_dependency('rake')
|
18
18
|
|
19
|
+
if File::ALT_SEPARATOR
|
20
|
+
spec.add_dependency('ffi')
|
21
|
+
spec.test_files = FileList['test/windows/*.rb', 'test/test_version.rb']
|
22
|
+
spec.platform = Gem::Platform.new(['universal', 'mingw32'])
|
23
|
+
else
|
24
|
+
spec.test_files = FileList['test/test_pathname.rb', 'test/test_version.rb']
|
25
|
+
end
|
26
|
+
|
19
27
|
spec.description = <<-EOF
|
20
28
|
The pathname2 library provides an implementation of the Pathname
|
21
29
|
class different from the one that ships as part of the Ruby standard
|
data/test/test_pathname.rb
CHANGED
data/test/test_version.rb
CHANGED
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.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -130,4 +130,6 @@ rubygems_version: 2.2.2
|
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: An alternate implementation of the Pathname class
|
133
|
-
test_files:
|
133
|
+
test_files:
|
134
|
+
- test/test_pathname.rb
|
135
|
+
- test/test_version.rb
|