bearcat 1.6.0 → 1.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c07b05ef9a13345ec573729530858cfc0572aaf1e81f8b708b7c4e809d16635
4
- data.tar.gz: 62f84a5dff7c6f990caff1b026c7756eb7669f60b08a5db9a53d88a2ba70adfe
3
+ metadata.gz: ac375521a4820c6403d1ef93205828d8de6fc3456a5ede22e0c2a36f38aede93
4
+ data.tar.gz: f2e89a06538fd5afd4c925439a739b883224b085164cd86f516e9bc8116ca9bd
5
5
  SHA512:
6
- metadata.gz: 80ab1c45eab1f52f7951155926a0286d622b1cc300330e7fc9f467304786bff985f7c37edcd480b6a5db2c271603c50a7cfbd40f3f8aa19b9c957deb60a664b9
7
- data.tar.gz: c596d8cc4dfa6af924515e75fc2eaa3184a6e8134375bea0513247afab1900899373de0f94e965ec7b989b5c592afe8b6640a773dd2b38995cd16d2ab7e4991b
6
+ metadata.gz: 39ec7c3b55d2fc07bf84b35a34a1193618f14f51d0ce21fac9e31650c2ea1b2ba5a383070f3683f6f3b6de6a4ecdff44b1887273aa3b89ed23ff9e5203f3591b
7
+ data.tar.gz: d3897fac75a11f98df238ac2594ffc21ec0d3a9ad31ccf5b6d9aa409b1f83f97d93e46b62f9c748315a61f7cfc9200c8bd87622489df10b3bbf507018caf4e97
File without changes
@@ -11,6 +11,7 @@ module Bearcat
11
11
  context_types %i[course section] do |ct|
12
12
  prefix "/api/v1/#{ct}s/:#{ct}/" do
13
13
  get :"#{ct}_submissions", "students/submissions"
14
+ post :"#{ct}_submissions_bulk_update", "submissions/update_grades"
14
15
 
15
16
  prefix "assignments/:assignment/submissions/" do
16
17
  post :"#{ct}_submission"
@@ -98,7 +98,7 @@ module Bearcat
98
98
  rl = config[:rate_limiter] || Bearcat.rate_limiter
99
99
  master_rate_limit = config[:master_rate_limit].present? ? config[:master_rate_limit] : Bearcat.master_rate_limit
100
100
 
101
- if rl.nil? && master_rate_limit.nil? && defined?(Rails) && Rails.env.production? && defined?(::Redis) && Bearcat::RedisConnection.configured?("BEARCAT", explicit: false)
101
+ if rl.nil? && master_rate_limit.nil? && defined?(Rails) && Rails.env.production? && defined?(::Redis) && RediConn::RedisConnection.configured?("BEARCAT", explicit: false)
102
102
  master_rate_limit = true
103
103
  end
104
104
 
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.6.0' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.6.1' unless defined?(Bearcat::VERSION)
3
3
  end
data/lib/bearcat.rb CHANGED
File without changes
data/spec/helper.rb CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-10 00:00:00.000000000 Z
11
+ date: 2025-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake