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 +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: 8dfc188f90b9e9ecbb6dca39381af0881c04279c2e28a51dc37155e396411589
|
4
|
+
data.tar.gz: e315e2df134089927326d0a36654fee28b01d85c8c556c1dfe33992e4c5a9924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40722c095a27ed44dbd42e9a0152a4791d6f8d3e3e045762085f59fc0dba02cc487ba43f534cccc4d703a6a85cb1b6ad4e1ca32c45205a0c579589b65dfb4047
|
7
|
+
data.tar.gz: a0593f571e593bfe1faa313ccc4692900e693377a31d8c292f44dca68d0141ea0411554b3232dbb48aa06d52f9a2cc4730135188e99b7eef0ce632b93495722b
|
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.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-
|
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
|