pingram 1.0.37 → 1.0.38
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 +4 -4
- data/Gemfile.lock +2 -2
- data/lib/pingram/api/library_api.rb +2 -2
- data/lib/pingram/api/logs_api.rb +61 -0
- data/lib/pingram/api/profile_api.rb +0 -66
- data/lib/pingram/api/webhooks_api.rb +4 -4
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/models/{change_email_request.rb → confirm_change_email_request.rb} +19 -19
- data/lib/pingram/models/create_library_request.rb +1 -1
- data/lib/pingram/models/get_logs_response_messages_inner.rb +4 -0
- data/lib/pingram/models/get_logs_response_messages_inner_attachments_inner.rb +52 -4
- data/lib/pingram/models/logs_get_response_logs_inner.rb +60 -1
- data/lib/pingram/models/start_change_email_request.rb +201 -0
- data/lib/pingram/models/webhook_endpoint_upsert_request.rb +1 -1
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +2 -1
- data/vendor/bundle/ruby/3.2.0/cache/date-3.6.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.6.0/date_core.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.6.0/gem_make.out +26 -0
- 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
- data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/Makefile +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_core.c +293 -77
- data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_parse.c +14 -4
- data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_strptime.c +13 -13
- data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/extconf.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/lib/date.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/lib/date_core.so +0 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{date-3.5.1.gemspec → date-3.6.0.gemspec} +3 -3
- metadata +25 -24
- data/vendor/bundle/ruby/3.2.0/cache/date-3.5.1.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/date_core.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +0 -24
- data/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/lib/date_core.so +0 -0
- /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
- /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/BSDL +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/COPYING +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/README.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_strftime.c +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/date_tmx.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/prereq.mk +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/zonetab.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{date-3.5.1 → date-3.6.0}/ext/date/zonetab.list +0 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pingram
|
|
3
|
+
|
|
4
|
+
#Internal API for notification delivery and management
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Pingram
|
|
17
|
+
class StartChangeEmailRequest < ApiModelBase
|
|
18
|
+
attr_accessor :new_email
|
|
19
|
+
|
|
20
|
+
# Current account password. Required before a login-email change starts.
|
|
21
|
+
attr_accessor :password
|
|
22
|
+
|
|
23
|
+
# TOTP code. Required when software-token MFA is enabled.
|
|
24
|
+
attr_accessor :mfa_code
|
|
25
|
+
|
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
|
+
def self.attribute_map
|
|
28
|
+
{
|
|
29
|
+
:'new_email' => :'newEmail',
|
|
30
|
+
:'password' => :'password',
|
|
31
|
+
:'mfa_code' => :'mfaCode'
|
|
32
|
+
}
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Returns attribute mapping this model knows about
|
|
36
|
+
def self.acceptable_attribute_map
|
|
37
|
+
attribute_map
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Returns all the JSON keys this model knows about
|
|
41
|
+
def self.acceptable_attributes
|
|
42
|
+
acceptable_attribute_map.values
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Attribute type mapping.
|
|
46
|
+
def self.openapi_types
|
|
47
|
+
{
|
|
48
|
+
:'new_email' => :'String',
|
|
49
|
+
:'password' => :'String',
|
|
50
|
+
:'mfa_code' => :'String'
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# List of attributes with nullable: true
|
|
55
|
+
def self.openapi_nullable
|
|
56
|
+
Set.new([
|
|
57
|
+
])
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# Initializes the object
|
|
61
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
62
|
+
def initialize(attributes = {})
|
|
63
|
+
if (!attributes.is_a?(Hash))
|
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::StartChangeEmailRequest` initialize method"
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
68
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
69
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
70
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
71
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::StartChangeEmailRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
72
|
+
end
|
|
73
|
+
h[k.to_sym] = v
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if attributes.key?(:'new_email')
|
|
77
|
+
self.new_email = attributes[:'new_email']
|
|
78
|
+
else
|
|
79
|
+
self.new_email = nil
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'password')
|
|
83
|
+
self.password = attributes[:'password']
|
|
84
|
+
else
|
|
85
|
+
self.password = nil
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.key?(:'mfa_code')
|
|
89
|
+
self.mfa_code = attributes[:'mfa_code']
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
94
|
+
# @return Array for valid properties with the reasons
|
|
95
|
+
def list_invalid_properties
|
|
96
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
97
|
+
invalid_properties = Array.new
|
|
98
|
+
if @new_email.nil?
|
|
99
|
+
invalid_properties.push('invalid value for "new_email", new_email cannot be nil.')
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if @password.nil?
|
|
103
|
+
invalid_properties.push('invalid value for "password", password cannot be nil.')
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
invalid_properties
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Check to see if the all the properties in the model are valid
|
|
110
|
+
# @return true if the model is valid
|
|
111
|
+
def valid?
|
|
112
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
113
|
+
return false if @new_email.nil?
|
|
114
|
+
return false if @password.nil?
|
|
115
|
+
true
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Custom attribute writer method with validation
|
|
119
|
+
# @param [Object] new_email Value to be assigned
|
|
120
|
+
def new_email=(new_email)
|
|
121
|
+
if new_email.nil?
|
|
122
|
+
fail ArgumentError, 'new_email cannot be nil'
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
@new_email = new_email
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Custom attribute writer method with validation
|
|
129
|
+
# @param [Object] password Value to be assigned
|
|
130
|
+
def password=(password)
|
|
131
|
+
if password.nil?
|
|
132
|
+
fail ArgumentError, 'password cannot be nil'
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
@password = password
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Checks equality by comparing each attribute.
|
|
139
|
+
# @param [Object] Object to be compared
|
|
140
|
+
def ==(o)
|
|
141
|
+
return true if self.equal?(o)
|
|
142
|
+
self.class == o.class &&
|
|
143
|
+
new_email == o.new_email &&
|
|
144
|
+
password == o.password &&
|
|
145
|
+
mfa_code == o.mfa_code
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# @see the `==` method
|
|
149
|
+
# @param [Object] Object to be compared
|
|
150
|
+
def eql?(o)
|
|
151
|
+
self == o
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Calculates hash code according to all attributes.
|
|
155
|
+
# @return [Integer] Hash code
|
|
156
|
+
def hash
|
|
157
|
+
[new_email, password, mfa_code].hash
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Builds the object from hash
|
|
161
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
162
|
+
# @return [Object] Returns the model itself
|
|
163
|
+
def self.build_from_hash(attributes)
|
|
164
|
+
return nil unless attributes.is_a?(Hash)
|
|
165
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
166
|
+
transformed_hash = {}
|
|
167
|
+
openapi_types.each_pair do |key, type|
|
|
168
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
169
|
+
transformed_hash["#{key}"] = nil
|
|
170
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
171
|
+
# check to ensure the input is an array given that the attribute
|
|
172
|
+
# is documented as an array but the input is not
|
|
173
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
174
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
175
|
+
end
|
|
176
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
177
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
178
|
+
end
|
|
179
|
+
end
|
|
180
|
+
new(transformed_hash)
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Returns the object in the form of hash
|
|
184
|
+
# @return [Hash] Returns the object in the form of hash
|
|
185
|
+
def to_hash
|
|
186
|
+
hash = {}
|
|
187
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
188
|
+
value = self.send(attr)
|
|
189
|
+
if value.nil?
|
|
190
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
191
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
hash[param] = _to_hash(value)
|
|
195
|
+
end
|
|
196
|
+
hash
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
end
|
|
@@ -16,7 +16,7 @@ require 'time'
|
|
|
16
16
|
module Pingram
|
|
17
17
|
# Request body for creating or updating an events webhook endpoint.
|
|
18
18
|
class WebhookEndpointUpsertRequest < ApiModelBase
|
|
19
|
-
# Public
|
|
19
|
+
# Public HTTPS URL that accepts POST with a JSON event body. Return 2xx to acknowledge. Private, loopback, and link-local addresses are rejected. Requests include X-Pingram-Id, X-Pingram-Signature (v1 HMAC-SHA256), and X-Pingram-Timestamp.
|
|
20
20
|
attr_accessor :webhook
|
|
21
21
|
|
|
22
22
|
# Full set of event types to deliver to this URL. Omitting an event on update unsubscribes it. Inbound SMS to the free shared number only works when that person has already received a text from this number. Inbound SMS to a dedicated number works normally.
|
data/lib/pingram/version.rb
CHANGED
data/lib/pingram.rb
CHANGED
|
@@ -55,9 +55,9 @@ require 'pingram/models/broadcast_response_audience'
|
|
|
55
55
|
require 'pingram/models/campaign_webhook_response'
|
|
56
56
|
require 'pingram/models/cancel_subscription_request'
|
|
57
57
|
require 'pingram/models/chained'
|
|
58
|
-
require 'pingram/models/change_email_request'
|
|
59
58
|
require 'pingram/models/change_phone_request'
|
|
60
59
|
require 'pingram/models/channels_enum'
|
|
60
|
+
require 'pingram/models/confirm_change_email_request'
|
|
61
61
|
require 'pingram/models/create_account_request'
|
|
62
62
|
require 'pingram/models/create_account_request_plan'
|
|
63
63
|
require 'pingram/models/create_account_response'
|
|
@@ -273,6 +273,7 @@ require 'pingram/models/sender_post_response'
|
|
|
273
273
|
require 'pingram/models/set_default_template_request'
|
|
274
274
|
require 'pingram/models/slack_connect_invite_response'
|
|
275
275
|
require 'pingram/models/slack_interactivity_response'
|
|
276
|
+
require 'pingram/models/start_change_email_request'
|
|
276
277
|
require 'pingram/models/sub_notification'
|
|
277
278
|
require 'pingram/models/sub_notification_put_request'
|
|
278
279
|
require 'pingram/models/success_response'
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/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/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
|
|
11
|
+
make DESTDIR\= sitearchdir\=./.gem.20261008-2598-bawfg1 sitelibdir\=./.gem.20261008-2598-bawfg1 clean
|
|
12
|
+
|
|
13
|
+
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
|
|
14
|
+
make DESTDIR\= sitearchdir\=./.gem.20261008-2598-bawfg1 sitelibdir\=./.gem.20261008-2598-bawfg1
|
|
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/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
|
|
22
|
+
make DESTDIR\= sitearchdir\=./.gem.20261008-2598-bawfg1 sitelibdir\=./.gem.20261008-2598-bawfg1 install
|
|
23
|
+
/usr/bin/install -c -m 0755 date_core.so ./.gem.20261008-2598-bawfg1
|
|
24
|
+
|
|
25
|
+
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.6.0/ext/date
|
|
26
|
+
make DESTDIR\= sitearchdir\=./.gem.20261008-2598-bawfg1 sitelibdir\=./.gem.20261008-2598-bawfg1 clean
|
data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{date-3.5.1 → date-3.6.0}/mkmf.log
RENAMED
|
@@ -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
|
+
|
|
@@ -88,7 +88,7 @@ CCDLFLAGS = -fPIC
|
|
|
88
88
|
CFLAGS = $(CCDLFLAGS) $(cflags) -fPIC $(ARCH_FLAG)
|
|
89
89
|
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
|
90
90
|
DEFS =
|
|
91
|
-
CPPFLAGS = -DHAVE_RB_CATEGORY_WARN -DHAVE_TIMEZONE -DENABLE_PATH_CHECK=0 $(DEFS) $(cppflags)
|
|
91
|
+
CPPFLAGS = -DHAVE_RB_CATEGORY_WARN -DHAVE_TIMEZONE -DHAVE_RB_GC_MARK_MOVABLE -DENABLE_PATH_CHECK=0 $(DEFS) $(cppflags)
|
|
92
92
|
CXXFLAGS = $(CCDLFLAGS) $(ARCH_FLAG)
|
|
93
93
|
ldflags = -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed
|
|
94
94
|
dldflags = -Wl,--compress-debug-sections=zlib
|