bearcat 1.5.22 → 1.5.24

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: af55c8d84fa6c6c0e3ff960b337ccf7ca023c1e21019973d508458ff132184fd
4
- data.tar.gz: d6af6f331e5ee3e76ffd5d8425db0d7cd0fbc46fe03be89f66ba7362ef5b488e
3
+ metadata.gz: 8dfc188f90b9e9ecbb6dca39381af0881c04279c2e28a51dc37155e396411589
4
+ data.tar.gz: e315e2df134089927326d0a36654fee28b01d85c8c556c1dfe33992e4c5a9924
5
5
  SHA512:
6
- metadata.gz: 9a99a674784a855b24e0d36b9a7d4cb5a54ff095820bcdcf447464438b774c7e2b71c495f00736c43497ffec5033bab3e7d6f94db081de6b3b8e433a2656945c
7
- data.tar.gz: 50d0bc580fe6ae7378c94c029f15f6c14c3e3774807a8c5795771e2ea38d8c3369b26afb6d063ebe401ecebbcba982640dc787777d9528cee8eeb01caf994c73
6
+ metadata.gz: 40722c095a27ed44dbd42e9a0152a4791d6f8d3e3e045762085f59fc0dba02cc487ba43f534cccc4d703a6a85cb1b6ad4e1ca32c45205a0c579589b65dfb4047
7
+ data.tar.gz: a0593f571e593bfe1faa313ccc4692900e693377a31d8c292f44dca68d0141ea0411554b3232dbb48aa06d52f9a2cc4730135188e99b7eef0ce632b93495722b
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' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.5.24' 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
4
+ version: 1.5.24
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