canvas_sync 0.17.13 → 0.17.14

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: aa8f34c3c25ade9bb409122b885005225cf4b035dd2980ec287f8b5ddcf93767
4
- data.tar.gz: 60c23fe3be09e1f9999b318d8e9c8e90658c7643546901b5289b50b073090f07
3
+ metadata.gz: 12ffa7d589b57c52b446281b383d94726a0b67c3c85f6bd9f4d12c5a45c42f5a
4
+ data.tar.gz: 59da7e66f9ff8612618abbda08eadf72972f9a3f2471a5b5280439d97d9b6951
5
5
  SHA512:
6
- metadata.gz: 3f529f0295977e3f8b0d9a613d15f34b6e8d6f7c47a9f7782c949f80256cb1bb3d4ba241ea794ace786a3514db3e582eee49db6d4a8dcf1a3a467056c7907a5d
7
- data.tar.gz: e1f1355436af9391b90c919fb6ea28e3acfbf1becd13d51f7f5d471eca23c29fbdd1932b8efb9a15796ca784b3829982d5db56263f298d9acb32091f17b597f1
6
+ metadata.gz: 8aa671ed7362328fb4978970f7b5b75e34f25498bbacefa07658b03724c56f9e0d30f233baed41ee888b4e4671fb3e9239a7ebb7ec004af8cdf5238c368c648c
7
+ data.tar.gz: 2bb7a0d40589cbaaf6cf0df605a9b52f7536e0a403333f49225ae02789f44137b1eb12a794cd29b5de8b6e79f575aee388ce0a402de61ef2a25980ae6329ad23
@@ -156,7 +156,7 @@ module CanvasSync
156
156
 
157
157
  def flush
158
158
  row = @buffered_rows.find{|r| r[:user_id].present? } || @buffered_rows.last
159
- super([row])
159
+ super(row.present? ? [row] : [])
160
160
  end
161
161
  end
162
162
  end
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.17.13".freeze
2
+ VERSION = "0.17.14".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.13
4
+ version: 0.17.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Collings
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2021-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler