heroku-deflater 0.5.3 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NWRiMzAwY2Y1YThjMTFjYzE4ZDM3MjE1MmMxY2M5MTM3ODAyYzU1Zg==
5
- data.tar.gz: !binary |-
6
- N2FhZmE0MWM3YzI2N2QyOGUzMjg0NzRiZjAyMjgxZTM2ZjljMDcxNQ==
2
+ SHA1:
3
+ metadata.gz: 575688520f9c27f3b054344c6963dd158f70011b
4
+ data.tar.gz: e4c10c808f9610decf1b3f51fca4815bad411fad
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OGY0MzFiMWQ1MzEyMzVmNjUwMGQyMDJkYzdlMDUyNTkxODY0ZjZkZDk1ZjM5
10
- YjJhM2ViYTJmZGY1MjNkNjViZDI4MjRkY2FjMjUwNDNjZTgzZWFhZTU2Njlk
11
- YTBiZTAxN2RhZTEyZmU2MDFiZDg0YzJhZDVjMmFhYTJjMzgzNTM=
12
- data.tar.gz: !binary |-
13
- NTU5YTViYmI5OTE0ZGQ4ZWUyNTc1NzgyYjM3ODFlNzQzODcxZGI0MDc2ZGRh
14
- OWYxYzUwMTc3N2JlMDBjZDgwYWQxNmNhNzhlYWIxNTk3ZGU4NjhlMThkNzE1
15
- Y2QyYWE2ODFmMDhkY2RjNTk0NDJiN2MxYzBmYjY1YmI5ZDNhNjY=
6
+ metadata.gz: cee5e69f39d38afdadb2fe594ee549dd2be04c2fa741e51b7ab47e8ead6b707be3d4e81a7ec150086c3060e035f0bf8f2b7296fe9ecba62dd0f03a55f5e81074
7
+ data.tar.gz: 392371202d16856f736a757b8c528db1e6eb7412c99dcf7f1a74d2e465bf166d75b1eea8ba2b3206056c42855428389359b3c7e53aaaf56a2a7d3e9fe734ce82
@@ -1,48 +1,49 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- addressable (2.3.5)
4
+ addressable (2.3.8)
5
5
  builder (3.2.2)
6
- faraday (0.8.8)
7
- multipart-post (~> 1.2.0)
8
- git (1.2.6)
9
- github_api (0.10.1)
10
- addressable
11
- faraday (~> 0.8.1)
12
- hashie (>= 1.2)
13
- multi_json (~> 1.4)
14
- nokogiri (~> 1.5.2)
6
+ descendants_tracker (0.0.4)
7
+ thread_safe (~> 0.3, >= 0.3.1)
8
+ faraday (0.9.2)
9
+ multipart-post (>= 1.2, < 3)
10
+ git (1.2.9.1)
11
+ github_api (0.12.4)
12
+ addressable (~> 2.3)
13
+ descendants_tracker (~> 0.0.4)
14
+ faraday (~> 0.8, < 0.10)
15
+ hashie (>= 3.4)
16
+ multi_json (>= 1.7.5, < 2.0)
17
+ nokogiri (~> 1.6.6)
15
18
  oauth2
16
- hashie (2.0.5)
17
- highline (1.6.20)
18
- httpauth (0.2.0)
19
- jeweler (1.8.8)
19
+ hashie (3.4.3)
20
+ highline (1.7.8)
21
+ jeweler (2.0.1)
20
22
  builder
21
- bundler (~> 1.0)
23
+ bundler (>= 1.0)
22
24
  git (>= 1.2.5)
23
- github_api (= 0.10.1)
25
+ github_api
24
26
  highline (>= 1.6.15)
25
- nokogiri (= 1.5.10)
27
+ nokogiri (>= 1.5.10)
26
28
  rake
27
29
  rdoc
28
- json (1.8.1)
29
- jwt (0.1.8)
30
- multi_json (>= 1.5)
31
- multi_json (1.8.2)
30
+ jwt (1.5.2)
31
+ mini_portile (0.6.2)
32
+ multi_json (1.11.2)
32
33
  multi_xml (0.5.5)
33
- multipart-post (1.2.0)
34
- nokogiri (1.5.10)
35
- oauth2 (0.9.2)
36
- faraday (~> 0.8)
37
- httpauth (~> 0.2)
38
- jwt (~> 0.1.4)
39
- multi_json (~> 1.0)
34
+ multipart-post (2.0.0)
35
+ nokogiri (1.6.6.2)
36
+ mini_portile (~> 0.6.0)
37
+ oauth2 (1.0.0)
38
+ faraday (>= 0.8, < 0.10)
39
+ jwt (~> 1.0)
40
+ multi_json (~> 1.3)
40
41
  multi_xml (~> 0.5)
41
42
  rack (~> 1.2)
42
- rack (1.5.2)
43
- rake (10.1.0)
44
- rdoc (4.0.1)
45
- json (~> 1.4)
43
+ rack (1.6.4)
44
+ rake (10.4.2)
45
+ rdoc (4.2.0)
46
+ thread_safe (0.3.5)
46
47
 
47
48
  PLATFORMS
48
49
  ruby
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.6.2
@@ -2,15 +2,16 @@
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
+ # stub: heroku-deflater 0.6.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "heroku-deflater"
9
- s.version = "0.5.3"
9
+ s.version = "0.6.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
12
13
  s.authors = ["Roman Shterenzon"]
13
- s.date = "2013-12-16"
14
+ s.date = "2015-11-03"
14
15
  s.description = "Deflate assets on heroku"
15
16
  s.email = "romanbsd@yahoo.com"
16
17
  s.extra_rdoc_files = [
@@ -39,8 +40,7 @@ Gem::Specification.new do |s|
39
40
  ]
40
41
  s.homepage = "http://github.com/romanbsd/heroku-deflater"
41
42
  s.licenses = ["MIT"]
42
- s.require_paths = ["lib"]
43
- s.rubygems_version = "2.1.11"
43
+ s.rubygems_version = "2.4.6"
44
44
  s.summary = "Deflate assets on heroku"
45
45
 
46
46
  if s.respond_to? :specification_version then
@@ -12,6 +12,7 @@ module HerokuDeflater
12
12
  def initialize(app, root, assets_path, cache_control=nil)
13
13
  @app = app
14
14
  @assets_path = assets_path.chomp('/') + '/'
15
+ cache_control = {headers: {'Cache-Control' => cache_control}} if Rails::VERSION::MAJOR >= 5 && cache_control.is_a?(String)
15
16
  @file_handler = ActionDispatch::FileHandler.new(root, cache_control)
16
17
  end
17
18
 
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-deflater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Shterenzon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-16 00:00:00.000000000 Z
11
+ date: 2015-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.4.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.4.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jeweler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Deflate assets on heroku
@@ -60,7 +60,7 @@ extra_rdoc_files:
60
60
  - LICENSE.txt
61
61
  - README.md
62
62
  files:
63
- - .rspec
63
+ - ".rspec"
64
64
  - Gemfile
65
65
  - Gemfile.lock
66
66
  - LICENSE.txt
@@ -88,17 +88,17 @@ require_paths:
88
88
  - lib
89
89
  required_ruby_version: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ! '>='
91
+ - - ">="
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ! '>='
96
+ - - ">="
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
100
  rubyforge_project:
101
- rubygems_version: 2.1.11
101
+ rubygems_version: 2.4.6
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Deflate assets on heroku