rack-cors 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rack-cors might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7fa6e09583a5f2886f25edeea60c8684dd4570e2
4
- data.tar.gz: d6527b5970f02a3a43dfc305cf8c3edde91ae00b
3
+ metadata.gz: 0e212c45ff98679f235b713d3ae97074667cd4af
4
+ data.tar.gz: aacdef32fae6abecbfca418af44cb2d2f0f838c6
5
5
  SHA512:
6
- metadata.gz: 6b4048b21713e5b87d4fca48995253fb500e28e82e38a57a6af489bfa0989706e6cb008f9894d2d87c7b5c7dc215aa32fdfcb3d65748cf5152a79e8c59e1813f
7
- data.tar.gz: dd9967c547e09f5eebecc4dfcaf1fab6f16395786af08f8c0dbb09d92e3c6c5400c5d828536b5e66588086c9d9fd1e5af7cfcdebe438c92689b7c2bf066421fd
6
+ metadata.gz: 99702620fc7e5af96a9d340a6715dc9e56823d7e5dc48273cbc7fbba219d4ce7c637916f9b92f6b19cf9bf31c302bd55f0ec5d82889d9f31c4c593cfb6cc1462
7
+ data.tar.gz: 361ac5ff10a838811532d36351bdea83dd30a7551f757cdc3b717b6725545ad42866c186e06c721b90292cd9e3d496548112880a08cd71f61b5f2557287aab19
data/CHANGELOG CHANGED
@@ -1,6 +1,10 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## 0.3.1 - 2014-12-27
5
+ ### Changed
6
+ - Changed the env key to rack.cors to avoid Rack::Lint warnings
7
+
4
8
  ## 0.3.0 - 2014-10-19
5
9
  ### Added
6
10
  - Added support for defining a logger with a Proc
@@ -2,7 +2,7 @@ require 'logger'
2
2
 
3
3
  module Rack
4
4
  class Cors
5
- ENV_KEY = 'X_RACK_CORS'.freeze
5
+ ENV_KEY = 'rack.cors'.freeze
6
6
 
7
7
  ORIGIN_HEADER_KEY = 'HTTP_ORIGIN'.freeze
8
8
  PATH_INFO_HEADER_KEY = 'PATH_INFO'.freeze
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class Cors
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-cors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Calvin Yu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-21 00:00:00.000000000 Z
11
+ date: 2014-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler