dont-mess-with-my-js 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module DontMessWithMyJs
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -7,7 +7,7 @@ module Rack
7
7
  def call(env)
8
8
  status, headers, body = @app.call(env)
9
9
 
10
- headers['Cache-Control'] = "no-transform; #{ headers['Cache-Control'] }"
10
+ headers['Cache-Control'] = ['no-transform', headers['Cache-Control']].compact.join(',')
11
11
 
12
12
  [status, headers, body]
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dont-mess-with-my-js
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: