big_marker_client 0.1.9 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef58a11c9bb23d90fdb4f35ebb17cc9aea7a0782d9acb09324db9a87dd3ffcb5
4
- data.tar.gz: a594edc8149b000c227b9afa0734a64f02465720fa132ebedff782f0b8bca602
3
+ metadata.gz: 9cf33ec5dbb860c95d56a2f712c2f52ec3627a5774ae24004139b04ff5d998a1
4
+ data.tar.gz: a111bd6d0021607ddb7ee76d4588dd946b846bc9256edd64ece064145e2c56b7
5
5
  SHA512:
6
- metadata.gz: c41626edde5f66fe935a7f5f99f73845312cc4ee932dbdf73556020c5b1362b1ac51a0ab705ed701475f9b138546f16d78454a7e1bc8c430782ea733cfc539ed
7
- data.tar.gz: 2609de80a34de2da857405734bb1cc06c506300ee09f17b3f77e099651dea85e62055788e466df7dc437a33b2abdc20d4cca8f340dd70d52bc5f77f8c5f320ec
6
+ metadata.gz: '091a4a68cdf889572260dd79e539f4d24f1c8c1cba7e83700f29175bb3abc9c16b6459c187bed2d028c36a12061ed6f30ea15e2e22d775a0b08d98c6ddbb1c6d'
7
+ data.tar.gz: e3a4ae39035bb3ec88178c85e6e0c48c3e90743f1a8a9893bc480cf4b097a0ccb005737a3850b09cc59c2d34cf9d194fdd5ae09bd1978ef3bf7146743b5fd330
data/.rubocop.yml CHANGED
@@ -9,6 +9,7 @@ require:
9
9
  - rubocop-performance
10
10
  - rubocop-rake
11
11
  - rubocop-rspec
12
+ - rubocop-factory_bot
12
13
 
13
14
  Layout/LineLength:
14
15
  Max: 120
data/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # Changelog
2
2
 
3
- ## [0.1.9]
3
+ ## [0.1.11] - unreleased
4
+
5
+ -
6
+
7
+ ## [0.1.10] - 2024-01-09
8
+
9
+ - add `presenter_exit_url` and `fb_open_graph_image_url` to conference
10
+ - add `earned_certificate` and `qualified_for_certificate` to registrant
11
+
12
+ ## [0.1.9] - 2023-03-28
4
13
 
5
14
  - add conference fields `tags`, `banner_filter_percentage`
6
15
  - add attendee fields `start_time`, `coupon_used`
@@ -107,7 +107,7 @@ module BigMarkerClient
107
107
 
108
108
  def break_on_full_metadata?(results:, result:, page:)
109
109
  if !result["total_pages"].nil? && !total_count(result).nil?
110
- return ((page >= result["total_pages"].to_i) || (results.length >= total_count(result).to_i))
110
+ return (page >= result["total_pages"].to_i) || (results.length >= total_count(result).to_i)
111
111
  end
112
112
 
113
113
  false
@@ -5,7 +5,7 @@ module BigMarkerClient
5
5
  return unless hash.is_a?(Hash)
6
6
 
7
7
  known_attributes = self.class.instance_methods
8
- hash.each { |k, v| known_attributes.include?(k.to_sym) ? send("#{k}=", v) : warn("missing property: #{k}") }
8
+ hash.each { |k, v| known_attributes.include?(k.to_sym) ? send(:"#{k}=", v) : warn("missing property: #{k}") }
9
9
  end
10
10
 
11
11
  def to_h
@@ -4,15 +4,15 @@ module BigMarkerClient
4
4
  # for supported values for time_zone please compare [the documentation](https://docs.bigmarker.com/#time-zones)
5
5
  class Conference < Base
6
6
  attr_accessor :agenda_topics, :audience_open_time, :auto_invite_all_channel_members, :background_image_url,
7
- :banner_filter_percentage, :channel_id, :conference_address, :conference_copy_id, :custom_event_id,
7
+ :banner_filter_percentage, :channel_id, :conference_address, :custom_event_id,
8
8
  :disclaimer, :display_language, :duration_minutes, :enable_ie_safari, :enable_knock_to_enter,
9
9
  :enable_registration_email, :enable_twitter, :end_time, :event_type, :exit_url,
10
- :first_admin_enter_time, :id, :manual_end_time, :master_webinar_id, :max_attendance, :meeting_mode,
11
- :moderator_open_time, :poll_results, :privacy, :purpose, :recorded, :recording_duration,
12
- :recording_iframe, :recording_url, :registration_required_to_view_recording, :review_emails,
13
- :room_logo, :send_cancellation_email, :send_reminder_emails_to_presenters, :show_handout_on_page,
14
- :show_reviews, :start_time, :time_zone, :title, :type, :webcast_mode, :webhook_url, :webinar_tags,
15
- :who_can_watch_recording,
10
+ :fb_open_graph_image_url, :first_admin_enter_time, :id, :manual_end_time, :master_webinar_id,
11
+ :max_attendance, :meeting_mode, :moderator_open_time, :poll_results, :presenter_exit_url, :privacy,
12
+ :purpose, :recorded, :recording_iframe, :recording_url, :registration_required_to_view_recording,
13
+ :review_emails, :room_logo, :send_cancellation_email, :send_reminder_emails_to_presenters,
14
+ :show_handout_on_page, :show_reviews, :start_time, :time_zone, :title, :type, :webcast_mode,
15
+ :webhook_url, :webinar_tags, :who_can_watch_recording,
16
16
  ## CCs seems unused?
17
17
  :enable_closed_caption, :cc_original_language, :cc_display_language,
18
18
  # breakout room related
@@ -21,10 +21,10 @@ module BigMarkerClient
21
21
  :allow_breakout_slide, :main_room_return, :unnassigned_attendee, :unnassigned_presenter,
22
22
  :breakout_room_total,
23
23
  # for conference creation
24
- :sub_url, :enable_dial_in, :room_sub_title, :schedule_type, :recurring_start_times,
25
- :presenter_advanced_enter_time, :attendee_advanced_enter_time, :webinar_format, :ondemand_video_url,
26
- :registration_conf_emails, :send_notification_emails_to_presenters, :channel_admin_id,
27
- :room_type, :icon,
24
+ :attendee_advanced_enter_time, :channel_admin_id, :conference_copy_id, :enable_dial_in, :icon,
25
+ :ondemand_video_url, :presenter_advanced_enter_time, :recurring_start_times,
26
+ :registration_conf_emails, :room_sub_title, :room_type, :schedule_type,
27
+ :send_notification_emails_to_presenters, :sub_url, :webinar_format,
28
28
  # webhook related
29
29
  :enable_create_webinar_reg_webhook, :enable_new_reg_webhook,
30
30
  :enable_webinar_start_webhook, :webinar_start_webhook_url, :enable_waiting_room_open_webhook,
@@ -2,7 +2,8 @@ module BigMarkerClient
2
2
  module Models
3
3
  class Registrant < Base
4
4
  attr_accessor :email, :first_name, :last_name, :custom_fields, :enter_url, :bmid, :referral_domain, :source,
5
- :tracking_code, :custom_user_id, :time_zone, :country
5
+ :tracking_code, :custom_user_id, :time_zone, :country, :earned_certificate,
6
+ :qualified_for_certificate, :qr_code_value
6
7
  end
7
8
  end
8
9
  end
@@ -1,3 +1,3 @@
1
1
  module BigMarkerClient
2
- VERSION = "0.1.9".freeze
2
+ VERSION = "0.1.11".freeze
3
3
  end
@@ -1,6 +1,6 @@
1
1
  FactoryBot.define do
2
2
  factory :big_marker_attendee, class: "BigMarkerClient::Models::Attendee" do
3
- sequence(:id)
3
+ sequence(:id) # rubocop:disable FactoryBot/IdSequence
4
4
  sequence(:bmid) { SecureRandom.hex(6) }
5
5
  sequence(:conference_id) { SecureRandom.hex(6) }
6
6
  sequence(:email) { |n| "attendee#{n}@example.com" }
@@ -46,7 +46,6 @@ FactoryBot.define do
46
46
  agenda_topics { [] }
47
47
  disclaimer { "disclaimer" }
48
48
  recorded { false }
49
- recording_duration { 0 }
50
49
  recording_url { nil }
51
50
  recording_iframe { nil }
52
51
  sequence(:sub_url) { |n| "event-#{n}" }
@@ -64,6 +63,8 @@ FactoryBot.define do
64
63
  room_type { nil }
65
64
  room_sub_title { nil }
66
65
  ondemand_video_url { nil }
66
+ presenter_exit_url { nil }
67
+ fb_open_graph_image_url { nil }
67
68
  webinar_tags { [] }
68
69
  icon { nil }
69
70
  dial_in_information { nil }
@@ -77,7 +78,7 @@ FactoryBot.define do
77
78
  type: type, conference_copy_id: conference_copy_id, master_webinar_id: master_webinar_id,
78
79
  max_attendance: max_attendance, purpose: purpose, start_time: start_time, duration_minutes: duration_minutes,
79
80
  channel_id: channel_id, conference_address: conference_address, custom_event_id: custom_event_id,
80
- banner_filter_percentage: banner_filter_percentage, recording_duration: recording_duration,
81
+ banner_filter_percentage: banner_filter_percentage, presenter_exit_url: presenter_exit_url,
81
82
  webcast_mode: webcast_mode, end_time: end_time, moderator_open_time: moderator_open_time,
82
83
  audience_open_time: audience_open_time, first_admin_enter_time: first_admin_enter_time,
83
84
  manual_end_time: manual_end_time, privacy: privacy, exit_url: exit_url,
@@ -98,7 +99,7 @@ FactoryBot.define do
98
99
  webhook_url: webhook_url, channel_admin_id: channel_admin_id, ondemand_video_url: ondemand_video_url,
99
100
  room_type: room_type, room_sub_title: room_sub_title, dial_in_information: dial_in_information,
100
101
  preload_files: preload_files, presenters: presenters, webinar_stats: webinar_stats,
101
- associated_series: associated_series)
102
+ associated_series: associated_series, fb_open_graph_image_url: fb_open_graph_image_url)
102
103
  end
103
104
 
104
105
  trait :with_dial_in_information do
@@ -12,11 +12,14 @@ FactoryBot.define do
12
12
  custom_user_id { nil }
13
13
  time_zone { "Europe/Berlin" }
14
14
  country { "Germany" }
15
+ earned_certificate { true }
16
+ qualified_for_certificate { true }
15
17
 
16
18
  initialize_with do
17
19
  new(email: email, first_name: first_name, last_name: last_name, custom_fields: custom_fields,
18
20
  enter_url: enter_url, bmid: bmid, referral_domain: referral_domain, source: source,
19
- tracking_code: tracking_code, custom_user_id: custom_user_id, time_zone: time_zone, country: country)
21
+ tracking_code: tracking_code, custom_user_id: custom_user_id, time_zone: time_zone, country: country,
22
+ earned_certificate: earned_certificate, qualified_for_certificate: qualified_for_certificate)
20
23
  end
21
24
  end
22
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: big_marker_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burkhard Vogel-Kreykenbohm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-28 00:00:00.000000000 Z
11
+ date: 2024-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -38,10 +38,10 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.0'
41
- description: Encapsulates calls to the BigMarker API to create ond retrieve conferences,
41
+ description: Encapsulates calls to the BigMarker API to create and retrieve conferences,
42
42
  participants, analytics and more
43
43
  email:
44
- - bvk@capinside.com
44
+ - bvk@capinside-solutions.com
45
45
  executables:
46
46
  - console
47
47
  - setup
@@ -90,6 +90,9 @@ homepage: https://gitlab.com/capinside-oss/big_marker_client
90
90
  licenses:
91
91
  - MIT
92
92
  metadata:
93
+ homepage_uri: https://gitlab.com/capinside-oss/big_marker_client
94
+ source_code_uri: https://gitlab.com/capinside-oss/big_marker_client
95
+ changelog_uri: https://gitlab.com/capinside-oss/big_marker_client/-/blob/main/CHANGELOG.md
93
96
  rubygems_mfa_required: 'true'
94
97
  post_install_message:
95
98
  rdoc_options: []
@@ -106,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
109
  - !ruby/object:Gem::Version
107
110
  version: '0'
108
111
  requirements: []
109
- rubygems_version: 3.4.1
112
+ rubygems_version: 3.5.9
110
113
  signing_key:
111
114
  specification_version: 4
112
115
  summary: simple client library to access the BigMarker API