quiz_api_client 4.5.0 → 4.5.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 316ba7a8bde533e2ef09e6e0a5e2c443a597ae3bfda7c00cf5280c2ab5e75bb0
|
4
|
+
data.tar.gz: ec869a63880d44c2fb7920f95dd80b042671c954bb4a5a972d6ebbc00261f5b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3611bb4fb2775b6a96669bd276cfa513cd47f1177dd98b76757fea5311241e4066184228dce6c9aa78b9f70a004ae908b56981870301f21527ae87068e7a29a0
|
7
|
+
data.tar.gz: 4f9988a4c3791f69c25b53eb9db65194643d2d1639c8327f942a71e4264e7662c17f24a6094d6dfd58fd4168a6e53e78da613ba8f268f745d209b615838d62ac
|
@@ -24,7 +24,7 @@ module QuizApiClient::Services
|
|
24
24
|
def patch_to_quiz_api(params:, token:)
|
25
25
|
client(token: token).patch(
|
26
26
|
"/api/courses/#{params[:canvas_id]}",
|
27
|
-
course: params.tap { |p| p.delete(:canvas_id) }
|
27
|
+
course: params.dup.tap { |p| p.delete(:canvas_id) }
|
28
28
|
)
|
29
29
|
end
|
30
30
|
|
@@ -79,6 +79,11 @@ describe QuizApiClient::Services::CoursesService do
|
|
79
79
|
subject.update(params: params, token: 'token').parsed_response
|
80
80
|
).to eq(response)
|
81
81
|
end
|
82
|
+
|
83
|
+
it 'does not modify params' do
|
84
|
+
subject.update(params: params, token: 'token')
|
85
|
+
expect(params).to eq params
|
86
|
+
end
|
82
87
|
end
|
83
88
|
|
84
89
|
describe '#destroy' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quiz_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Slaughter
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: exe
|
16
16
|
cert_chain: []
|
17
|
-
date: 2022-
|
17
|
+
date: 2022-08-08 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: httparty
|