test_track_rails_client 4.0.0.alpha30 → 4.0.0.alpha31
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdf7e2e9c329a7f39382c2387b46b922e139252e
|
4
|
+
data.tar.gz: 04bd33f4bbd4954d2b179530f39d6b183f4a8939
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a0e93039a0ee0345f6a783085b4d39711fdce7bc79bf70d4a1350862b18997a3c26198073cfa9241f2c28db19afafff33bd8604b0af74870426c52fbe54da6f
|
7
|
+
data.tar.gz: c5a5fd759aaa90b203cfc2646cb6b3c451ba41c94de99f4076b2104c19c7b6cf9c41482afb7ae3270f387f26e008f2f9a038298fcf2cb38a1cdf168f77a6f4db
|
@@ -1,13 +1,13 @@
|
|
1
1
|
class TestTrack::JobSession
|
2
2
|
def manage
|
3
3
|
raise ArgumentError, "must provide block to `manage`" unless block_given?
|
4
|
-
raise "already in use" unless RequestStore[:test_track_job_session].nil?
|
5
4
|
|
5
|
+
original_job_session = RequestStore[:test_track_job_session]
|
6
6
|
RequestStore[:test_track_job_session] = self
|
7
7
|
yield
|
8
8
|
ensure
|
9
9
|
notify_unsynced_assignments!
|
10
|
-
RequestStore[:test_track_job_session] =
|
10
|
+
RequestStore[:test_track_job_session] = original_job_session
|
11
11
|
end
|
12
12
|
|
13
13
|
def visitor_dsl_for(identity)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_track_rails_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.alpha31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan O'Neill
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2019-08-
|
16
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: delayed_job
|
@@ -287,10 +287,10 @@ files:
|
|
287
287
|
- app/views/tt/api/v1/visitors/show.json.jbuilder
|
288
288
|
- config/initializers/test_track_api.rb
|
289
289
|
- config/routes.rb
|
290
|
-
- lib/delayed/plugins/job_session_plugin.rb
|
291
290
|
- lib/generators/test_track/migration_generator.rb
|
292
291
|
- lib/tasks/test_track_rails_client_tasks.rake
|
293
292
|
- lib/test_track.rb
|
293
|
+
- lib/test_track/delayed_job/job_session_plugin.rb
|
294
294
|
- lib/test_track/server_error_middleware.rb
|
295
295
|
- lib/test_track/unrecoverable_connectivity_error.rb
|
296
296
|
- lib/test_track_rails_client.rb
|