quiz_api_client 4.17.0 → 4.17.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: e23a84ac19d13092f5a3b444fb14ad9347a6b213823f76d59cf6bbcf416f1d45
4
- data.tar.gz: b2c552afb96c01f953bbddfb6884ca89815a0ce41984ce303e8d577b8eacdc7b
3
+ metadata.gz: d09fd6f046ee756bdce9439fb2b10585444002d42ccff124b1b74806db432830
4
+ data.tar.gz: 68e4132368a554d8e957cdab9250553f578e06da51e3662051d8c45f7db75372
5
5
  SHA512:
6
- metadata.gz: f574041231c954f70acc74cc5f3f9ba142b6f9f9f289fc782839e3fbd4eedd116142850380af90707492dbccd8d9f5ff3370c915f76cb971068b5b9010892399
7
- data.tar.gz: 492b05909f9bb60cd5994ee313dca258012b9706525e22fb7f48a2f536792fe9b75d3ac8098f55aa50787a0b6d54b7431e7b86d0a504007f27a2696e16cd5c81
6
+ metadata.gz: 360473c5a226927eb692ccc8dc66334c9770878c9d952d10077b73b6004cbf120e79159dd3426f861fd84f1a310ea78fa133a21ed6b1e851446bec0a032db37a
7
+ data.tar.gz: b414958e672367c5d1c01cf5d649fcc0c0a4af5164eb91aae79a1d916d841455cb20f014aef1c13e57a48bd7a2f696926844ab19fcf3423e7d81352367f24665
@@ -9,9 +9,7 @@ module QuizApiClient::Services
9
9
  def post_to_quiz_api(params:, token:)
10
10
  client(token: token).post(
11
11
  "/api/quizzes/#{params[:quiz_id]}/analyses",
12
- quiz_session_ids: params[:quiz_session_ids],
13
- filter: params[:filter],
14
- analysis_type: params[:analysis_type]
12
+ params
15
13
  )
16
14
  end
17
15
  end
@@ -1,3 +1,3 @@
1
1
  module QuizApiClient
2
- VERSION = '4.17.0'.freeze
2
+ VERSION = '4.17.1'.freeze
3
3
  end
@@ -9,13 +9,12 @@ describe QuizApiClient::Services::AnalysesService do
9
9
  end
10
10
  let(:stubbed_response) { { 'job_id' => 1 } }
11
11
  let(:expected_url) { "https://#{host}/api/quizzes/#{params[:quiz_id]}/analyses" }
12
- let(:expected_params) { { quiz_session_ids: [1, 5, 10], filter: :last_attempt, analysis_type: 'student_analysis' } }
13
12
  let(:status_code) { 200 }
14
13
 
15
14
  before do
16
15
  stub_request(:post, expected_url)
17
16
  .with(
18
- body: expected_params.to_json
17
+ body: params.to_json
19
18
  )
20
19
  .to_return(
21
20
  status: status_code,
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.17.0
4
+ version: 4.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Slaughter