pathname2 1.7.2-universal-mingw32 → 1.7.3-universal-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- data/CHANGES +151 -148
- data/MANIFEST +38 -38
- data/README +98 -98
- data/lib/pathname2.rb +1140 -1140
- data/pathname2.gemspec +36 -36
- data/test/test_pathname.rb +484 -484
- data/test/test_version.rb +13 -13
- metadata +23 -25
data/test/test_version.rb
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
########################################################################
|
2
|
-
# test_version.rb
|
3
|
-
#
|
4
|
-
# Universal test file that tests for the proper version number.
|
5
|
-
########################################################################
|
6
|
-
require 'pathname2'
|
7
|
-
require 'test-unit'
|
8
|
-
|
9
|
-
class TC_Pathname_Version < Test::Unit::TestCase
|
10
|
-
test "version is set to expected value" do
|
11
|
-
assert_equal('1.7.
|
12
|
-
end
|
13
|
-
end
|
1
|
+
########################################################################
|
2
|
+
# test_version.rb
|
3
|
+
#
|
4
|
+
# Universal test file that tests for the proper version number.
|
5
|
+
########################################################################
|
6
|
+
require 'pathname2'
|
7
|
+
require 'test-unit'
|
8
|
+
|
9
|
+
class TC_Pathname_Version < Test::Unit::TestCase
|
10
|
+
test "version is set to expected value" do
|
11
|
+
assert_equal('1.7.3', Pathname::VERSION)
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,79 +1,77 @@
|
|
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.3
|
5
5
|
platform: universal-mingw32
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: facade
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - '>='
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - '>='
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: test-unit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - '>='
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - '>='
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - '>='
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - '>='
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: ffi
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - '>='
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - '>='
|
66
|
+
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description:
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
handles UNC paths on Windows properly. See the README file for more
|
76
|
-
details.
|
69
|
+
description: ! " The pathname2 library provides an implementation of the Pathname\n
|
70
|
+
\ class different from the one that ships as part of the Ruby standard\n library.
|
71
|
+
It is a subclass of String, though several methods have been\n overridden to
|
72
|
+
better fit a path context. In addition, it supports file\n URL's as paths, provides
|
73
|
+
additional methods for Windows paths, and\n handles UNC paths on Windows properly.
|
74
|
+
See the README file for more\n details.\n"
|
77
75
|
email: djberg96@gmail.com
|
78
76
|
executables: []
|
79
77
|
extensions: []
|
@@ -82,15 +80,15 @@ extra_rdoc_files:
|
|
82
80
|
- CHANGES
|
83
81
|
- MANIFEST
|
84
82
|
files:
|
85
|
-
- CHANGES
|
86
|
-
- MANIFEST
|
87
|
-
- README
|
88
|
-
- Rakefile
|
89
83
|
- benchmarks/bench_pathname.rb
|
90
84
|
- benchmarks/bench_plus.rb
|
85
|
+
- CHANGES
|
91
86
|
- examples/example_pathname.rb
|
92
87
|
- lib/pathname2.rb
|
88
|
+
- MANIFEST
|
93
89
|
- pathname2.gemspec
|
90
|
+
- Rakefile
|
91
|
+
- README
|
94
92
|
- test/test_pathname.rb
|
95
93
|
- test/test_version.rb
|
96
94
|
- test/windows/test_append.rb
|
@@ -131,17 +129,17 @@ require_paths:
|
|
131
129
|
- lib
|
132
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
133
131
|
requirements:
|
134
|
-
- - '>='
|
132
|
+
- - ! '>='
|
135
133
|
- !ruby/object:Gem::Version
|
136
134
|
version: '0'
|
137
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
136
|
requirements:
|
139
|
-
- - '>='
|
137
|
+
- - ! '>='
|
140
138
|
- !ruby/object:Gem::Version
|
141
139
|
version: '0'
|
142
140
|
requirements: []
|
143
141
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
142
|
+
rubygems_version: 2.0.3
|
145
143
|
signing_key:
|
146
144
|
specification_version: 4
|
147
145
|
summary: An alternate implementation of the Pathname class
|