canvas_sync 0.19.0.beta9 → 0.19.0.beta10

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: f1552d94643db48ef054d304102ffe1afcad0a7d149ace187a5b10f0d9e35c8b
4
- data.tar.gz: e9d91a46ade6380bbd48a4c51dd540a8df65de64228107c400f4567ec13e64d0
3
+ metadata.gz: 3cd64554a1f451160b874e8901b7275a25b6f9c526d687a29e531abff9f0b285
4
+ data.tar.gz: 9cac31449a633b4c3513088abf00b0274b0ce794e54f72742d65802bf2bb5a8c
5
5
  SHA512:
6
- metadata.gz: 9904cb4fab07d92c2c0bbc64b308197b28a4652064e1d6992955f393f2b8a55e9f7f22b01dbb02f6de94df97f1743a52eb2d08c9a8e55a60e8606f234dc6c7d7
7
- data.tar.gz: f80dfe46eb813956444932d943fd3236cd384205b359f42138553dd92441bc887c959b392d848e056f23d59a957d52394e93b5a2c63092fae225778d46118ecd
6
+ metadata.gz: a479a1705e765b3e338c7aed688728436fbeedd82809218bcbd288775e9a2175c62d5294dc2a206fdb77a7945f0223be723b74e9ec6800635841124e42149c22
7
+ data.tar.gz: 96bef245b0ba1a4de671dfc1d49a184d35bd03fea62efad44dbaac1bdcff345cabd19b1f12147f1d334b967641ce72e9c66704e0709f55b5f2378475d39d9d86
@@ -114,7 +114,7 @@ module CanvasSync::Concerns
114
114
  ROLE_TYPES.each do |rt|
115
115
  # LIS V1
116
116
  if role.downcase.start_with?(rt[:urn])
117
- return clean_role(ContextTypeURN, role), rt
117
+ return clean_role(rt[:urn], role), rt
118
118
  end
119
119
 
120
120
  # LIS V2
@@ -493,12 +493,8 @@ module CanvasSync
493
493
 
494
494
  def pipelined(*args, &block)
495
495
  Batch.redis do |r|
496
- if block.arity == 1
497
- r.pipelined(*args) do
498
- block.call(r)
499
- end
500
- else
501
- r.pipelined(*args, &block)
496
+ r.pipelined(*args) do |r2|
497
+ block.call(r2 || r)
502
498
  end
503
499
  end
504
500
  end
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.19.0.beta9".freeze
2
+ VERSION = "0.19.0.beta10".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.19.0.beta9
4
+ version: 0.19.0.beta10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-15 00:00:00.000000000 Z
11
+ date: 2024-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails