amee 4.3.1 → 4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +3 -0
- data/VERSION +1 -1
- data/amee.gemspec +2 -2
- data/lib/amee/connection.rb +1 -1
- metadata +4 -4
data/CHANGELOG.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.3.
|
1
|
+
4.3.2
|
data/amee.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "amee"
|
8
|
-
s.version = "4.3.
|
8
|
+
s.version = "4.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["James Smith", "James Hetherington", "Andrew Hill", "Andrew Berkeley"]
|
12
|
-
s.date = "2012-01-
|
12
|
+
s.date = "2012-01-09"
|
13
13
|
s.email = "james@floppy.org.uk"
|
14
14
|
s.executables = ["ameesh"]
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/amee/connection.rb
CHANGED
@@ -299,7 +299,7 @@ module AMEE
|
|
299
299
|
# We have to make sure cache keys don't get too long for the filesystem,
|
300
300
|
# so we cut them off if they're too long and add a digest for uniqueness.
|
301
301
|
newpath = @server + path.gsub(/[^0-9a-z\/]/i, '').gsub(/\//i, '_')
|
302
|
-
newpath = (newpath.length <
|
302
|
+
newpath = (newpath.length < 250) ? newpath : newpath.first(218)+Digest::MD5.hexdigest(newpath)
|
303
303
|
end
|
304
304
|
|
305
305
|
public
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 4
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 4.3.
|
9
|
+
- 2
|
10
|
+
version: 4.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Smith
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2012-01-
|
21
|
+
date: 2012-01-09 00:00:00 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|