panda_pal 5.4.10 → 5.4.11

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: 67af1ecc28a193ad6ff80379c433a273c6b8b85cc809aa2eb1eb6ae636cd0502
4
- data.tar.gz: e02a97fcfa42738a4ed1bafccecee40236c70dd4ba8c84e216b0ed065ec81eba
3
+ metadata.gz: 405f20d636bb1ef29c5f115bb91679f0a0cb951155bd6d9633c96ec72dcd4a43
4
+ data.tar.gz: 19cb62856f5a5a2184624218fa1a70de353c7a4abc5135133e18089dc99305a7
5
5
  SHA512:
6
- metadata.gz: f84b73988355b2bc76a2f5b2a27baceda59dd2e761f55e4f79b973669c3c272f5581ea4e0640159d6402c1c00bd79974cb1fd4a6753217c647948a3b8e2d609a
7
- data.tar.gz: 2fe8dca8891705940d2f41013ce6a90b88c6043f86f64254ec16e0a8d36fefb4a6b7b3726660a2c1159c0b06f42d8fef227a8fb835837acb6c8c73fc4dddd315
6
+ metadata.gz: 57524bab33e144b0ba8b8f2a2e792aec57a437234141b65ecb4dcf20c44c7f48989cf1f889802163756824f3cf12af4587f23627931e441f13b3240f68818806
7
+ data.tar.gz: db533926d6f3687bbf233099d904e11b6b507b410ad215e1f8f595450f3bcb1ae486d5cdd04b5bd8beb1f0f7535dc824c98e666c5891e6465cedc5718432e6d7
@@ -1,6 +1,3 @@
1
- require_relative './organization_concerns/settings_validation'
2
- require_relative './organization_concerns/task_scheduling'
3
-
4
1
  module PandaPal
5
2
  module OrganizationConcerns; end
6
3
 
@@ -13,8 +13,6 @@ unless defined?(Sidekiq.schedule)
13
13
  return
14
14
  end
15
15
 
16
- require_relative 'settings_validation'
17
-
18
16
  module PandaPal
19
17
  module OrganizationConcerns
20
18
  module TaskScheduling
@@ -68,6 +66,10 @@ module PandaPal
68
66
  }
69
67
  end
70
68
 
69
+ def task_scheduled?(name_or_method)
70
+ _schedule_descriptors.key?(name_or_method.to_s)
71
+ end
72
+
71
73
  def remove_scheduled_task(name_or_method)
72
74
  dval = _schedule_descriptors.delete(name_or_method.to_s)
73
75
  Rails.logger.warn("No task with key '#{name_or_method}' to delete!") unless dval.present?
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.4.10"
2
+ VERSION = "5.4.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.10
4
+ version: 5.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure ProServe
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -178,7 +178,7 @@ dependencies:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
- description:
181
+ description:
182
182
  email:
183
183
  - pseng@instructure.com
184
184
  executables: []
@@ -280,7 +280,7 @@ homepage: http://instructure.com
280
280
  licenses:
281
281
  - MIT
282
282
  metadata: {}
283
- post_install_message:
283
+ post_install_message:
284
284
  rdoc_options: []
285
285
  require_paths:
286
286
  - lib
@@ -296,49 +296,49 @@ required_rubygems_version: !ruby/object:Gem::Requirement
296
296
  version: '0'
297
297
  requirements: []
298
298
  rubygems_version: 3.0.3
299
- signing_key:
299
+ signing_key:
300
300
  specification_version: 4
301
301
  summary: LTI mountable engine
302
302
  test_files:
303
+ - spec/rails_helper.rb
304
+ - spec/models/panda_pal/organization_spec.rb
305
+ - spec/models/panda_pal/session_spec.rb
306
+ - spec/models/panda_pal/organization/settings_validation_spec.rb
307
+ - spec/models/panda_pal/organization/task_scheduling_spec.rb
303
308
  - spec/spec_helper.rb
304
- - spec/dummy/app/controllers/application_controller.rb
309
+ - spec/dummy/db/schema.rb
310
+ - spec/dummy/public/422.html
311
+ - spec/dummy/public/favicon.ico
312
+ - spec/dummy/public/404.html
313
+ - spec/dummy/public/500.html
314
+ - spec/dummy/Rakefile
305
315
  - spec/dummy/app/views/layouts/application.html.erb
306
- - spec/dummy/app/assets/javascripts/application.js
307
- - spec/dummy/app/assets/stylesheets/application.css
316
+ - spec/dummy/app/controllers/application_controller.rb
308
317
  - spec/dummy/app/helpers/application_helper.rb
309
- - spec/dummy/bin/rake
310
- - spec/dummy/bin/setup
311
- - spec/dummy/bin/bundle
312
- - spec/dummy/bin/rails
318
+ - spec/dummy/app/assets/stylesheets/application.css
319
+ - spec/dummy/app/assets/javascripts/application.js
313
320
  - spec/dummy/config/secrets.yml
314
- - spec/dummy/config/routes.rb
315
- - spec/dummy/config/locales/en.yml
316
- - spec/dummy/config/environments/production.rb
317
- - spec/dummy/config/environments/development.rb
318
- - spec/dummy/config/environments/test.rb
319
- - spec/dummy/config/environment.rb
320
321
  - spec/dummy/config/application.rb
321
- - spec/dummy/config/database.yml
322
- - spec/dummy/config/boot.rb
323
- - spec/dummy/config/initializers/backtrace_silencers.rb
324
- - spec/dummy/config/initializers/mime_types.rb
325
- - spec/dummy/config/initializers/filter_parameter_logging.rb
326
322
  - spec/dummy/config/initializers/session_store.rb
327
323
  - spec/dummy/config/initializers/wrap_parameters.rb
328
- - spec/dummy/config/initializers/cookies_serializer.rb
329
324
  - spec/dummy/config/initializers/inflections.rb
330
- - spec/dummy/config.ru
331
- - spec/dummy/Rakefile
332
- - spec/dummy/public/favicon.ico
333
- - spec/dummy/public/422.html
334
- - spec/dummy/public/500.html
335
- - spec/dummy/public/404.html
336
- - spec/dummy/db/schema.rb
325
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
326
+ - spec/dummy/config/initializers/mime_types.rb
327
+ - spec/dummy/config/initializers/backtrace_silencers.rb
328
+ - spec/dummy/config/initializers/cookies_serializer.rb
329
+ - spec/dummy/config/environments/development.rb
330
+ - spec/dummy/config/environments/test.rb
331
+ - spec/dummy/config/environments/production.rb
332
+ - spec/dummy/config/database.yml
333
+ - spec/dummy/config/boot.rb
334
+ - spec/dummy/config/routes.rb
335
+ - spec/dummy/config/environment.rb
336
+ - spec/dummy/config/locales/en.yml
337
337
  - spec/dummy/README.rdoc
338
- - spec/models/panda_pal/organization/settings_validation_spec.rb
339
- - spec/models/panda_pal/organization/task_scheduling_spec.rb
340
- - spec/models/panda_pal/session_spec.rb
341
- - spec/models/panda_pal/organization_spec.rb
342
- - spec/factories/panda_pal_sessions.rb
338
+ - spec/dummy/config.ru
339
+ - spec/dummy/bin/bundle
340
+ - spec/dummy/bin/rake
341
+ - spec/dummy/bin/setup
342
+ - spec/dummy/bin/rails
343
343
  - spec/factories/panda_pal_organizations.rb
344
- - spec/rails_helper.rb
344
+ - spec/factories/panda_pal_sessions.rb