zoom_rb 1.1.7 → 1.1.9

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: 638751c68daca6754e413aaee89dcf23cce0fd28a122ee8b6085c647c0bbdf99
4
- data.tar.gz: 9876fc84829617ddb3533b750adc8cf118beac8d89cd32e5c3827ef038e241e8
3
+ metadata.gz: 0a720d6f32016994f2e4c5246bfd2b460dd9ae6e8c5580682bce9a33c7f758fd
4
+ data.tar.gz: 5d63cee99f19064e6a2887ab691d9c611aa460aefdd3b6db6dd1c2bed071ae78
5
5
  SHA512:
6
- metadata.gz: 705e71d377af9eb031894c1af759fb2b48d20f101340492dacb543404d44a60ff573ebe50d3f5d01f2c3cfc63e41fad9ee0812457ba72a60a40f5ccfa1fe6a74
7
- data.tar.gz: 86ff753ea1351749e1d760f67d41b2c3a8f15c6ec7565fff37fdc583b529b29876c9769cd9a1dbd26029eb6f81d5031b5a5b3d9c99f684e8f39ff0b6d167b4b2
6
+ metadata.gz: a4b6ebc0a0a1f7cc247392ea64a1765db4d6c311470a23d28b839c7f2a78b49413188f485f1f7653412cac153add76f230161a1b12e8026bed915f03a2463030
7
+ data.tar.gz: 828410a4b13b845ca46de5d44d4d28b4600abeafaf9c94c6d6bc83bfd9c40362c8b14e582ebda2638a74222c27d806c3649a42abc0988dbd636f1ab16a4f4cc4
@@ -0,0 +1,40 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ test:
11
+ strategy:
12
+ matrix:
13
+ ruby: ['3.0', '3.1', '3.2', '3.3']
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Set up Ruby
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: ${{ matrix.ruby }}
22
+ bundler-cache: true
23
+ - name: Run Tests
24
+ run: bundle exec rspec
25
+ - name: Upload Coverage to Coveralls
26
+ uses: coverallsapp/github-action@v2
27
+ with:
28
+ flag-name: ruby-${{ matrix.ruby }}
29
+ parallel: true
30
+
31
+ finish:
32
+ needs: test
33
+ if: ${{ always() }}
34
+ runs-on: ubuntu-latest
35
+ steps:
36
+ - name: Coveralls Finished
37
+ uses: coverallsapp/github-action@v2
38
+ with:
39
+ parallel-finished: true
40
+ carryforward: "ruby-3.0,ruby-3.1,ruby-3.2,ruby-3.3"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zoom_rb (1.1.7)
4
+ zoom_rb (1.1.9)
5
5
  httparty (>= 0.13)
6
6
  json (>= 1.8)
7
7
  jwt
@@ -9,17 +9,17 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (7.0.2.2)
12
+ activesupport (7.0.4.3)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 1.6, < 2)
15
15
  minitest (>= 5.1)
16
16
  tzinfo (~> 2.0)
17
- addressable (2.8.0)
18
- public_suffix (>= 2.0.2, < 5.0)
17
+ addressable (2.8.4)
18
+ public_suffix (>= 2.0.2, < 6.0)
19
19
  ast (2.4.2)
20
20
  byebug (11.1.3)
21
21
  coderay (1.1.3)
22
- concurrent-ruby (1.1.9)
22
+ concurrent-ruby (1.2.2)
23
23
  crack (0.4.5)
24
24
  rexml
25
25
  diff-lcs (1.5.0)
@@ -30,79 +30,82 @@ GEM
30
30
  rubocop-performance (>= 1.3.0)
31
31
  rubocop-rails (>= 2.0.0)
32
32
  rubocop-rspec (>= 1.33.0)
33
- httparty (0.20.0)
34
- mime-types (~> 3.0)
33
+ httparty (0.21.0)
34
+ mini_mime (>= 1.0.0)
35
35
  multi_xml (>= 0.5.2)
36
- i18n (1.10.0)
36
+ i18n (1.12.0)
37
37
  concurrent-ruby (~> 1.0)
38
38
  json (2.6.3)
39
- jwt (2.5.0)
39
+ jwt (2.7.1)
40
40
  method_source (1.0.0)
41
- mime-types (3.4.1)
42
- mime-types-data (~> 3.2015)
43
- mime-types-data (3.2022.0105)
44
- minitest (5.15.0)
41
+ mini_mime (1.1.5)
42
+ minitest (5.18.0)
45
43
  multi_xml (0.6.0)
46
- parallel (1.21.0)
47
- parser (3.1.1.0)
44
+ parallel (1.22.1)
45
+ parser (3.2.2.0)
48
46
  ast (~> 2.4.1)
49
- pry (0.13.1)
47
+ pry (0.14.2)
50
48
  coderay (~> 1.1)
51
49
  method_source (~> 1.0)
52
- pry-byebug (3.9.0)
50
+ pry-byebug (3.10.1)
53
51
  byebug (~> 11.0)
54
- pry (~> 0.13.0)
55
- public_suffix (4.0.6)
56
- rack (2.2.3)
52
+ pry (>= 0.13, < 0.15)
53
+ public_suffix (5.0.1)
54
+ rack (3.0.7)
57
55
  rainbow (3.1.1)
58
- regexp_parser (2.2.1)
56
+ regexp_parser (2.7.0)
59
57
  rexml (3.2.5)
60
- rspec (3.11.0)
61
- rspec-core (~> 3.11.0)
62
- rspec-expectations (~> 3.11.0)
63
- rspec-mocks (~> 3.11.0)
64
- rspec-core (3.11.0)
65
- rspec-support (~> 3.11.0)
66
- rspec-expectations (3.11.0)
58
+ rspec (3.12.0)
59
+ rspec-core (~> 3.12.0)
60
+ rspec-expectations (~> 3.12.0)
61
+ rspec-mocks (~> 3.12.0)
62
+ rspec-core (3.12.1)
63
+ rspec-support (~> 3.12.0)
64
+ rspec-expectations (3.12.2)
67
65
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.11.0)
69
- rspec-mocks (3.11.0)
66
+ rspec-support (~> 3.12.0)
67
+ rspec-mocks (3.12.5)
70
68
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.11.0)
72
- rspec-support (3.11.0)
73
- rspec_junit_formatter (0.5.1)
69
+ rspec-support (~> 3.12.0)
70
+ rspec-support (3.12.0)
71
+ rspec_junit_formatter (0.6.0)
74
72
  rspec-core (>= 2, < 4, != 2.12.0)
75
- rubocop (1.25.1)
73
+ rubocop (1.49.0)
74
+ json (~> 2.3)
76
75
  parallel (~> 1.10)
77
- parser (>= 3.1.0.0)
76
+ parser (>= 3.2.0.0)
78
77
  rainbow (>= 2.2.2, < 4.0)
79
78
  regexp_parser (>= 1.8, < 3.0)
80
- rexml
81
- rubocop-ast (>= 1.15.1, < 2.0)
79
+ rexml (>= 3.2.5, < 4.0)
80
+ rubocop-ast (>= 1.28.0, < 2.0)
82
81
  ruby-progressbar (~> 1.7)
83
- unicode-display_width (>= 1.4.0, < 3.0)
84
- rubocop-ast (1.16.0)
85
- parser (>= 3.1.1.0)
86
- rubocop-performance (1.13.2)
82
+ unicode-display_width (>= 2.4.0, < 3.0)
83
+ rubocop-ast (1.28.0)
84
+ parser (>= 3.2.1.0)
85
+ rubocop-capybara (2.17.1)
86
+ rubocop (~> 1.41)
87
+ rubocop-performance (1.17.1)
87
88
  rubocop (>= 1.7.0, < 2.0)
88
89
  rubocop-ast (>= 0.4.0)
89
- rubocop-rails (2.13.2)
90
+ rubocop-rails (2.19.0)
90
91
  activesupport (>= 4.2.0)
91
92
  rack (>= 1.1)
92
- rubocop (>= 1.7.0, < 2.0)
93
- rubocop-rspec (2.8.0)
94
- rubocop (~> 1.19)
95
- ruby-progressbar (1.11.0)
96
- simplecov (0.21.2)
93
+ rubocop (>= 1.33.0, < 2.0)
94
+ rubocop-rspec (2.19.0)
95
+ rubocop (~> 1.33)
96
+ rubocop-capybara (~> 2.17)
97
+ ruby-progressbar (1.13.0)
98
+ simplecov (0.22.0)
97
99
  docile (~> 1.1)
98
100
  simplecov-html (~> 0.11)
99
101
  simplecov_json_formatter (~> 0.1)
100
102
  simplecov-html (0.12.3)
103
+ simplecov-lcov (0.8.0)
101
104
  simplecov_json_formatter (0.1.4)
102
- tzinfo (2.0.4)
105
+ tzinfo (2.0.6)
103
106
  concurrent-ruby (~> 1.0)
104
- unicode-display_width (2.1.0)
105
- webmock (3.14.0)
107
+ unicode-display_width (2.4.2)
108
+ webmock (3.18.1)
106
109
  addressable (>= 2.8.0)
107
110
  crack (>= 0.3.2)
108
111
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -115,7 +118,8 @@ DEPENDENCIES
115
118
  pry-byebug
116
119
  rspec (>= 3.8)
117
120
  rspec_junit_formatter (>= 0.4.1)
118
- simplecov (>= 0.16.1)
121
+ simplecov (>= 0.22.0)
122
+ simplecov-lcov (>= 0.8.0)
119
123
  webmock (>= 3.4)
120
124
  zoom_rb!
121
125
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # zoom_rb [![CircleCI](https://circleci.com/gh/hintmedia/zoom_rb.svg?style=svg)](https://circleci.com/gh/hintmedia/zoom_rb) [![Maintainability](https://api.codeclimate.com/v1/badges/f41fdd0c73fd39c6732a/maintainability)](https://codeclimate.com/github/hintmedia/zoom_rb/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/f41fdd0c73fd39c6732a/test_coverage)](https://codeclimate.com/github/hintmedia/zoom_rb/test_coverage)
1
+ # zoom_rb [![Coverage Status](https://coveralls.io/repos/github/kyleboe/zoom_rb/badge.svg?branch=main)](https://coveralls.io/github/kyleboe/zoom_rb?branch=main) [![Maintainability](https://api.codeclimate.com/v1/badges/8b8d168aa7e9d3d004f6/maintainability)](https://codeclimate.com/github/kyleboe/zoom_rb/maintainability) [![Gem Version](https://badge.fury.io/rb/zoom_rb.svg)](https://badge.fury.io/rb/zoom_rb)
2
2
 
3
3
  Ruby wrapper gem for zoom.us API (currently `v2`)
4
4
 
@@ -12,8 +12,8 @@ module Zoom
12
12
  # Create a meeting on Zoom, return the created meeting URL
13
13
  post 'meeting_create', '/users/:user_id/meetings',
14
14
  permit: %i[
15
- topic type start_time duration schedule_for timezone password agenda tracking_fields
16
- recurrence settings template_id
15
+ topic type start_time duration schedule_for timezone password default_password agenda tracking_fields
16
+ recurrence settings template_id pre_schedule
17
17
  ]
18
18
 
19
19
  # Get a meeting on Zoom via meeting ID, return the meeting info.
@@ -75,6 +75,12 @@ module Zoom
75
75
 
76
76
  # Get a meeting on Zoom via meeting ID, return the meeting info.
77
77
  get 'meeting_invitation', '/meetings/:meeting_id/invitation'
78
+
79
+ # Support for meeting surveys
80
+ # https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingSurveyGet
81
+ get "meeting_survey", "/meetings/:meeting_id/survey"
82
+ delete "meeting_delete_survey", "/meetings/:meeting_id/survey"
83
+ patch "meeting_update_survey", "/meetings/:meeting_id/survey"
78
84
  end
79
85
  end
80
86
  end
@@ -15,6 +15,11 @@ module Zoom
15
15
 
16
16
  get 'meeting_recording_settings_get', '/meetings/:meeting_id/recordings/settings'
17
17
 
18
+ get 'meeting_recording_analytics_summary', '/meetings/:meeting_id/recordings/analytics_summary'
19
+
20
+ get 'meeting_recording_analytics_details', '/meetings/:meeting_id/recordings/analytics_details',
21
+ permit: %i[page_size next_page_token from to type]
22
+
18
23
  patch 'meeting_recording_settings_update', '/meetings/:meeting_id/recordings/settings',
19
24
  permit: RECORDING_SETTINGS_KEYS
20
25
 
@@ -11,10 +11,12 @@ module Zoom
11
11
  get 'meeting_details_report', '/report/meetings/:id'
12
12
 
13
13
  get 'meeting_participants_report', '/report/meetings/:id/participants',
14
- permit: %i[page_size next_page_token]
14
+ permit: %i[page_size next_page_token include_fields]
15
15
 
16
16
  get 'webinar_participants_report', '/report/webinars/:id/participants',
17
- permit: %i[page_size next_page_token]
17
+ permit: %i[page_size next_page_token include_fields]
18
+
19
+ get 'webinar_details_report', '/report/webinars/:webinar_id'
18
20
  end
19
21
  end
20
22
  end
@@ -21,7 +21,7 @@ module Zoom
21
21
  permit: :login_type
22
22
 
23
23
  patch 'user_update', '/users/:id',
24
- permit: %i[first_name last_name type pmi timezone dept vanity_name host_key cms_user_id]
24
+ permit: %i[first_name last_name type pmi timezone dept vanity_name host_key cms_user_id custom_attributes]
25
25
 
26
26
  delete 'user_delete', '/users/:id',
27
27
  permit: %i[action transfer_email transfer_meeting transfer_webinar transfer_recording]
@@ -20,7 +20,7 @@ module Zoom
20
20
  authentication_domains registrants_confirmation_email
21
21
  ],
22
22
  {
23
- language_interpretation: [
23
+ language_interpretation: [
24
24
  :enable,
25
25
  interpreters: %i[email languages]
26
26
  ],
@@ -1,11 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
  require 'jwt'
3
+ require 'logger'
3
4
 
4
5
  module Zoom
5
6
  class Client
6
7
  class JWT < Zoom::Client
7
8
 
8
9
  def initialize(config)
10
+ ::Logger.new(STDOUT).warn('Zoom::Client::JWT is deprecated. Please use Zoom::Client::ServerToServerOAuth instead. See: https://developers.zoom.us/docs/internal-apps/jwt-faq/')
9
11
  Zoom::Params.new(config).require(:api_key, :api_secret)
10
12
  config.each { |k, v| instance_variable_set("@#{k}", v) }
11
13
  self.class.default_timeout(@timeout || 20)
data/lib/zoom/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zoom
4
- VERSION = '1.1.7'
4
+ VERSION = '1.1.9'
5
5
  end
@@ -0,0 +1,21 @@
1
+ {
2
+ "custom_survey": {
3
+ "title": "Feedback on your live lecture",
4
+ "anonymous": false,
5
+ "feedback": "Thank you so much for taking the time to complete the survey. Your feedback really makes a difference.",
6
+ "questions": [
7
+ {
8
+ "name": "How useful was this lecture?",
9
+ "type": "rating_scale",
10
+ "answer_required": true,
11
+ "rating_min_value": 1,
12
+ "rating_max_value": 5,
13
+ "rating_min_label": "There is room for improvement",
14
+ "rating_max_label": "Very useful, I feel I learned a lot"
15
+ }
16
+ ],
17
+ "numbered_questions": false,
18
+ "show_question_type": false
19
+ },
20
+ "show_in_the_browser": true
21
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "from":"2023-01-01",
3
+ "to":"2023-01-02",
4
+ "next_page_token":"",
5
+ "page_size":30,
6
+ "total_records":1,
7
+ "analytics_details": [
8
+ {
9
+ "name":"John Doe",
10
+ "email":"john.doe@example.com",
11
+ "duration":1234,
12
+ "date_time":"2023-01-01T11:25:01Z"
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "from":"2023-01-01",
3
+ "to":"2023-01-02",
4
+ "analytics_summary": [
5
+ {
6
+ "date":"2023-01-01",
7
+ "views_total_count":8,
8
+ "downloads_total_count":0
9
+ },
10
+ {
11
+ "date":"2023-01-02",
12
+ "views_total_count": 13,
13
+ "downloads_total_count": 1
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Zoom::Actions::Meeting do
6
+ let(:zc) { zoom_client }
7
+ let(:args) { { meeting_id: 1 } }
8
+
9
+ describe '#meeting_survey action' do
10
+ before :each do
11
+ stub_request(
12
+ :get,
13
+ zoom_url("/meetings/#{args[:meeting_id]}/survey")
14
+ ).to_return(body: json_response('meeting', 'get_survey'), headers: { 'Content-Type' => 'application/json' })
15
+ end
16
+
17
+ it 'returns a hash' do
18
+ expect(zc.meeting_survey(args)).to be_kind_of(Hash)
19
+ end
20
+
21
+ it "returns survey properties" do
22
+ expect(zc.meeting_survey(args)['show_in_the_browser']).to eql(true)
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Zoom::Actions::Recording do
6
+ let(:zc) { zoom_client }
7
+ let(:args) { { meeting_id: 91538056781 } }
8
+
9
+ describe '#meeting_recording_analytics_details action' do
10
+ before :each do
11
+ stub_request(
12
+ :get,
13
+ zoom_url("/meetings/#{args[:meeting_id]}/recordings/analytics_details")
14
+ ).to_return(
15
+ status: 200,
16
+ body: json_response('recording', 'analytics_details'),
17
+ headers: { 'Content-Type' => 'application/json' }
18
+ )
19
+ end
20
+
21
+ it "requires a 'meeting_id' argument" do
22
+ expect {
23
+ zc.meeting_recording_analytics_details(filter_key(args, :meeting_id))
24
+ }.to raise_error(Zoom::ParameterMissing)
25
+ end
26
+
27
+ it 'returns a hash' do
28
+ expect(zc.meeting_recording_analytics_details(args)).to be_kind_of(Hash)
29
+ end
30
+
31
+ it "returns 'from'" do
32
+ expect(zc.meeting_recording_analytics_details(args)['from']).to eq('2023-01-01')
33
+ end
34
+
35
+ it "returns 'to'" do
36
+ expect(zc.meeting_recording_analytics_details(args)['to']).to eq('2023-01-02')
37
+ end
38
+
39
+ it "returns 'next_page_token'" do
40
+ expect(zc.meeting_recording_analytics_details(args)['next_page_token']).to eq('')
41
+ end
42
+
43
+ it "returns 'page_size'" do
44
+ expect(zc.meeting_recording_analytics_details(args)['page_size']).to eq(30)
45
+ end
46
+
47
+ it "returns 'total_records'" do
48
+ expect(zc.meeting_recording_analytics_details(args)['total_records']).to eq(1)
49
+ end
50
+
51
+ it "returns 'analytics_details' Array" do
52
+ expect(zc.meeting_recording_analytics_details(args)['analytics_details']).to be_kind_of(Array)
53
+ end
54
+
55
+ end
56
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Zoom::Actions::Recording do
6
+ let(:zc) { zoom_client }
7
+ let(:args) { { meeting_id: 91538056781 } }
8
+
9
+ describe '#meeting_recording_analytics_summary action' do
10
+ before :each do
11
+ stub_request(
12
+ :get,
13
+ zoom_url("/meetings/#{args[:meeting_id]}/recordings/analytics_summary")
14
+ ).to_return(
15
+ status: 200,
16
+ body: json_response('recording', 'analytics_summary'),
17
+ headers: { 'Content-Type' => 'application/json' }
18
+ )
19
+ end
20
+
21
+ it "requires a 'meeting_id' argument" do
22
+ expect {
23
+ zc.meeting_recording_analytics_summary(filter_key(args, :meeting_id))
24
+ }.to raise_error(Zoom::ParameterMissing)
25
+ end
26
+
27
+ it 'returns a hash' do
28
+ expect(zc.meeting_recording_analytics_summary(args)).to be_kind_of(Hash)
29
+ end
30
+
31
+ it "returns 'from'" do
32
+ expect(zc.meeting_recording_analytics_summary(args)['from']).to eq('2023-01-01')
33
+ end
34
+
35
+ it "returns 'to'" do
36
+ expect(zc.meeting_recording_analytics_summary(args)['to']).to eq('2023-01-02')
37
+ end
38
+
39
+ it "returns 'analytics_summary' Array" do
40
+ expect(zc.meeting_recording_analytics_summary(args)['analytics_summary']).to be_kind_of(Array)
41
+ end
42
+
43
+ end
44
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,7 +1,20 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'simplecov'
4
- SimpleCov.start
4
+ SimpleCov.start do
5
+ if ENV['CI']
6
+ require 'simplecov-lcov'
7
+
8
+ SimpleCov::Formatter::LcovFormatter.config do |c|
9
+ c.report_with_single_file = true
10
+ c.single_report_path = 'coverage/lcov.info'
11
+ end
12
+
13
+ formatter SimpleCov::Formatter::LcovFormatter
14
+ end
15
+
16
+ add_filter %w[version.rb]
17
+ end
5
18
 
6
19
  require 'rubygems'
7
20
  require 'bundler/setup'
data/zoom_rb.gemspec CHANGED
@@ -14,7 +14,8 @@ Gem::Specification.new do |gem|
14
14
  gem.add_development_dependency 'hint-rubocop_style'
15
15
  gem.add_development_dependency 'rspec', '>= 3.8'
16
16
  gem.add_development_dependency 'rspec_junit_formatter', '>= 0.4.1'
17
- gem.add_development_dependency 'simplecov', '>= 0.16.1'
17
+ gem.add_development_dependency 'simplecov', '>= 0.22.0'
18
+ gem.add_development_dependency 'simplecov-lcov', '>= 0.8.0'
18
19
  gem.add_development_dependency 'webmock', '>= 3.4'
19
20
 
20
21
  gem.authors = ['Kyle Boe']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zoom_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Boe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2024-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -114,14 +114,28 @@ dependencies:
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 0.16.1
117
+ version: 0.22.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 0.16.1
124
+ version: 0.22.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov-lcov
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 0.8.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 0.8.0
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: webmock
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -143,7 +157,7 @@ executables: []
143
157
  extensions: []
144
158
  extra_rdoc_files: []
145
159
  files:
146
- - ".circleci/config.yml"
160
+ - ".github/workflows/ruby.yml"
147
161
  - ".gitignore"
148
162
  - CHANGELOG.md
149
163
  - Gemfile
@@ -240,11 +254,14 @@ files:
240
254
  - spec/fixtures/meeting/add_registrant.json
241
255
  - spec/fixtures/meeting/create.json
242
256
  - spec/fixtures/meeting/get.json
257
+ - spec/fixtures/meeting/get_survey.json
243
258
  - spec/fixtures/meeting/instances.json
244
259
  - spec/fixtures/meeting/invitation.json
245
260
  - spec/fixtures/meeting/list.json
246
261
  - spec/fixtures/meeting/live_stream/errors/meeting_not_found.json
247
262
  - spec/fixtures/meeting/live_stream/errors/missing_field.json
263
+ - spec/fixtures/recording/analytics_details.json
264
+ - spec/fixtures/recording/analytics_summary.json
248
265
  - spec/fixtures/recording/get.json
249
266
  - spec/fixtures/recording/list.json
250
267
  - spec/fixtures/recording/settings/get.json
@@ -370,11 +387,14 @@ files:
370
387
  - spec/lib/zoom/actions/meeting/create_spec.rb
371
388
  - spec/lib/zoom/actions/meeting/delete_spec.rb
372
389
  - spec/lib/zoom/actions/meeting/get_spec.rb
390
+ - spec/lib/zoom/actions/meeting/get_survey_spec.rb
373
391
  - spec/lib/zoom/actions/meeting/invitation_spec.rb
374
392
  - spec/lib/zoom/actions/meeting/list_spec.rb
375
393
  - spec/lib/zoom/actions/meeting/livestream_spec.rb
376
394
  - spec/lib/zoom/actions/meeting/registrants/update_status_spec.rb
377
395
  - spec/lib/zoom/actions/meeting/update_spec.rb
396
+ - spec/lib/zoom/actions/recording/analytics_details_spec.rb
397
+ - spec/lib/zoom/actions/recording/analytics_summary_spec.rb
378
398
  - spec/lib/zoom/actions/recording/file_delete_spec.rb
379
399
  - spec/lib/zoom/actions/recording/get_spec.rb
380
400
  - spec/lib/zoom/actions/recording/list_spec.rb
@@ -483,7 +503,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
483
503
  - !ruby/object:Gem::Version
484
504
  version: '0'
485
505
  requirements: []
486
- rubygems_version: 3.3.7
506
+ rubygems_version: 3.5.4
487
507
  signing_key:
488
508
  specification_version: 4
489
509
  summary: zoom.us API wrapper
@@ -531,11 +551,14 @@ test_files:
531
551
  - spec/fixtures/meeting/add_registrant.json
532
552
  - spec/fixtures/meeting/create.json
533
553
  - spec/fixtures/meeting/get.json
554
+ - spec/fixtures/meeting/get_survey.json
534
555
  - spec/fixtures/meeting/instances.json
535
556
  - spec/fixtures/meeting/invitation.json
536
557
  - spec/fixtures/meeting/list.json
537
558
  - spec/fixtures/meeting/live_stream/errors/meeting_not_found.json
538
559
  - spec/fixtures/meeting/live_stream/errors/missing_field.json
560
+ - spec/fixtures/recording/analytics_details.json
561
+ - spec/fixtures/recording/analytics_summary.json
539
562
  - spec/fixtures/recording/get.json
540
563
  - spec/fixtures/recording/list.json
541
564
  - spec/fixtures/recording/settings/get.json
@@ -661,11 +684,14 @@ test_files:
661
684
  - spec/lib/zoom/actions/meeting/create_spec.rb
662
685
  - spec/lib/zoom/actions/meeting/delete_spec.rb
663
686
  - spec/lib/zoom/actions/meeting/get_spec.rb
687
+ - spec/lib/zoom/actions/meeting/get_survey_spec.rb
664
688
  - spec/lib/zoom/actions/meeting/invitation_spec.rb
665
689
  - spec/lib/zoom/actions/meeting/list_spec.rb
666
690
  - spec/lib/zoom/actions/meeting/livestream_spec.rb
667
691
  - spec/lib/zoom/actions/meeting/registrants/update_status_spec.rb
668
692
  - spec/lib/zoom/actions/meeting/update_spec.rb
693
+ - spec/lib/zoom/actions/recording/analytics_details_spec.rb
694
+ - spec/lib/zoom/actions/recording/analytics_summary_spec.rb
669
695
  - spec/lib/zoom/actions/recording/file_delete_spec.rb
670
696
  - spec/lib/zoom/actions/recording/get_spec.rb
671
697
  - spec/lib/zoom/actions/recording/list_spec.rb
data/.circleci/config.yml DELETED
@@ -1,66 +0,0 @@
1
- # Ruby CircleCI 2.0 configuration file
2
- #
3
- # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
- #
5
- version: 2
6
- jobs:
7
- build:
8
- environment:
9
- CC_TEST_REPORTER_ID: c6c77975186cfe10e41d9548e9b4a4648f87b56cdbb70bd3896a5a58abf08421
10
- docker:
11
- # specify the version you desire here
12
- - image: circleci/ruby:3.0-node-browsers
13
-
14
- # Specify service dependencies here if necessary
15
- # CircleCI maintains a library of pre-built images
16
- # documented at https://circleci.com/docs/2.0/circleci-images/
17
- # - image: circleci/postgres:9.4
18
-
19
- working_directory: ~/repo
20
-
21
- steps:
22
- - checkout
23
-
24
- # Download and cache dependencies
25
- - restore_cache:
26
- keys:
27
- - zoom-bundle-{{ checksum "Gemfile.lock" }}
28
- # fallback to using the latest cache if no exact match is found
29
- - zoom-bundle-
30
-
31
- - run:
32
- name: install dependencies
33
- command: |
34
- bundle check || bundle install --jobs=4 --retry=3 --path vendor/bundle
35
-
36
- - save_cache:
37
- paths:
38
- - ./vendor/bundle
39
- key: zoom-bundle-{{ checksum "Gemfile.lock" }}
40
-
41
- - run:
42
- name: Setup Code Climate test-reporter
43
- command: |
44
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
45
- chmod +x ./cc-test-reporter
46
-
47
- - run:
48
- name: run tests
49
- command: |
50
- mkdir /tmp/test-results
51
- TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
52
- ./cc-test-reporter before-build
53
- bundle exec rspec --profile 10 \
54
- --format RspecJunitFormatter \
55
- --out /tmp/test-results/rspec.xml \
56
- --format progress \
57
- $TEST_FILES
58
- ./cc-test-reporter format-coverage -t simplecov $CIRCLE_ARTIFACTS/coverage/.resultset.json
59
- ./cc-test-reporter upload-coverage
60
-
61
- # collect reports
62
- - store_test_results:
63
- path: /tmp/test-results
64
- - store_artifacts:
65
- path: /tmp/test-results
66
- destination: test-results