canvas_sync 0.23.3 → 0.23.4

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
  SHA256:
3
- metadata.gz: 87dcb3a29883abf28f3be7ef70a6aaa6b8b303c7115d5a52e8a7ae9785c1ba3d
4
- data.tar.gz: ac6c904f3ce0af3e8cdcd32dea735b69dbb856a21c6a2122a0cf9a4d6fe910cc
3
+ metadata.gz: 58baa97c70f1f8ae8a54198c241e229fe2fb01ed15f21be4c454aa3c2c502a29
4
+ data.tar.gz: b643fb3401517c86623da9fd60aeb38fbdfd8e2ea7adbcbfe234c408e8dc6cb5
5
5
  SHA512:
6
- metadata.gz: 398b3bf5a5da8cc4709c49a69587000a48d56cf86e9b46b5ada2768dab58f2b8dc14125c70885074dc4311c4b0aa818105283b6c0d3edc820e5c1e092b1e38d7
7
- data.tar.gz: b89d3d9d41fd62f9c017742ee7b08c5b50ca0e379dfa3bd48e9e78598dfd7b113917666211c146efa9b471b2a9827d4acb6e8620c0da4806d9c99dd0a51f314c
6
+ metadata.gz: '07987c35a9f365f299d766a74b35c48b8bbf10f8e3e9e34e12f88d2c5250d17be3a66985376ec98aa5546867ee10e2587fb03ce6c5cef91619001453f7489500'
7
+ data.tar.gz: 8dbf71db95c37396ca6b351cfd56728b67bfe756233bec4efcff50acc622685e334c71e492b04ec9813701bec55feaec15f2c18d210eeeac75ff31b797291425
@@ -4,7 +4,7 @@ module CanvasSync
4
4
  # Use this model to track failures, job run times, and metadata about a job.
5
5
  class JobLog < ApplicationRecord
6
6
  if Rails.version > '7.0'
7
- serialize :job_arguments, type: Array
7
+ serialize :job_arguments, type: Array, coder: YAML
8
8
  else
9
9
  serialize :job_arguments, Array
10
10
  end
@@ -43,7 +43,7 @@ module CanvasSync
43
43
  FileUtils.mkdir_p(File.dirname(f_path))
44
44
  next if File.exist?(f_path)
45
45
 
46
- if Zip::VERSION < "3.0.0"
46
+ if Zip::VERSION >= "3.0.0"
47
47
  zip_file.extract(f, destination_directory: unzipped_file_dir)
48
48
  else
49
49
  zip_file.extract(f, f_path)
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.23.3".freeze
2
+ VERSION = "0.23.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.3
4
+ version: 0.23.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev