heroku-deflater 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'rack', '~>1.4.5'
3
+ gem 'rack', '>=1.4.5'
4
4
 
5
5
  group :development do
6
6
  gem "bundler"
data/Gemfile.lock CHANGED
@@ -9,8 +9,8 @@ GEM
9
9
  rdoc
10
10
  json (1.7.7)
11
11
  rack (1.4.5)
12
- rake (10.0.3)
13
- rdoc (4.0.0)
12
+ rake (10.0.4)
13
+ rdoc (4.0.1)
14
14
  json (~> 1.4)
15
15
 
16
16
  PLATFORMS
@@ -19,4 +19,4 @@ PLATFORMS
19
19
  DEPENDENCIES
20
20
  bundler
21
21
  jeweler
22
- rack (~> 1.4.5)
22
+ rack (>= 1.4.5)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "heroku-deflater"
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
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-03-05"
12
+ s.date = "2013-05-04"
13
13
  s.description = "Deflate assets on heroku"
14
14
  s.email = "romanbsd@yahoo.com"
15
15
  s.extra_rdoc_files = [
@@ -33,23 +33,23 @@ Gem::Specification.new do |s|
33
33
  s.homepage = "http://github.com/romanbsd/heroku-deflater"
34
34
  s.licenses = ["MIT"]
35
35
  s.require_paths = ["lib"]
36
- s.rubygems_version = "1.8.23"
36
+ s.rubygems_version = "1.8.25"
37
37
  s.summary = "Deflate assets on heroku"
38
38
 
39
39
  if s.respond_to? :specification_version then
40
40
  s.specification_version = 3
41
41
 
42
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
- s.add_runtime_dependency(%q<rack>, ["~> 1.4.5"])
43
+ s.add_runtime_dependency(%q<rack>, [">= 1.4.5"])
44
44
  s.add_development_dependency(%q<bundler>, [">= 0"])
45
45
  s.add_development_dependency(%q<jeweler>, [">= 0"])
46
46
  else
47
- s.add_dependency(%q<rack>, ["~> 1.4.5"])
47
+ s.add_dependency(%q<rack>, [">= 1.4.5"])
48
48
  s.add_dependency(%q<bundler>, [">= 0"])
49
49
  s.add_dependency(%q<jeweler>, [">= 0"])
50
50
  end
51
51
  else
52
- s.add_dependency(%q<rack>, ["~> 1.4.5"])
52
+ s.add_dependency(%q<rack>, [">= 1.4.5"])
53
53
  s.add_dependency(%q<bundler>, [">= 0"])
54
54
  s.add_dependency(%q<jeweler>, [">= 0"])
55
55
  end
@@ -20,7 +20,8 @@ describe HerokuDeflater::SkipBinary do
20
20
  end
21
21
 
22
22
  it "allows compressing of text types" do
23
- %w[text/plain text/html application/json application/javascript].each do |type|
23
+ %w[text/plain text/html application/json application/javascript
24
+ application/rss+xml].each do |type|
24
25
  headers = process(type)
25
26
  headers['Cache-Control'].to_s.should_not include('no-transform')
26
27
  end
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.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,14 +9,14 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-05 00:00:00.000000000 Z
12
+ date: 2013-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 1.4.5
22
22
  type: :runtime
@@ -24,7 +24,7 @@ dependencies:
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 1.4.5
30
30
  - !ruby/object:Gem::Dependency
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  segments:
96
96
  - 0
97
- hash: -4409387764687671592
97
+ hash: -1218227889335563131
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  none: false
100
100
  requirements:
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 1.8.23
106
+ rubygems_version: 1.8.25
107
107
  signing_key:
108
108
  specification_version: 3
109
109
  summary: Deflate assets on heroku