vidibus-xss 0.1.9 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.9
1
+ 0.1.10
@@ -87,7 +87,7 @@ module Vidibus
87
87
  # For more information, see: https://developer.mozilla.org/En/HTTP_access_control
88
88
  def xss_access_control_headers
89
89
  headers["Access-Control-Allow-Origin"] = xss_client if xss_client
90
- headers["Access-Control-Allow-Methods"] = "GET,PUT,POST,OPTIONS"
90
+ headers["Access-Control-Allow-Methods"] = "GET,PUT,POST,DELETE,HEAD,OPTIONS"
91
91
  headers["Access-Control-Allow-Headers"] = "Content-Type,Depth,User-Agent,X-File-Size,X-Requested-With,If-Modified-Since,X-File-Name,Cache-Control"
92
92
  headers["Access-Control-Allow-Credentials"] = "true"
93
93
  headers["Access-Control-Max-Age"] = "1728000" # Cache this response for 20 days.
data/vidibus-xss.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{vidibus-xss}
8
- s.version = "0.1.9"
8
+ s.version = "0.1.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andre Pankratz"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-xss
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 9
10
- version: 0.1.9
9
+ - 10
10
+ version: 0.1.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andre Pankratz