onesignal 5.16.0 → 5.18.0

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.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/Gemfile.lock +3 -3
  4. data/README.md +3 -3
  5. data/docs/DefaultApi.md +281 -26
  6. data/docs/DuplicateJourneyOverrides.md +30 -0
  7. data/docs/DuplicateJourneyRequest.md +18 -0
  8. data/docs/EmailMetrics.md +34 -0
  9. data/docs/EmailProviderMetrics.md +20 -0
  10. data/docs/EmailProviderMetricsEvent.md +20 -0
  11. data/docs/EmailProviderMetricsResponse.md +18 -0
  12. data/docs/EmailProviderMetricsTimeseriesResponse.md +18 -0
  13. data/docs/JourneyNode.md +2 -2
  14. data/docs/UpdateJourneyNodeRequest.md +2 -2
  15. data/lib/onesignal/api/default_api.rb +265 -6
  16. data/lib/onesignal/api_client.rb +24 -1
  17. data/lib/onesignal/configuration.rb +4 -2
  18. data/lib/onesignal/models/duplicate_journey_overrides.rb +282 -0
  19. data/lib/onesignal/models/duplicate_journey_request.rb +219 -0
  20. data/lib/onesignal/models/email_metrics.rb +300 -0
  21. data/lib/onesignal/models/email_provider_metrics.rb +229 -0
  22. data/lib/onesignal/models/email_provider_metrics_event.rb +229 -0
  23. data/lib/onesignal/models/email_provider_metrics_response.rb +222 -0
  24. data/lib/onesignal/models/email_provider_metrics_timeseries_response.rb +222 -0
  25. data/lib/onesignal/models/journey.rb +1 -1
  26. data/lib/onesignal/models/journey_node.rb +2 -2
  27. data/lib/onesignal/models/update_journey_node_request.rb +2 -2
  28. data/lib/onesignal/version.rb +1 -1
  29. data/lib/onesignal.rb +7 -0
  30. data/spec/api/default_api_spec.rb +49 -3
  31. data/spec/api_client_spec.rb +6 -6
  32. data/spec/models/duplicate_journey_overrides_spec.rb +69 -0
  33. data/spec/models/duplicate_journey_request_spec.rb +33 -0
  34. data/spec/models/email_metrics_spec.rb +81 -0
  35. data/spec/models/email_provider_metrics_event_spec.rb +39 -0
  36. data/spec/models/email_provider_metrics_response_spec.rb +33 -0
  37. data/spec/models/email_provider_metrics_spec.rb +39 -0
  38. data/spec/models/email_provider_metrics_timeseries_response_spec.rb +33 -0
  39. data/vendor/bundle/ruby/3.2.0/cache/date-3.6.0.gem +0 -0
  40. data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.4.gem +0 -0
  41. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  42. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.6.0/date_core.so +0 -0
  43. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.6.0/gem_make.out +26 -0
  44. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{date-3.5.1 → date-3.6.0}/mkmf.log +55 -2
  45. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/gem_make.out +12 -10
  46. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/io/console.so +0 -0
  47. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/mkmf.log +33 -6
  48. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  49. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
  50. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  51. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  52. data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/Makefile +1 -1
  53. data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_core.c +293 -77
  54. data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_parse.c +14 -4
  55. data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_strptime.c +13 -13
  56. data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/extconf.rb +6 -0
  57. data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/lib/date.rb +1 -1
  58. data/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/lib/date_core.so +0 -0
  59. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/Makefile +3 -3
  60. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/console.c +101 -13
  61. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/extconf.rb +27 -2
  62. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/lib/io/console/size.rb +4 -2
  63. data/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/lib/io/console.so +0 -0
  64. data/vendor/bundle/ruby/3.2.0/specifications/{date-3.5.1.gemspec → date-3.6.0.gemspec} +3 -3
  65. data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.9.2.gemspec → io-console-0.9.4.gemspec} +3 -3
  66. metadata +158 -130
  67. data/vendor/bundle/ruby/3.2.0/cache/date-3.5.1.gem +0 -0
  68. data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.2.gem +0 -0
  69. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/date_core.so +0 -0
  70. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +0 -24
  71. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/io/console.so +0 -0
  72. data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/lib/date_core.so +0 -0
  73. data/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.2/lib/io/console.so +0 -0
  74. /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{date-3.5.1 → date-3.6.0}/gem.build_complete +0 -0
  75. /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/gem.build_complete +0 -0
  76. /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/BSDL +0 -0
  77. /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/COPYING +0 -0
  78. /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/README.md +0 -0
  79. /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_strftime.c +0 -0
  80. /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_tmx.h +0 -0
  81. /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/prereq.mk +0 -0
  82. /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/zonetab.h +0 -0
  83. /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/zonetab.list +0 -0
  84. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/.document +0 -0
  85. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/BSDL +0 -0
  86. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/COPYING +0 -0
  87. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/README.md +0 -0
  88. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/win32_vk.inc +0 -0
@@ -18,7 +18,7 @@ module OneSignal
18
18
  # Optional client-assigned identifier, unique within the journey. Use it to reference this node from elsewhere in the same request. Persisted and returned on reads.
19
19
  attr_accessor :client_node_id
20
20
 
21
- # Optional free-text label, up to 255 characters. Stored and returned as-is with no effect on journey behavior.
21
+ # Optional free-text label, up to 1024 characters. Stored and returned as-is with no effect on journey behavior.
22
22
  attr_accessor :annotation
23
23
 
24
24
  # wait nodes: seconds to hold the user. Minimum 60, maximum 31556952 (1 year).
@@ -54,7 +54,7 @@ module OneSignal
54
54
  # split_range nodes: when true, assigns each user to a branch at random on entry. Defaults to false.
55
55
  attr_accessor :randomize_on_entry
56
56
 
57
- # Branching nodes: nested branches. split_range requires 2-20 weighted branches that sum to 100. yes_no requires exactly 2 branches. wait_until requires 1-10 condition branches.
57
+ # Branching nodes: nested branches. split_range requires 2-25 weighted branches that sum to 100. yes_no requires exactly 2 branches. wait_until requires 1-25 condition branches.
58
58
  attr_accessor :branches
59
59
 
60
60
  attr_accessor :expiration
@@ -10,5 +10,5 @@ OpenAPI Generator version: 6.0.0-SNAPSHOT
10
10
  =end
11
11
 
12
12
  module OneSignal
13
- VERSION = '5.16.0'
13
+ VERSION = '5.18.0'
14
14
  end
data/lib/onesignal.rb CHANGED
@@ -42,6 +42,13 @@ require 'onesignal/models/create_user_conflict_response_errors_items_meta'
42
42
  require 'onesignal/models/custom_event'
43
43
  require 'onesignal/models/custom_events_request'
44
44
  require 'onesignal/models/delivery_data'
45
+ require 'onesignal/models/duplicate_journey_overrides'
46
+ require 'onesignal/models/duplicate_journey_request'
47
+ require 'onesignal/models/email_metrics'
48
+ require 'onesignal/models/email_provider_metrics'
49
+ require 'onesignal/models/email_provider_metrics_event'
50
+ require 'onesignal/models/email_provider_metrics_response'
51
+ require 'onesignal/models/email_provider_metrics_timeseries_response'
45
52
  require 'onesignal/models/email_reputation_response'
46
53
  require 'onesignal/models/email_reputation_window'
47
54
  require 'onesignal/models/email_warm_up'
@@ -243,7 +243,7 @@ describe 'DefaultApi' do
243
243
  # Delete Segment
244
244
  # Delete a segment (not user devices) - Required: OneSignal Paid Plan You can delete a segment under your app by calling this API. You must provide an API key in the Authorization header that has admin access on the app. The segment_id can be found in the URL of the segment when viewing it in the dashboard.
245
245
  # @param app_id The OneSignal App ID for your app. Available in Keys & IDs.
246
- # @param segment_id The segment_id can be found in the URL of the segment when viewing it in the dashboard.
246
+ # @param segment_id The segment's unique identifier. In the dashboard, go to Audience > Segments, open the segment's options menu, and select Copy segment ID. You can also get it from the View Segments API or the segment's URL in the dashboard.
247
247
  # @param [Hash] opts the optional parameters
248
248
  # @return [GenericSuccessBoolResponse]
249
249
  describe 'delete_segment test' do
@@ -290,6 +290,20 @@ describe 'DefaultApi' do
290
290
  end
291
291
  end
292
292
 
293
+ # unit tests for duplicate_journey
294
+ # Duplicate journey
295
+ # The Journeys API is in beta. Endpoints and response fields can still change. Copy an existing journey into a new draft. The source does not change. The copy is always a draft, and started_at and archived_at are null. If you omit the body, or omit overrides, the copy keeps the source description, audience, nodes, early_exit, and reentry_rules. The copy takes the source name plus \" (Copy)\". The copy does not keep schedule. Send schedule under overrides to set it. Server-controlled fields are rejected with 400. The authenticated App API key must have permission to create journeys.
296
+ # @param app_id Your OneSignal App ID in UUID v4 format.
297
+ # @param journey_id UUID of the journey to copy.
298
+ # @param [Hash] opts the optional parameters
299
+ # @option opts [DuplicateJourneyRequest] :duplicate_journey_request
300
+ # @return [Journey]
301
+ describe 'duplicate_journey test' do
302
+ it 'should work' do
303
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
304
+ end
305
+ end
306
+
293
307
  # unit tests for estimate_notification_recipients
294
308
  # Estimate notification recipients
295
309
  # Returns the estimated number of recipients for a notification's targeting, without creating or sending anything. The returned `count` reflects the same audience-size estimate you would see under \"Choose your target audience\" when composing a message. It is based on the user targeting method you've set and the specific platforms the message is targeted to send to. This endpoint only supports a subset of targeting parameters: `included_segments` is required (its `\"All\"` shorthand targets every subscriber), and `excluded_segments`, `filters`, `include_aliases`, and `target_channel` narrow that audience further. Use `target_channel` to select platforms. `include_subscription_ids` and the other raw subscription id/token fields, and the individual `isIos` / `isAndroid` / etc. platform flags, are not supported. All other notification fields (content, delivery options, and so on) are accepted, but ignored.
@@ -376,6 +390,38 @@ describe 'DefaultApi' do
376
390
  end
377
391
  end
378
392
 
393
+ # unit tests for get_email_provider_metrics
394
+ # Get email inbox provider metrics
395
+ # Email delivery, opens, clicks, bounces, failures, and spam complaints broken down by inbox provider (Gmail, Outlook, Yahoo, Apple, and more) to pinpoint where deliverability problems are coming from. Metrics are reported for a single sending domain over the requested time range. `start` must be before `end` and no more than 365 days ago. `providers` is empty when the domain is not found for the app or is not currently active for sending.
396
+ # @param app_id Your OneSignal App ID in UUID v4 format.
397
+ # @param domain The sending domain to report on. Must be an email domain configured for this app.
398
+ # @param start Start of the reporting window, as an ISO 8601 timestamp (for example, `2026-08-01T00:00:00Z`).
399
+ # @param _end End of the reporting window, as an ISO 8601 timestamp (for example, `2026-08-08T00:00:00Z`).
400
+ # @param [Hash] opts the optional parameters
401
+ # @return [EmailProviderMetricsResponse]
402
+ describe 'get_email_provider_metrics test' do
403
+ it 'should work' do
404
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
405
+ end
406
+ end
407
+
408
+ # unit tests for get_email_provider_metrics_timeseries
409
+ # Get email inbox provider metrics over time
410
+ # Email delivery, opens, clicks, bounces, failures, and spam complaints for a sending domain over time, bucketed by hour, day, or month. Use `providers[]` to narrow the totals to specific inbox providers (Gmail, Outlook, Yahoo, Apple, and more) and track how deliverability to them changes. Each event's metrics are totaled across the requested providers, or across all providers when none are given. `start` must be before `end` and no more than 365 days ago, or 60 days ago for `hourly` granularity. `events` is empty when the domain is not found for the app or is not currently active for sending.
411
+ # @param app_id Your OneSignal App ID in UUID v4 format.
412
+ # @param domain The sending domain to report on. Must be an email domain configured for this app.
413
+ # @param start Start of the reporting window, as an ISO 8601 timestamp (for example, `2026-08-01T00:00:00Z`).
414
+ # @param _end End of the reporting window, as an ISO 8601 timestamp (for example, `2026-08-08T00:00:00Z`).
415
+ # @param granularity The size of each time bucket. Hourly data is only available for the last 60 days.
416
+ # @param [Hash] opts the optional parameters
417
+ # @option opts [Array<String>] :providers Inbox providers to include in the totals. Omit to include all providers. Accepted values: &#x60;apple&#x60;, &#x60;att&#x60;, &#x60;canadian&#x60;, &#x60;chinese&#x60;, &#x60;comcast&#x60;, &#x60;free_fr&#x60;, &#x60;french&#x60;, &#x60;german&#x60;, &#x60;gmail&#x60;, &#x60;google_workspace&#x60;, &#x60;googlers&#x60;, &#x60;inbox_lv&#x60;, &#x60;italian&#x60;, &#x60;japanese&#x60;, &#x60;outlook_365&#x60;, &#x60;outlook_eu&#x60;, &#x60;outlook_us&#x60;, &#x60;proton&#x60;, &#x60;rackspace&#x60;, &#x60;russian&#x60;, &#x60;uk&#x60;, &#x60;united_online&#x60;, &#x60;yahoo_eu&#x60;, &#x60;yahoo_us&#x60;, &#x60;other_eu&#x60;, &#x60;other_us&#x60;, and &#x60;other&#x60;. Example: providers[]&#x3D;gmail&amp;providers[]&#x3D;yahoo_us
418
+ # @return [EmailProviderMetricsTimeseriesResponse]
419
+ describe 'get_email_provider_metrics_timeseries test' do
420
+ it 'should work' do
421
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
422
+ end
423
+ end
424
+
379
425
  # unit tests for get_email_reputation
380
426
  # Get email reputation statistics
381
427
  # The email bounce and spam complaint rates received for the app over the last 24 hours, 7 days, and 30 days. Rates are expressed as fractions of successfully delivered emails (for example, &#x60;0.02&#x60; means 2%). A window reports &#x60;0&#x60; for both rates when the app has not successfully delivered any email in that period.
@@ -451,7 +497,7 @@ describe 'DefaultApi' do
451
497
  # View Segment
452
498
  # Retrieve details for a single segment by its ID, including subscriber count and optionally segment metadata and filters.
453
499
  # @param app_id The OneSignal App ID for your app. Available in Keys &amp; IDs.
454
- # @param segment_id The segment&#39;s unique identifier. Can be found using the View Segments API or in the URL of the segment when viewing it in the dashboard.
500
+ # @param segment_id The segment&#39;s unique identifier. In the dashboard, go to Audience &gt; Segments, open the segment&#39;s options menu, and select Copy segment ID. You can also get it from the View Segments API or the segment&#39;s URL in the dashboard.
455
501
  # @param [Hash] opts the optional parameters
456
502
  # @option opts [Boolean] :include_segment_detail Set to true to include segment metadata and filters in the response.
457
503
  # @return [GetSegmentSuccessResponse]
@@ -639,7 +685,7 @@ describe 'DefaultApi' do
639
685
  # Update Segment
640
686
  # Update an existing segment&#39;s name and/or filters. The name parameter is always required. When filters are provided, all existing filters are replaced with the new ones.
641
687
  # @param app_id The OneSignal App ID for your app. Available in Keys &amp; IDs.
642
- # @param segment_id The segment&#39;s unique identifier. Can be found using the View Segments API or in the URL of the segment when viewing it in the dashboard.
688
+ # @param segment_id The segment&#39;s unique identifier. In the dashboard, go to Audience &gt; Segments, open the segment&#39;s options menu, and select Copy segment ID. You can also get it from the View Segments API or the segment&#39;s URL in the dashboard.
643
689
  # @param [Hash] opts the optional parameters
644
690
  # @option opts [UpdateSegmentRequest] :update_segment_request
645
691
  # @return [UpdateSegmentSuccessResponse]
@@ -54,18 +54,18 @@ describe OneSignal::ApiClient do
54
54
  let(:config) { OneSignal::Configuration.new }
55
55
  let(:api_client) { OneSignal::ApiClient.new(config) }
56
56
 
57
- it 'defaults to nil' do
58
- expect(OneSignal::Configuration.default.params_encoding).to eq(nil)
59
- expect(config.params_encoding).to eq(nil)
57
+ it 'defaults to :multi' do
58
+ expect(OneSignal::Configuration.default.params_encoding).to eq(:multi)
59
+ expect(config.params_encoding).to eq(:multi)
60
60
 
61
61
  request = api_client.build_request(:get, '/test')
62
- expect(request.options[:params_encoding]).to eq(nil)
62
+ expect(request.options[:params_encoding]).to eq(:multi)
63
63
  end
64
64
 
65
65
  it 'can be customized' do
66
- config.params_encoding = :multi
66
+ config.params_encoding = nil
67
67
  request = api_client.build_request(:get, '/test')
68
- expect(request.options[:params_encoding]).to eq(:multi)
68
+ expect(request.options[:params_encoding]).to eq(nil)
69
69
  end
70
70
  end
71
71
 
@@ -0,0 +1,69 @@
1
+ =begin
2
+ #OneSignal
3
+
4
+ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
+
6
+ Contact: devrel@onesignal.com
7
+ Generated by: https://openapi-generator.tech
8
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
9
+
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OneSignal::DuplicateJourneyOverrides
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe OneSignal::DuplicateJourneyOverrides do
20
+ let(:instance) { OneSignal::DuplicateJourneyOverrides.new }
21
+
22
+ describe 'test an instance of DuplicateJourneyOverrides' do
23
+ it 'should create an instance of DuplicateJourneyOverrides' do
24
+ expect(instance).to be_instance_of(OneSignal::DuplicateJourneyOverrides)
25
+ end
26
+ end
27
+ describe 'test attribute "name"' do
28
+ it 'should work' do
29
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "description"' do
34
+ it 'should work' do
35
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
36
+ end
37
+ end
38
+
39
+ describe 'test attribute "audience"' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ describe 'test attribute "early_exit"' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ describe 'test attribute "reentry_rules"' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ describe 'test attribute "schedule"' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ describe 'test attribute "nodes"' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ end
67
+ end
68
+
69
+ end
@@ -0,0 +1,33 @@
1
+ =begin
2
+ #OneSignal
3
+
4
+ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
+
6
+ Contact: devrel@onesignal.com
7
+ Generated by: https://openapi-generator.tech
8
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
9
+
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OneSignal::DuplicateJourneyRequest
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe OneSignal::DuplicateJourneyRequest do
20
+ let(:instance) { OneSignal::DuplicateJourneyRequest.new }
21
+
22
+ describe 'test an instance of DuplicateJourneyRequest' do
23
+ it 'should create an instance of DuplicateJourneyRequest' do
24
+ expect(instance).to be_instance_of(OneSignal::DuplicateJourneyRequest)
25
+ end
26
+ end
27
+ describe 'test attribute "overrides"' do
28
+ it 'should work' do
29
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ end
31
+ end
32
+
33
+ end
@@ -0,0 +1,81 @@
1
+ =begin
2
+ #OneSignal
3
+
4
+ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
+
6
+ Contact: devrel@onesignal.com
7
+ Generated by: https://openapi-generator.tech
8
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
9
+
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OneSignal::EmailMetrics
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe OneSignal::EmailMetrics do
20
+ let(:instance) { OneSignal::EmailMetrics.new }
21
+
22
+ describe 'test an instance of EmailMetrics' do
23
+ it 'should create an instance of EmailMetrics' do
24
+ expect(instance).to be_instance_of(OneSignal::EmailMetrics)
25
+ end
26
+ end
27
+ describe 'test attribute "sent"' do
28
+ it 'should work' do
29
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "delivered"' do
34
+ it 'should work' do
35
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
36
+ end
37
+ end
38
+
39
+ describe 'test attribute "opened"' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ describe 'test attribute "clicked"' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ describe 'test attribute "unique_opened"' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ describe 'test attribute "unique_clicked"' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ describe 'test attribute "failed"' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ end
67
+ end
68
+
69
+ describe 'test attribute "bounced"' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
75
+ describe 'test attribute "complained"' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ end
@@ -0,0 +1,39 @@
1
+ =begin
2
+ #OneSignal
3
+
4
+ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
+
6
+ Contact: devrel@onesignal.com
7
+ Generated by: https://openapi-generator.tech
8
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
9
+
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OneSignal::EmailProviderMetricsEvent
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe OneSignal::EmailProviderMetricsEvent do
20
+ let(:instance) { OneSignal::EmailProviderMetricsEvent.new }
21
+
22
+ describe 'test an instance of EmailProviderMetricsEvent' do
23
+ it 'should create an instance of EmailProviderMetricsEvent' do
24
+ expect(instance).to be_instance_of(OneSignal::EmailProviderMetricsEvent)
25
+ end
26
+ end
27
+ describe 'test attribute "date"' do
28
+ it 'should work' do
29
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "metrics"' do
34
+ it 'should work' do
35
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
36
+ end
37
+ end
38
+
39
+ end
@@ -0,0 +1,33 @@
1
+ =begin
2
+ #OneSignal
3
+
4
+ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
+
6
+ Contact: devrel@onesignal.com
7
+ Generated by: https://openapi-generator.tech
8
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
9
+
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OneSignal::EmailProviderMetricsResponse
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe OneSignal::EmailProviderMetricsResponse do
20
+ let(:instance) { OneSignal::EmailProviderMetricsResponse.new }
21
+
22
+ describe 'test an instance of EmailProviderMetricsResponse' do
23
+ it 'should create an instance of EmailProviderMetricsResponse' do
24
+ expect(instance).to be_instance_of(OneSignal::EmailProviderMetricsResponse)
25
+ end
26
+ end
27
+ describe 'test attribute "providers"' do
28
+ it 'should work' do
29
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ end
31
+ end
32
+
33
+ end
@@ -0,0 +1,39 @@
1
+ =begin
2
+ #OneSignal
3
+
4
+ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
+
6
+ Contact: devrel@onesignal.com
7
+ Generated by: https://openapi-generator.tech
8
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
9
+
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OneSignal::EmailProviderMetrics
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe OneSignal::EmailProviderMetrics do
20
+ let(:instance) { OneSignal::EmailProviderMetrics.new }
21
+
22
+ describe 'test an instance of EmailProviderMetrics' do
23
+ it 'should create an instance of EmailProviderMetrics' do
24
+ expect(instance).to be_instance_of(OneSignal::EmailProviderMetrics)
25
+ end
26
+ end
27
+ describe 'test attribute "provider"' do
28
+ it 'should work' do
29
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ end
31
+ end
32
+
33
+ describe 'test attribute "metrics"' do
34
+ it 'should work' do
35
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
36
+ end
37
+ end
38
+
39
+ end
@@ -0,0 +1,33 @@
1
+ =begin
2
+ #OneSignal
3
+
4
+ #A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5
+
6
+ Contact: devrel@onesignal.com
7
+ Generated by: https://openapi-generator.tech
8
+ OpenAPI Generator version: 6.0.0-SNAPSHOT
9
+
10
+ =end
11
+
12
+ require 'spec_helper'
13
+ require 'json'
14
+ require 'date'
15
+
16
+ # Unit tests for OneSignal::EmailProviderMetricsTimeseriesResponse
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe OneSignal::EmailProviderMetricsTimeseriesResponse do
20
+ let(:instance) { OneSignal::EmailProviderMetricsTimeseriesResponse.new }
21
+
22
+ describe 'test an instance of EmailProviderMetricsTimeseriesResponse' do
23
+ it 'should create an instance of EmailProviderMetricsTimeseriesResponse' do
24
+ expect(instance).to be_instance_of(OneSignal::EmailProviderMetricsTimeseriesResponse)
25
+ end
26
+ end
27
+ describe 'test attribute "events"' do
28
+ it 'should work' do
29
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
30
+ end
31
+ end
32
+
33
+ end
@@ -3,10 +3,10 @@ current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendo
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
6
- make DESTDIR\= sitearchdir\=./.gem.20260909-2239-n2pyhl sitelibdir\=./.gem.20260909-2239-n2pyhl clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20261015-2330-o9oa1n sitelibdir\=./.gem.20261015-2330-o9oa1n clean
7
7
 
8
8
  current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
9
- make DESTDIR\= sitearchdir\=./.gem.20260909-2239-n2pyhl sitelibdir\=./.gem.20260909-2239-n2pyhl
9
+ make DESTDIR\= sitearchdir\=./.gem.20261015-2330-o9oa1n sitelibdir\=./.gem.20261015-2330-o9oa1n
10
10
  compiling breakpoint.c
11
11
  compiling byebug.c
12
12
  byebug.c: In function ‘check_started’:
@@ -35,8 +35,8 @@ compiling threads.c
35
35
  linking shared-object byebug/byebug.so
36
36
 
37
37
  current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
38
- make DESTDIR\= sitearchdir\=./.gem.20260909-2239-n2pyhl sitelibdir\=./.gem.20260909-2239-n2pyhl install
39
- /usr/bin/install -c -m 0755 byebug.so ./.gem.20260909-2239-n2pyhl/byebug
38
+ make DESTDIR\= sitearchdir\=./.gem.20261015-2330-o9oa1n sitelibdir\=./.gem.20261015-2330-o9oa1n install
39
+ /usr/bin/install -c -m 0755 byebug.so ./.gem.20261015-2330-o9oa1n/byebug
40
40
 
41
41
  current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
42
- make DESTDIR\= sitearchdir\=./.gem.20260909-2239-n2pyhl sitelibdir\=./.gem.20260909-2239-n2pyhl clean
42
+ make DESTDIR\= sitearchdir\=./.gem.20261015-2330-o9oa1n sitelibdir\=./.gem.20261015-2330-o9oa1n clean
@@ -0,0 +1,26 @@
1
+ current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
2
+ /opt/hostedtoolcache/Ruby/3.2.11/x64/bin/ruby extconf.rb
3
+ checking for rb_category_warn()... yes
4
+ checking for timezone in time.h with -Werror... yes
5
+ checking for altzone in time.h with -Werror... no
6
+ checking for rb_gc_mark_movable() in ruby.h... yes
7
+ checking for RUBY_TYPED_EMBEDDABLE in ruby.h... no
8
+ creating Makefile
9
+
10
+ current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
11
+ make DESTDIR\= sitearchdir\=./.gem.20261015-2330-3mwqxf sitelibdir\=./.gem.20261015-2330-3mwqxf clean
12
+
13
+ current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
14
+ make DESTDIR\= sitearchdir\=./.gem.20261015-2330-3mwqxf sitelibdir\=./.gem.20261015-2330-3mwqxf
15
+ compiling date_core.c
16
+ compiling date_parse.c
17
+ compiling date_strftime.c
18
+ compiling date_strptime.c
19
+ linking shared-object date_core.so
20
+
21
+ current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
22
+ make DESTDIR\= sitearchdir\=./.gem.20261015-2330-3mwqxf sitelibdir\=./.gem.20261015-2330-3mwqxf install
23
+ /usr/bin/install -c -m 0755 date_core.so ./.gem.20261015-2330-3mwqxf
24
+
25
+ current directory: /home/runner/work/onesignal-ruby-api/onesignal-ruby-api/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
26
+ make DESTDIR\= sitearchdir\=./.gem.20261015-2330-3mwqxf sitelibdir\=./.gem.20261015-2330-3mwqxf clean
@@ -1,5 +1,3 @@
1
- have_func: checking for rb_category_warn()... -------------------- yes
2
-
3
1
  LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.2.11/x64/lib "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0 -I. -DENABLE_PATH_CHECK=0 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -L/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -lruby -lm -lpthread -lc"
4
2
  checked program was:
5
3
  /* begin */
@@ -11,6 +9,14 @@ checked program was:
11
9
  6: }
12
10
  /* end */
13
11
 
12
+ LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.2.11/x64/lib "gcc -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0 -I. -DENABLE_PATH_CHECK=0 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC -Werror -c conftest.c"
13
+ checked program was:
14
+ /* begin */
15
+ 1: #include "ruby.h"
16
+ /* end */
17
+
18
+ have_func: checking for rb_category_warn()... -------------------- yes
19
+
14
20
  LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.2.11/x64/lib "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0 -I. -DENABLE_PATH_CHECK=0 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -L/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -lruby -lm -lpthread -lc"
15
21
  checked program was:
16
22
  /* begin */
@@ -91,3 +97,50 @@ checked program was:
91
97
 
92
98
  --------------------
93
99
 
100
+ have_func: checking for rb_gc_mark_movable() in ruby.h... -------------------- yes
101
+
102
+ LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.2.11/x64/lib "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0 -I. -DENABLE_PATH_CHECK=0 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -L/opt/hostedtoolcache/Ruby/3.2.11/x64/lib -lruby -lm -lpthread -lc"
103
+ checked program was:
104
+ /* begin */
105
+ 1: #include "ruby.h"
106
+ 2:
107
+ 3: #include <ruby.h>
108
+ 4:
109
+ 5: /*top*/
110
+ 6: extern int t(void);
111
+ 7: int main(int argc, char **argv)
112
+ 8: {
113
+ 9: if (argc > 1000000) {
114
+ 10: int (* volatile tp)(void)=(int (*)(void))&t;
115
+ 11: printf("%d", (*tp)());
116
+ 12: }
117
+ 13:
118
+ 14: return !!argv[argc];
119
+ 15: }
120
+ 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_gc_mark_movable; return !p; }
121
+ /* end */
122
+
123
+ --------------------
124
+
125
+ have_const: checking for RUBY_TYPED_EMBEDDABLE in ruby.h... -------------------- no
126
+
127
+ LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.2.11/x64/lib "gcc -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.2.11/x64/include/ruby-3.2.0 -I. -DENABLE_PATH_CHECK=0 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC -c conftest.c"
128
+ conftest.c:7:34: error: ‘RUBY_TYPED_EMBEDDABLE’ undeclared here (not in a function)
129
+ 7 | conftest_type conftestval = (int)RUBY_TYPED_EMBEDDABLE;
130
+ | ^~~~~~~~~~~~~~~~~~~~~
131
+ cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
132
+ cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
133
+ cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
134
+ checked program was:
135
+ /* begin */
136
+ 1: #include "ruby.h"
137
+ 2:
138
+ 3: #include <ruby.h>
139
+ 4:
140
+ 5: /*top*/
141
+ 6: typedef int conftest_type;
142
+ 7: conftest_type conftestval = (int)RUBY_TYPED_EMBEDDABLE;
143
+ /* end */
144
+
145
+ --------------------
146
+