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 +4 -4
- data/bearcat.gemspec +1 -0
- data/lib/bearcat/version.rb +1 -1
- data/lib/catalogcat/api_array.rb +1 -0
- data/lib/catalogcat/client/email_domain_sets.rb +17 -0
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fa889802f5ff787138230aec3516bcbe3185045256e9c4eb82bf47c8e50b18b
|
4
|
+
data.tar.gz: e372f44db17360faa1a10f41319c817cbc6c0a6ba63e57808ab85b6f7ce717d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5ef22e6c9315303108fd4ff60b31c3799e65b813b433a06a5193765fef79212b1ad7d71a01c9ba3b025d7dd539027c05af33269f164edefb6c3440266fc3c43
|
7
|
+
data.tar.gz: 8bbe88b259da9d5eae79e2f632eed166ca8695ee34f9adfb44955cca544c66376fae74a951c77e50b6688a602cddad42f871241adc6e804243a452c96014e452
|
data/bearcat.gemspec
CHANGED
data/lib/bearcat/version.rb
CHANGED
data/lib/catalogcat/api_array.rb
CHANGED
@@ -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.
|
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-
|
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.
|
448
|
+
rubygems_version: 3.4.10
|
434
449
|
signing_key:
|
435
450
|
specification_version: 4
|
436
451
|
summary: Canvas API
|