macmillan-utils 1.0.38 → 1.0.39

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efd65c066b1290468c8b0a29bc2e4c1bf3a579de
4
- data.tar.gz: 0dec24f8ee60517ab43acca34fa5f2b00bafb671
3
+ metadata.gz: 342d3f41a7778b3ea802b26a9f307f7a866291ce
4
+ data.tar.gz: b5f073466080b7af195b081f479146a6f7fb9c4d
5
5
  SHA512:
6
- metadata.gz: d9dff2f8d7e9344c98d22688be63a2c646e3e05312c9cd6a563f488f1fc4b09284aabf11c668807e696c9e0182b2ed67503d614885309dff3f019ee8c0c41ef3
7
- data.tar.gz: b74774439c576d01acca98f031a8a8dc1255f734cf3aeb687fcf26716291584d61b286b36ac4d32a8adc61b34c9a6c76cd1f6b787445d6dd608b6e5df5e33f62
6
+ metadata.gz: 192d5d9564ec74e1f896b410745effe764e11d919410482ede6770be1d0be77d6325944fcc4aaa427cd14b2bc7451dc1d4506d620d02b55f67c4e0a82c109de4
7
+ data.tar.gz: cb28995106f7da3fd9d4e18d7ac02bd2f61f53489c56f4adbfd87e3154d6bfb6a23eee0957480547cd8c87fcd06d7c696df9b872483334d99c85d9b8cf4236c8
@@ -30,6 +30,7 @@ module Macmillan
30
30
  debug_log("request.post? IS #{request.post?.inspect}")
31
31
  debug_log("request.cookies[#{COOKIE}] IS #{request.cookies[COOKIE].inspect}")
32
32
  debug_log("request.params['cookies'] IS #{request.params['cookies'].inspect}")
33
+ debug_log("request.cookies IS #{request.cookies.inspect}")
33
34
 
34
35
  unless request.post?
35
36
  debug_log("request.post? (#{request.post?.inspect}) means passthru")
@@ -95,7 +96,7 @@ module Macmillan
95
96
 
96
97
  def internal_redirect?(request, uri)
97
98
  debug_log("Is redirect to #{uri.host}:#{uri.port} internal WRT #{request.host}:#{request.port}")
98
- request.host == uri.host && request.port == uri.port
99
+ request.host == uri.host # && request.port == uri.port
99
100
  end
100
101
 
101
102
  class NullLogger
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: macmillan-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.38
4
+ version: 1.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Springer Nature