canvas_sync 0.17.5.beta2 → 0.17.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: ba2e2585837d6eefc1b0aa4e0f2f531598442618afc5b3d6d78ca9fda9596278
4
- data.tar.gz: b198271129b9ff7623d203d30d3c206aea92f540a92fdd52258196745b88519e
3
+ metadata.gz: 99d4cd616a9692a100cfea8f3a3342e031f898311e211052f46eb16ee80c4bf1
4
+ data.tar.gz: 0d1b48e269c183b3c4df489439766474d2e31773d2743d55006a29e06d6e78ff
5
5
  SHA512:
6
- metadata.gz: a88e9f513aac8a8b556c38a7e54d8fcc0209fecfa1e342d9873205677c8c27875d6a9a690115eabbb0aa549c8f9988b939581b897f889895bb59ed3e918ab4e8
7
- data.tar.gz: 5438fe0b453dfbf394b6f778fcda09f423a3d7a5421b64b1252ecc090d0005b21a5d0301ac345cf8bcfe40ae87e8553e3678e63b2c0420694499f4070101d9a5
6
+ metadata.gz: 17d7319ed2f35611f19428b85a823f218962fab5f843db9c8372e372bfa67c2267ecf4328134052857d2c157474bac36c34aa8b5b4ab7ba8598f28369b37efdf
7
+ data.tar.gz: 74d1cc1807dd95b75acda579bd9b7e0c42dd7fbfd0a3a4d7d3b6b5c08e277cc5a7661b15a63940170290d83049636433833b388a71788d7b73166deaf4bfe541
@@ -19,8 +19,6 @@ require_relative "./chain_builder"
19
19
 
20
20
  module CanvasSync
21
21
  module JobBatches
22
- class SuccessfulFailure < RuntimeError; end
23
-
24
22
  class Batch
25
23
  include RedisModel
26
24
 
@@ -12,10 +12,6 @@ module CanvasSync
12
12
  block.call
13
13
  Thread.current[:batch].save_context_changes
14
14
  Batch.process_successful_job(@bid, job_id)
15
- rescue SuccessfulFailure => err
16
- Thread.current[:batch].save_context_changes
17
- Batch.process_successful_job(@bid, job_id)
18
- raise
19
15
  rescue
20
16
  Batch.process_failed_job(@bid, job_id)
21
17
  raise
@@ -63,10 +63,6 @@ module CanvasSync
63
63
  yield
64
64
  Thread.current[:batch].save_context_changes
65
65
  Batch.process_successful_job(bid, msg['jid'])
66
- rescue SuccessfulFailure => err
67
- Thread.current[:batch].save_context_changes
68
- Batch.process_successful_job(@bid, msg['jid'])
69
- raise ::Sidekiq::JobRetry::Handled # This ensure that Sidekiq logs the error, but doesn't attempt to Retry it
70
66
  rescue
71
67
  Batch.process_failed_job(bid, msg['jid'])
72
68
  raise
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.17.5.beta2".freeze
2
+ VERSION = "0.17.5".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.5.beta2
4
+ version: 0.17.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Collings
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-30 00:00:00.000000000 Z
11
+ date: 2020-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -644,9 +644,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
644
644
  version: '0'
645
645
  required_rubygems_version: !ruby/object:Gem::Requirement
646
646
  requirements:
647
- - - ">"
647
+ - - ">="
648
648
  - !ruby/object:Gem::Version
649
- version: 1.3.1
649
+ version: '0'
650
650
  requirements: []
651
651
  rubygems_version: 3.0.3
652
652
  signing_key: