panda_pal 5.4.2 → 5.4.3

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: 92403f9a5c42dd06aa5eb6712d8ce8de9818b5988d34d8302dc2f41cf6e29ffa
4
- data.tar.gz: '069d4e1c6afda138faab803562d03cdca82ed1dfbedceabb94f07a9f3e450595'
3
+ metadata.gz: b038d3fd4f84638f9417835e011bebc4ea9840dbc5cde8ac3c24f1ad35481f93
4
+ data.tar.gz: 1afcd3f8d819b6bb3139e0ccd7659ed854e75b108f6f78e8c7ed2c3d9a6d22a2
5
5
  SHA512:
6
- metadata.gz: 0dc2c9fac981aaab7ae364d99add41510c8e1fb82114d4f5bc21efc47aa6de466d49d05eae35aa70719de83f34bd5ff14be2d4fd243b2e06fe7477b30afe6ea6
7
- data.tar.gz: 4fc49b9a2d1a6bfed905e7798abd0556f962f1ec5701fa3e7b40aedb35e2a0eeb70a5d20a7ac9ff5c25eb099940c9b9ff62cbbec96652ac52fea7ffd25906636
6
+ metadata.gz: ec23ec83ae5d5f58ed67836b1126ea4387cb2cf36da0b3f9f6d2efc7c331c7be2229e1573c17c2a6d78deea9b5ad42a4a610273b62d9ed4e27feb8f6b9881403
7
+ data.tar.gz: 90f8fbca45c8b5555a6506cc42f50bbc034caaa97554f84a0ecf06e4cf87b761b83476cfff51a80e90e6ecb33d06998275954edec50355a2db479854beca35e1
@@ -160,7 +160,7 @@ module PandaPal
160
160
  private
161
161
 
162
162
  def unschedule_tasks(new_task_keys = nil)
163
- current_schedules = Sidekiq.get_schedule.select { |k,v| k.starts_with?("org:#{name}-") }
163
+ current_schedules = Sidekiq.get_schedule.select { |k,v| k.start_with?("org:#{name}-") }
164
164
  del_tasks = current_schedules.keys
165
165
  del_tasks -= new_task_keys if new_task_keys
166
166
  del_tasks.each do |k|
@@ -12,7 +12,7 @@ end
12
12
  Rails.application.config.middleware.use Apartment::Elevators::Generic, lambda { |request|
13
13
  if match = request.path.match(/\/(?:orgs?|organizations?)\/(\d+)/)
14
14
  PandaPal::Organization.find_by(id: match[1]).try(:name)
15
- elsif request.path.starts_with?('/rails/active_storage/blobs/')
15
+ elsif request.path.start_with?('/rails/active_storage/blobs/')
16
16
  PandaPal::Organization.find_by(id: request.params['organization_id']).try(:name)
17
17
  end
18
18
  }
data/lib/panda_pal.rb CHANGED
@@ -91,7 +91,7 @@ module PandaPal
91
91
 
92
92
  def self.normalize_ext_type(type)
93
93
  type = type.to_s
94
- type = "#{self.to_s}::#{type}" unless type.starts_with?('::') || type.starts_with?(self.to_s)
94
+ type = "#{self.to_s}::#{type}" unless type.start_with?('::') || type.start_with?(self.to_s)
95
95
  type
96
96
  end
97
97
 
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.4.2"
2
+ VERSION = "5.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.2
4
+ version: 5.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure ProServe