openstax_api 5.5.2 → 5.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73064620ebb2ca31448e2102d6709221c3aabd87
4
- data.tar.gz: a2732bd77bc14cc6ba0afdbc1af36576e3381ea6
3
+ metadata.gz: 9e5fa790ee7f8cd673ac99386a7db4da3557b1c0
4
+ data.tar.gz: 29439fff53098f5ec45503f488d96cdf08f9bf2c
5
5
  SHA512:
6
- metadata.gz: 5cbab26093a9b74ee0d993edace5ca4d28a1464e019f6bb7a0e122811c6f9b9b58d811d2fa4e857bcce74bacd4ae8dc5d27a3f5d3fc3a63f40809ae9b31d93d1
7
- data.tar.gz: 629d8624fad6197eade88d97395219163e17473956116330951eed2aeb6ef8321fb56ec369a384e7d819836cb7748bc84013755c6c95f52e69c859960d2193e2
6
+ metadata.gz: 35a56586e12faf121ed6f9f1607080a0301b52f1241352ce9672285947646426ce6db55b33e681507eb9f6956f752d555b03d38ea292c1f3c350671f4ed5effa
7
+ data.tar.gz: fb87fc627a3fcfa84f5c009cf921fd6587897b4c6ceafdd492a623887ee10a81dddc0de24f932b54a30b8e0a447220a8a2a737150e2a3ae79659d68e0efd771b
@@ -75,7 +75,7 @@ module OpenStax
75
75
  def set_cors_preflight_headers
76
76
  headers['Access-Control-Allow-Origin'] = '*'
77
77
  headers['Access-Control-Allow-Methods'] = 'GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS'
78
- headers['Access-Control-Allow-Headers'] = 'X-Requested-With, X-Prototype-Version, Token'
78
+ headers['Access-Control-Allow-Headers'] = 'X-Requested-With, X-Prototype-Version, X-CSRF-Token, Token'
79
79
  headers['Access-Control-Max-Age'] = '86400'
80
80
  end
81
81
 
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Api
3
- VERSION = "5.5.2"
3
+ VERSION = "5.5.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstax_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.2
4
+ version: 5.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dante Soares