heroku-deflater 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -10,7 +10,7 @@ GEM
10
10
  json (1.7.7)
11
11
  rack (1.4.5)
12
12
  rake (10.0.3)
13
- rdoc (3.12.1)
13
+ rdoc (4.0.0)
14
14
  json (~> 1.4)
15
15
 
16
16
  PLATFORMS
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "heroku-deflater"
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roman Shterenzon"]
12
- s.date = "2013-02-22"
12
+ s.date = "2013-03-05"
13
13
  s.description = "Deflate assets on heroku"
14
14
  s.email = "romanbsd@yahoo.com"
15
15
  s.extra_rdoc_files = [
@@ -8,7 +8,11 @@ module HerokuDeflater
8
8
  WHITELIST = [
9
9
  %r{^text/},
10
10
  'application/javascript',
11
- 'application/json'
11
+ %r{^application/json},
12
+ %r{^application/.*?xml},
13
+ 'application/x-font-ttf',
14
+ 'font/opentype',
15
+ 'image/svg+xml'
12
16
  ].freeze
13
17
 
14
18
  def call(env)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-deflater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-22 00:00:00.000000000 Z
12
+ date: 2013-03-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  segments:
96
96
  - 0
97
- hash: 3241685697845166073
97
+ hash: -4409387764687671592
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  none: false
100
100
  requirements: