concord_cacher 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -2
- data/concord_cacher.gemspec +1 -1
- data/lib/concord/resource.rb +1 -1
- data/lib/concord_cacher.rb +1 -1
- data/spec/data/url_with_space.otml +2 -2
- data/spec/diy_local_cacher_spec.rb +2 -2
- data/spec/java_proxy_cacher_spec.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
data/Rakefile
CHANGED
data/concord_cacher.gemspec
CHANGED
data/lib/concord/resource.rb
CHANGED
@@ -258,7 +258,7 @@ class ::Concord::Resource
|
|
258
258
|
_try(resource, lambda {
|
259
259
|
# strip whitespace from the end of the match url, but don't alter the url so that when
|
260
260
|
# we replace the url later, we can, in essence, fix the malformed url
|
261
|
-
resource.uri = URI.parse(CGI.unescapeHTML(resource.url.
|
261
|
+
resource.uri = URI.parse(CGI.unescapeHTML(resource.url.strip))
|
262
262
|
})
|
263
263
|
if (resource.uri.relative?)
|
264
264
|
# relative URL's need to have their parent document's codebase appended before trying to download
|
data/lib/concord_cacher.rb
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
<OTSystem local_id="system">
|
7
7
|
<root>
|
8
8
|
<OTText>
|
9
|
-
<img src='http://portal.concord.org/images/icons/chart_line.png '
|
9
|
+
<img src=' http://portal.concord.org/images/icons/chart_line.png '/>
|
10
10
|
</OTText>
|
11
11
|
</root>
|
12
12
|
</OTSystem>
|
13
13
|
</objects>
|
14
|
-
</otrunk>
|
14
|
+
</otrunk>
|
@@ -1,10 +1,10 @@
|
|
1
1
|
begin
|
2
2
|
require 'concord_cacher'
|
3
3
|
rescue LoadError
|
4
|
-
require File.join(File.dirname(__FILE__), '..','lib','concord.rb')
|
4
|
+
require File.expand_path(File.join(File.dirname(__FILE__), '..','lib','concord.rb'))
|
5
5
|
end
|
6
6
|
|
7
|
-
require File.join(File.dirname(__FILE__),'helpers','cache_helper.rb')
|
7
|
+
require File.expand_path(File.join(File.dirname(__FILE__),'helpers','cache_helper.rb'))
|
8
8
|
|
9
9
|
require 'fileutils'
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
begin
|
2
2
|
require 'concord_cacher'
|
3
3
|
rescue LoadError
|
4
|
-
require File.join(File.dirname(__FILE__), '..','lib','concord.rb')
|
4
|
+
require File.expand_path(File.join(File.dirname(__FILE__), '..','lib','concord.rb'))
|
5
5
|
end
|
6
6
|
|
7
|
-
require File.join(File.dirname(__FILE__),'helpers','cache_helper.rb')
|
7
|
+
require File.expand_path(File.join(File.dirname(__FILE__),'helpers','cache_helper.rb'))
|
8
8
|
|
9
9
|
require 'fileutils'
|
10
10
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|