canvas_sync 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: 73fb470e4beeaee615dcf4cdb7170c973a2f9edb
4
- data.tar.gz: df158059b78f81df04576230dee55e6bc230b755
3
+ metadata.gz: 85b4c05691a7952c43cb41502a994849d8d8e4df
4
+ data.tar.gz: 0bb2ad31d57f5dab79f9ee45a089b09382bf696f
5
5
  SHA512:
6
- metadata.gz: 2af3c510be69d2432e57f21789b2cb2ca3dcdc61c7fa6b3b3d7d31fb67b00d4e45527bc0ca2eb9ee73c12764581676ca8b1cd2faf2adbae12f8155d404692c25
7
- data.tar.gz: 174b2272acc70ffa36f2be27192fa366afcb9f18940bafda33d4ba8d8780ea24bdd72663ea1a28ece5dbc5dd88e8f2786e7baaab3d670ff7c0e8d964fd6954ad
6
+ metadata.gz: 1c6dbc184a4aa04349c6b45d2ef9976396754fb81aa35c74f3e59f1b243d0aff54be6508f7e3a0709801ffb911400abe35ba63a9d79f82d7ac4b669c523716b7
7
+ data.tar.gz: 0b5d818adb723daa929e4562d71654f5267bcb275a45a562a73fd0b4fadbf8f4e181e71a7d0dd28540ca220161dc44732ba8184fa9ce2eee0e4a7dd035b6d115
@@ -1,16 +1,35 @@
1
- class CreateCanvasSyncJobLog < ActiveRecord::Migration[Rails.version.to_f]
2
- def change
3
- create_table :canvas_sync_job_logs do |t|
4
- t.datetime :started_at
5
- t.datetime :completed_at
6
- t.string :exception
7
- t.text :backtrace
8
- t.string :job_class
9
- t.string :status
10
- t.text :metadata
11
- t.text :job_arguments
1
+ if Rails.version.to_f >= 5.0
2
+ class CreateCanvasSyncJobLog < ActiveRecord::Migration[Rails.version.to_f]
3
+ def change
4
+ create_table :canvas_sync_job_logs do |t|
5
+ t.datetime :started_at
6
+ t.datetime :completed_at
7
+ t.string :exception
8
+ t.text :backtrace
9
+ t.string :job_class
10
+ t.string :status
11
+ t.text :metadata
12
+ t.text :job_arguments
12
13
 
13
- t.timestamps
14
+ t.timestamps
15
+ end
16
+ end
17
+ end
18
+ else
19
+ class CreateCanvasSyncJobLog < ActiveRecord::Migration
20
+ def change
21
+ create_table :canvas_sync_job_logs do |t|
22
+ t.datetime :started_at
23
+ t.datetime :completed_at
24
+ t.string :exception
25
+ t.text :backtrace
26
+ t.string :job_class
27
+ t.string :status
28
+ t.text :metadata
29
+ t.text :job_arguments
30
+
31
+ t.timestamps
32
+ end
14
33
  end
15
34
  end
16
35
  end
@@ -1,3 +1,3 @@
1
1
  module CanvasSync
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Collings