ocean-rails 3.5.0 → 3.5.1

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: 9a20a0b667cf8116ca4b9f5636927ee1e363484b
4
- data.tar.gz: 63f9521d2df37e1dfa8aaee5eecbb3f40e3959c6
3
+ metadata.gz: dced97fa25b511d01f96b24e8a5fe0a3f587caf5
4
+ data.tar.gz: e7a21398cb1d118186d518405e3191e67127285f
5
5
  SHA512:
6
- metadata.gz: 05d47be29854d4388b6299b578911fb901541d408341ccb1f22ef5b3976d012a3c23ba057c797a97ed1251f0b3eed5641aeec7519946cf05b8b358a35494ae7c
7
- data.tar.gz: bebf3921bfb685b956a4d2cc865bfbdfa6fcf4299a2854ba418ea9ed94b3ef7172433c01c5dadac554cef3d4b8531c1a8447daf172226cd157d0a4e06fc16411
6
+ metadata.gz: ab3f70a3eda31db61d5f8df4f576c3c629be6ce10ec6e9e17a74901b4e738a1937f18eae1dd559d89a4d23a8e1b2c832f900b410bc908b5e25c3bc2fd05e2110
7
+ data.tar.gz: b7d4a4f27e9aa7f016d2f2b3bf09e9c5a52cbb7f98f4c4b505473fe688715297cece1c47a7fa1a22bc57a288ec9169efd67d3bc6bbbad907f62e96279e81e30f
@@ -32,6 +32,7 @@ module OceanApplicationController
32
32
  @x_api_token = request.headers['X-API-Token']
33
33
  Thread.current[:x_api_token] = @x_api_token
34
34
  @x_metadata = request.headers['X-Metadata']
35
+ @x_metadata = @x_metadata.to_s[0, 128] if @x_metadata
35
36
  Thread.current[:metadata] = @x_metadata
36
37
  return true if @x_api_token.present?
37
38
  logger.info "X-API-Token missing"
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "3.5.0"
2
+ VERSION = "3.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson