uri_pathname 0.1.0.0 → 0.1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/using_fakeweb.rb +1 -1
- data/lib/uri_pathname.rb +1 -0
- data/lib/uri_pathname/version.rb +1 -1
- data/uri_pathname.gemspec +1 -1
- metadata +3 -3
data/examples/using_fakeweb.rb
CHANGED
@@ -23,7 +23,7 @@ MY_URIS = [
|
|
23
23
|
|
24
24
|
# some convenient defs
|
25
25
|
def prepare_example
|
26
|
-
|
26
|
+
FileUtils.mkdir_p(MY_DIR) unless (File.exist?(MY_DIR) and File.directory?(MY_DIR))
|
27
27
|
end
|
28
28
|
|
29
29
|
# preparation (comment this if you've already got your test dir)
|
data/lib/uri_pathname.rb
CHANGED
@@ -74,6 +74,7 @@ class UriPathname
|
|
74
74
|
else
|
75
75
|
""
|
76
76
|
end
|
77
|
+
extension='' unless extension
|
77
78
|
extension.insert(0,'.') unless extension.empty? or extension.start_with? '.'
|
78
79
|
pathname = host << @host_sep << path << query << scheme << extension
|
79
80
|
basedirpath = @base_dir unless basedirpath
|
data/lib/uri_pathname/version.rb
CHANGED
data/uri_pathname.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uri_pathname
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 67
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
+
- 1
|
9
10
|
- 0
|
10
|
-
|
11
|
-
version: 0.1.0.0
|
11
|
+
version: 0.1.1.0
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Marcel Massana
|