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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -0
  3. data/Rakefile +0 -0
  4. data/app/models/inst_data_shipper/dump_batch.rb +0 -0
  5. data/db/migrate/20240301090836_create_inst_data_shipper_dump_batches.rb +0 -0
  6. data/lib/inst_data_shipper/basic_dumper.rb +0 -0
  7. data/lib/inst_data_shipper/concerns/hooks.rb +0 -0
  8. data/lib/inst_data_shipper/data_sources/base.rb +0 -0
  9. data/lib/inst_data_shipper/data_sources/canvas_reports.rb +1 -1
  10. data/lib/inst_data_shipper/data_sources/local_tables.rb +0 -0
  11. data/lib/inst_data_shipper/destinations/base.rb +0 -0
  12. data/lib/inst_data_shipper/destinations/concerns/chunking.rb +0 -0
  13. data/lib/inst_data_shipper/destinations/hosted_data.rb +0 -0
  14. data/lib/inst_data_shipper/destinations/s3.rb +0 -0
  15. data/lib/inst_data_shipper/destinations/speccable.rb +0 -0
  16. data/lib/inst_data_shipper/dumper.rb +0 -0
  17. data/lib/inst_data_shipper/engine.rb +0 -0
  18. data/lib/inst_data_shipper/jobs/async_caller.rb +0 -0
  19. data/lib/inst_data_shipper/jobs/base.rb +0 -0
  20. data/lib/inst_data_shipper/record.rb +0 -0
  21. data/lib/inst_data_shipper/schema_builder.rb +1 -1
  22. data/lib/inst_data_shipper/version.rb +1 -1
  23. data/lib/inst_data_shipper.rb +0 -0
  24. data/spec/dummy/README.rdoc +0 -0
  25. data/spec/dummy/Rakefile +0 -0
  26. data/spec/dummy/app/models/application_record.rb +0 -0
  27. data/spec/dummy/config/application.rb +0 -0
  28. data/spec/dummy/config/boot.rb +0 -0
  29. data/spec/dummy/config/database.yml +0 -0
  30. data/spec/dummy/config/environment.rb +0 -0
  31. data/spec/dummy/config/environments/development.rb +0 -0
  32. data/spec/dummy/config/environments/test.rb +0 -0
  33. data/spec/dummy/config/initializers/assets.rb +0 -0
  34. data/spec/dummy/config/initializers/session_store.rb +0 -0
  35. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
  36. data/spec/dummy/config/routes.rb +0 -0
  37. data/spec/dummy/config/secrets.yml +0 -0
  38. data/spec/dummy/config.ru +0 -0
  39. data/spec/dummy/db/schema.rb +0 -0
  40. data/spec/inst_data_shipper/destinations/hosted_data_spec.rb +0 -0
  41. data/spec/inst_data_shipper/dumper_spec.rb +0 -0
  42. data/spec/spec_helper.rb +0 -0
  43. data/spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv +0 -0
  44. data/spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv +0 -0
  45. data/spec/support/test_dumper.rb +0 -0
  46. metadata +8 -10
  47. data/spec/dummy/tmp/local_secret.txt +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9374e4353fc38c211cd8d7565b271f9a1543c8e6165d1716cffa93f0704d974b
4
- data.tar.gz: de10a934800be0a8560fd241341da120e7b453cff3d7806664e7e8260c0ef33d
3
+ metadata.gz: d89097fc4dec4e97c26b20fcf62a7c1f62948833d0ac786d3bda2c339ca30ab3
4
+ data.tar.gz: 5ab88fe251bbe8ecef9d2036e6c198edba8396ecf12ed97342d50a80625816d9
5
5
  SHA512:
6
- metadata.gz: 4b0599be4475101ea1ad5e5c5db90134628cdbf1e60e3b440a1f9f4fa90023da5da31c39d868f3fb431a9037f4a25159f0e283e253888da9432153db1b838edf
7
- data.tar.gz: a8be277a20e03c4363f3a527dd0aa382252e330d73bdcb02f58a9c032f69b5cf19279c316d5fd5712e0570f71da9306b38d103af431a04b6aa38d7915155819d
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
@@ -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
- IO.copy_stream(URI.parse(report['attachment']['url']).open, file_path)
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
@@ -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, "Unsuppored options: #{extras.inspect}"
85
+ raise ArgumentError, "Unsupported options: #{extras.inspect}"
86
86
  end
87
87
 
88
88
  options[:incremental] = {
@@ -1,3 +1,3 @@
1
1
  module InstDataShipper
2
- VERSION = "0.2.6".freeze
2
+ VERSION = "0.2.7".freeze
3
3
  end
File without changes
File without changes
data/spec/dummy/Rakefile 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
File without changes
File without changes
File without changes
File without changes
File without changes
data/spec/dummy/config.ru CHANGED
File without changes
File without changes
File without changes
data/spec/spec_helper.rb CHANGED
File without changes
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.6
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: 2024-10-04 00:00:00.000000000 Z
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.8
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.8
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