inst_data_shipper 0.2.6 → 0.2.7
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 +4 -4
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/models/inst_data_shipper/dump_batch.rb +0 -0
- data/db/migrate/20240301090836_create_inst_data_shipper_dump_batches.rb +0 -0
- data/lib/inst_data_shipper/basic_dumper.rb +0 -0
- data/lib/inst_data_shipper/concerns/hooks.rb +0 -0
- data/lib/inst_data_shipper/data_sources/base.rb +0 -0
- data/lib/inst_data_shipper/data_sources/canvas_reports.rb +1 -1
- data/lib/inst_data_shipper/data_sources/local_tables.rb +0 -0
- data/lib/inst_data_shipper/destinations/base.rb +0 -0
- data/lib/inst_data_shipper/destinations/concerns/chunking.rb +0 -0
- data/lib/inst_data_shipper/destinations/hosted_data.rb +0 -0
- data/lib/inst_data_shipper/destinations/s3.rb +0 -0
- data/lib/inst_data_shipper/destinations/speccable.rb +0 -0
- data/lib/inst_data_shipper/dumper.rb +0 -0
- data/lib/inst_data_shipper/engine.rb +0 -0
- data/lib/inst_data_shipper/jobs/async_caller.rb +0 -0
- data/lib/inst_data_shipper/jobs/base.rb +0 -0
- data/lib/inst_data_shipper/record.rb +0 -0
- data/lib/inst_data_shipper/schema_builder.rb +1 -1
- data/lib/inst_data_shipper/version.rb +1 -1
- data/lib/inst_data_shipper.rb +0 -0
- data/spec/dummy/README.rdoc +0 -0
- data/spec/dummy/Rakefile +0 -0
- data/spec/dummy/app/models/application_record.rb +0 -0
- data/spec/dummy/config/application.rb +0 -0
- data/spec/dummy/config/boot.rb +0 -0
- data/spec/dummy/config/database.yml +0 -0
- data/spec/dummy/config/environment.rb +0 -0
- data/spec/dummy/config/environments/development.rb +0 -0
- data/spec/dummy/config/environments/test.rb +0 -0
- data/spec/dummy/config/initializers/assets.rb +0 -0
- data/spec/dummy/config/initializers/session_store.rb +0 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/spec/dummy/config/routes.rb +0 -0
- data/spec/dummy/config/secrets.yml +0 -0
- data/spec/dummy/config.ru +0 -0
- data/spec/dummy/db/schema.rb +0 -0
- data/spec/inst_data_shipper/destinations/hosted_data_spec.rb +0 -0
- data/spec/inst_data_shipper/dumper_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv +0 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv +0 -0
- data/spec/support/test_dumper.rb +0 -0
- metadata +8 -10
- data/spec/dummy/tmp/local_secret.txt +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d89097fc4dec4e97c26b20fcf62a7c1f62948833d0ac786d3bda2c339ca30ab3
|
4
|
+
data.tar.gz: 5ab88fe251bbe8ecef9d2036e6c198edba8396ecf12ed97342d50a80625816d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80a7bc9daa383b2f0a173d086ce0871aa9dff541184990b5bd672078857ddf6ff45bc87e35636c1079c336a8f9480f0a53ef345246bef7256d198779d2e7992a
|
7
|
+
data.tar.gz: 3555ec2301821be3335e15c0f2b3f8034e6da8b434835fb949213035be43d55db5864ec7accf7a589aa8fcd10714db033481aa979b85f1916c36acb99e26879f
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -101,7 +101,7 @@ module InstDataShipper
|
|
101
101
|
|
102
102
|
def _process_canvas_report(report:, schema_name: nil)
|
103
103
|
file_path = "#{working_dir}/temp_report"
|
104
|
-
|
104
|
+
canvas_sync_client.download_report(report['attachment']['url'], file_path)
|
105
105
|
|
106
106
|
if report['attachment']['content-type'] == 'application/zip'
|
107
107
|
unzipped_file_path = "#{file_path}_unzipped"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -82,7 +82,7 @@ module InstDataShipper
|
|
82
82
|
|
83
83
|
def incremental(scope=nil, **kwargs)
|
84
84
|
if (extras = kwargs.keys - %i[on if]).present?
|
85
|
-
raise ArgumentError, "
|
85
|
+
raise ArgumentError, "Unsupported options: #{extras.inspect}"
|
86
86
|
end
|
87
87
|
|
88
88
|
options[:incremental] = {
|
data/lib/inst_data_shipper.rb
CHANGED
File without changes
|
data/spec/dummy/README.rdoc
CHANGED
File without changes
|
data/spec/dummy/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/spec/dummy/config/boot.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/dummy/config/routes.rb
CHANGED
File without changes
|
File without changes
|
data/spec/dummy/config.ru
CHANGED
File without changes
|
data/spec/dummy/db/schema.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/spec/support/test_dumper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inst_data_shipper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure CustomDev
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -296,14 +296,14 @@ dependencies:
|
|
296
296
|
requirements:
|
297
297
|
- - ">="
|
298
298
|
- !ruby/object:Gem::Version
|
299
|
-
version: 1.5.
|
299
|
+
version: 1.5.39
|
300
300
|
type: :runtime
|
301
301
|
prerelease: false
|
302
302
|
version_requirements: !ruby/object:Gem::Requirement
|
303
303
|
requirements:
|
304
304
|
- - ">="
|
305
305
|
- !ruby/object:Gem::Version
|
306
|
-
version: 1.5.
|
306
|
+
version: 1.5.39
|
307
307
|
- !ruby/object:Gem::Dependency
|
308
308
|
name: canvas_sync
|
309
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -332,7 +332,7 @@ dependencies:
|
|
332
332
|
- - ">="
|
333
333
|
- !ruby/object:Gem::Version
|
334
334
|
version: '0'
|
335
|
-
description:
|
335
|
+
description:
|
336
336
|
email:
|
337
337
|
- pseng@instructure.com
|
338
338
|
executables: []
|
@@ -378,7 +378,6 @@ files:
|
|
378
378
|
- spec/dummy/config/routes.rb
|
379
379
|
- spec/dummy/config/secrets.yml
|
380
380
|
- spec/dummy/db/schema.rb
|
381
|
-
- spec/dummy/tmp/local_secret.txt
|
382
381
|
- spec/inst_data_shipper/destinations/hosted_data_spec.rb
|
383
382
|
- spec/inst_data_shipper/dumper_spec.rb
|
384
383
|
- spec/spec_helper.rb
|
@@ -388,7 +387,7 @@ files:
|
|
388
387
|
homepage: https://instructure.com
|
389
388
|
licenses: []
|
390
389
|
metadata: {}
|
391
|
-
post_install_message:
|
390
|
+
post_install_message:
|
392
391
|
rdoc_options: []
|
393
392
|
require_paths:
|
394
393
|
- lib
|
@@ -404,7 +403,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
404
403
|
version: '0'
|
405
404
|
requirements: []
|
406
405
|
rubygems_version: 3.5.3
|
407
|
-
signing_key:
|
406
|
+
signing_key:
|
408
407
|
specification_version: 4
|
409
408
|
summary: Gem for uploading app data to Instructure CustomDev Hosted Data tooling
|
410
409
|
test_files:
|
@@ -425,7 +424,6 @@ test_files:
|
|
425
424
|
- spec/dummy/config/secrets.yml
|
426
425
|
- spec/dummy/config.ru
|
427
426
|
- spec/dummy/db/schema.rb
|
428
|
-
- spec/dummy/tmp/local_secret.txt
|
429
427
|
- spec/inst_data_shipper/destinations/hosted_data_spec.rb
|
430
428
|
- spec/inst_data_shipper/dumper_spec.rb
|
431
429
|
- spec/spec_helper.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
6ddf19e3f9f936190c3c79bc546382849bcf6efb4205cbe13797b683ec9a3dbc02cb87e348121c3502809d9475683c26b12c92d973d571953ebb50b0c4cc3641
|