bearcat 1.5.22 → 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: af55c8d84fa6c6c0e3ff960b337ccf7ca023c1e21019973d508458ff132184fd
4
- data.tar.gz: d6af6f331e5ee3e76ffd5d8425db0d7cd0fbc46fe03be89f66ba7362ef5b488e
3
+ metadata.gz: 4fa889802f5ff787138230aec3516bcbe3185045256e9c4eb82bf47c8e50b18b
4
+ data.tar.gz: e372f44db17360faa1a10f41319c817cbc6c0a6ba63e57808ab85b6f7ce717d7
5
5
  SHA512:
6
- metadata.gz: 9a99a674784a855b24e0d36b9a7d4cb5a54ff095820bcdcf447464438b774c7e2b71c495f00736c43497ffec5033bab3e7d6f94db081de6b3b8e433a2656945c
7
- data.tar.gz: 50d0bc580fe6ae7378c94c029f15f6c14c3e3774807a8c5795771e2ea38d8c3369b26afb6d063ebe401ecebbcba982640dc787777d9528cee8eeb01caf994c73
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' 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
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