pingram 1.0.32 → 1.0.33
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/account_api.rb +2 -2
- data/lib/pingram/api/sub_notifications_api.rb +167 -0
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/client_wrapper.rb +10 -0
- data/lib/pingram/models/sub_notification.rb +242 -0
- data/lib/pingram/models/sub_notification_put_request.rb +164 -0
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.4.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.3 → io-console-0.9.4}/gem_make.out +11 -10
- data/vendor/bundle/ruby/3.2.0/{gems/io-console-0.9.3/lib → extensions/x86_64-linux/3.2.0/io-console-0.9.4}/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.3 → io-console-0.9.4}/mkmf.log +29 -6
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/ext/io/console/Makefile +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/ext/io/console/console.c +4 -1
- data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/ext/io/console/extconf.rb +12 -1
- data/vendor/bundle/ruby/3.2.0/{extensions/x86_64-linux/3.2.0/io-console-0.9.3 → gems/io-console-0.9.4/lib}/io/console.so +0 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.9.3.gemspec → io-console-0.9.4.gemspec} +3 -3
- metadata +21 -18
- data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.3.gem +0 -0
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.3 → io-console-0.9.4}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/.document +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/BSDL +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/COPYING +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/README.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/ext/io/console/win32_vk.inc +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/lib/io/console/size.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40cafa3ce26c9605c65945ea74595afba080c5f42b7c2b36d53239af28b1f787
|
|
4
|
+
data.tar.gz: '0293e3b14abf37454a19a01b8bf4b99a81954d1ce25de5d74c2069a1051f5de2'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8ec073c59824edddeeb8513cc19aed931decce493f68977dcde7a6e76d2b2e86830dad019cece0968c3d41f0b53cc2ed43f575b63a36f6c90ec99027ed4575d
|
|
7
|
+
data.tar.gz: 20c29536635b87114a1fd455fee66ecb1338b6c92fa2d5dedd9bd89cb0117afbc626be124cbd43db4acf45960edabb72d80f303567066ecc506b380f67d818de
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pingram (1.0.
|
|
4
|
+
pingram (1.0.33)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -17,7 +17,7 @@ GEM
|
|
|
17
17
|
ffi (>= 1.15.0)
|
|
18
18
|
logger
|
|
19
19
|
ffi (1.17.4-x86_64-linux-gnu)
|
|
20
|
-
io-console (0.9.
|
|
20
|
+
io-console (0.9.4)
|
|
21
21
|
jaro_winkler (1.5.6)
|
|
22
22
|
logger (1.7.0)
|
|
23
23
|
method_source (1.1.0)
|
|
@@ -631,7 +631,7 @@ module Pingram
|
|
|
631
631
|
return data, status_code, headers
|
|
632
632
|
end
|
|
633
633
|
|
|
634
|
-
# Update account billing preferences
|
|
634
|
+
# Update account billing preferences such as auto upgrade.
|
|
635
635
|
# @param account_patch_request [AccountPatchRequest]
|
|
636
636
|
# @param [Hash] opts the optional parameters
|
|
637
637
|
# @return [AccountGetResponse]
|
|
@@ -640,7 +640,7 @@ module Pingram
|
|
|
640
640
|
data
|
|
641
641
|
end
|
|
642
642
|
|
|
643
|
-
# Update account billing preferences
|
|
643
|
+
# Update account billing preferences such as auto upgrade.
|
|
644
644
|
# @param account_patch_request [AccountPatchRequest]
|
|
645
645
|
# @param [Hash] opts the optional parameters
|
|
646
646
|
# @return [Array<(AccountGetResponse, Integer, Hash)>] AccountGetResponse data, response status code and response headers
|
|
@@ -0,0 +1,167 @@
|
|
|
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 'cgi'
|
|
14
|
+
|
|
15
|
+
module Pingram
|
|
16
|
+
class SubNotificationsApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# This endpoint is no longer maintained and should not be used.
|
|
23
|
+
# @param notification_id [String] The notification ID
|
|
24
|
+
# @param sub_notification_id [String] The sub-notification ID
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @return [nil]
|
|
27
|
+
def sub_notifications_delete_sub_notification(notification_id, sub_notification_id, opts = {})
|
|
28
|
+
sub_notifications_delete_sub_notification_with_http_info(notification_id, sub_notification_id, opts)
|
|
29
|
+
nil
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# This endpoint is no longer maintained and should not be used.
|
|
33
|
+
# @param notification_id [String] The notification ID
|
|
34
|
+
# @param sub_notification_id [String] The sub-notification ID
|
|
35
|
+
# @param [Hash] opts the optional parameters
|
|
36
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
37
|
+
def sub_notifications_delete_sub_notification_with_http_info(notification_id, sub_notification_id, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: SubNotificationsApi.sub_notifications_delete_sub_notification ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'notification_id' is set
|
|
42
|
+
if @api_client.config.client_side_validation && notification_id.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'notification_id' when calling SubNotificationsApi.sub_notifications_delete_sub_notification"
|
|
44
|
+
end
|
|
45
|
+
# verify the required parameter 'sub_notification_id' is set
|
|
46
|
+
if @api_client.config.client_side_validation && sub_notification_id.nil?
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'sub_notification_id' when calling SubNotificationsApi.sub_notifications_delete_sub_notification"
|
|
48
|
+
end
|
|
49
|
+
# resource path
|
|
50
|
+
local_var_path = '/notifications/{notificationId}/subNotifications/{subNotificationId}'.sub('{' + 'notificationId' + '}', CGI.escape(notification_id.to_s)).sub('{' + 'subNotificationId' + '}', CGI.escape(sub_notification_id.to_s))
|
|
51
|
+
|
|
52
|
+
# query parameters
|
|
53
|
+
query_params = opts[:query_params] || {}
|
|
54
|
+
|
|
55
|
+
# header parameters
|
|
56
|
+
header_params = opts[:header_params] || {}
|
|
57
|
+
# HTTP header 'Accept' (if needed)
|
|
58
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
59
|
+
|
|
60
|
+
# form parameters
|
|
61
|
+
form_params = opts[:form_params] || {}
|
|
62
|
+
|
|
63
|
+
# http body (model)
|
|
64
|
+
post_body = opts[:debug_body]
|
|
65
|
+
|
|
66
|
+
# return_type
|
|
67
|
+
return_type = opts[:debug_return_type]
|
|
68
|
+
|
|
69
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
70
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
71
|
+
|
|
72
|
+
new_options = opts.merge(
|
|
73
|
+
:operation => :"SubNotificationsApi.sub_notifications_delete_sub_notification",
|
|
74
|
+
:header_params => header_params,
|
|
75
|
+
:query_params => query_params,
|
|
76
|
+
:form_params => form_params,
|
|
77
|
+
:body => post_body,
|
|
78
|
+
:auth_names => auth_names,
|
|
79
|
+
:return_type => return_type
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
83
|
+
if @api_client.config.debugging
|
|
84
|
+
@api_client.config.logger.debug "API called: SubNotificationsApi#sub_notifications_delete_sub_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
85
|
+
end
|
|
86
|
+
return data, status_code, headers
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# This endpoint is no longer maintained and should not be used.
|
|
90
|
+
# @param notification_id [String] The notification ID
|
|
91
|
+
# @param sub_notification_id [String] The sub-notification ID
|
|
92
|
+
# @param sub_notification_put_request [SubNotificationPUTRequest]
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @return [SubNotification]
|
|
95
|
+
def sub_notifications_put_sub_notification(notification_id, sub_notification_id, sub_notification_put_request, opts = {})
|
|
96
|
+
data, _status_code, _headers = sub_notifications_put_sub_notification_with_http_info(notification_id, sub_notification_id, sub_notification_put_request, opts)
|
|
97
|
+
data
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# This endpoint is no longer maintained and should not be used.
|
|
101
|
+
# @param notification_id [String] The notification ID
|
|
102
|
+
# @param sub_notification_id [String] The sub-notification ID
|
|
103
|
+
# @param sub_notification_put_request [SubNotificationPUTRequest]
|
|
104
|
+
# @param [Hash] opts the optional parameters
|
|
105
|
+
# @return [Array<(SubNotification, Integer, Hash)>] SubNotification data, response status code and response headers
|
|
106
|
+
def sub_notifications_put_sub_notification_with_http_info(notification_id, sub_notification_id, sub_notification_put_request, opts = {})
|
|
107
|
+
if @api_client.config.debugging
|
|
108
|
+
@api_client.config.logger.debug 'Calling API: SubNotificationsApi.sub_notifications_put_sub_notification ...'
|
|
109
|
+
end
|
|
110
|
+
# verify the required parameter 'notification_id' is set
|
|
111
|
+
if @api_client.config.client_side_validation && notification_id.nil?
|
|
112
|
+
fail ArgumentError, "Missing the required parameter 'notification_id' when calling SubNotificationsApi.sub_notifications_put_sub_notification"
|
|
113
|
+
end
|
|
114
|
+
# verify the required parameter 'sub_notification_id' is set
|
|
115
|
+
if @api_client.config.client_side_validation && sub_notification_id.nil?
|
|
116
|
+
fail ArgumentError, "Missing the required parameter 'sub_notification_id' when calling SubNotificationsApi.sub_notifications_put_sub_notification"
|
|
117
|
+
end
|
|
118
|
+
# verify the required parameter 'sub_notification_put_request' is set
|
|
119
|
+
if @api_client.config.client_side_validation && sub_notification_put_request.nil?
|
|
120
|
+
fail ArgumentError, "Missing the required parameter 'sub_notification_put_request' when calling SubNotificationsApi.sub_notifications_put_sub_notification"
|
|
121
|
+
end
|
|
122
|
+
# resource path
|
|
123
|
+
local_var_path = '/notifications/{notificationId}/subNotifications/{subNotificationId}'.sub('{' + 'notificationId' + '}', CGI.escape(notification_id.to_s)).sub('{' + 'subNotificationId' + '}', CGI.escape(sub_notification_id.to_s))
|
|
124
|
+
|
|
125
|
+
# query parameters
|
|
126
|
+
query_params = opts[:query_params] || {}
|
|
127
|
+
|
|
128
|
+
# header parameters
|
|
129
|
+
header_params = opts[:header_params] || {}
|
|
130
|
+
# HTTP header 'Accept' (if needed)
|
|
131
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
132
|
+
# HTTP header 'Content-Type'
|
|
133
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
134
|
+
if !content_type.nil?
|
|
135
|
+
header_params['Content-Type'] = content_type
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# form parameters
|
|
139
|
+
form_params = opts[:form_params] || {}
|
|
140
|
+
|
|
141
|
+
# http body (model)
|
|
142
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(sub_notification_put_request)
|
|
143
|
+
|
|
144
|
+
# return_type
|
|
145
|
+
return_type = opts[:debug_return_type] || 'SubNotification'
|
|
146
|
+
|
|
147
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
148
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
149
|
+
|
|
150
|
+
new_options = opts.merge(
|
|
151
|
+
:operation => :"SubNotificationsApi.sub_notifications_put_sub_notification",
|
|
152
|
+
:header_params => header_params,
|
|
153
|
+
:query_params => query_params,
|
|
154
|
+
:form_params => form_params,
|
|
155
|
+
:body => post_body,
|
|
156
|
+
:auth_names => auth_names,
|
|
157
|
+
:return_type => return_type
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
161
|
+
if @api_client.config.debugging
|
|
162
|
+
@api_client.config.logger.debug "API called: SubNotificationsApi#sub_notifications_put_sub_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
163
|
+
end
|
|
164
|
+
return data, status_code, headers
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
end
|
data/lib/pingram/api_client.rb
CHANGED
|
@@ -32,7 +32,7 @@ module Pingram
|
|
|
32
32
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
|
33
33
|
def initialize(config = Configuration.default)
|
|
34
34
|
@config = config
|
|
35
|
-
@user_agent = "pingram-ruby/1.0.
|
|
35
|
+
@user_agent = "pingram-ruby/1.0.33"
|
|
36
36
|
@default_headers = {
|
|
37
37
|
'Content-Type' => 'application/json',
|
|
38
38
|
'User-Agent' => @user_agent
|
|
@@ -50,6 +50,8 @@ require_relative 'api/sender_api'
|
|
|
50
50
|
|
|
51
51
|
require_relative 'api/sms_api'
|
|
52
52
|
|
|
53
|
+
require_relative 'api/sub_notifications_api'
|
|
54
|
+
|
|
53
55
|
require_relative 'api/templates_api'
|
|
54
56
|
|
|
55
57
|
require_relative 'api/types_api'
|
|
@@ -132,6 +134,8 @@ module Pingram
|
|
|
132
134
|
|
|
133
135
|
@sms = Pingram::SmsApi.new(@api_client)
|
|
134
136
|
|
|
137
|
+
@sub_notifications = Pingram::SubNotificationsApi.new(@api_client)
|
|
138
|
+
|
|
135
139
|
@templates = Pingram::TemplatesApi.new(@api_client)
|
|
136
140
|
|
|
137
141
|
@types = Pingram::TypesApi.new(@api_client)
|
|
@@ -273,6 +277,12 @@ module Pingram
|
|
|
273
277
|
end
|
|
274
278
|
|
|
275
279
|
|
|
280
|
+
# @return [Pingram::SubNotificationsApi]
|
|
281
|
+
def sub_notifications
|
|
282
|
+
@sub_notifications
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
|
|
276
286
|
# @return [Pingram::TemplatesApi]
|
|
277
287
|
def templates
|
|
278
288
|
@templates
|
|
@@ -0,0 +1,242 @@
|
|
|
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 SubNotification < ApiModelBase
|
|
18
|
+
attr_accessor :account_id
|
|
19
|
+
|
|
20
|
+
attr_accessor :notification_id
|
|
21
|
+
|
|
22
|
+
attr_accessor :sub_notification_id
|
|
23
|
+
|
|
24
|
+
attr_accessor :title
|
|
25
|
+
|
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
|
+
def self.attribute_map
|
|
28
|
+
{
|
|
29
|
+
:'account_id' => :'accountId',
|
|
30
|
+
:'notification_id' => :'notificationId',
|
|
31
|
+
:'sub_notification_id' => :'subNotificationId',
|
|
32
|
+
:'title' => :'title'
|
|
33
|
+
}
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Returns attribute mapping this model knows about
|
|
37
|
+
def self.acceptable_attribute_map
|
|
38
|
+
attribute_map
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Returns all the JSON keys this model knows about
|
|
42
|
+
def self.acceptable_attributes
|
|
43
|
+
acceptable_attribute_map.values
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Attribute type mapping.
|
|
47
|
+
def self.openapi_types
|
|
48
|
+
{
|
|
49
|
+
:'account_id' => :'String',
|
|
50
|
+
:'notification_id' => :'String',
|
|
51
|
+
:'sub_notification_id' => :'String',
|
|
52
|
+
:'title' => :'String'
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# List of attributes with nullable: true
|
|
57
|
+
def self.openapi_nullable
|
|
58
|
+
Set.new([
|
|
59
|
+
])
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Initializes the object
|
|
63
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
64
|
+
def initialize(attributes = {})
|
|
65
|
+
if (!attributes.is_a?(Hash))
|
|
66
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::SubNotification` initialize method"
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
70
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
71
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
72
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::SubNotification`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
74
|
+
end
|
|
75
|
+
h[k.to_sym] = v
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'account_id')
|
|
79
|
+
self.account_id = attributes[:'account_id']
|
|
80
|
+
else
|
|
81
|
+
self.account_id = nil
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'notification_id')
|
|
85
|
+
self.notification_id = attributes[:'notification_id']
|
|
86
|
+
else
|
|
87
|
+
self.notification_id = nil
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'sub_notification_id')
|
|
91
|
+
self.sub_notification_id = attributes[:'sub_notification_id']
|
|
92
|
+
else
|
|
93
|
+
self.sub_notification_id = nil
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'title')
|
|
97
|
+
self.title = attributes[:'title']
|
|
98
|
+
else
|
|
99
|
+
self.title = nil
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
104
|
+
# @return Array for valid properties with the reasons
|
|
105
|
+
def list_invalid_properties
|
|
106
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
107
|
+
invalid_properties = Array.new
|
|
108
|
+
if @account_id.nil?
|
|
109
|
+
invalid_properties.push('invalid value for "account_id", account_id cannot be nil.')
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if @notification_id.nil?
|
|
113
|
+
invalid_properties.push('invalid value for "notification_id", notification_id cannot be nil.')
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if @sub_notification_id.nil?
|
|
117
|
+
invalid_properties.push('invalid value for "sub_notification_id", sub_notification_id cannot be nil.')
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if @title.nil?
|
|
121
|
+
invalid_properties.push('invalid value for "title", title cannot be nil.')
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
invalid_properties
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Check to see if the all the properties in the model are valid
|
|
128
|
+
# @return true if the model is valid
|
|
129
|
+
def valid?
|
|
130
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
131
|
+
return false if @account_id.nil?
|
|
132
|
+
return false if @notification_id.nil?
|
|
133
|
+
return false if @sub_notification_id.nil?
|
|
134
|
+
return false if @title.nil?
|
|
135
|
+
true
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Custom attribute writer method with validation
|
|
139
|
+
# @param [Object] account_id Value to be assigned
|
|
140
|
+
def account_id=(account_id)
|
|
141
|
+
if account_id.nil?
|
|
142
|
+
fail ArgumentError, 'account_id cannot be nil'
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
@account_id = account_id
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Custom attribute writer method with validation
|
|
149
|
+
# @param [Object] notification_id Value to be assigned
|
|
150
|
+
def notification_id=(notification_id)
|
|
151
|
+
if notification_id.nil?
|
|
152
|
+
fail ArgumentError, 'notification_id cannot be nil'
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
@notification_id = notification_id
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Custom attribute writer method with validation
|
|
159
|
+
# @param [Object] sub_notification_id Value to be assigned
|
|
160
|
+
def sub_notification_id=(sub_notification_id)
|
|
161
|
+
if sub_notification_id.nil?
|
|
162
|
+
fail ArgumentError, 'sub_notification_id cannot be nil'
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
@sub_notification_id = sub_notification_id
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Custom attribute writer method with validation
|
|
169
|
+
# @param [Object] title Value to be assigned
|
|
170
|
+
def title=(title)
|
|
171
|
+
if title.nil?
|
|
172
|
+
fail ArgumentError, 'title cannot be nil'
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
@title = title
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Checks equality by comparing each attribute.
|
|
179
|
+
# @param [Object] Object to be compared
|
|
180
|
+
def ==(o)
|
|
181
|
+
return true if self.equal?(o)
|
|
182
|
+
self.class == o.class &&
|
|
183
|
+
account_id == o.account_id &&
|
|
184
|
+
notification_id == o.notification_id &&
|
|
185
|
+
sub_notification_id == o.sub_notification_id &&
|
|
186
|
+
title == o.title
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# @see the `==` method
|
|
190
|
+
# @param [Object] Object to be compared
|
|
191
|
+
def eql?(o)
|
|
192
|
+
self == o
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# Calculates hash code according to all attributes.
|
|
196
|
+
# @return [Integer] Hash code
|
|
197
|
+
def hash
|
|
198
|
+
[account_id, notification_id, sub_notification_id, title].hash
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
# Builds the object from hash
|
|
202
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
203
|
+
# @return [Object] Returns the model itself
|
|
204
|
+
def self.build_from_hash(attributes)
|
|
205
|
+
return nil unless attributes.is_a?(Hash)
|
|
206
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
207
|
+
transformed_hash = {}
|
|
208
|
+
openapi_types.each_pair do |key, type|
|
|
209
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
210
|
+
transformed_hash["#{key}"] = nil
|
|
211
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
212
|
+
# check to ensure the input is an array given that the attribute
|
|
213
|
+
# is documented as an array but the input is not
|
|
214
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
215
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
216
|
+
end
|
|
217
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
218
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
new(transformed_hash)
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Returns the object in the form of hash
|
|
225
|
+
# @return [Hash] Returns the object in the form of hash
|
|
226
|
+
def to_hash
|
|
227
|
+
hash = {}
|
|
228
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
229
|
+
value = self.send(attr)
|
|
230
|
+
if value.nil?
|
|
231
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
232
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
hash[param] = _to_hash(value)
|
|
236
|
+
end
|
|
237
|
+
hash
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
end
|
|
@@ -0,0 +1,164 @@
|
|
|
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 SubNotificationPUTRequest < ApiModelBase
|
|
18
|
+
attr_accessor :title
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'title' => :'title'
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Returns attribute mapping this model knows about
|
|
28
|
+
def self.acceptable_attribute_map
|
|
29
|
+
attribute_map
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Returns all the JSON keys this model knows about
|
|
33
|
+
def self.acceptable_attributes
|
|
34
|
+
acceptable_attribute_map.values
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Attribute type mapping.
|
|
38
|
+
def self.openapi_types
|
|
39
|
+
{
|
|
40
|
+
:'title' => :'String'
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# List of attributes with nullable: true
|
|
45
|
+
def self.openapi_nullable
|
|
46
|
+
Set.new([
|
|
47
|
+
])
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Initializes the object
|
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
|
+
def initialize(attributes = {})
|
|
53
|
+
if (!attributes.is_a?(Hash))
|
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::SubNotificationPUTRequest` initialize method"
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::SubNotificationPUTRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
62
|
+
end
|
|
63
|
+
h[k.to_sym] = v
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if attributes.key?(:'title')
|
|
67
|
+
self.title = attributes[:'title']
|
|
68
|
+
else
|
|
69
|
+
self.title = nil
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
74
|
+
# @return Array for valid properties with the reasons
|
|
75
|
+
def list_invalid_properties
|
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
77
|
+
invalid_properties = Array.new
|
|
78
|
+
if @title.nil?
|
|
79
|
+
invalid_properties.push('invalid value for "title", title cannot be nil.')
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
invalid_properties
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Check to see if the all the properties in the model are valid
|
|
86
|
+
# @return true if the model is valid
|
|
87
|
+
def valid?
|
|
88
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
89
|
+
return false if @title.nil?
|
|
90
|
+
true
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Custom attribute writer method with validation
|
|
94
|
+
# @param [Object] title Value to be assigned
|
|
95
|
+
def title=(title)
|
|
96
|
+
if title.nil?
|
|
97
|
+
fail ArgumentError, 'title cannot be nil'
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
@title = title
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Checks equality by comparing each attribute.
|
|
104
|
+
# @param [Object] Object to be compared
|
|
105
|
+
def ==(o)
|
|
106
|
+
return true if self.equal?(o)
|
|
107
|
+
self.class == o.class &&
|
|
108
|
+
title == o.title
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# @see the `==` method
|
|
112
|
+
# @param [Object] Object to be compared
|
|
113
|
+
def eql?(o)
|
|
114
|
+
self == o
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Calculates hash code according to all attributes.
|
|
118
|
+
# @return [Integer] Hash code
|
|
119
|
+
def hash
|
|
120
|
+
[title].hash
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Builds the object from hash
|
|
124
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
125
|
+
# @return [Object] Returns the model itself
|
|
126
|
+
def self.build_from_hash(attributes)
|
|
127
|
+
return nil unless attributes.is_a?(Hash)
|
|
128
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
129
|
+
transformed_hash = {}
|
|
130
|
+
openapi_types.each_pair do |key, type|
|
|
131
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
132
|
+
transformed_hash["#{key}"] = nil
|
|
133
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
134
|
+
# check to ensure the input is an array given that the attribute
|
|
135
|
+
# is documented as an array but the input is not
|
|
136
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
137
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
138
|
+
end
|
|
139
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
140
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
new(transformed_hash)
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Returns the object in the form of hash
|
|
147
|
+
# @return [Hash] Returns the object in the form of hash
|
|
148
|
+
def to_hash
|
|
149
|
+
hash = {}
|
|
150
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
151
|
+
value = self.send(attr)
|
|
152
|
+
if value.nil?
|
|
153
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
154
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
hash[param] = _to_hash(value)
|
|
158
|
+
end
|
|
159
|
+
hash
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
end
|
data/lib/pingram/version.rb
CHANGED
data/lib/pingram.rb
CHANGED
|
@@ -269,6 +269,8 @@ require 'pingram/models/sender_post_body_web_push'
|
|
|
269
269
|
require 'pingram/models/sender_post_response'
|
|
270
270
|
require 'pingram/models/set_default_template_request'
|
|
271
271
|
require 'pingram/models/slack_interactivity_response'
|
|
272
|
+
require 'pingram/models/sub_notification'
|
|
273
|
+
require 'pingram/models/sub_notification_put_request'
|
|
272
274
|
require 'pingram/models/success_response'
|
|
273
275
|
require 'pingram/models/supabase_configure_request'
|
|
274
276
|
require 'pingram/models/supabase_configure_response'
|
|
@@ -332,6 +334,7 @@ require 'pingram/api/profile_api'
|
|
|
332
334
|
require 'pingram/api/registrations_api'
|
|
333
335
|
require 'pingram/api/sender_api'
|
|
334
336
|
require 'pingram/api/sms_api'
|
|
337
|
+
require 'pingram/api/sub_notifications_api'
|
|
335
338
|
require 'pingram/api/templates_api'
|
|
336
339
|
require 'pingram/api/types_api'
|
|
337
340
|
require 'pingram/api/user_api'
|
|
Binary file
|
|
@@ -3,10 +3,10 @@ current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/v
|
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
|
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-ao5hhu sitelibdir\=./.gem.20260921-2455-ao5hhu clean
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-ao5hhu sitelibdir\=./.gem.20260921-2455-ao5hhu
|
|
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/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
|
|
38
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
39
|
-
/usr/bin/install -c -m 0755 byebug.so ./.gem.
|
|
38
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-ao5hhu sitelibdir\=./.gem.20260921-2455-ao5hhu install
|
|
39
|
+
/usr/bin/install -c -m 0755 byebug.so ./.gem.20260921-2455-ao5hhu/byebug
|
|
40
40
|
|
|
41
41
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
|
|
42
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
42
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-ao5hhu sitelibdir\=./.gem.20260921-2455-ao5hhu clean
|
|
@@ -6,10 +6,10 @@ checking for altzone in time.h with -Werror... no
|
|
|
6
6
|
creating Makefile
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-te7042 sitelibdir\=./.gem.20260921-2455-te7042 clean
|
|
10
10
|
|
|
11
11
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date
|
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-te7042 sitelibdir\=./.gem.20260921-2455-te7042
|
|
13
13
|
compiling date_core.c
|
|
14
14
|
compiling date_parse.c
|
|
15
15
|
compiling date_strftime.c
|
|
@@ -17,8 +17,8 @@ compiling date_strptime.c
|
|
|
17
17
|
linking shared-object date_core.so
|
|
18
18
|
|
|
19
19
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date
|
|
20
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
21
|
-
/usr/bin/install -c -m 0755 date_core.so ./.gem.
|
|
20
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-te7042 sitelibdir\=./.gem.20260921-2455-te7042 install
|
|
21
|
+
/usr/bin/install -c -m 0755 date_core.so ./.gem.20260921-2455-te7042
|
|
22
22
|
|
|
23
23
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date
|
|
24
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
24
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-te7042 sitelibdir\=./.gem.20260921-2455-te7042 clean
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
1
|
+
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console
|
|
2
2
|
/opt/hostedtoolcache/Ruby/3.2.11/x64/bin/ruby extconf.rb
|
|
3
3
|
checking for rb_interned_str_cstr()... yes
|
|
4
4
|
checking for rb_ractor_local_storage_value_newkey()... yes
|
|
@@ -13,21 +13,22 @@ checking for HAVE_RUBY_FIBER_SCHEDULER_H... yes
|
|
|
13
13
|
checking for rb_category_warn()... yes
|
|
14
14
|
checking for RB_WARN_CATEGORY_DEPRECATED... yes
|
|
15
15
|
checking for ttyname_r()... yes
|
|
16
|
+
checking for type of ttyname_r()... int
|
|
16
17
|
checking for rb_prepend_module()... yes
|
|
17
18
|
checking for gperf... no
|
|
18
19
|
creating Makefile
|
|
19
20
|
|
|
20
|
-
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
21
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
21
|
+
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console
|
|
22
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-8mhbfx sitelibdir\=./.gem.20260921-2455-8mhbfx clean
|
|
22
23
|
|
|
23
|
-
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
24
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
24
|
+
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console
|
|
25
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-8mhbfx sitelibdir\=./.gem.20260921-2455-8mhbfx
|
|
25
26
|
compiling console.c
|
|
26
27
|
linking shared-object io/console.so
|
|
27
28
|
|
|
28
|
-
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
29
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
30
|
-
/usr/bin/install -c -m 0755 console.so ./.gem.
|
|
29
|
+
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console
|
|
30
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-8mhbfx sitelibdir\=./.gem.20260921-2455-8mhbfx install
|
|
31
|
+
/usr/bin/install -c -m 0755 console.so ./.gem.20260921-2455-8mhbfx/io
|
|
31
32
|
|
|
32
|
-
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
33
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
33
|
+
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console
|
|
34
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-8mhbfx sitelibdir\=./.gem.20260921-2455-8mhbfx clean
|
|
Binary file
|
|
@@ -143,8 +143,8 @@ checked program was:
|
|
|
143
143
|
/* end */
|
|
144
144
|
|
|
145
145
|
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"
|
|
146
|
-
/usr/bin/ld: /tmp/
|
|
147
|
-
/home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
146
|
+
/usr/bin/ld: /tmp/cc5tLQJh.o: in function `t':
|
|
147
|
+
/home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/conftest.c:17:(.text+0xb): undefined reference to `rb_io_path'
|
|
148
148
|
collect2: error: ld returned 1 exit status
|
|
149
149
|
checked program was:
|
|
150
150
|
/* begin */
|
|
@@ -203,8 +203,8 @@ checked program was:
|
|
|
203
203
|
/* end */
|
|
204
204
|
|
|
205
205
|
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"
|
|
206
|
-
/usr/bin/ld: /tmp/
|
|
207
|
-
/home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
206
|
+
/usr/bin/ld: /tmp/ccwIBBsl.o: in function `t':
|
|
207
|
+
/home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/conftest.c:17:(.text+0xb): undefined reference to `rb_io_closed_p'
|
|
208
208
|
collect2: error: ld returned 1 exit status
|
|
209
209
|
checked program was:
|
|
210
210
|
/* begin */
|
|
@@ -263,8 +263,8 @@ checked program was:
|
|
|
263
263
|
/* end */
|
|
264
264
|
|
|
265
265
|
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"
|
|
266
|
-
/usr/bin/ld: /tmp/
|
|
267
|
-
/home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
266
|
+
/usr/bin/ld: /tmp/cclsUzrD.o: in function `t':
|
|
267
|
+
/home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/conftest.c:17:(.text+0xb): undefined reference to `rb_io_open_descriptor'
|
|
268
268
|
collect2: error: ld returned 1 exit status
|
|
269
269
|
checked program was:
|
|
270
270
|
/* begin */
|
|
@@ -435,6 +435,29 @@ checked program was:
|
|
|
435
435
|
|
|
436
436
|
--------------------
|
|
437
437
|
|
|
438
|
+
checking for type of ttyname_r()... -------------------- int
|
|
439
|
+
|
|
440
|
+
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"
|
|
441
|
+
checked program was:
|
|
442
|
+
/* begin */
|
|
443
|
+
1: #include "ruby.h"
|
|
444
|
+
2:
|
|
445
|
+
3: #include <unistd.h>
|
|
446
|
+
4:
|
|
447
|
+
5: int t(void) {char name[1024]; return ttyname_r(0, name, sizeof(name)) % 1024;}
|
|
448
|
+
6: int main(int argc, char **argv)
|
|
449
|
+
7: {
|
|
450
|
+
8: if (argc > 1000000) {
|
|
451
|
+
9: int (* volatile tp)(void)=(int (*)(void))&t;
|
|
452
|
+
10: printf("%d", (*tp)());
|
|
453
|
+
11: }
|
|
454
|
+
12:
|
|
455
|
+
13: return !!argv[argc];
|
|
456
|
+
14: }
|
|
457
|
+
/* end */
|
|
458
|
+
|
|
459
|
+
--------------------
|
|
460
|
+
|
|
438
461
|
have_func: checking for rb_prepend_module()... -------------------- yes
|
|
439
462
|
|
|
440
463
|
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"
|
|
@@ -3,10 +3,10 @@ current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/v
|
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
|
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-8aqo4h sitelibdir\=./.gem.20260921-2455-8aqo4h clean
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-8aqo4h sitelibdir\=./.gem.20260921-2455-8aqo4h
|
|
10
10
|
compiling adj_matrix.c
|
|
11
11
|
adj_matrix.c: In function ‘adj_matrix_default’:
|
|
12
12
|
adj_matrix.c:82:12: warning: old-style function definition [-Wold-style-definition]
|
|
@@ -22,8 +22,8 @@ compiling jaro_winkler.c
|
|
|
22
22
|
linking shared-object jaro_winkler/jaro_winkler_ext.so
|
|
23
23
|
|
|
24
24
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
|
|
25
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
26
|
-
/usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.
|
|
25
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-8aqo4h sitelibdir\=./.gem.20260921-2455-8aqo4h install
|
|
26
|
+
/usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20260921-2455-8aqo4h/jaro_winkler
|
|
27
27
|
|
|
28
28
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
|
|
29
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
29
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-8aqo4h sitelibdir\=./.gem.20260921-2455-8aqo4h clean
|
|
@@ -3,13 +3,13 @@ current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/v
|
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych
|
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-lsmhvv sitelibdir\=./.gem.20260921-2455-lsmhvv clean
|
|
7
7
|
cd libyaml && make clean
|
|
8
8
|
/bin/sh: 1: cd: can't cd to libyaml
|
|
9
9
|
make: [Makefile:283: clean-so] Error 2 (ignored)
|
|
10
10
|
|
|
11
11
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych
|
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-lsmhvv sitelibdir\=./.gem.20260921-2455-lsmhvv
|
|
13
13
|
compiling psych.c
|
|
14
14
|
compiling psych_emitter.c
|
|
15
15
|
compiling psych_parser.c
|
|
@@ -18,11 +18,11 @@ compiling psych_yaml_tree.c
|
|
|
18
18
|
linking shared-object psych.so
|
|
19
19
|
|
|
20
20
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych
|
|
21
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
22
|
-
/usr/bin/install -c -m 0755 psych.so ./.gem.
|
|
21
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-lsmhvv sitelibdir\=./.gem.20260921-2455-lsmhvv install
|
|
22
|
+
/usr/bin/install -c -m 0755 psych.so ./.gem.20260921-2455-lsmhvv
|
|
23
23
|
|
|
24
24
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych
|
|
25
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
25
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-lsmhvv sitelibdir\=./.gem.20260921-2455-lsmhvv clean
|
|
26
26
|
cd libyaml && make clean
|
|
27
27
|
/bin/sh: 1: cd: can't cd to libyaml
|
|
28
28
|
make: [Makefile:283: clean-so] Error 2 (ignored)
|
|
@@ -3,16 +3,16 @@ current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/v
|
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse
|
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-jt54m7 sitelibdir\=./.gem.20260921-2455-jt54m7 clean
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-jt54m7 sitelibdir\=./.gem.20260921-2455-jt54m7
|
|
10
10
|
compiling cparse.c
|
|
11
11
|
linking shared-object racc/cparse.so
|
|
12
12
|
|
|
13
13
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse
|
|
14
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
15
|
-
/usr/bin/install -c -m 0755 cparse.so ./.gem.
|
|
14
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-jt54m7 sitelibdir\=./.gem.20260921-2455-jt54m7 install
|
|
15
|
+
/usr/bin/install -c -m 0755 cparse.so ./.gem.20260921-2455-jt54m7/racc
|
|
16
16
|
|
|
17
17
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/racc-1.8.1/ext/racc/cparse
|
|
18
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
18
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-jt54m7 sitelibdir\=./.gem.20260921-2455-jt54m7 clean
|
|
@@ -4,16 +4,16 @@ checking for rb_io_mode_t in ruby/io.h... no
|
|
|
4
4
|
creating Makefile
|
|
5
5
|
|
|
6
6
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio
|
|
7
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
7
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-xwj9rm sitelibdir\=./.gem.20260921-2455-xwj9rm clean
|
|
8
8
|
|
|
9
9
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio
|
|
10
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
10
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-xwj9rm sitelibdir\=./.gem.20260921-2455-xwj9rm
|
|
11
11
|
compiling stringio.c
|
|
12
12
|
linking shared-object stringio.so
|
|
13
13
|
|
|
14
14
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio
|
|
15
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
16
|
-
/usr/bin/install -c -m 0755 stringio.so ./.gem.
|
|
15
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-xwj9rm sitelibdir\=./.gem.20260921-2455-xwj9rm install
|
|
16
|
+
/usr/bin/install -c -m 0755 stringio.so ./.gem.20260921-2455-xwj9rm
|
|
17
17
|
|
|
18
18
|
current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/stringio-3.2.0/ext/stringio
|
|
19
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
19
|
+
make DESTDIR\= sitearchdir\=./.gem.20260921-2455-xwj9rm sitelibdir\=./.gem.20260921-2455-xwj9rm clean
|
data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/ext/io/console/Makefile
RENAMED
|
@@ -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_INTERNED_STR_CSTR -DHAVE_RB_RACTOR_LOCAL_STORAGE_VALUE_NEWKEY -DHAVE_RB_IO_DESCRIPTOR -DHAVE_TERMIOS_H -DHAVE_CFMAKERAW -DHAVE_SYS_IOCTL_H -DHAVE_RB_IO_WAIT=1 -DHAVE_RB_CATEGORY_WARN -DHAVE_CONST_RB_WARN_CATEGORY_DEPRECATED -DHAVE_TTYNAME_R -DHAVE_RB_PREPEND_MODULE -DENABLE_PATH_CHECK=0 $(DEFS) $(cppflags)
|
|
91
|
+
CPPFLAGS = -DHAVE_RB_INTERNED_STR_CSTR -DHAVE_RB_RACTOR_LOCAL_STORAGE_VALUE_NEWKEY -DHAVE_RB_IO_DESCRIPTOR -DHAVE_TERMIOS_H -DHAVE_CFMAKERAW -DHAVE_SYS_IOCTL_H -DHAVE_RB_IO_WAIT=1 -DHAVE_RB_CATEGORY_WARN -DHAVE_CONST_RB_WARN_CATEGORY_DEPRECATED -DHAVE_TTYNAME_R -DTTYNAME_R_RETURNS_INT -DHAVE_RB_PREPEND_MODULE -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
|
data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/ext/io/console/console.c
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
static const char *const
|
|
7
|
-
IO_CONSOLE_VERSION = "0.9.
|
|
7
|
+
IO_CONSOLE_VERSION = "0.9.4";
|
|
8
8
|
|
|
9
9
|
#include "ruby.h"
|
|
10
10
|
#include "ruby/io.h"
|
|
@@ -2314,6 +2314,9 @@ console_ttyname(VALUE io)
|
|
|
2314
2314
|
return rb_usascii_str_new_lit("con");
|
|
2315
2315
|
# elif defined HAVE_TTYNAME_R
|
|
2316
2316
|
{
|
|
2317
|
+
# ifdef TTYNAME_R_RETURNS_CHAR_P
|
|
2318
|
+
# define ttyname_r(fd, name, size) (ttyname_r(fd, name, size) == NULL ? errno : 0)
|
|
2319
|
+
# endif
|
|
2317
2320
|
char termname[1024], *tn = termname;
|
|
2318
2321
|
size_t size = sizeof(termname);
|
|
2319
2322
|
int e;
|
data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/ext/io/console/extconf.rb
RENAMED
|
@@ -50,7 +50,18 @@ when true
|
|
|
50
50
|
end
|
|
51
51
|
have_func("rb_category_warn")
|
|
52
52
|
have_const("RB_WARN_CATEGORY_DEPRECATED")
|
|
53
|
-
win32
|
|
53
|
+
unless win32
|
|
54
|
+
if have_func("ttyname_r")
|
|
55
|
+
ret = checking_for("type of ttyname_r()", "%s") {try_link(<<~C) ? "int" : "char *"}
|
|
56
|
+
#{cpp_include %<unistd.h>}
|
|
57
|
+
int t(void) {char name[1024]; return ttyname_r(0, name, sizeof(name)) % 1024;}
|
|
58
|
+
#{MAIN_DOES_NOTHING('t')}
|
|
59
|
+
C
|
|
60
|
+
$defs << "-DTTYNAME_R_RETURNS_#{ret.tr_cpp}"
|
|
61
|
+
else
|
|
62
|
+
have_func("ttyname")
|
|
63
|
+
end
|
|
64
|
+
end
|
|
54
65
|
have_func("rb_prepend_module") # not exported by TruffleRuby
|
|
55
66
|
vk_tool = find_executable("gperf")
|
|
56
67
|
create_makefile("io/console") {|conf|
|
|
Binary file
|
data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.9.3.gemspec → io-console-0.9.4.gemspec}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: io-console 0.9.
|
|
2
|
+
# stub: io-console 0.9.4 ruby lib
|
|
3
3
|
# stub: ext/io/console/extconf.rb
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
6
|
s.name = "io-console".freeze
|
|
7
|
-
s.version = "0.9.
|
|
7
|
+
s.version = "0.9.4"
|
|
8
8
|
|
|
9
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
10
10
|
s.metadata = { "changelog_uri" => "https://github.com/ruby/io-console/releases", "source_code_url" => "https://github.com/ruby/io-console" } if s.respond_to? :metadata=
|
|
11
11
|
s.require_paths = ["lib".freeze]
|
|
12
12
|
s.authors = ["Nobu Nakada".freeze]
|
|
13
|
-
s.date = "2026-09-
|
|
13
|
+
s.date = "2026-09-17"
|
|
14
14
|
s.description = "add console capabilities to IO instances.".freeze
|
|
15
15
|
s.email = "nobu@ruby-lang.org".freeze
|
|
16
16
|
s.extensions = ["ext/io/console/extconf.rb".freeze]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pingram
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.33
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pingram
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -84,6 +84,7 @@ files:
|
|
|
84
84
|
- lib/pingram/api/registrations_api.rb
|
|
85
85
|
- lib/pingram/api/sender_api.rb
|
|
86
86
|
- lib/pingram/api/sms_api.rb
|
|
87
|
+
- lib/pingram/api/sub_notifications_api.rb
|
|
87
88
|
- lib/pingram/api/templates_api.rb
|
|
88
89
|
- lib/pingram/api/types_api.rb
|
|
89
90
|
- lib/pingram/api/user_api.rb
|
|
@@ -344,6 +345,8 @@ files:
|
|
|
344
345
|
- lib/pingram/models/sender_post_response.rb
|
|
345
346
|
- lib/pingram/models/set_default_template_request.rb
|
|
346
347
|
- lib/pingram/models/slack_interactivity_response.rb
|
|
348
|
+
- lib/pingram/models/sub_notification.rb
|
|
349
|
+
- lib/pingram/models/sub_notification_put_request.rb
|
|
347
350
|
- lib/pingram/models/success_response.rb
|
|
348
351
|
- lib/pingram/models/supabase_configure_request.rb
|
|
349
352
|
- lib/pingram/models/supabase_configure_response.rb
|
|
@@ -405,7 +408,7 @@ files:
|
|
|
405
408
|
- vendor/bundle/ruby/3.2.0/cache/diff-lcs-1.6.2.gem
|
|
406
409
|
- vendor/bundle/ruby/3.2.0/cache/ethon-0.18.0.gem
|
|
407
410
|
- vendor/bundle/ruby/3.2.0/cache/ffi-1.17.4-x86_64-linux-gnu.gem
|
|
408
|
-
- vendor/bundle/ruby/3.2.0/cache/io-console-0.9.
|
|
411
|
+
- vendor/bundle/ruby/3.2.0/cache/io-console-0.9.4.gem
|
|
409
412
|
- vendor/bundle/ruby/3.2.0/cache/jaro_winkler-1.5.6.gem
|
|
410
413
|
- vendor/bundle/ruby/3.2.0/cache/logger-1.7.0.gem
|
|
411
414
|
- vendor/bundle/ruby/3.2.0/cache/method_source-1.1.0.gem
|
|
@@ -435,10 +438,10 @@ files:
|
|
|
435
438
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem.build_complete
|
|
436
439
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out
|
|
437
440
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/mkmf.log
|
|
438
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.
|
|
439
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.
|
|
440
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.
|
|
441
|
-
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.
|
|
441
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/gem.build_complete
|
|
442
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/gem_make.out
|
|
443
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/io/console.so
|
|
444
|
+
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/mkmf.log
|
|
442
445
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem.build_complete
|
|
443
446
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out
|
|
444
447
|
- vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so
|
|
@@ -987,16 +990,16 @@ files:
|
|
|
987
990
|
- vendor/bundle/ruby/3.2.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_layout.rbs
|
|
988
991
|
- vendor/bundle/ruby/3.2.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/struct_layout_builder.rbs
|
|
989
992
|
- vendor/bundle/ruby/3.2.0/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/type.rbs
|
|
990
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
991
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
992
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
993
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
994
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
995
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
996
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
997
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
998
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
999
|
-
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.
|
|
993
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/.document
|
|
994
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/BSDL
|
|
995
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/COPYING
|
|
996
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/README.md
|
|
997
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/Makefile
|
|
998
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/console.c
|
|
999
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/extconf.rb
|
|
1000
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/ext/io/console/win32_vk.inc
|
|
1001
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/lib/io/console.so
|
|
1002
|
+
- vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/lib/io/console/size.rb
|
|
1000
1003
|
- vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/LICENSE.txt
|
|
1001
1004
|
- vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile
|
|
1002
1005
|
- vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/adj_matrix.c
|
|
@@ -2449,7 +2452,7 @@ files:
|
|
|
2449
2452
|
- vendor/bundle/ruby/3.2.0/specifications/diff-lcs-1.6.2.gemspec
|
|
2450
2453
|
- vendor/bundle/ruby/3.2.0/specifications/ethon-0.18.0.gemspec
|
|
2451
2454
|
- vendor/bundle/ruby/3.2.0/specifications/ffi-1.17.4-x86_64-linux-gnu.gemspec
|
|
2452
|
-
- vendor/bundle/ruby/3.2.0/specifications/io-console-0.9.
|
|
2455
|
+
- vendor/bundle/ruby/3.2.0/specifications/io-console-0.9.4.gemspec
|
|
2453
2456
|
- vendor/bundle/ruby/3.2.0/specifications/jaro_winkler-1.5.6.gemspec
|
|
2454
2457
|
- vendor/bundle/ruby/3.2.0/specifications/logger-1.7.0.gemspec
|
|
2455
2458
|
- vendor/bundle/ruby/3.2.0/specifications/method_source-1.1.0.gemspec
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.3 → io-console-0.9.4}/lib/io/console/size.rb
RENAMED
|
File without changes
|