cybrid_api_bank_ruby 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/cybrid_api_bank_ruby.gemspec +1 -1
  5. data/lib/cybrid_api_bank_ruby/api/accounts_bank_api.rb +1 -1
  6. data/lib/cybrid_api_bank_ruby/api/assets_bank_api.rb +1 -1
  7. data/lib/cybrid_api_bank_ruby/api/banks_bank_api.rb +1 -1
  8. data/lib/cybrid_api_bank_ruby/api/customers_bank_api.rb +1 -1
  9. data/lib/cybrid_api_bank_ruby/api/identity_records_bank_api.rb +1 -1
  10. data/lib/cybrid_api_bank_ruby/api/prices_bank_api.rb +1 -1
  11. data/lib/cybrid_api_bank_ruby/api/quotes_bank_api.rb +1 -1
  12. data/lib/cybrid_api_bank_ruby/api/symbols_bank_api.rb +1 -1
  13. data/lib/cybrid_api_bank_ruby/api/trades_bank_api.rb +1 -1
  14. data/lib/cybrid_api_bank_ruby/api/trading_configurations_bank_api.rb +1 -1
  15. data/lib/cybrid_api_bank_ruby/api/verification_keys_bank_api.rb +1 -1
  16. data/lib/cybrid_api_bank_ruby/api_client.rb +1 -1
  17. data/lib/cybrid_api_bank_ruby/api_error.rb +1 -1
  18. data/lib/cybrid_api_bank_ruby/configuration.rb +1 -1
  19. data/lib/cybrid_api_bank_ruby/models/account_bank_model.rb +1 -1
  20. data/lib/cybrid_api_bank_ruby/models/account_list_bank_model.rb +1 -1
  21. data/lib/cybrid_api_bank_ruby/models/asset_bank_model.rb +1 -1
  22. data/lib/cybrid_api_bank_ruby/models/asset_list_bank_model.rb +1 -1
  23. data/lib/cybrid_api_bank_ruby/models/attestation_details_bank_model.rb +1 -1
  24. data/lib/cybrid_api_bank_ruby/models/bank_bank_model.rb +1 -1
  25. data/lib/cybrid_api_bank_ruby/models/bank_list_bank_model.rb +1 -1
  26. data/lib/cybrid_api_bank_ruby/models/customer_bank_model.rb +1 -1
  27. data/lib/cybrid_api_bank_ruby/models/customer_list_bank_model.rb +1 -1
  28. data/lib/cybrid_api_bank_ruby/models/exchange_account_bank_model.rb +1 -1
  29. data/lib/cybrid_api_bank_ruby/models/exchange_bank_model.rb +1 -1
  30. data/lib/cybrid_api_bank_ruby/models/fee_bank_model.rb +1 -1
  31. data/lib/cybrid_api_bank_ruby/models/identity_record_bank_model.rb +1 -1
  32. data/lib/cybrid_api_bank_ruby/models/post_account_bank_model.rb +1 -1
  33. data/lib/cybrid_api_bank_ruby/models/post_bank_bank_model.rb +1 -1
  34. data/lib/cybrid_api_bank_ruby/models/post_customer_bank_model.rb +1 -1
  35. data/lib/cybrid_api_bank_ruby/models/post_fee_bank_model.rb +1 -1
  36. data/lib/cybrid_api_bank_ruby/models/post_identity_record_attestation_details_bank_model.rb +1 -1
  37. data/lib/cybrid_api_bank_ruby/models/post_identity_record_bank_model.rb +1 -1
  38. data/lib/cybrid_api_bank_ruby/models/post_quote_bank_model.rb +1 -1
  39. data/lib/cybrid_api_bank_ruby/models/post_trade_bank_model.rb +1 -1
  40. data/lib/cybrid_api_bank_ruby/models/post_trading_configuration_bank_model.rb +1 -1
  41. data/lib/cybrid_api_bank_ruby/models/post_verification_key_bank_model.rb +1 -1
  42. data/lib/cybrid_api_bank_ruby/models/quote_bank_model.rb +1 -1
  43. data/lib/cybrid_api_bank_ruby/models/quote_list_bank_model.rb +1 -1
  44. data/lib/cybrid_api_bank_ruby/models/symbol_price_bank_model.rb +1 -1
  45. data/lib/cybrid_api_bank_ruby/models/system_account_bank_model.rb +1 -1
  46. data/lib/cybrid_api_bank_ruby/models/trade_bank_model.rb +1 -1
  47. data/lib/cybrid_api_bank_ruby/models/trade_list_bank_model.rb +1 -1
  48. data/lib/cybrid_api_bank_ruby/models/trading_configuration_bank_model.rb +1 -1
  49. data/lib/cybrid_api_bank_ruby/models/trading_configuration_list_bank_model.rb +1 -1
  50. data/lib/cybrid_api_bank_ruby/models/verification_key_bank_model.rb +1 -1
  51. data/lib/cybrid_api_bank_ruby/models/verification_key_list_bank_model.rb +1 -1
  52. data/lib/cybrid_api_bank_ruby/version.rb +2 -2
  53. data/lib/cybrid_api_bank_ruby.rb +1 -1
  54. data/spec/api/accounts_bank_api_spec.rb +1 -1
  55. data/spec/api/assets_bank_api_spec.rb +1 -1
  56. data/spec/api/banks_bank_api_spec.rb +1 -1
  57. data/spec/api/customers_bank_api_spec.rb +1 -1
  58. data/spec/api/identity_records_bank_api_spec.rb +1 -1
  59. data/spec/api/prices_bank_api_spec.rb +1 -1
  60. data/spec/api/quotes_bank_api_spec.rb +1 -1
  61. data/spec/api/symbols_bank_api_spec.rb +1 -1
  62. data/spec/api/trades_bank_api_spec.rb +1 -1
  63. data/spec/api/trading_configurations_bank_api_spec.rb +1 -1
  64. data/spec/api/verification_keys_bank_api_spec.rb +1 -1
  65. data/spec/api_client_spec.rb +1 -1
  66. data/spec/configuration_spec.rb +1 -1
  67. data/spec/models/account_bank_model_spec.rb +1 -1
  68. data/spec/models/account_list_bank_model_spec.rb +1 -1
  69. data/spec/models/asset_bank_model_spec.rb +1 -1
  70. data/spec/models/asset_list_bank_model_spec.rb +1 -1
  71. data/spec/models/attestation_details_bank_model_spec.rb +1 -1
  72. data/spec/models/bank_bank_model_spec.rb +1 -1
  73. data/spec/models/bank_list_bank_model_spec.rb +1 -1
  74. data/spec/models/customer_bank_model_spec.rb +1 -1
  75. data/spec/models/customer_list_bank_model_spec.rb +1 -1
  76. data/spec/models/exchange_account_bank_model_spec.rb +1 -1
  77. data/spec/models/exchange_bank_model_spec.rb +1 -1
  78. data/spec/models/fee_bank_model_spec.rb +1 -1
  79. data/spec/models/identity_record_bank_model_spec.rb +1 -1
  80. data/spec/models/post_account_bank_model_spec.rb +1 -1
  81. data/spec/models/post_bank_bank_model_spec.rb +1 -1
  82. data/spec/models/post_customer_bank_model_spec.rb +1 -1
  83. data/spec/models/post_fee_bank_model_spec.rb +1 -1
  84. data/spec/models/post_identity_record_attestation_details_bank_model_spec.rb +1 -1
  85. data/spec/models/post_identity_record_bank_model_spec.rb +1 -1
  86. data/spec/models/post_quote_bank_model_spec.rb +1 -1
  87. data/spec/models/post_trade_bank_model_spec.rb +1 -1
  88. data/spec/models/post_trading_configuration_bank_model_spec.rb +1 -1
  89. data/spec/models/post_verification_key_bank_model_spec.rb +1 -1
  90. data/spec/models/quote_bank_model_spec.rb +1 -1
  91. data/spec/models/quote_list_bank_model_spec.rb +1 -1
  92. data/spec/models/symbol_price_bank_model_spec.rb +1 -1
  93. data/spec/models/system_account_bank_model_spec.rb +1 -1
  94. data/spec/models/trade_bank_model_spec.rb +1 -1
  95. data/spec/models/trade_list_bank_model_spec.rb +1 -1
  96. data/spec/models/trading_configuration_bank_model_spec.rb +1 -1
  97. data/spec/models/trading_configuration_list_bank_model_spec.rb +1 -1
  98. data/spec/models/verification_key_bank_model_spec.rb +1 -1
  99. data/spec/models/verification_key_list_bank_model_spec.rb +1 -1
  100. data/spec/spec_helper.rb +1 -1
  101. data/vendor/bundle/ruby/3.1.0/cache/stringio-3.0.2.gem +0 -0
  102. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/byebug-11.1.3/gem_make.out +2 -2
  103. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/ffi-1.15.5/gem_make.out +2 -2
  104. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/jaro_winkler-1.5.4/gem_make.out +2 -2
  105. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/stringio-3.0.2/gem.build_complete +0 -0
  106. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/stringio-3.0.2/gem_make.out +22 -0
  107. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/stringio-3.0.2/mkmf.log +36 -0
  108. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/stringio-3.0.2/stringio.so +0 -0
  109. data/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  110. data/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  111. data/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  112. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/README.md +44 -0
  113. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio/.sitearchdir.time +0 -0
  114. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio/Makefile +267 -0
  115. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio/extconf.rb +4 -0
  116. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio/stringio.c +1866 -0
  117. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio/stringio.o +0 -0
  118. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio/stringio.so +0 -0
  119. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/lib/stringio.so +0 -0
  120. data/vendor/bundle/ruby/3.1.0/specifications/stringio-3.0.2.gemspec +24 -0
  121. metadata +16 -2
@@ -0,0 +1,36 @@
1
+ have_func: checking for rb_io_extract_modeenc() in ruby/io.h... -------------------- yes
2
+
3
+ LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.1.0/x86_64-linux -I/usr/local/include/ruby-3.1.0/ruby/backward -I/usr/local/include/ruby-3.1.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -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 conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby-static -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm -lm -lc"
4
+ checked program was:
5
+ /* begin */
6
+ 1: #include "ruby.h"
7
+ 2:
8
+ 3: int main(int argc, char **argv)
9
+ 4: {
10
+ 5: return !!argv[argc];
11
+ 6: }
12
+ /* end */
13
+
14
+ LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.1.0/x86_64-linux -I/usr/local/include/ruby-3.1.0/ruby/backward -I/usr/local/include/ruby-3.1.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -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 conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby-static -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm -lm -lc"
15
+ checked program was:
16
+ /* begin */
17
+ 1: #include "ruby.h"
18
+ 2:
19
+ 3: #include <ruby/io.h>
20
+ 4:
21
+ 5: /*top*/
22
+ 6: extern int t(void);
23
+ 7: int main(int argc, char **argv)
24
+ 8: {
25
+ 9: if (argc > 1000000) {
26
+ 10: int (* volatile tp)(void)=(int (*)(void))&t;
27
+ 11: printf("%d", (*tp)());
28
+ 12: }
29
+ 13:
30
+ 14: return !!argv[argc];
31
+ 15: }
32
+ 16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_io_extract_modeenc; return !p; }
33
+ /* end */
34
+
35
+ --------------------
36
+
@@ -32,8 +32,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
32
32
  vendorarchdir = $(vendorlibdir)/$(sitearch)
33
33
  vendorlibdir = $(vendordir)/$(ruby_version)
34
34
  vendordir = $(rubylibprefix)/vendor_ruby
35
- sitearchdir = $(DESTDIR)./.gem.20220507-2917-vgt0y3
36
- sitelibdir = $(DESTDIR)./.gem.20220507-2917-vgt0y3
35
+ sitearchdir = $(DESTDIR)./.gem.20220509-2921-6hbekr
36
+ sitelibdir = $(DESTDIR)./.gem.20220509-2921-6hbekr
37
37
  sitedir = $(rubylibprefix)/site_ruby
38
38
  rubyarchdir = $(rubylibdir)/$(arch)
39
39
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -32,8 +32,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
32
32
  vendorarchdir = $(vendorlibdir)/$(sitearch)
33
33
  vendorlibdir = $(vendordir)/$(ruby_version)
34
34
  vendordir = $(rubylibprefix)/vendor_ruby
35
- sitearchdir = $(DESTDIR)./.gem.20220507-2917-pj25uz
36
- sitelibdir = $(DESTDIR)./.gem.20220507-2917-pj25uz
35
+ sitearchdir = $(DESTDIR)./.gem.20220509-2921-38xrah
36
+ sitelibdir = $(DESTDIR)./.gem.20220509-2921-38xrah
37
37
  sitedir = $(rubylibprefix)/site_ruby
38
38
  rubyarchdir = $(rubylibdir)/$(arch)
39
39
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -32,8 +32,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
32
32
  vendorarchdir = $(vendorlibdir)/$(sitearch)
33
33
  vendorlibdir = $(vendordir)/$(ruby_version)
34
34
  vendordir = $(rubylibprefix)/vendor_ruby
35
- sitearchdir = $(DESTDIR)./.gem.20220507-2917-byy2x4
36
- sitelibdir = $(DESTDIR)./.gem.20220507-2917-byy2x4
35
+ sitearchdir = $(DESTDIR)./.gem.20220509-2921-u07c1b
36
+ sitelibdir = $(DESTDIR)./.gem.20220509-2921-u07c1b
37
37
  sitedir = $(rubylibprefix)/site_ruby
38
38
  rubyarchdir = $(rubylibdir)/$(arch)
39
39
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -0,0 +1,44 @@
1
+ # StringIO
2
+
3
+ ![ubuntu](https://github.com/ruby/stringio/workflows/ubuntu/badge.svg?branch=master&event=push)
4
+ ![macos](https://github.com/ruby/stringio/workflows/macos/badge.svg?branch=master&event=push)
5
+ ![windows](https://github.com/ruby/stringio/workflows/windows/badge.svg?branch=master&event=push)
6
+
7
+ Pseudo `IO` class from/to `String`.
8
+
9
+ This library is based on MoonWolf version written in Ruby. Thanks a lot.
10
+
11
+ ## Differences to `IO`
12
+
13
+ * `fileno` raises `NotImplementedError`.
14
+ * encoding conversion is not implemented, and ignored silently.
15
+
16
+ ## Installation
17
+
18
+ Add this line to your application's Gemfile:
19
+
20
+ ```ruby
21
+ gem 'stringio'
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install stringio
31
+
32
+ ## Development
33
+
34
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
35
+
36
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/stringio.
41
+
42
+ ## License
43
+
44
+ The gem is available as open source under the terms of the [2-Clause BSD License](https://opensource.org/licenses/BSD-2-Clause).
@@ -0,0 +1,267 @@
1
+
2
+ SHELL = /bin/sh
3
+
4
+ # V=0 quiet, V=1 verbose. other values don't work.
5
+ V = 0
6
+ V0 = $(V:0=)
7
+ Q1 = $(V:1=)
8
+ Q = $(Q1:0=@)
9
+ ECHO1 = $(V:1=@ :)
10
+ ECHO = $(ECHO1:0=@ echo)
11
+ NULLCMD = :
12
+
13
+ #### Start of system configuration section. ####
14
+
15
+ srcdir = .
16
+ topdir = /usr/local/include/ruby-3.1.0
17
+ hdrdir = $(topdir)
18
+ arch_hdrdir = /usr/local/include/ruby-3.1.0/x86_64-linux
19
+ PATH_SEPARATOR = :
20
+ VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
21
+ prefix = $(DESTDIR)/usr/local
22
+ rubysitearchprefix = $(rubylibprefix)/$(sitearch)
23
+ rubyarchprefix = $(rubylibprefix)/$(arch)
24
+ rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
25
+ exec_prefix = $(prefix)
26
+ vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
27
+ sitearchhdrdir = $(sitehdrdir)/$(sitearch)
28
+ rubyarchhdrdir = $(rubyhdrdir)/$(arch)
29
+ vendorhdrdir = $(rubyhdrdir)/vendor_ruby
30
+ sitehdrdir = $(rubyhdrdir)/site_ruby
31
+ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
32
+ vendorarchdir = $(vendorlibdir)/$(sitearch)
33
+ vendorlibdir = $(vendordir)/$(ruby_version)
34
+ vendordir = $(rubylibprefix)/vendor_ruby
35
+ sitearchdir = $(DESTDIR)./.gem.20220509-2921-dmdi21
36
+ sitelibdir = $(DESTDIR)./.gem.20220509-2921-dmdi21
37
+ sitedir = $(rubylibprefix)/site_ruby
38
+ rubyarchdir = $(rubylibdir)/$(arch)
39
+ rubylibdir = $(rubylibprefix)/$(ruby_version)
40
+ sitearchincludedir = $(includedir)/$(sitearch)
41
+ archincludedir = $(includedir)/$(arch)
42
+ sitearchlibdir = $(libdir)/$(sitearch)
43
+ archlibdir = $(libdir)/$(arch)
44
+ ridir = $(datarootdir)/$(RI_BASE_NAME)
45
+ mandir = $(datarootdir)/man
46
+ localedir = $(datarootdir)/locale
47
+ libdir = $(exec_prefix)/lib
48
+ psdir = $(docdir)
49
+ pdfdir = $(docdir)
50
+ dvidir = $(docdir)
51
+ htmldir = $(docdir)
52
+ infodir = $(datarootdir)/info
53
+ docdir = $(datarootdir)/doc/$(PACKAGE)
54
+ oldincludedir = $(DESTDIR)/usr/include
55
+ includedir = $(prefix)/include
56
+ runstatedir = $(localstatedir)/run
57
+ localstatedir = $(prefix)/var
58
+ sharedstatedir = $(prefix)/com
59
+ sysconfdir = $(prefix)/etc
60
+ datadir = $(datarootdir)
61
+ datarootdir = $(prefix)/share
62
+ libexecdir = $(exec_prefix)/libexec
63
+ sbindir = $(exec_prefix)/sbin
64
+ bindir = $(exec_prefix)/bin
65
+ archdir = $(rubyarchdir)
66
+
67
+
68
+ CC_WRAPPER =
69
+ CC = gcc
70
+ CXX = g++
71
+ LIBRUBY = $(LIBRUBY_A)
72
+ LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
73
+ LIBRUBYARG_SHARED = -Wl,-rpath,$(libdir) -L$(libdir)
74
+ LIBRUBYARG_STATIC = -Wl,-rpath,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static $(MAINLIBS)
75
+ empty =
76
+ OUTFLAG = -o $(empty)
77
+ COUTFLAG = -o $(empty)
78
+ CSRCFLAG = $(empty)
79
+
80
+ RUBY_EXTCONF_H =
81
+ cflags = $(optflags) $(debugflags) $(warnflags)
82
+ cxxflags =
83
+ optflags = -O3 -fno-fast-math
84
+ debugflags = -ggdb3
85
+ warnflags = -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -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
86
+ cppflags =
87
+ CCDLFLAGS = -fPIC
88
+ CFLAGS = $(CCDLFLAGS) $(cflags) $(ARCH_FLAG)
89
+ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
90
+ DEFS =
91
+ CPPFLAGS = -DHAVE_RB_IO_EXTRACT_MODEENC $(DEFS) $(cppflags)
92
+ CXXFLAGS = $(CCDLFLAGS) $(ARCH_FLAG)
93
+ ldflags = -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic
94
+ dldflags = -Wl,--compress-debug-sections=zlib
95
+ ARCH_FLAG =
96
+ DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
97
+ LDSHARED = $(CC) -shared
98
+ LDSHAREDXX = $(CXX) -shared
99
+ AR = gcc-ar
100
+ EXEEXT =
101
+
102
+ RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
103
+ RUBY_SO_NAME = ruby
104
+ RUBYW_INSTALL_NAME =
105
+ RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
106
+ RUBYW_BASE_NAME = rubyw
107
+ RUBY_BASE_NAME = ruby
108
+
109
+ arch = x86_64-linux
110
+ sitearch = $(arch)
111
+ ruby_version = 3.1.0
112
+ ruby = $(bindir)/$(RUBY_BASE_NAME)
113
+ RUBY = $(ruby)
114
+ ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h
115
+
116
+ RM = rm -f
117
+ RM_RF = rm -fr
118
+ RMDIRS = rmdir --ignore-fail-on-non-empty -p
119
+ MAKEDIRS = /usr/bin/mkdir -p
120
+ INSTALL = /usr/bin/install -c
121
+ INSTALL_PROG = $(INSTALL) -m 0755
122
+ INSTALL_DATA = $(INSTALL) -m 644
123
+ COPY = cp
124
+ TOUCH = exit >
125
+
126
+ #### End of system configuration section. ####
127
+
128
+ preload =
129
+ libpath = . $(libdir)
130
+ LIBPATH = -L. -L$(libdir) -Wl,-rpath,$(libdir)
131
+ DEFFILE =
132
+
133
+ CLEANFILES = mkmf.log
134
+ DISTCLEANFILES =
135
+ DISTCLEANDIRS =
136
+
137
+ extout =
138
+ extout_prefix =
139
+ target_prefix =
140
+ LOCAL_LIBS =
141
+ LIBS = -lm -lc
142
+ ORIG_SRCS = stringio.c
143
+ SRCS = $(ORIG_SRCS)
144
+ OBJS = stringio.o
145
+ HDRS =
146
+ LOCAL_HDRS =
147
+ TARGET = stringio
148
+ TARGET_NAME = stringio
149
+ TARGET_ENTRY = Init_$(TARGET_NAME)
150
+ DLLIB = $(TARGET).so
151
+ EXTSTATIC =
152
+ STATIC_LIB =
153
+
154
+ TIMESTAMP_DIR = .
155
+ BINDIR = $(bindir)
156
+ RUBYCOMMONDIR = $(sitedir)$(target_prefix)
157
+ RUBYLIBDIR = $(sitelibdir)$(target_prefix)
158
+ RUBYARCHDIR = $(sitearchdir)$(target_prefix)
159
+ HDRDIR = $(sitehdrdir)$(target_prefix)
160
+ ARCHHDRDIR = $(sitearchhdrdir)$(target_prefix)
161
+ TARGET_SO_DIR =
162
+ TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
163
+ CLEANLIBS = $(TARGET_SO) false
164
+ CLEANOBJS = *.o *.bak
165
+
166
+ all: $(DLLIB)
167
+ static: $(STATIC_LIB)
168
+ .PHONY: all install static install-so install-rb
169
+ .PHONY: clean clean-so clean-static clean-rb
170
+
171
+ clean-static::
172
+ clean-rb-default::
173
+ clean-rb::
174
+ clean-so::
175
+ clean: clean-so clean-static clean-rb-default clean-rb
176
+ -$(Q)$(RM_RF) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
177
+
178
+ distclean-rb-default::
179
+ distclean-rb::
180
+ distclean-so::
181
+ distclean-static::
182
+ distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
183
+ -$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
184
+ -$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
185
+ -$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
186
+
187
+ realclean: distclean
188
+ install: install-so install-rb
189
+
190
+ install-so: $(DLLIB) $(TIMESTAMP_DIR)/.sitearchdir.time
191
+ $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
192
+ clean-static::
193
+ -$(Q)$(RM) $(STATIC_LIB)
194
+ install-rb: pre-install-rb do-install-rb install-rb-default
195
+ install-rb-default: pre-install-rb-default do-install-rb-default
196
+ pre-install-rb: Makefile
197
+ pre-install-rb-default: Makefile
198
+ do-install-rb:
199
+ do-install-rb-default:
200
+ pre-install-rb-default:
201
+ @$(NULLCMD)
202
+ $(TIMESTAMP_DIR)/.sitearchdir.time:
203
+ $(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
204
+ $(Q) $(TOUCH) $@
205
+
206
+ site-install: site-install-so site-install-rb
207
+ site-install-so: install-so
208
+ site-install-rb: install-rb
209
+
210
+ .SUFFIXES: .c .m .cc .mm .cxx .cpp .o .S
211
+
212
+ .cc.o:
213
+ $(ECHO) compiling $(<)
214
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
215
+
216
+ .cc.S:
217
+ $(ECHO) translating $(<)
218
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
219
+
220
+ .mm.o:
221
+ $(ECHO) compiling $(<)
222
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
223
+
224
+ .mm.S:
225
+ $(ECHO) translating $(<)
226
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
227
+
228
+ .cxx.o:
229
+ $(ECHO) compiling $(<)
230
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
231
+
232
+ .cxx.S:
233
+ $(ECHO) translating $(<)
234
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
235
+
236
+ .cpp.o:
237
+ $(ECHO) compiling $(<)
238
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
239
+
240
+ .cpp.S:
241
+ $(ECHO) translating $(<)
242
+ $(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
243
+
244
+ .c.o:
245
+ $(ECHO) compiling $(<)
246
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
247
+
248
+ .c.S:
249
+ $(ECHO) translating $(<)
250
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
251
+
252
+ .m.o:
253
+ $(ECHO) compiling $(<)
254
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
255
+
256
+ .m.S:
257
+ $(ECHO) translating $(<)
258
+ $(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
259
+
260
+ $(TARGET_SO): $(OBJS) Makefile
261
+ $(ECHO) linking shared-object $(DLLIB)
262
+ -$(Q)$(RM) $(@)
263
+ $(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
264
+
265
+
266
+
267
+ $(OBJS): $(HDRS) $(ruby_headers)
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: false
2
+ require 'mkmf'
3
+ have_func("rb_io_extract_modeenc", "ruby/io.h")
4
+ create_makefile('stringio')