heroku-deflater 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NWRiMzAwY2Y1YThjMTFjYzE4ZDM3MjE1MmMxY2M5MTM3ODAyYzU1Zg==
5
+ data.tar.gz: !binary |-
6
+ N2FhZmE0MWM3YzI2N2QyOGUzMjg0NzRiZjAyMjgxZTM2ZjljMDcxNQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ OGY0MzFiMWQ1MzEyMzVmNjUwMGQyMDJkYzdlMDUyNTkxODY0ZjZkZDk1ZjM5
10
+ YjJhM2ViYTJmZGY1MjNkNjViZDI4MjRkY2FjMjUwNDNjZTgzZWFhZTU2Njlk
11
+ YTBiZTAxN2RhZTEyZmU2MDFiZDg0YzJhZDVjMmFhYTJjMzgzNTM=
12
+ data.tar.gz: !binary |-
13
+ NTU5YTViYmI5OTE0ZGQ4ZWUyNTc1NzgyYjM3ODFlNzQzODcxZGI0MDc2ZGRh
14
+ OWYxYzUwMTc3N2JlMDBjZDgwYWQxNmNhNzhlYWIxNTk3ZGU4NjhlMThkNzE1
15
+ Y2QyYWE2ODFmMDhkY2RjNTk0NDJiN2MxYzBmYjY1YmI5ZDNhNjY=
@@ -2,7 +2,7 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  addressable (2.3.5)
5
- builder (3.1.4)
5
+ builder (3.2.2)
6
6
  faraday (0.8.8)
7
7
  multipart-post (~> 1.2.0)
8
8
  git (1.2.6)
@@ -14,7 +14,7 @@ GEM
14
14
  nokogiri (~> 1.5.2)
15
15
  oauth2
16
16
  hashie (2.0.5)
17
- highline (1.6.19)
17
+ highline (1.6.20)
18
18
  httpauth (0.2.0)
19
19
  jeweler (1.8.8)
20
20
  builder
@@ -29,15 +29,17 @@ GEM
29
29
  jwt (0.1.8)
30
30
  multi_json (>= 1.5)
31
31
  multi_json (1.8.2)
32
+ multi_xml (0.5.5)
32
33
  multipart-post (1.2.0)
33
34
  nokogiri (1.5.10)
34
- oauth2 (0.8.1)
35
+ oauth2 (0.9.2)
35
36
  faraday (~> 0.8)
36
- httpauth (~> 0.1)
37
+ httpauth (~> 0.2)
37
38
  jwt (~> 0.1.4)
38
39
  multi_json (~> 1.0)
40
+ multi_xml (~> 0.5)
39
41
  rack (~> 1.2)
40
- rack (1.4.5)
42
+ rack (1.5.2)
41
43
  rake (10.1.0)
42
44
  rdoc (4.0.1)
43
45
  json (~> 1.4)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
@@ -2,14 +2,15 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: heroku-deflater 0.5.3 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "heroku-deflater"
8
- s.version = "0.5.2"
9
+ s.version = "0.5.3"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
12
  s.authors = ["Roman Shterenzon"]
12
- s.date = "2013-11-07"
13
+ s.date = "2013-12-16"
13
14
  s.description = "Deflate assets on heroku"
14
15
  s.email = "romanbsd@yahoo.com"
15
16
  s.extra_rdoc_files = [
@@ -39,11 +40,11 @@ Gem::Specification.new do |s|
39
40
  s.homepage = "http://github.com/romanbsd/heroku-deflater"
40
41
  s.licenses = ["MIT"]
41
42
  s.require_paths = ["lib"]
42
- s.rubygems_version = "1.8.25"
43
+ s.rubygems_version = "2.1.11"
43
44
  s.summary = "Deflate assets on heroku"
44
45
 
45
46
  if s.respond_to? :specification_version then
46
- s.specification_version = 3
47
+ s.specification_version = 4
47
48
 
48
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
50
  s.add_runtime_dependency(%q<rack>, [">= 1.4.5"])
@@ -28,6 +28,8 @@ module HerokuDeflater
28
28
  headers['Cache-Control'] += ', no-transform'
29
29
  end
30
30
  end
31
+
32
+ body.close if body.respond_to?(:close)
31
33
  [status, headers, body]
32
34
  end
33
35
  end
@@ -12,9 +12,9 @@ describe HerokuDeflater::ServeZippedAssets do
12
12
  def app
13
13
  @app ||= begin
14
14
  root_path = File.expand_path('../fixtures', __FILE__)
15
- headers = {'Cache-Control'=>'public, max-age=86400'}
15
+ cache_control = 'public, max-age=86400'
16
16
  mock = lambda { |env| [404, {'X-Cascade' => 'pass'}, []] }
17
- described_class.new(mock, root_path, '/assets', headers)
17
+ described_class.new(mock, root_path, '/assets', cache_control)
18
18
  end
19
19
  end
20
20
 
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-deflater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
5
- prerelease:
4
+ version: 0.5.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Roman Shterenzon
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-07 00:00:00.000000000 Z
11
+ date: 2013-12-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rack
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: jeweler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ! '>='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ! '>='
60
53
  - !ruby/object:Gem::Version
@@ -88,29 +81,25 @@ files:
88
81
  homepage: http://github.com/romanbsd/heroku-deflater
89
82
  licenses:
90
83
  - MIT
84
+ metadata: {}
91
85
  post_install_message:
92
86
  rdoc_options: []
93
87
  require_paths:
94
88
  - lib
95
89
  required_ruby_version: !ruby/object:Gem::Requirement
96
- none: false
97
90
  requirements:
98
91
  - - ! '>='
99
92
  - !ruby/object:Gem::Version
100
93
  version: '0'
101
- segments:
102
- - 0
103
- hash: -3897138388852926146
104
94
  required_rubygems_version: !ruby/object:Gem::Requirement
105
- none: false
106
95
  requirements:
107
96
  - - ! '>='
108
97
  - !ruby/object:Gem::Version
109
98
  version: '0'
110
99
  requirements: []
111
100
  rubyforge_project:
112
- rubygems_version: 1.8.25
101
+ rubygems_version: 2.1.11
113
102
  signing_key:
114
- specification_version: 3
103
+ specification_version: 4
115
104
  summary: Deflate assets on heroku
116
105
  test_files: []