error_ready 0.2.4 → 0.2.5

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
  SHA256:
3
- metadata.gz: 1e3b85e6241eb36e4d4962c83cd18e171b3f17bed00319be2dbeff0f1d512807
4
- data.tar.gz: aa3546a38f21b690cbd08278bcc7914e2bc569b4cf954648669141f4869a64e4
3
+ metadata.gz: 24fd2f50ae2c1512afce3cd570a065d1efddf16de8d8f2cf2a5773d75dd2fe60
4
+ data.tar.gz: 29f53f98a45957c7b408368bc773af1fdf8f1aebf0334df32f2c80aad30bff59
5
5
  SHA512:
6
- metadata.gz: b02bf86b9333e8efaf17efb5c463b18ab28d97971316176eba7e24a2b059c81d739d47b64ce32439b121546d3632986662102e1e63d4c9098f2806698f5f8198
7
- data.tar.gz: ced8109dbe1053b813b93474790252cc98d1cd52b950a504877faabbdbdc6d9b2ad723d3ed785bd87c5edc6cbb1417e95060230e112eb0cbc8d0737d82510af9
6
+ metadata.gz: 83b53014bafc0ca0cebd3cbe1151cdad13f1e58cf186b60c5620e484daf30d2d44b6b7bc42520bc5819964c2f8b2bc6a232af0acd73a4b1aa5a60e5b1e03b884
7
+ data.tar.gz: 981e9c020abf8b336c64f3af1e942f6a7c7d435a9e5ddefe8a66edc13a79707828de9a3f6a2398c18d5d5a47d976a0230296be3724394e7d9afe0cd05708d1ce
@@ -6,7 +6,9 @@ module ErrorReady
6
6
 
7
7
  def call(env)
8
8
  # Load session
9
- env["rack.session"]["init"] = true
9
+ if env["rack.session"]
10
+ env["rack.session"]["init"] = true
11
+ end
10
12
 
11
13
  Rails.error.set_context(
12
14
  server_name: env["SERVER_NAME"],
@@ -1,3 +1,3 @@
1
1
  module ErrorReady
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: error_ready
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moses Gathuku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-30 00:00:00.000000000 Z
11
+ date: 2023-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails