bearcat 1.5.22.beta2 → 1.5.23

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: 0cf70d636b31fe54885a741a1c95e25fb78eeab7347fc5f59972c01d1f26df63
4
- data.tar.gz: 6906404e021103e042e72dcbe3ef9296b96cd68fb77ab96b8d021211794dc3f9
3
+ metadata.gz: 4fa889802f5ff787138230aec3516bcbe3185045256e9c4eb82bf47c8e50b18b
4
+ data.tar.gz: e372f44db17360faa1a10f41319c817cbc6c0a6ba63e57808ab85b6f7ce717d7
5
5
  SHA512:
6
- metadata.gz: 2882cf230eb94f6676a5d6e67b633242d79cc175b839c6c465385012fb9d78b7be32f38eb137f60f6c90ec3a4f5209de9678442afeb87cb85d9ee850c4ed05d0
7
- data.tar.gz: 06edf279b7dd702bea3e0f6ba9c340828f279bf3ba40e1e7b5b3e734286da0033a4b573abd3a75e28a2677d3c4efa5bed497c2a3f8863da40a884775d2035875
6
+ metadata.gz: b5ef22e6c9315303108fd4ff60b31c3799e65b813b433a06a5193765fef79212b1ad7d71a01c9ba3b025d7dd539027c05af33269f164edefb6c3440266fc3c43
7
+ data.tar.gz: 8bbe88b259da9d5eae79e2f632eed166ca8695ee34f9adfb44955cca544c66376fae74a951c77e50b6688a602cddad42f871241adc6e804243a452c96014e452
data/bearcat.gemspec CHANGED
@@ -34,4 +34,5 @@ Gem::Specification.new do |gem|
34
34
  gem.add_dependency "activesupport"
35
35
  gem.add_dependency "footrest", ">= 0.2.2"
36
36
  gem.add_dependency "connection_pool", ">= 2.2.0", "< 3.0"
37
+ gem.add_dependency "ffi", "~> 1.16.3"
37
38
  end
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.5.22.beta2' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.5.23' unless defined?(Bearcat::VERSION)
3
3
  end
@@ -14,6 +14,7 @@ module Catalogcat
14
14
  key = 'orders' if path =~ %r{.*/orders}
15
15
  key = 'completed_certificates' if path =~ %r{.*/completed_certificates}
16
16
  key = 'user_registrations' if path =~ %r{.*/user_registrations}
17
+ key = 'email_domain_sets' if path =~ %r{.*/email_domain_sets}
17
18
  end
18
19
  key.present? ? key : super(response)
19
20
  end
@@ -0,0 +1,17 @@
1
+ module Catalogcat
2
+ class Client < Footrest::Client
3
+ module EmailDomainSets
4
+ def list_email_domain_sets(page = 1, params = {})
5
+ get("/api/v1/emaiL_domain_sets?page=#{page}&per_page=100", params)
6
+ end
7
+
8
+ def update_email_domain_set(id, params = {})
9
+ put("/api/v1/email_domain_sets/#{id}", params)
10
+ end
11
+
12
+ def get_email_domain_set(id, params = {})
13
+ get("/api/v1/email_domain_sets/#{id}", params)
14
+ end
15
+ end
16
+ end
17
+ end
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.5.22.beta2
4
+ version: 1.5.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-14 00:00:00.000000000 Z
11
+ date: 2024-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -142,6 +142,20 @@ dependencies:
142
142
  - - "<"
143
143
  - !ruby/object:Gem::Version
144
144
  version: '3.0'
145
+ - !ruby/object:Gem::Dependency
146
+ name: ffi
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: 1.16.3
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: 1.16.3
145
159
  description: Ruby interface for interacting with the canvas API
146
160
  email:
147
161
  - pseng@instructure.com
@@ -217,6 +231,7 @@ files:
217
231
  - lib/catalogcat/client/catalogs.rb
218
232
  - lib/catalogcat/client/certificates.rb
219
233
  - lib/catalogcat/client/courses.rb
234
+ - lib/catalogcat/client/email_domain_sets.rb
220
235
  - lib/catalogcat/client/enrollments.rb
221
236
  - lib/catalogcat/client/orders.rb
222
237
  - lib/catalogcat/client/user_registrations.rb
@@ -430,7 +445,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
430
445
  - !ruby/object:Gem::Version
431
446
  version: '0'
432
447
  requirements: []
433
- rubygems_version: 3.5.4
448
+ rubygems_version: 3.4.10
434
449
  signing_key:
435
450
  specification_version: 4
436
451
  summary: Canvas API