amee 4.3.1 → 4.3.2

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.
data/CHANGELOG.txt CHANGED
@@ -1,5 +1,8 @@
1
1
  = Changelog
2
2
 
3
+ == 4.3.2
4
+ * Bugfix to cache key generation (introduced in 4.3.1)
5
+
3
6
  == 4.3.1
4
7
  * Bugfix to make caching Rails 3 compatible
5
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.3.1
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.1"
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-04"
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 = [
@@ -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 < 255) ? newpath : newpath.first(218)+Digest::MD5.hexdigest(newpath)
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: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 4
8
8
  - 3
9
- - 1
10
- version: 4.3.1
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-04 00:00:00 Z
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