openstax_api 5.5.1 → 5.5.2

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: 2d8f7e030eb103725527b3e6b056169ce47e0cd2
4
- data.tar.gz: d1f3cc36a20300fb330d94578e67d032afdf3a8b
3
+ metadata.gz: 73064620ebb2ca31448e2102d6709221c3aabd87
4
+ data.tar.gz: a2732bd77bc14cc6ba0afdbc1af36576e3381ea6
5
5
  SHA512:
6
- metadata.gz: 98f85a898b830672a936c98876cfa54838a4efca1f7421d6080da4cc2c728c5154ca6418dfc5c74f4eb6c30b5e40cf7819875f8dea89216e8b391b27a3cb854e
7
- data.tar.gz: f2e0db018b2bb2e77e3304bfc0d3864e477e2c72b959bf32edd1b7da1a790b734e1becd0e407dbdd258fbf4761290dbefde080bdc276abcddbc883548e85c22c
6
+ metadata.gz: 5cbab26093a9b74ee0d993edace5ca4d28a1464e019f6bb7a0e122811c6f9b9b58d811d2fa4e857bcce74bacd4ae8dc5d27a3f5d3fc3a63f40809ae9b31d93d1
7
+ data.tar.gz: 629d8624fad6197eade88d97395219163e17473956116330951eed2aeb6ef8321fb56ec369a384e7d819836cb7748bc84013755c6c95f52e69c859960d2193e2
@@ -75,6 +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
79
  headers['Access-Control-Max-Age'] = '86400'
79
80
  end
80
81
 
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Api
3
- VERSION = "5.5.1"
3
+ VERSION = "5.5.2"
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.1
4
+ version: 5.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dante Soares