alloy_sdk 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1309) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +46 -0
  4. data/README.md +28 -0
  5. data/Rakefile +8 -0
  6. data/lib/alloy_sdk/version.rb +5 -0
  7. data/lib/alloy_sdk.rb +56 -0
  8. data/sig/alloy_sdk.rbs +4 -0
  9. data/vendor/bundle/ruby/2.6.0/bin/htmldiff +29 -0
  10. data/vendor/bundle/ruby/2.6.0/bin/httparty +27 -0
  11. data/vendor/bundle/ruby/2.6.0/bin/ldiff +29 -0
  12. data/vendor/bundle/ruby/2.6.0/bin/rake +27 -0
  13. data/vendor/bundle/ruby/2.6.0/bin/rspec +27 -0
  14. data/vendor/bundle/ruby/2.6.0/cache/diff-lcs-1.5.0.gem +0 -0
  15. data/vendor/bundle/ruby/2.6.0/cache/httparty-0.13.1.gem +0 -0
  16. data/vendor/bundle/ruby/2.6.0/cache/json-1.8.6.gem +0 -0
  17. data/vendor/bundle/ruby/2.6.0/cache/multi_xml-0.6.0.gem +0 -0
  18. data/vendor/bundle/ruby/2.6.0/cache/rake-13.0.6.gem +0 -0
  19. data/vendor/bundle/ruby/2.6.0/cache/rspec-3.11.0.gem +0 -0
  20. data/vendor/bundle/ruby/2.6.0/cache/rspec-core-3.11.0.gem +0 -0
  21. data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.11.0.gem +0 -0
  22. data/vendor/bundle/ruby/2.6.0/cache/rspec-mocks-3.11.1.gem +0 -0
  23. data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.11.0.gem +0 -0
  24. data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-21/2.6.0/json-1.8.6/gem.build_complete +0 -0
  25. data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-21/2.6.0/json-1.8.6/gem_make.out +13 -0
  26. data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-21/2.6.0/json-1.8.6/json/ext/generator.bundle +0 -0
  27. data/vendor/bundle/ruby/2.6.0/extensions/universal-darwin-21/2.6.0/json-1.8.6/json/ext/parser.bundle +0 -0
  28. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/.rspec +1 -0
  29. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/Code-of-Conduct.md +74 -0
  30. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/Contributing.md +119 -0
  31. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/History.md +400 -0
  32. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/License.md +39 -0
  33. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/Manifest.txt +59 -0
  34. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/README.rdoc +84 -0
  35. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/Rakefile +121 -0
  36. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/bin/htmldiff +35 -0
  37. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/bin/ldiff +9 -0
  38. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/docs/COPYING.txt +339 -0
  39. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/docs/artistic.txt +127 -0
  40. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/array.rb +7 -0
  41. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +9 -0
  42. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/block.rb +37 -0
  43. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/callbacks.rb +325 -0
  44. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/change.rb +174 -0
  45. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/htmldiff.rb +150 -0
  46. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/hunk.rb +358 -0
  47. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/internals.rb +308 -0
  48. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/ldiff.rb +171 -0
  49. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs/string.rb +5 -0
  50. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff/lcs.rb +739 -0
  51. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/lib/diff-lcs.rb +3 -0
  52. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +89 -0
  53. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/diff_spec.rb +51 -0
  54. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/aX +1 -0
  55. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/bXaX +1 -0
  56. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ds1.csv +50 -0
  57. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ds2.csv +51 -0
  58. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff +4 -0
  59. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-c +7 -0
  60. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-e +3 -0
  61. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-f +3 -0
  62. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-u +5 -0
  63. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef +4 -0
  64. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-c +15 -0
  65. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-e +3 -0
  66. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-f +3 -0
  67. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-u +9 -0
  68. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2 +7 -0
  69. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
  70. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
  71. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
  72. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
  73. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
  74. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef +4 -0
  75. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef2 +17 -0
  76. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef +4 -0
  77. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef2 +14 -0
  78. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/hunk_spec.rb +83 -0
  79. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +154 -0
  80. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/lcs_spec.rb +56 -0
  81. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/ldiff_spec.rb +87 -0
  82. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/patch_spec.rb +416 -0
  83. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +214 -0
  84. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/spec_helper.rb +374 -0
  85. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +310 -0
  86. data/vendor/bundle/ruby/2.6.0/gems/diff-lcs-1.5.0/spec/traverse_sequences_spec.rb +137 -0
  87. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/.gitignore +10 -0
  88. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/.travis.yml +7 -0
  89. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/Gemfile +14 -0
  90. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/Guardfile +16 -0
  91. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/History +303 -0
  92. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/MIT-LICENSE +20 -0
  93. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/README.md +74 -0
  94. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/Rakefile +12 -0
  95. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/bin/httparty +117 -0
  96. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/cucumber.yml +1 -0
  97. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/aaws.rb +32 -0
  98. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/basic.rb +28 -0
  99. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/crack.rb +19 -0
  100. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/custom_parsers.rb +67 -0
  101. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/delicious.rb +37 -0
  102. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/google.rb +16 -0
  103. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/headers_and_user_agents.rb +6 -0
  104. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/nokogiri_html_parser.rb +22 -0
  105. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/rubyurl.rb +14 -0
  106. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/stackexchange.rb +24 -0
  107. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/tripit_sign_in.rb +33 -0
  108. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/twitter.rb +31 -0
  109. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/examples/whoismyrep.rb +10 -0
  110. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/basic_authentication.feature +20 -0
  111. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/command_line.feature +7 -0
  112. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/deals_with_http_error_codes.feature +26 -0
  113. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/digest_authentication.feature +20 -0
  114. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/handles_compressed_responses.feature +27 -0
  115. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/handles_multiple_formats.feature +57 -0
  116. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/steps/env.rb +22 -0
  117. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/steps/httparty_response_steps.rb +52 -0
  118. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/steps/httparty_steps.rb +43 -0
  119. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/steps/mongrel_helper.rb +94 -0
  120. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/steps/remote_service_steps.rb +74 -0
  121. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/supports_read_timeout_option.feature +13 -0
  122. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/supports_redirection.feature +22 -0
  123. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/features/supports_timeout_option.feature +13 -0
  124. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/httparty.gemspec +26 -0
  125. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/connection_adapter.rb +187 -0
  126. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/cookie_hash.rb +22 -0
  127. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/core_extensions.rb +32 -0
  128. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/exceptions.rb +29 -0
  129. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/hash_conversions.rb +51 -0
  130. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/logger/apache_logger.rb +22 -0
  131. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/logger/curl_logger.rb +48 -0
  132. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/logger/logger.rb +18 -0
  133. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/module_inheritable_attributes.rb +56 -0
  134. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/net_digest_auth.rb +84 -0
  135. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/parser.rb +141 -0
  136. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/request.rb +331 -0
  137. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/response/headers.rb +31 -0
  138. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/response.rb +72 -0
  139. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty/version.rb +3 -0
  140. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/lib/httparty.rb +600 -0
  141. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/script/release +42 -0
  142. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/delicious.xml +23 -0
  143. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/empty.xml +0 -0
  144. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/google.html +3 -0
  145. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/generate.sh +29 -0
  146. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/1fe462c2.0 +16 -0
  147. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/bogushost.crt +13 -0
  148. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/ca.crt +16 -0
  149. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/ca.key +15 -0
  150. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/selfsigned.crt +14 -0
  151. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/server.crt +13 -0
  152. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/server.key +15 -0
  153. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/ssl/openssl-exts.cnf +9 -0
  154. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/twitter.csv +2 -0
  155. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/twitter.json +1 -0
  156. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/twitter.xml +403 -0
  157. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/fixtures/undefined_method_add_node_for_nil.xml +2 -0
  158. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/connection_adapter_spec.rb +354 -0
  159. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/cookie_hash_spec.rb +83 -0
  160. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/exception_spec.rb +23 -0
  161. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/logger/apache_logger_spec.rb +26 -0
  162. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/logger/curl_logger_spec.rb +18 -0
  163. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/logger/logger_spec.rb +22 -0
  164. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/net_digest_auth_spec.rb +152 -0
  165. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/parser_spec.rb +165 -0
  166. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/request_spec.rb +638 -0
  167. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/response_spec.rb +221 -0
  168. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty/ssl_spec.rb +74 -0
  169. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/httparty_spec.rb +764 -0
  170. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/spec.opts +2 -0
  171. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/spec_helper.rb +37 -0
  172. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/support/ssl_test_helper.rb +47 -0
  173. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/support/ssl_test_server.rb +80 -0
  174. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/spec/support/stub_response.rb +43 -0
  175. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/website/css/common.css +47 -0
  176. data/vendor/bundle/ruby/2.6.0/gems/httparty-0.13.1/website/index.html +73 -0
  177. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/.gitignore +17 -0
  178. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/.travis.yml +18 -0
  179. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/CHANGES +307 -0
  180. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/Gemfile +7 -0
  181. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/README-json-jruby.markdown +33 -0
  182. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/README.md +345 -0
  183. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/Rakefile +402 -0
  184. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/TODO +1 -0
  185. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/VERSION +1 -0
  186. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/data/example.json +1 -0
  187. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/data/index.html +38 -0
  188. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/data/prototype.js +4184 -0
  189. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/diagrams/.keep +0 -0
  190. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/fbuffer/fbuffer.h +190 -0
  191. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  192. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/generator/depend +1 -0
  193. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/generator/extconf.rb +4 -0
  194. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/generator/generator.c +1492 -0
  195. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/generator/generator.h +177 -0
  196. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  197. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/parser/depend +1 -0
  198. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/parser/extconf.rb +3 -0
  199. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/parser/parser.c +2240 -0
  200. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/parser/parser.h +92 -0
  201. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/ext/parser/parser.rl +963 -0
  202. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/ext/json/extconf.rb +3 -0
  203. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/install.rb +23 -0
  204. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/ByteListTranscoder.java +166 -0
  205. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/Generator.java +446 -0
  206. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/GeneratorMethods.java +231 -0
  207. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/GeneratorService.java +42 -0
  208. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/GeneratorState.java +542 -0
  209. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/OptionsReader.java +113 -0
  210. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/Parser.java +2644 -0
  211. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/Parser.rl +968 -0
  212. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/ParserService.java +34 -0
  213. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/RuntimeInfo.java +120 -0
  214. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/StringDecoder.java +166 -0
  215. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/StringEncoder.java +111 -0
  216. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/java/src/json/ext/Utils.java +88 -0
  217. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/json-java.gemspec +38 -0
  218. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/json.gemspec +0 -0
  219. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/json_pure.gemspec +37 -0
  220. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/bigdecimal.rb +28 -0
  221. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/complex.rb +28 -0
  222. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/core.rb +11 -0
  223. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/date.rb +34 -0
  224. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/date_time.rb +50 -0
  225. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/exception.rb +31 -0
  226. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/ostruct.rb +31 -0
  227. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/range.rb +29 -0
  228. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/rational.rb +27 -0
  229. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/regexp.rb +30 -0
  230. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/struct.rb +30 -0
  231. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/symbol.rb +25 -0
  232. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/add/time.rb +38 -0
  233. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/common.rb +484 -0
  234. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/ext/.keep +0 -0
  235. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/ext.rb +21 -0
  236. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/generic_object.rb +70 -0
  237. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/pure/generator.rb +530 -0
  238. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/pure/parser.rb +359 -0
  239. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/pure.rb +21 -0
  240. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json/version.rb +8 -0
  241. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/lib/json.rb +62 -0
  242. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail1.json +1 -0
  243. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail10.json +1 -0
  244. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail11.json +1 -0
  245. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail12.json +1 -0
  246. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail13.json +1 -0
  247. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail14.json +1 -0
  248. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail18.json +1 -0
  249. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail19.json +1 -0
  250. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail2.json +1 -0
  251. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail20.json +1 -0
  252. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail21.json +1 -0
  253. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail22.json +1 -0
  254. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail23.json +1 -0
  255. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail24.json +1 -0
  256. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail25.json +1 -0
  257. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail27.json +2 -0
  258. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail28.json +2 -0
  259. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail3.json +1 -0
  260. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail4.json +1 -0
  261. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail5.json +1 -0
  262. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail6.json +1 -0
  263. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail7.json +1 -0
  264. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail8.json +1 -0
  265. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/fail9.json +1 -0
  266. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/pass1.json +56 -0
  267. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/pass15.json +1 -0
  268. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/pass16.json +1 -0
  269. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/pass17.json +1 -0
  270. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/pass2.json +1 -0
  271. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/pass26.json +1 -0
  272. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/fixtures/pass3.json +6 -0
  273. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/setup_variant.rb +11 -0
  274. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/test_json.rb +519 -0
  275. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/test_json_addition.rb +196 -0
  276. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/test_json_encoding.rb +65 -0
  277. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/test_json_fixtures.rb +35 -0
  278. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/test_json_generate.rb +348 -0
  279. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/test_json_generic_object.rb +75 -0
  280. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/test_json_string_matching.rb +39 -0
  281. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tests/test_json_unicode.rb +72 -0
  282. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tools/diff.sh +18 -0
  283. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tools/fuzz.rb +139 -0
  284. data/vendor/bundle/ruby/2.6.0/gems/json-1.8.6/tools/server.rb +62 -0
  285. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/.yardopts +8 -0
  286. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/CHANGELOG.md +93 -0
  287. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/CONTRIBUTING.md +51 -0
  288. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/LICENSE.md +20 -0
  289. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/README.md +95 -0
  290. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/libxml.rb +33 -0
  291. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/libxml2_parser.rb +72 -0
  292. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/nokogiri.rb +35 -0
  293. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/oga.rb +73 -0
  294. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/ox.rb +91 -0
  295. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/rexml.rb +113 -0
  296. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb +45 -0
  297. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/lib/multi_xml.rb +305 -0
  298. data/vendor/bundle/ruby/2.6.0/gems/multi_xml-0.6.0/multi_xml.gemspec +19 -0
  299. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/History.rdoc +2403 -0
  300. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
  301. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/README.rdoc +155 -0
  302. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
  303. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
  304. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
  305. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/a.c +6 -0
  306. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/b.c +6 -0
  307. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/example/main.c +11 -0
  308. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
  309. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
  310. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
  311. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/rake.1 +156 -0
  312. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
  313. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
  314. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/exe/rake +27 -0
  315. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
  316. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
  317. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
  318. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
  319. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
  320. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
  321. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
  322. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
  323. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
  324. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
  325. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
  326. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
  327. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
  328. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
  329. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
  330. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
  331. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
  332. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
  333. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
  334. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
  335. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
  336. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
  337. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
  338. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
  339. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
  340. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
  341. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
  342. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
  343. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
  344. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
  345. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
  346. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
  347. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
  348. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
  349. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
  350. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
  351. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
  352. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
  353. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
  354. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
  355. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
  356. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
  357. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake.rb +71 -0
  358. data/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/rake.gemspec +100 -0
  359. data/vendor/bundle/ruby/2.6.0/gems/rspec-3.11.0/LICENSE.md +27 -0
  360. data/vendor/bundle/ruby/2.6.0/gems/rspec-3.11.0/README.md +47 -0
  361. data/vendor/bundle/ruby/2.6.0/gems/rspec-3.11.0/lib/rspec/version.rb +5 -0
  362. data/vendor/bundle/ruby/2.6.0/gems/rspec-3.11.0/lib/rspec.rb +3 -0
  363. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/.document +5 -0
  364. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/.yardopts +8 -0
  365. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/Changelog.md +2355 -0
  366. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/LICENSE.md +26 -0
  367. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/README.md +384 -0
  368. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/exe/rspec +4 -0
  369. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/autorun.rb +3 -0
  370. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/backtrace_formatter.rb +65 -0
  371. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/coordinator.rb +62 -0
  372. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
  373. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/fork_runner.rb +138 -0
  374. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/server.rb +61 -0
  375. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/shell_command.rb +126 -0
  376. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
  377. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/utilities.rb +69 -0
  378. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +2383 -0
  379. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration_options.rb +233 -0
  380. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/did_you_mean.rb +46 -0
  381. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/drb.rb +120 -0
  382. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/dsl.rb +98 -0
  383. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb +666 -0
  384. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb +905 -0
  385. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/example_status_persister.rb +235 -0
  386. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/filter_manager.rb +231 -0
  387. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/flat_map.rb +20 -0
  388. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
  389. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
  390. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  391. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
  392. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
  393. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/console_codes.rb +76 -0
  394. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  395. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
  396. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +521 -0
  397. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
  398. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  399. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/helpers.rb +118 -0
  400. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
  401. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +414 -0
  402. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
  403. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
  404. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  405. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  406. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/protocol.rb +182 -0
  407. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  408. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  409. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters.rb +279 -0
  410. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb +646 -0
  411. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/invocations.rb +87 -0
  412. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/memoized_helpers.rb +580 -0
  413. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/metadata.rb +498 -0
  414. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/metadata_filter.rb +255 -0
  415. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  416. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  417. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  418. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
  419. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  420. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  421. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/notifications.rb +521 -0
  422. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +325 -0
  423. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/ordering.rb +169 -0
  424. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/output_wrapper.rb +29 -0
  425. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/pending.rb +157 -0
  426. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/profiler.rb +34 -0
  427. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer/.rspec +1 -0
  428. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
  429. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer.rb +48 -0
  430. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/rake_task.rb +188 -0
  431. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb +265 -0
  432. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/ruby_project.rb +53 -0
  433. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb +212 -0
  434. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/sandbox.rb +37 -0
  435. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/set.rb +54 -0
  436. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/shared_context.rb +55 -0
  437. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/shared_example_group.rb +271 -0
  438. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/shell_escape.rb +49 -0
  439. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  440. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +9 -0
  441. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/warnings.rb +40 -0
  442. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core/world.rb +287 -0
  443. data/vendor/bundle/ruby/2.6.0/gems/rspec-core-3.11.0/lib/rspec/core.rb +212 -0
  444. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/.document +5 -0
  445. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/.yardopts +6 -0
  446. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/Changelog.md +1267 -0
  447. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/LICENSE.md +25 -0
  448. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/README.md +320 -0
  449. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  450. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/configuration.rb +230 -0
  451. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb +163 -0
  452. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/fail_with.rb +39 -0
  453. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/failure_aggregator.rb +212 -0
  454. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb +182 -0
  455. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/minitest_integration.rb +58 -0
  456. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/syntax.rb +132 -0
  457. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/version.rb +8 -0
  458. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations.rb +82 -0
  459. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
  460. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/all.rb +86 -0
  461. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/base_matcher.rb +198 -0
  462. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be.rb +191 -0
  463. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
  464. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
  465. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
  466. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
  467. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/change.rb +450 -0
  468. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/compound.rb +290 -0
  469. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
  470. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
  471. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/cover.rb +24 -0
  472. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/eq.rb +40 -0
  473. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/eql.rb +34 -0
  474. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/equal.rb +81 -0
  475. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/exist.rb +90 -0
  476. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/has.rb +167 -0
  477. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  478. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/include.rb +206 -0
  479. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/match.rb +106 -0
  480. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/operators.rb +128 -0
  481. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/output.rb +207 -0
  482. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/raise_error.rb +271 -0
  483. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/respond_to.rb +200 -0
  484. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  485. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  486. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
  487. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/yield.rb +375 -0
  488. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in.rb +53 -0
  489. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/composable.rb +171 -0
  490. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/dsl.rb +544 -0
  491. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/english_phrasing.rb +58 -0
  492. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
  493. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/fail_matchers.rb +42 -0
  494. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
  495. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
  496. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/matcher_protocol.rb +105 -0
  497. data/vendor/bundle/ruby/2.6.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers.rb +1041 -0
  498. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/.document +5 -0
  499. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/.yardopts +6 -0
  500. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/Changelog.md +1193 -0
  501. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/LICENSE.md +25 -0
  502. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/README.md +463 -0
  503. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
  504. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  505. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  506. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  507. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  508. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  509. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/recorder.rb +295 -0
  510. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  511. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  512. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance.rb +11 -0
  513. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/argument_list_matcher.rb +115 -0
  514. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/argument_matchers.rb +322 -0
  515. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/configuration.rb +212 -0
  516. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/error_generator.rb +369 -0
  517. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/example_methods.rb +434 -0
  518. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  519. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/marshal_extension.rb +41 -0
  520. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  521. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
  522. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive.rb +133 -0
  523. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  524. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  525. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_chain.rb +87 -0
  526. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_expectation.rb +822 -0
  527. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_double.rb +291 -0
  528. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_reference.rb +202 -0
  529. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/minitest_integration.rb +68 -0
  530. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/mutate_const.rb +339 -0
  531. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/object_reference.rb +149 -0
  532. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/order_group.rb +81 -0
  533. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/proxy.rb +525 -0
  534. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/space.rb +238 -0
  535. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/standalone.rb +3 -0
  536. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/syntax.rb +325 -0
  537. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/targets.rb +124 -0
  538. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/test_double.rb +171 -0
  539. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_double.rb +121 -0
  540. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  541. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_proxy.rb +220 -0
  542. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/version.rb +9 -0
  543. data/vendor/bundle/ruby/2.6.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks.rb +133 -0
  544. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/Changelog.md +350 -0
  545. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/LICENSE.md +23 -0
  546. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/README.md +40 -0
  547. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/caller_filter.rb +83 -0
  548. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/comparable_version.rb +46 -0
  549. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/differ.rb +215 -0
  550. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/directory_maker.rb +63 -0
  551. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/encoded_string.rb +161 -0
  552. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
  553. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/hunk_generator.rb +47 -0
  554. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/matcher_definition.rb +42 -0
  555. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/method_signature_verifier.rb +438 -0
  556. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/mutex.rb +73 -0
  557. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/object_formatter.rb +275 -0
  558. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/recursive_const_methods.rb +76 -0
  559. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/reentrant_mutex.rb +78 -0
  560. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/ruby_features.rb +191 -0
  561. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/source/location.rb +21 -0
  562. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/source/node.rb +110 -0
  563. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/source/token.rb +94 -0
  564. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/source.rb +85 -0
  565. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
  566. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/diff_helpers.rb +31 -0
  567. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/formatting_support.rb +9 -0
  568. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/in_sub_process.rb +67 -0
  569. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  570. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/shell_out.rb +105 -0
  571. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/stderr_splitter.rb +75 -0
  572. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/string_matcher.rb +45 -0
  573. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  574. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  575. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/spec.rb +82 -0
  576. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/version.rb +7 -0
  577. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/warnings.rb +39 -0
  578. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support/with_keywords_when_needed.rb +33 -0
  579. data/vendor/bundle/ruby/2.6.0/gems/rspec-support-3.11.0/lib/rspec/support.rb +154 -0
  580. data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +59 -0
  581. data/vendor/bundle/ruby/2.6.0/specifications/httparty-0.13.1.gemspec +38 -0
  582. data/vendor/bundle/ruby/2.6.0/specifications/json-1.8.6.gemspec +0 -0
  583. data/vendor/bundle/ruby/2.6.0/specifications/multi_xml-0.6.0.gemspec +32 -0
  584. data/vendor/bundle/ruby/2.6.0/specifications/rake-13.0.6.gemspec +26 -0
  585. data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +43 -0
  586. data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +63 -0
  587. data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.11.0.gemspec +51 -0
  588. data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.11.1.gemspec +51 -0
  589. data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.11.0.gemspec +39 -0
  590. data/vendor/bundle/ruby/3.0.0/bin/htmldiff +27 -0
  591. data/vendor/bundle/ruby/3.0.0/bin/httparty +27 -0
  592. data/vendor/bundle/ruby/3.0.0/bin/ldiff +27 -0
  593. data/vendor/bundle/ruby/3.0.0/bin/rake +27 -0
  594. data/vendor/bundle/ruby/3.0.0/bin/rspec +27 -0
  595. data/vendor/bundle/ruby/3.0.0/cache/diff-lcs-1.5.0.gem +0 -0
  596. data/vendor/bundle/ruby/3.0.0/cache/faraday-1.0.1.gem +0 -0
  597. data/vendor/bundle/ruby/3.0.0/cache/httparty-0.13.1.gem +0 -0
  598. data/vendor/bundle/ruby/3.0.0/cache/json-1.8.6.gem +0 -0
  599. data/vendor/bundle/ruby/3.0.0/cache/multi_xml-0.6.0.gem +0 -0
  600. data/vendor/bundle/ruby/3.0.0/cache/multipart-post-2.1.1.gem +0 -0
  601. data/vendor/bundle/ruby/3.0.0/cache/rake-13.0.6.gem +0 -0
  602. data/vendor/bundle/ruby/3.0.0/cache/rspec-3.11.0.gem +0 -0
  603. data/vendor/bundle/ruby/3.0.0/cache/rspec-core-3.11.0.gem +0 -0
  604. data/vendor/bundle/ruby/3.0.0/cache/rspec-expectations-3.11.0.gem +0 -0
  605. data/vendor/bundle/ruby/3.0.0/cache/rspec-mocks-3.11.1.gem +0 -0
  606. data/vendor/bundle/ruby/3.0.0/cache/rspec-support-3.11.0.gem +0 -0
  607. data/vendor/bundle/ruby/3.0.0/cache/securerandom-0.2.0.gem +0 -0
  608. data/vendor/bundle/ruby/3.0.0/extensions/x86_64-darwin-21/3.0.0/json-1.8.6/gem.build_complete +0 -0
  609. data/vendor/bundle/ruby/3.0.0/extensions/x86_64-darwin-21/3.0.0/json-1.8.6/gem_make.out +13 -0
  610. data/vendor/bundle/ruby/3.0.0/extensions/x86_64-darwin-21/3.0.0/json-1.8.6/json/ext/generator.bundle +0 -0
  611. data/vendor/bundle/ruby/3.0.0/extensions/x86_64-darwin-21/3.0.0/json-1.8.6/json/ext/parser.bundle +0 -0
  612. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/.rspec +1 -0
  613. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/Code-of-Conduct.md +74 -0
  614. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/Contributing.md +119 -0
  615. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/History.md +400 -0
  616. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/License.md +39 -0
  617. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/Manifest.txt +59 -0
  618. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/README.rdoc +84 -0
  619. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/Rakefile +121 -0
  620. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/bin/htmldiff +35 -0
  621. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/bin/ldiff +9 -0
  622. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/docs/COPYING.txt +339 -0
  623. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/docs/artistic.txt +127 -0
  624. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/array.rb +7 -0
  625. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/backports.rb +9 -0
  626. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/block.rb +37 -0
  627. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/callbacks.rb +325 -0
  628. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/change.rb +174 -0
  629. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/htmldiff.rb +150 -0
  630. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/hunk.rb +358 -0
  631. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/internals.rb +308 -0
  632. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/ldiff.rb +171 -0
  633. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs/string.rb +5 -0
  634. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff/lcs.rb +739 -0
  635. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/lib/diff-lcs.rb +3 -0
  636. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/change_spec.rb +89 -0
  637. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/diff_spec.rb +51 -0
  638. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/aX +1 -0
  639. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/bXaX +1 -0
  640. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ds1.csv +50 -0
  641. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ds2.csv +51 -0
  642. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff +4 -0
  643. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-c +7 -0
  644. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-e +3 -0
  645. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-f +3 -0
  646. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff-u +5 -0
  647. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef +4 -0
  648. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-c +15 -0
  649. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-e +3 -0
  650. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-f +3 -0
  651. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef-u +9 -0
  652. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2 +7 -0
  653. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
  654. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
  655. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
  656. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
  657. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
  658. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef +4 -0
  659. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/new-chef2 +17 -0
  660. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef +4 -0
  661. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/fixtures/old-chef2 +14 -0
  662. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/hunk_spec.rb +83 -0
  663. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/issues_spec.rb +154 -0
  664. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/lcs_spec.rb +56 -0
  665. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/ldiff_spec.rb +87 -0
  666. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/patch_spec.rb +416 -0
  667. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/sdiff_spec.rb +214 -0
  668. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/spec_helper.rb +374 -0
  669. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/traverse_balanced_spec.rb +310 -0
  670. data/vendor/bundle/ruby/3.0.0/gems/diff-lcs-1.5.0/spec/traverse_sequences_spec.rb +137 -0
  671. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/CHANGELOG.md +276 -0
  672. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/LICENSE.md +20 -0
  673. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/README.md +55 -0
  674. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/Rakefile +7 -0
  675. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/examples/client_spec.rb +65 -0
  676. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/examples/client_test.rb +79 -0
  677. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http.rb +286 -0
  678. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/em_http_ssl_patch.rb +62 -0
  679. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb +69 -0
  680. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony.rb +150 -0
  681. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/excon.rb +124 -0
  682. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/httpclient.rb +152 -0
  683. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb +219 -0
  684. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http_persistent.rb +91 -0
  685. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/patron.rb +132 -0
  686. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/rack.rb +75 -0
  687. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/test.rb +246 -0
  688. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter/typhoeus.rb +15 -0
  689. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter.rb +115 -0
  690. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/adapter_registry.rb +30 -0
  691. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/autoload.rb +95 -0
  692. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/connection.rb +614 -0
  693. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb +37 -0
  694. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/encoders/flat_params_encoder.rb +98 -0
  695. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/encoders/nested_params_encoder.rb +171 -0
  696. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/error.rb +132 -0
  697. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/file_part.rb +128 -0
  698. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/logging/formatter.rb +105 -0
  699. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/middleware.rb +21 -0
  700. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/middleware_registry.rb +129 -0
  701. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/options/connection_options.rb +22 -0
  702. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/options/env.rb +181 -0
  703. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/options/proxy_options.rb +28 -0
  704. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/options/request_options.rb +22 -0
  705. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/options/ssl_options.rb +59 -0
  706. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/options.rb +222 -0
  707. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/param_part.rb +53 -0
  708. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/parameters.rb +5 -0
  709. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb +248 -0
  710. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/request/authorization.rb +55 -0
  711. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/request/basic_authentication.rb +20 -0
  712. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/request/instrumentation.rb +54 -0
  713. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/request/multipart.rb +99 -0
  714. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/request/retry.rb +239 -0
  715. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/request/token_authentication.rb +20 -0
  716. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/request/url_encoded.rb +56 -0
  717. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/request.rb +146 -0
  718. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/response/logger.rb +33 -0
  719. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/response/raise_error.rb +45 -0
  720. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/response.rb +107 -0
  721. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/utils/headers.rb +139 -0
  722. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/utils/params_hash.rb +61 -0
  723. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday/utils.rb +117 -0
  724. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/lib/faraday.rb +166 -0
  725. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/external_adapters/faraday_specs_setup.rb +14 -0
  726. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/em_http_spec.rb +47 -0
  727. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/em_synchrony_spec.rb +16 -0
  728. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/excon_spec.rb +49 -0
  729. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/httpclient_spec.rb +73 -0
  730. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_persistent_spec.rb +57 -0
  731. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/net_http_spec.rb +64 -0
  732. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/patron_spec.rb +18 -0
  733. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/rack_spec.rb +8 -0
  734. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/typhoeus_spec.rb +7 -0
  735. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter_registry_spec.rb +28 -0
  736. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter_spec.rb +55 -0
  737. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/composite_read_io_spec.rb +80 -0
  738. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/connection_spec.rb +691 -0
  739. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/error_spec.rb +45 -0
  740. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/middleware_spec.rb +26 -0
  741. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/options/env_spec.rb +70 -0
  742. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/options/options_spec.rb +297 -0
  743. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/options/proxy_options_spec.rb +37 -0
  744. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/options/request_options_spec.rb +19 -0
  745. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/params_encoders/flat_spec.rb +34 -0
  746. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/params_encoders/nested_spec.rb +134 -0
  747. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/rack_builder_spec.rb +196 -0
  748. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/request/authorization_spec.rb +88 -0
  749. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/request/instrumentation_spec.rb +76 -0
  750. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/request/multipart_spec.rb +274 -0
  751. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/request/retry_spec.rb +242 -0
  752. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/request/url_encoded_spec.rb +83 -0
  753. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/request_spec.rb +109 -0
  754. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/response/logger_spec.rb +220 -0
  755. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/response/middleware_spec.rb +68 -0
  756. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/response/raise_error_spec.rb +106 -0
  757. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/response_spec.rb +75 -0
  758. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/utils/headers_spec.rb +82 -0
  759. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/utils_spec.rb +56 -0
  760. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday_spec.rb +37 -0
  761. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/spec_helper.rb +132 -0
  762. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/support/disabling_stub.rb +14 -0
  763. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/support/fake_safe_buffer.rb +15 -0
  764. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/support/helper_methods.rb +133 -0
  765. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/support/shared_examples/adapter.rb +104 -0
  766. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/support/shared_examples/params_encoder.rb +18 -0
  767. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/support/shared_examples/request_method.rb +234 -0
  768. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/support/streaming_response_checker.rb +35 -0
  769. data/vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/support/webmock_rack_app.rb +68 -0
  770. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/.gitignore +10 -0
  771. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/.travis.yml +7 -0
  772. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/Gemfile +14 -0
  773. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/Guardfile +16 -0
  774. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/History +303 -0
  775. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/MIT-LICENSE +20 -0
  776. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/README.md +74 -0
  777. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/Rakefile +12 -0
  778. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/bin/httparty +117 -0
  779. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/cucumber.yml +1 -0
  780. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/aaws.rb +32 -0
  781. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/basic.rb +28 -0
  782. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/crack.rb +19 -0
  783. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/custom_parsers.rb +67 -0
  784. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/delicious.rb +37 -0
  785. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/google.rb +16 -0
  786. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/headers_and_user_agents.rb +6 -0
  787. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/nokogiri_html_parser.rb +22 -0
  788. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/rubyurl.rb +14 -0
  789. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/stackexchange.rb +24 -0
  790. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/tripit_sign_in.rb +33 -0
  791. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/twitter.rb +31 -0
  792. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/examples/whoismyrep.rb +10 -0
  793. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/basic_authentication.feature +20 -0
  794. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/command_line.feature +7 -0
  795. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/deals_with_http_error_codes.feature +26 -0
  796. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/digest_authentication.feature +20 -0
  797. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/handles_compressed_responses.feature +27 -0
  798. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/handles_multiple_formats.feature +57 -0
  799. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/steps/env.rb +22 -0
  800. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/steps/httparty_response_steps.rb +52 -0
  801. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/steps/httparty_steps.rb +43 -0
  802. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/steps/mongrel_helper.rb +94 -0
  803. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/steps/remote_service_steps.rb +74 -0
  804. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/supports_read_timeout_option.feature +13 -0
  805. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/supports_redirection.feature +22 -0
  806. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/features/supports_timeout_option.feature +13 -0
  807. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/httparty.gemspec +26 -0
  808. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/connection_adapter.rb +187 -0
  809. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/cookie_hash.rb +22 -0
  810. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/core_extensions.rb +32 -0
  811. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/exceptions.rb +29 -0
  812. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/hash_conversions.rb +51 -0
  813. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/logger/apache_logger.rb +22 -0
  814. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/logger/curl_logger.rb +48 -0
  815. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/logger/logger.rb +18 -0
  816. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/module_inheritable_attributes.rb +56 -0
  817. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/net_digest_auth.rb +84 -0
  818. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/parser.rb +141 -0
  819. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/request.rb +331 -0
  820. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/response/headers.rb +31 -0
  821. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/response.rb +72 -0
  822. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty/version.rb +3 -0
  823. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/lib/httparty.rb +600 -0
  824. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/script/release +42 -0
  825. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/delicious.xml +23 -0
  826. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/empty.xml +0 -0
  827. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/google.html +3 -0
  828. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/generate.sh +29 -0
  829. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/1fe462c2.0 +16 -0
  830. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/bogushost.crt +13 -0
  831. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/ca.crt +16 -0
  832. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/ca.key +15 -0
  833. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/selfsigned.crt +14 -0
  834. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/server.crt +13 -0
  835. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/generated/server.key +15 -0
  836. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/ssl/openssl-exts.cnf +9 -0
  837. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/twitter.csv +2 -0
  838. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/twitter.json +1 -0
  839. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/twitter.xml +403 -0
  840. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/fixtures/undefined_method_add_node_for_nil.xml +2 -0
  841. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/connection_adapter_spec.rb +354 -0
  842. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/cookie_hash_spec.rb +83 -0
  843. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/exception_spec.rb +23 -0
  844. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/logger/apache_logger_spec.rb +26 -0
  845. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/logger/curl_logger_spec.rb +18 -0
  846. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/logger/logger_spec.rb +22 -0
  847. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/net_digest_auth_spec.rb +152 -0
  848. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/parser_spec.rb +165 -0
  849. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/request_spec.rb +638 -0
  850. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/response_spec.rb +221 -0
  851. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty/ssl_spec.rb +74 -0
  852. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/httparty_spec.rb +764 -0
  853. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/spec.opts +2 -0
  854. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/spec_helper.rb +37 -0
  855. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/support/ssl_test_helper.rb +47 -0
  856. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/support/ssl_test_server.rb +80 -0
  857. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/spec/support/stub_response.rb +43 -0
  858. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/website/css/common.css +47 -0
  859. data/vendor/bundle/ruby/3.0.0/gems/httparty-0.13.1/website/index.html +73 -0
  860. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/.gitignore +17 -0
  861. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/.travis.yml +18 -0
  862. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/CHANGES +307 -0
  863. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/Gemfile +7 -0
  864. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/README-json-jruby.markdown +33 -0
  865. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/README.md +345 -0
  866. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/Rakefile +402 -0
  867. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/TODO +1 -0
  868. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/VERSION +1 -0
  869. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/data/example.json +1 -0
  870. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/data/index.html +38 -0
  871. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/data/prototype.js +4184 -0
  872. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/diagrams/.keep +0 -0
  873. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/fbuffer/fbuffer.h +190 -0
  874. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  875. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/generator/depend +1 -0
  876. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/generator/extconf.rb +4 -0
  877. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/generator/generator.c +1492 -0
  878. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/generator/generator.h +177 -0
  879. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  880. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/parser/depend +1 -0
  881. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/parser/extconf.rb +3 -0
  882. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/parser/parser.c +2240 -0
  883. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/parser/parser.h +92 -0
  884. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/ext/parser/parser.rl +963 -0
  885. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/ext/json/extconf.rb +3 -0
  886. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/install.rb +23 -0
  887. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/ByteListTranscoder.java +166 -0
  888. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/Generator.java +446 -0
  889. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/GeneratorMethods.java +231 -0
  890. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/GeneratorService.java +42 -0
  891. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/GeneratorState.java +542 -0
  892. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/OptionsReader.java +113 -0
  893. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/Parser.java +2644 -0
  894. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/Parser.rl +968 -0
  895. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/ParserService.java +34 -0
  896. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/RuntimeInfo.java +120 -0
  897. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/StringDecoder.java +166 -0
  898. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/StringEncoder.java +111 -0
  899. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/java/src/json/ext/Utils.java +88 -0
  900. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/json-java.gemspec +38 -0
  901. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/json.gemspec +0 -0
  902. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/json_pure.gemspec +37 -0
  903. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/bigdecimal.rb +28 -0
  904. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/complex.rb +28 -0
  905. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/core.rb +11 -0
  906. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/date.rb +34 -0
  907. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/date_time.rb +50 -0
  908. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/exception.rb +31 -0
  909. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/ostruct.rb +31 -0
  910. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/range.rb +29 -0
  911. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/rational.rb +27 -0
  912. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/regexp.rb +30 -0
  913. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/struct.rb +30 -0
  914. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/symbol.rb +25 -0
  915. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/add/time.rb +38 -0
  916. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/common.rb +484 -0
  917. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/ext/.keep +0 -0
  918. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/ext.rb +21 -0
  919. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/generic_object.rb +70 -0
  920. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/pure/generator.rb +530 -0
  921. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/pure/parser.rb +359 -0
  922. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/pure.rb +21 -0
  923. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json/version.rb +8 -0
  924. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/lib/json.rb +62 -0
  925. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail1.json +1 -0
  926. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail10.json +1 -0
  927. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail11.json +1 -0
  928. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail12.json +1 -0
  929. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail13.json +1 -0
  930. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail14.json +1 -0
  931. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail18.json +1 -0
  932. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail19.json +1 -0
  933. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail2.json +1 -0
  934. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail20.json +1 -0
  935. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail21.json +1 -0
  936. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail22.json +1 -0
  937. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail23.json +1 -0
  938. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail24.json +1 -0
  939. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail25.json +1 -0
  940. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail27.json +2 -0
  941. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail28.json +2 -0
  942. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail3.json +1 -0
  943. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail4.json +1 -0
  944. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail5.json +1 -0
  945. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail6.json +1 -0
  946. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail7.json +1 -0
  947. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail8.json +1 -0
  948. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/fail9.json +1 -0
  949. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/pass1.json +56 -0
  950. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/pass15.json +1 -0
  951. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/pass16.json +1 -0
  952. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/pass17.json +1 -0
  953. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/pass2.json +1 -0
  954. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/pass26.json +1 -0
  955. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/fixtures/pass3.json +6 -0
  956. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/setup_variant.rb +11 -0
  957. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/test_json.rb +519 -0
  958. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/test_json_addition.rb +196 -0
  959. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/test_json_encoding.rb +65 -0
  960. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/test_json_fixtures.rb +35 -0
  961. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/test_json_generate.rb +348 -0
  962. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/test_json_generic_object.rb +75 -0
  963. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/test_json_string_matching.rb +39 -0
  964. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tests/test_json_unicode.rb +72 -0
  965. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tools/diff.sh +18 -0
  966. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tools/fuzz.rb +139 -0
  967. data/vendor/bundle/ruby/3.0.0/gems/json-1.8.6/tools/server.rb +62 -0
  968. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/.yardopts +8 -0
  969. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/CHANGELOG.md +93 -0
  970. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/CONTRIBUTING.md +51 -0
  971. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/LICENSE.md +20 -0
  972. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/README.md +95 -0
  973. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/libxml.rb +33 -0
  974. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/libxml2_parser.rb +72 -0
  975. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/nokogiri.rb +35 -0
  976. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/oga.rb +73 -0
  977. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/ox.rb +91 -0
  978. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/lib/multi_xml/parsers/rexml.rb +113 -0
  979. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/lib/multi_xml/version.rb +45 -0
  980. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/lib/multi_xml.rb +305 -0
  981. data/vendor/bundle/ruby/3.0.0/gems/multi_xml-0.6.0/multi_xml.gemspec +19 -0
  982. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/.gitignore +6 -0
  983. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/.rspec +5 -0
  984. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/.travis.yml +20 -0
  985. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/.yardopts +6 -0
  986. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/Gemfile +6 -0
  987. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/History.txt +64 -0
  988. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/LICENSE +21 -0
  989. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/Manifest.txt +9 -0
  990. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/README.md +127 -0
  991. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/Rakefile +6 -0
  992. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/composite_io.rb +108 -0
  993. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/multipart_post.rb +9 -0
  994. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/multipartable.rb +48 -0
  995. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/net/http/post/multipart.rb +28 -0
  996. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/lib/parts.rb +126 -0
  997. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/multipart-post.gemspec +23 -0
  998. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/composite_io_spec.rb +138 -0
  999. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/multibyte.txt +1 -0
  1000. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/net/http/post/multipart_spec.rb +123 -0
  1001. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/parts_spec.rb +102 -0
  1002. data/vendor/bundle/ruby/3.0.0/gems/multipart-post-2.1.1/spec/spec_helper.rb +29 -0
  1003. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/History.rdoc +2403 -0
  1004. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/MIT-LICENSE +21 -0
  1005. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/README.rdoc +155 -0
  1006. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/command_line_usage.rdoc +158 -0
  1007. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/example/Rakefile1 +38 -0
  1008. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/example/Rakefile2 +35 -0
  1009. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/example/a.c +6 -0
  1010. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/example/b.c +6 -0
  1011. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/example/main.c +11 -0
  1012. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/glossary.rdoc +42 -0
  1013. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/jamis.rb +592 -0
  1014. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/proto_rake.rdoc +127 -0
  1015. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/rake.1 +156 -0
  1016. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/rakefile.rdoc +622 -0
  1017. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/doc/rational.rdoc +151 -0
  1018. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake +27 -0
  1019. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/application.rb +831 -0
  1020. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/backtrace.rb +24 -0
  1021. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/clean.rb +78 -0
  1022. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/cloneable.rb +17 -0
  1023. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/cpu_counter.rb +107 -0
  1024. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/default_loader.rb +15 -0
  1025. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/dsl_definition.rb +195 -0
  1026. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/early_time.rb +22 -0
  1027. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/ext/core.rb +26 -0
  1028. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/ext/string.rb +176 -0
  1029. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/file_creation_task.rb +25 -0
  1030. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/file_list.rb +435 -0
  1031. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/file_task.rb +54 -0
  1032. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/file_utils.rb +134 -0
  1033. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/file_utils_ext.rb +134 -0
  1034. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/invocation_chain.rb +57 -0
  1035. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/invocation_exception_mixin.rb +17 -0
  1036. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/late_time.rb +18 -0
  1037. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/linked_list.rb +112 -0
  1038. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/loaders/makefile.rb +54 -0
  1039. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/multi_task.rb +14 -0
  1040. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/name_space.rb +38 -0
  1041. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/packagetask.rb +222 -0
  1042. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/phony.rb +16 -0
  1043. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/private_reader.rb +21 -0
  1044. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/promise.rb +100 -0
  1045. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/pseudo_status.rb +30 -0
  1046. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/rake_module.rb +67 -0
  1047. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb +27 -0
  1048. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/rule_recursion_overflow_error.rb +20 -0
  1049. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/scope.rb +43 -0
  1050. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task.rb +434 -0
  1051. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task_argument_error.rb +8 -0
  1052. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task_arguments.rb +109 -0
  1053. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/task_manager.rb +331 -0
  1054. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/tasklib.rb +12 -0
  1055. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/testtask.rb +189 -0
  1056. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/thread_history_display.rb +49 -0
  1057. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/thread_pool.rb +163 -0
  1058. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/trace_output.rb +23 -0
  1059. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/version.rb +10 -0
  1060. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/win32.rb +51 -0
  1061. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake.rb +71 -0
  1062. data/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/rake.gemspec +100 -0
  1063. data/vendor/bundle/ruby/3.0.0/gems/rspec-3.11.0/LICENSE.md +27 -0
  1064. data/vendor/bundle/ruby/3.0.0/gems/rspec-3.11.0/README.md +47 -0
  1065. data/vendor/bundle/ruby/3.0.0/gems/rspec-3.11.0/lib/rspec/version.rb +5 -0
  1066. data/vendor/bundle/ruby/3.0.0/gems/rspec-3.11.0/lib/rspec.rb +3 -0
  1067. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/.document +5 -0
  1068. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/.yardopts +8 -0
  1069. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/Changelog.md +2355 -0
  1070. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/LICENSE.md +26 -0
  1071. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/README.md +384 -0
  1072. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/exe/rspec +4 -0
  1073. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/autorun.rb +3 -0
  1074. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/backtrace_formatter.rb +65 -0
  1075. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/coordinator.rb +62 -0
  1076. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/example_minimizer.rb +173 -0
  1077. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/fork_runner.rb +138 -0
  1078. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/server.rb +61 -0
  1079. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/shell_command.rb +126 -0
  1080. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/shell_runner.rb +73 -0
  1081. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/bisect/utilities.rb +69 -0
  1082. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +2383 -0
  1083. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration_options.rb +233 -0
  1084. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/did_you_mean.rb +46 -0
  1085. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/drb.rb +120 -0
  1086. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/dsl.rb +98 -0
  1087. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/example.rb +666 -0
  1088. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/example_group.rb +905 -0
  1089. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/example_status_persister.rb +235 -0
  1090. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/filter_manager.rb +231 -0
  1091. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/flat_map.rb +20 -0
  1092. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
  1093. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
  1094. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
  1095. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
  1096. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
  1097. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/console_codes.rb +76 -0
  1098. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
  1099. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
  1100. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +521 -0
  1101. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
  1102. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
  1103. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/helpers.rb +118 -0
  1104. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
  1105. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +414 -0
  1106. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
  1107. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
  1108. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
  1109. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
  1110. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/protocol.rb +182 -0
  1111. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
  1112. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
  1113. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters.rb +279 -0
  1114. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/hooks.rb +646 -0
  1115. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/invocations.rb +87 -0
  1116. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/memoized_helpers.rb +580 -0
  1117. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/metadata.rb +498 -0
  1118. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/metadata_filter.rb +255 -0
  1119. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
  1120. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
  1121. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
  1122. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
  1123. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
  1124. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
  1125. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/notifications.rb +521 -0
  1126. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +325 -0
  1127. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/ordering.rb +169 -0
  1128. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/output_wrapper.rb +29 -0
  1129. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/pending.rb +157 -0
  1130. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/profiler.rb +34 -0
  1131. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer/.rspec +1 -0
  1132. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
  1133. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/project_initializer.rb +48 -0
  1134. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/rake_task.rb +188 -0
  1135. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/reporter.rb +265 -0
  1136. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/ruby_project.rb +53 -0
  1137. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/runner.rb +212 -0
  1138. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/sandbox.rb +37 -0
  1139. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/set.rb +54 -0
  1140. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/shared_context.rb +55 -0
  1141. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/shared_example_group.rb +271 -0
  1142. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/shell_escape.rb +49 -0
  1143. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
  1144. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +9 -0
  1145. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/warnings.rb +40 -0
  1146. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core/world.rb +287 -0
  1147. data/vendor/bundle/ruby/3.0.0/gems/rspec-core-3.11.0/lib/rspec/core.rb +212 -0
  1148. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/.document +5 -0
  1149. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/.yardopts +6 -0
  1150. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/Changelog.md +1267 -0
  1151. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/LICENSE.md +25 -0
  1152. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/README.md +320 -0
  1153. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
  1154. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/configuration.rb +230 -0
  1155. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/expectation_target.rb +163 -0
  1156. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/fail_with.rb +39 -0
  1157. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/failure_aggregator.rb +212 -0
  1158. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/handler.rb +182 -0
  1159. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/minitest_integration.rb +58 -0
  1160. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/syntax.rb +132 -0
  1161. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/version.rb +8 -0
  1162. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations.rb +82 -0
  1163. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
  1164. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/all.rb +86 -0
  1165. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/base_matcher.rb +198 -0
  1166. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be.rb +191 -0
  1167. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
  1168. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
  1169. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
  1170. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
  1171. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/change.rb +450 -0
  1172. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/compound.rb +290 -0
  1173. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/contain_exactly.rb +302 -0
  1174. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
  1175. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/cover.rb +24 -0
  1176. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/eq.rb +40 -0
  1177. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/eql.rb +34 -0
  1178. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/equal.rb +81 -0
  1179. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/exist.rb +90 -0
  1180. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/has.rb +167 -0
  1181. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
  1182. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/include.rb +206 -0
  1183. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/match.rb +106 -0
  1184. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/operators.rb +128 -0
  1185. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/output.rb +207 -0
  1186. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/raise_error.rb +271 -0
  1187. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/respond_to.rb +200 -0
  1188. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
  1189. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
  1190. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
  1191. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/yield.rb +375 -0
  1192. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in.rb +53 -0
  1193. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/composable.rb +171 -0
  1194. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/dsl.rb +544 -0
  1195. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/english_phrasing.rb +58 -0
  1196. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +82 -0
  1197. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/fail_matchers.rb +42 -0
  1198. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/generated_descriptions.rb +41 -0
  1199. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
  1200. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/matcher_protocol.rb +105 -0
  1201. data/vendor/bundle/ruby/3.0.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers.rb +1041 -0
  1202. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/.document +5 -0
  1203. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/.yardopts +6 -0
  1204. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/Changelog.md +1193 -0
  1205. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/LICENSE.md +25 -0
  1206. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/README.md +463 -0
  1207. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/chain.rb +111 -0
  1208. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
  1209. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
  1210. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
  1211. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
  1212. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/proxy.rb +116 -0
  1213. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/recorder.rb +295 -0
  1214. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
  1215. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  1216. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/any_instance.rb +11 -0
  1217. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/argument_list_matcher.rb +115 -0
  1218. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/argument_matchers.rb +322 -0
  1219. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/configuration.rb +212 -0
  1220. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/error_generator.rb +369 -0
  1221. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/example_methods.rb +434 -0
  1222. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/instance_method_stasher.rb +146 -0
  1223. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/marshal_extension.rb +41 -0
  1224. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
  1225. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/have_received.rb +134 -0
  1226. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive.rb +133 -0
  1227. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
  1228. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
  1229. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_chain.rb +87 -0
  1230. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_expectation.rb +822 -0
  1231. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_double.rb +291 -0
  1232. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_reference.rb +202 -0
  1233. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/minitest_integration.rb +68 -0
  1234. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/mutate_const.rb +339 -0
  1235. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/object_reference.rb +149 -0
  1236. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/order_group.rb +81 -0
  1237. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/proxy.rb +525 -0
  1238. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/space.rb +238 -0
  1239. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/standalone.rb +3 -0
  1240. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/syntax.rb +325 -0
  1241. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/targets.rb +124 -0
  1242. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/test_double.rb +171 -0
  1243. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_double.rb +121 -0
  1244. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
  1245. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_proxy.rb +220 -0
  1246. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/version.rb +9 -0
  1247. data/vendor/bundle/ruby/3.0.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks.rb +133 -0
  1248. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/Changelog.md +350 -0
  1249. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/LICENSE.md +23 -0
  1250. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/README.md +40 -0
  1251. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/caller_filter.rb +83 -0
  1252. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/comparable_version.rb +46 -0
  1253. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/differ.rb +215 -0
  1254. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/directory_maker.rb +63 -0
  1255. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/encoded_string.rb +161 -0
  1256. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
  1257. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/hunk_generator.rb +47 -0
  1258. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/matcher_definition.rb +42 -0
  1259. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/method_signature_verifier.rb +438 -0
  1260. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/mutex.rb +73 -0
  1261. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/object_formatter.rb +275 -0
  1262. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/recursive_const_methods.rb +76 -0
  1263. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/reentrant_mutex.rb +78 -0
  1264. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/ruby_features.rb +191 -0
  1265. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/source/location.rb +21 -0
  1266. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/source/node.rb +110 -0
  1267. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/source/token.rb +94 -0
  1268. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/source.rb +85 -0
  1269. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/deprecation_helpers.rb +48 -0
  1270. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/diff_helpers.rb +31 -0
  1271. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/formatting_support.rb +9 -0
  1272. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/in_sub_process.rb +67 -0
  1273. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
  1274. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/shell_out.rb +105 -0
  1275. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/stderr_splitter.rb +75 -0
  1276. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/string_matcher.rb +45 -0
  1277. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
  1278. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
  1279. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/spec.rb +82 -0
  1280. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/version.rb +7 -0
  1281. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/warnings.rb +39 -0
  1282. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support/with_keywords_when_needed.rb +33 -0
  1283. data/vendor/bundle/ruby/3.0.0/gems/rspec-support-3.11.0/lib/rspec/support.rb +154 -0
  1284. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/.github/workflows/test.yml +22 -0
  1285. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/.gitignore +8 -0
  1286. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/Gemfile +4 -0
  1287. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/LICENSE.txt +22 -0
  1288. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/README.md +72 -0
  1289. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/Rakefile +10 -0
  1290. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/bin/console +14 -0
  1291. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/bin/setup +8 -0
  1292. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/lib/random/formatter.rb +217 -0
  1293. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/lib/securerandom.rb +92 -0
  1294. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/rakelib/epoch.rake +5 -0
  1295. data/vendor/bundle/ruby/3.0.0/gems/securerandom-0.2.0/securerandom.gemspec +22 -0
  1296. data/vendor/bundle/ruby/3.0.0/specifications/diff-lcs-1.5.0.gemspec +50 -0
  1297. data/vendor/bundle/ruby/3.0.0/specifications/faraday-1.0.1.gemspec +0 -0
  1298. data/vendor/bundle/ruby/3.0.0/specifications/httparty-0.13.1.gemspec +35 -0
  1299. data/vendor/bundle/ruby/3.0.0/specifications/json-1.8.6.gemspec +0 -0
  1300. data/vendor/bundle/ruby/3.0.0/specifications/multi_xml-0.6.0.gemspec +30 -0
  1301. data/vendor/bundle/ruby/3.0.0/specifications/multipart-post-2.1.1.gemspec +34 -0
  1302. data/vendor/bundle/ruby/3.0.0/specifications/rake-13.0.6.gemspec +26 -0
  1303. data/vendor/bundle/ruby/3.0.0/specifications/rspec-3.11.0.gemspec +39 -0
  1304. data/vendor/bundle/ruby/3.0.0/specifications/rspec-core-3.11.0.gemspec +53 -0
  1305. data/vendor/bundle/ruby/3.0.0/specifications/rspec-expectations-3.11.0.gemspec +44 -0
  1306. data/vendor/bundle/ruby/3.0.0/specifications/rspec-mocks-3.11.1.gemspec +44 -0
  1307. data/vendor/bundle/ruby/3.0.0/specifications/rspec-support-3.11.0.gemspec +36 -0
  1308. data/vendor/bundle/ruby/3.0.0/specifications/securerandom-0.2.0.gemspec +23 -0
  1309. metadata +1419 -0
@@ -0,0 +1,1492 @@
1
+ #include "../fbuffer/fbuffer.h"
2
+ #include "generator.h"
3
+
4
+ #ifdef HAVE_RUBY_ENCODING_H
5
+ static VALUE CEncoding_UTF_8;
6
+ static ID i_encoding, i_encode;
7
+ #endif
8
+
9
+ static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,
10
+ mHash, mArray,
11
+ #ifdef RUBY_INTEGER_UNIFICATION
12
+ mInteger,
13
+ #else
14
+ mFixnum, mBignum,
15
+ #endif
16
+ mFloat, mString, mString_Extend,
17
+ mTrueClass, mFalseClass, mNilClass, eGeneratorError,
18
+ eNestingError, CRegexp_MULTILINE, CJSON_SAFE_STATE_PROTOTYPE,
19
+ i_SAFE_STATE_PROTOTYPE;
20
+
21
+ static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,
22
+ i_object_nl, i_array_nl, i_max_nesting, i_allow_nan, i_ascii_only,
23
+ i_quirks_mode, i_pack, i_unpack, i_create_id, i_extend, i_key_p,
24
+ i_aref, i_send, i_respond_to_p, i_match, i_keys, i_depth,
25
+ i_buffer_initial_length, i_dup;
26
+
27
+ /*
28
+ * Copyright 2001-2004 Unicode, Inc.
29
+ *
30
+ * Disclaimer
31
+ *
32
+ * This source code is provided as is by Unicode, Inc. No claims are
33
+ * made as to fitness for any particular purpose. No warranties of any
34
+ * kind are expressed or implied. The recipient agrees to determine
35
+ * applicability of information provided. If this file has been
36
+ * purchased on magnetic or optical media from Unicode, Inc., the
37
+ * sole remedy for any claim will be exchange of defective media
38
+ * within 90 days of receipt.
39
+ *
40
+ * Limitations on Rights to Redistribute This Code
41
+ *
42
+ * Unicode, Inc. hereby grants the right to freely use the information
43
+ * supplied in this file in the creation of products supporting the
44
+ * Unicode Standard, and to make copies of this file in any form
45
+ * for internal or external distribution as long as this notice
46
+ * remains attached.
47
+ */
48
+
49
+ /*
50
+ * Index into the table below with the first byte of a UTF-8 sequence to
51
+ * get the number of trailing bytes that are supposed to follow it.
52
+ * Note that *legal* UTF-8 values can't have 4 or 5-bytes. The table is
53
+ * left as-is for anyone who may want to do such conversion, which was
54
+ * allowed in earlier algorithms.
55
+ */
56
+ static const char trailingBytesForUTF8[256] = {
57
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
58
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
59
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
60
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
61
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
62
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
63
+ 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
64
+ 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5
65
+ };
66
+
67
+ /*
68
+ * Magic values subtracted from a buffer value during UTF8 conversion.
69
+ * This table contains as many values as there might be trailing bytes
70
+ * in a UTF-8 sequence.
71
+ */
72
+ static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL,
73
+ 0x03C82080UL, 0xFA082080UL, 0x82082080UL };
74
+
75
+ /*
76
+ * Utility routine to tell whether a sequence of bytes is legal UTF-8.
77
+ * This must be called with the length pre-determined by the first byte.
78
+ * If not calling this from ConvertUTF8to*, then the length can be set by:
79
+ * length = trailingBytesForUTF8[*source]+1;
80
+ * and the sequence is illegal right away if there aren't that many bytes
81
+ * available.
82
+ * If presented with a length > 4, this returns 0. The Unicode
83
+ * definition of UTF-8 goes up to 4-byte sequences.
84
+ */
85
+ static unsigned char isLegalUTF8(const UTF8 *source, unsigned long length)
86
+ {
87
+ UTF8 a;
88
+ const UTF8 *srcptr = source+length;
89
+ switch (length) {
90
+ default: return 0;
91
+ /* Everything else falls through when "1"... */
92
+ case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
93
+ case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
94
+ case 2: if ((a = (*--srcptr)) > 0xBF) return 0;
95
+
96
+ switch (*source) {
97
+ /* no fall-through in this inner switch */
98
+ case 0xE0: if (a < 0xA0) return 0; break;
99
+ case 0xED: if (a > 0x9F) return 0; break;
100
+ case 0xF0: if (a < 0x90) return 0; break;
101
+ case 0xF4: if (a > 0x8F) return 0; break;
102
+ default: if (a < 0x80) return 0;
103
+ }
104
+
105
+ case 1: if (*source >= 0x80 && *source < 0xC2) return 0;
106
+ }
107
+ if (*source > 0xF4) return 0;
108
+ return 1;
109
+ }
110
+
111
+ /* Escapes the UTF16 character and stores the result in the buffer buf. */
112
+ static void unicode_escape(char *buf, UTF16 character)
113
+ {
114
+ const char *digits = "0123456789abcdef";
115
+
116
+ buf[2] = digits[character >> 12];
117
+ buf[3] = digits[(character >> 8) & 0xf];
118
+ buf[4] = digits[(character >> 4) & 0xf];
119
+ buf[5] = digits[character & 0xf];
120
+ }
121
+
122
+ /* Escapes the UTF16 character and stores the result in the buffer buf, then
123
+ * the buffer buf is appended to the FBuffer buffer. */
124
+ static void unicode_escape_to_buffer(FBuffer *buffer, char buf[6], UTF16
125
+ character)
126
+ {
127
+ unicode_escape(buf, character);
128
+ fbuffer_append(buffer, buf, 6);
129
+ }
130
+
131
+ /* Converts string to a JSON string in FBuffer buffer, where all but the ASCII
132
+ * and control characters are JSON escaped. */
133
+ static void convert_UTF8_to_JSON_ASCII(FBuffer *buffer, VALUE string)
134
+ {
135
+ const UTF8 *source = (UTF8 *) RSTRING_PTR(string);
136
+ const UTF8 *sourceEnd = source + RSTRING_LEN(string);
137
+ char buf[6] = { '\\', 'u' };
138
+
139
+ while (source < sourceEnd) {
140
+ UTF32 ch = 0;
141
+ unsigned short extraBytesToRead = trailingBytesForUTF8[*source];
142
+ if (source + extraBytesToRead >= sourceEnd) {
143
+ rb_raise(rb_path2class("JSON::GeneratorError"),
144
+ "partial character in source, but hit end");
145
+ }
146
+ if (!isLegalUTF8(source, extraBytesToRead+1)) {
147
+ rb_raise(rb_path2class("JSON::GeneratorError"),
148
+ "source sequence is illegal/malformed utf-8");
149
+ }
150
+ /*
151
+ * The cases all fall through. See "Note A" below.
152
+ */
153
+ switch (extraBytesToRead) {
154
+ case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
155
+ case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
156
+ case 3: ch += *source++; ch <<= 6;
157
+ case 2: ch += *source++; ch <<= 6;
158
+ case 1: ch += *source++; ch <<= 6;
159
+ case 0: ch += *source++;
160
+ }
161
+ ch -= offsetsFromUTF8[extraBytesToRead];
162
+
163
+ if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */
164
+ /* UTF-16 surrogate values are illegal in UTF-32 */
165
+ if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) {
166
+ #if UNI_STRICT_CONVERSION
167
+ source -= (extraBytesToRead+1); /* return to the illegal value itself */
168
+ rb_raise(rb_path2class("JSON::GeneratorError"),
169
+ "source sequence is illegal/malformed utf-8");
170
+ #else
171
+ unicode_escape_to_buffer(buffer, buf, UNI_REPLACEMENT_CHAR);
172
+ #endif
173
+ } else {
174
+ /* normal case */
175
+ if (ch >= 0x20 && ch <= 0x7f) {
176
+ switch (ch) {
177
+ case '\\':
178
+ fbuffer_append(buffer, "\\\\", 2);
179
+ break;
180
+ case '"':
181
+ fbuffer_append(buffer, "\\\"", 2);
182
+ break;
183
+ default:
184
+ fbuffer_append_char(buffer, (char)ch);
185
+ break;
186
+ }
187
+ } else {
188
+ switch (ch) {
189
+ case '\n':
190
+ fbuffer_append(buffer, "\\n", 2);
191
+ break;
192
+ case '\r':
193
+ fbuffer_append(buffer, "\\r", 2);
194
+ break;
195
+ case '\t':
196
+ fbuffer_append(buffer, "\\t", 2);
197
+ break;
198
+ case '\f':
199
+ fbuffer_append(buffer, "\\f", 2);
200
+ break;
201
+ case '\b':
202
+ fbuffer_append(buffer, "\\b", 2);
203
+ break;
204
+ default:
205
+ unicode_escape_to_buffer(buffer, buf, (UTF16) ch);
206
+ break;
207
+ }
208
+ }
209
+ }
210
+ } else if (ch > UNI_MAX_UTF16) {
211
+ #if UNI_STRICT_CONVERSION
212
+ source -= (extraBytesToRead+1); /* return to the start */
213
+ rb_raise(rb_path2class("JSON::GeneratorError"),
214
+ "source sequence is illegal/malformed utf8");
215
+ #else
216
+ unicode_escape_to_buffer(buffer, buf, UNI_REPLACEMENT_CHAR);
217
+ #endif
218
+ } else {
219
+ /* target is a character in range 0xFFFF - 0x10FFFF. */
220
+ ch -= halfBase;
221
+ unicode_escape_to_buffer(buffer, buf, (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START));
222
+ unicode_escape_to_buffer(buffer, buf, (UTF16)((ch & halfMask) + UNI_SUR_LOW_START));
223
+ }
224
+ }
225
+ }
226
+
227
+ /* Converts string to a JSON string in FBuffer buffer, where only the
228
+ * characters required by the JSON standard are JSON escaped. The remaining
229
+ * characters (should be UTF8) are just passed through and appended to the
230
+ * result. */
231
+ static void convert_UTF8_to_JSON(FBuffer *buffer, VALUE string)
232
+ {
233
+ const char *ptr = RSTRING_PTR(string), *p;
234
+ unsigned long len = RSTRING_LEN(string), start = 0, end = 0;
235
+ const char *escape = NULL;
236
+ int escape_len;
237
+ unsigned char c;
238
+ char buf[6] = { '\\', 'u' };
239
+
240
+ for (start = 0, end = 0; end < len;) {
241
+ p = ptr + end;
242
+ c = (unsigned char) *p;
243
+ if (c < 0x20) {
244
+ switch (c) {
245
+ case '\n':
246
+ escape = "\\n";
247
+ escape_len = 2;
248
+ break;
249
+ case '\r':
250
+ escape = "\\r";
251
+ escape_len = 2;
252
+ break;
253
+ case '\t':
254
+ escape = "\\t";
255
+ escape_len = 2;
256
+ break;
257
+ case '\f':
258
+ escape = "\\f";
259
+ escape_len = 2;
260
+ break;
261
+ case '\b':
262
+ escape = "\\b";
263
+ escape_len = 2;
264
+ break;
265
+ default:
266
+ unicode_escape(buf, (UTF16) *p);
267
+ escape = buf;
268
+ escape_len = 6;
269
+ break;
270
+ }
271
+ } else {
272
+ switch (c) {
273
+ case '\\':
274
+ escape = "\\\\";
275
+ escape_len = 2;
276
+ break;
277
+ case '"':
278
+ escape = "\\\"";
279
+ escape_len = 2;
280
+ break;
281
+ default:
282
+ {
283
+ unsigned short clen = trailingBytesForUTF8[c] + 1;
284
+ if (end + clen > len) {
285
+ rb_raise(rb_path2class("JSON::GeneratorError"),
286
+ "partial character in source, but hit end");
287
+ }
288
+ if (!isLegalUTF8((UTF8 *) p, clen)) {
289
+ rb_raise(rb_path2class("JSON::GeneratorError"),
290
+ "source sequence is illegal/malformed utf-8");
291
+ }
292
+ end += clen;
293
+ }
294
+ continue;
295
+ break;
296
+ }
297
+ }
298
+ fbuffer_append(buffer, ptr + start, end - start);
299
+ fbuffer_append(buffer, escape, escape_len);
300
+ start = ++end;
301
+ escape = NULL;
302
+ }
303
+ fbuffer_append(buffer, ptr + start, end - start);
304
+ }
305
+
306
+ static char *fstrndup(const char *ptr, unsigned long len) {
307
+ char *result;
308
+ if (len <= 0) return NULL;
309
+ result = ALLOC_N(char, len);
310
+ memccpy(result, ptr, 0, len);
311
+ return result;
312
+ }
313
+
314
+ /*
315
+ * Document-module: JSON::Ext::Generator
316
+ *
317
+ * This is the JSON generator implemented as a C extension. It can be
318
+ * configured to be used by setting
319
+ *
320
+ * JSON.generator = JSON::Ext::Generator
321
+ *
322
+ * with the method generator= in JSON.
323
+ *
324
+ */
325
+
326
+ /*
327
+ * call-seq: to_json(state = nil)
328
+ *
329
+ * Returns a JSON string containing a JSON object, that is generated from
330
+ * this Hash instance.
331
+ * _state_ is a JSON::State object, that can also be used to configure the
332
+ * produced JSON string output further.
333
+ */
334
+ static VALUE mHash_to_json(int argc, VALUE *argv, VALUE self)
335
+ {
336
+ GENERATE_JSON(object);
337
+ }
338
+
339
+ /*
340
+ * call-seq: to_json(state = nil)
341
+ *
342
+ * Returns a JSON string containing a JSON array, that is generated from
343
+ * this Array instance.
344
+ * _state_ is a JSON::State object, that can also be used to configure the
345
+ * produced JSON string output further.
346
+ */
347
+ static VALUE mArray_to_json(int argc, VALUE *argv, VALUE self) {
348
+ GENERATE_JSON(array);
349
+ }
350
+
351
+ #ifdef RUBY_INTEGER_UNIFICATION
352
+ /*
353
+ * call-seq: to_json(*)
354
+ *
355
+ * Returns a JSON string representation for this Integer number.
356
+ */
357
+ static VALUE mInteger_to_json(int argc, VALUE *argv, VALUE self)
358
+ {
359
+ GENERATE_JSON(integer);
360
+ }
361
+
362
+ #else
363
+ /*
364
+ * call-seq: to_json(*)
365
+ *
366
+ * Returns a JSON string representation for this Integer number.
367
+ */
368
+ static VALUE mFixnum_to_json(int argc, VALUE *argv, VALUE self)
369
+ {
370
+ GENERATE_JSON(fixnum);
371
+ }
372
+
373
+ /*
374
+ * call-seq: to_json(*)
375
+ *
376
+ * Returns a JSON string representation for this Integer number.
377
+ */
378
+ static VALUE mBignum_to_json(int argc, VALUE *argv, VALUE self)
379
+ {
380
+ GENERATE_JSON(bignum);
381
+ }
382
+ #endif
383
+
384
+ /*
385
+ * call-seq: to_json(*)
386
+ *
387
+ * Returns a JSON string representation for this Float number.
388
+ */
389
+ static VALUE mFloat_to_json(int argc, VALUE *argv, VALUE self)
390
+ {
391
+ GENERATE_JSON(float);
392
+ }
393
+
394
+ /*
395
+ * call-seq: String.included(modul)
396
+ *
397
+ * Extends _modul_ with the String::Extend module.
398
+ */
399
+ static VALUE mString_included_s(VALUE self, VALUE modul) {
400
+ VALUE result = rb_funcall(modul, i_extend, 1, mString_Extend);
401
+ return result;
402
+ }
403
+
404
+ /*
405
+ * call-seq: to_json(*)
406
+ *
407
+ * This string should be encoded with UTF-8 A call to this method
408
+ * returns a JSON string encoded with UTF16 big endian characters as
409
+ * \u????.
410
+ */
411
+ static VALUE mString_to_json(int argc, VALUE *argv, VALUE self)
412
+ {
413
+ GENERATE_JSON(string);
414
+ }
415
+
416
+ /*
417
+ * call-seq: to_json_raw_object()
418
+ *
419
+ * This method creates a raw object hash, that can be nested into
420
+ * other data structures and will be generated as a raw string. This
421
+ * method should be used, if you want to convert raw strings to JSON
422
+ * instead of UTF-8 strings, e. g. binary data.
423
+ */
424
+ static VALUE mString_to_json_raw_object(VALUE self)
425
+ {
426
+ VALUE ary;
427
+ VALUE result = rb_hash_new();
428
+ rb_hash_aset(result, rb_funcall(mJSON, i_create_id, 0), rb_class_name(rb_obj_class(self)));
429
+ ary = rb_funcall(self, i_unpack, 1, rb_str_new2("C*"));
430
+ rb_hash_aset(result, rb_str_new2("raw"), ary);
431
+ return result;
432
+ }
433
+
434
+ /*
435
+ * call-seq: to_json_raw(*args)
436
+ *
437
+ * This method creates a JSON text from the result of a call to
438
+ * to_json_raw_object of this String.
439
+ */
440
+ static VALUE mString_to_json_raw(int argc, VALUE *argv, VALUE self)
441
+ {
442
+ VALUE obj = mString_to_json_raw_object(self);
443
+ Check_Type(obj, T_HASH);
444
+ return mHash_to_json(argc, argv, obj);
445
+ }
446
+
447
+ /*
448
+ * call-seq: json_create(o)
449
+ *
450
+ * Raw Strings are JSON Objects (the raw bytes are stored in an array for the
451
+ * key "raw"). The Ruby String can be created by this module method.
452
+ */
453
+ static VALUE mString_Extend_json_create(VALUE self, VALUE o)
454
+ {
455
+ VALUE ary;
456
+ Check_Type(o, T_HASH);
457
+ ary = rb_hash_aref(o, rb_str_new2("raw"));
458
+ return rb_funcall(ary, i_pack, 1, rb_str_new2("C*"));
459
+ }
460
+
461
+ /*
462
+ * call-seq: to_json(*)
463
+ *
464
+ * Returns a JSON string for true: 'true'.
465
+ */
466
+ static VALUE mTrueClass_to_json(int argc, VALUE *argv, VALUE self)
467
+ {
468
+ GENERATE_JSON(true);
469
+ }
470
+
471
+ /*
472
+ * call-seq: to_json(*)
473
+ *
474
+ * Returns a JSON string for false: 'false'.
475
+ */
476
+ static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self)
477
+ {
478
+ GENERATE_JSON(false);
479
+ }
480
+
481
+ /*
482
+ * call-seq: to_json(*)
483
+ *
484
+ * Returns a JSON string for nil: 'null'.
485
+ */
486
+ static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self)
487
+ {
488
+ GENERATE_JSON(null);
489
+ }
490
+
491
+ /*
492
+ * call-seq: to_json(*)
493
+ *
494
+ * Converts this object to a string (calling #to_s), converts
495
+ * it to a JSON string, and returns the result. This is a fallback, if no
496
+ * special method #to_json was defined for some object.
497
+ */
498
+ static VALUE mObject_to_json(int argc, VALUE *argv, VALUE self)
499
+ {
500
+ VALUE state;
501
+ VALUE string = rb_funcall(self, i_to_s, 0);
502
+ rb_scan_args(argc, argv, "01", &state);
503
+ Check_Type(string, T_STRING);
504
+ state = cState_from_state_s(cState, state);
505
+ return cState_partial_generate(state, string);
506
+ }
507
+
508
+ static void State_free(void *ptr)
509
+ {
510
+ JSON_Generator_State *state = ptr;
511
+ if (state->indent) ruby_xfree(state->indent);
512
+ if (state->space) ruby_xfree(state->space);
513
+ if (state->space_before) ruby_xfree(state->space_before);
514
+ if (state->object_nl) ruby_xfree(state->object_nl);
515
+ if (state->array_nl) ruby_xfree(state->array_nl);
516
+ if (state->array_delim) fbuffer_free(state->array_delim);
517
+ if (state->object_delim) fbuffer_free(state->object_delim);
518
+ if (state->object_delim2) fbuffer_free(state->object_delim2);
519
+ ruby_xfree(state);
520
+ }
521
+
522
+ static size_t State_memsize(const void *ptr)
523
+ {
524
+ const JSON_Generator_State *state = ptr;
525
+ size_t size = sizeof(*state);
526
+ if (state->indent) size += state->indent_len + 1;
527
+ if (state->space) size += state->space_len + 1;
528
+ if (state->space_before) size += state->space_before_len + 1;
529
+ if (state->object_nl) size += state->object_nl_len + 1;
530
+ if (state->array_nl) size += state->array_nl_len + 1;
531
+ if (state->array_delim) size += FBUFFER_CAPA(state->array_delim);
532
+ if (state->object_delim) size += FBUFFER_CAPA(state->object_delim);
533
+ if (state->object_delim2) size += FBUFFER_CAPA(state->object_delim2);
534
+ return size;
535
+ }
536
+
537
+ #ifdef NEW_TYPEDDATA_WRAPPER
538
+ static const rb_data_type_t JSON_Generator_State_type = {
539
+ "JSON/Generator/State",
540
+ {NULL, State_free, State_memsize,},
541
+ #ifdef RUBY_TYPED_FREE_IMMEDIATELY
542
+ 0, 0,
543
+ RUBY_TYPED_FREE_IMMEDIATELY,
544
+ #endif
545
+ };
546
+ #endif
547
+
548
+ static VALUE cState_s_allocate(VALUE klass)
549
+ {
550
+ JSON_Generator_State *state;
551
+ return TypedData_Make_Struct(klass, JSON_Generator_State,
552
+ &JSON_Generator_State_type, state);
553
+ }
554
+
555
+ /*
556
+ * call-seq: configure(opts)
557
+ *
558
+ * Configure this State instance with the Hash _opts_, and return
559
+ * itself.
560
+ */
561
+ static VALUE cState_configure(VALUE self, VALUE opts)
562
+ {
563
+ VALUE tmp;
564
+ GET_STATE(self);
565
+ tmp = rb_check_convert_type(opts, T_HASH, "Hash", "to_hash");
566
+ if (NIL_P(tmp)) tmp = rb_convert_type(opts, T_HASH, "Hash", "to_h");
567
+ opts = tmp;
568
+ tmp = rb_hash_aref(opts, ID2SYM(i_indent));
569
+ if (RTEST(tmp)) {
570
+ unsigned long len;
571
+ Check_Type(tmp, T_STRING);
572
+ len = RSTRING_LEN(tmp);
573
+ state->indent = fstrndup(RSTRING_PTR(tmp), len + 1);
574
+ state->indent_len = len;
575
+ }
576
+ tmp = rb_hash_aref(opts, ID2SYM(i_space));
577
+ if (RTEST(tmp)) {
578
+ unsigned long len;
579
+ Check_Type(tmp, T_STRING);
580
+ len = RSTRING_LEN(tmp);
581
+ state->space = fstrndup(RSTRING_PTR(tmp), len + 1);
582
+ state->space_len = len;
583
+ }
584
+ tmp = rb_hash_aref(opts, ID2SYM(i_space_before));
585
+ if (RTEST(tmp)) {
586
+ unsigned long len;
587
+ Check_Type(tmp, T_STRING);
588
+ len = RSTRING_LEN(tmp);
589
+ state->space_before = fstrndup(RSTRING_PTR(tmp), len + 1);
590
+ state->space_before_len = len;
591
+ }
592
+ tmp = rb_hash_aref(opts, ID2SYM(i_array_nl));
593
+ if (RTEST(tmp)) {
594
+ unsigned long len;
595
+ Check_Type(tmp, T_STRING);
596
+ len = RSTRING_LEN(tmp);
597
+ state->array_nl = fstrndup(RSTRING_PTR(tmp), len + 1);
598
+ state->array_nl_len = len;
599
+ }
600
+ tmp = rb_hash_aref(opts, ID2SYM(i_object_nl));
601
+ if (RTEST(tmp)) {
602
+ unsigned long len;
603
+ Check_Type(tmp, T_STRING);
604
+ len = RSTRING_LEN(tmp);
605
+ state->object_nl = fstrndup(RSTRING_PTR(tmp), len + 1);
606
+ state->object_nl_len = len;
607
+ }
608
+ tmp = ID2SYM(i_max_nesting);
609
+ state->max_nesting = 100;
610
+ if (option_given_p(opts, tmp)) {
611
+ VALUE max_nesting = rb_hash_aref(opts, tmp);
612
+ if (RTEST(max_nesting)) {
613
+ Check_Type(max_nesting, T_FIXNUM);
614
+ state->max_nesting = FIX2LONG(max_nesting);
615
+ } else {
616
+ state->max_nesting = 0;
617
+ }
618
+ }
619
+ tmp = ID2SYM(i_depth);
620
+ state->depth = 0;
621
+ if (option_given_p(opts, tmp)) {
622
+ VALUE depth = rb_hash_aref(opts, tmp);
623
+ if (RTEST(depth)) {
624
+ Check_Type(depth, T_FIXNUM);
625
+ state->depth = FIX2LONG(depth);
626
+ } else {
627
+ state->depth = 0;
628
+ }
629
+ }
630
+ tmp = ID2SYM(i_buffer_initial_length);
631
+ if (option_given_p(opts, tmp)) {
632
+ VALUE buffer_initial_length = rb_hash_aref(opts, tmp);
633
+ if (RTEST(buffer_initial_length)) {
634
+ long initial_length;
635
+ Check_Type(buffer_initial_length, T_FIXNUM);
636
+ initial_length = FIX2LONG(buffer_initial_length);
637
+ if (initial_length > 0) state->buffer_initial_length = initial_length;
638
+ }
639
+ }
640
+ tmp = rb_hash_aref(opts, ID2SYM(i_allow_nan));
641
+ state->allow_nan = RTEST(tmp);
642
+ tmp = rb_hash_aref(opts, ID2SYM(i_ascii_only));
643
+ state->ascii_only = RTEST(tmp);
644
+ tmp = rb_hash_aref(opts, ID2SYM(i_quirks_mode));
645
+ state->quirks_mode = RTEST(tmp);
646
+ return self;
647
+ }
648
+
649
+ static void set_state_ivars(VALUE hash, VALUE state)
650
+ {
651
+ VALUE ivars = rb_obj_instance_variables(state);
652
+ int i = 0;
653
+ for (i = 0; i < RARRAY_LEN(ivars); i++) {
654
+ VALUE key = rb_funcall(rb_ary_entry(ivars, i), i_to_s, 0);
655
+ long key_len = RSTRING_LEN(key);
656
+ VALUE value = rb_iv_get(state, StringValueCStr(key));
657
+ rb_hash_aset(hash, rb_str_intern(rb_str_substr(key, 1, key_len - 1)), value);
658
+ }
659
+ }
660
+
661
+ /*
662
+ * call-seq: to_h
663
+ *
664
+ * Returns the configuration instance variables as a hash, that can be
665
+ * passed to the configure method.
666
+ */
667
+ static VALUE cState_to_h(VALUE self)
668
+ {
669
+ VALUE result = rb_hash_new();
670
+ GET_STATE(self);
671
+ set_state_ivars(result, self);
672
+ rb_hash_aset(result, ID2SYM(i_indent), rb_str_new(state->indent, state->indent_len));
673
+ rb_hash_aset(result, ID2SYM(i_space), rb_str_new(state->space, state->space_len));
674
+ rb_hash_aset(result, ID2SYM(i_space_before), rb_str_new(state->space_before, state->space_before_len));
675
+ rb_hash_aset(result, ID2SYM(i_object_nl), rb_str_new(state->object_nl, state->object_nl_len));
676
+ rb_hash_aset(result, ID2SYM(i_array_nl), rb_str_new(state->array_nl, state->array_nl_len));
677
+ rb_hash_aset(result, ID2SYM(i_allow_nan), state->allow_nan ? Qtrue : Qfalse);
678
+ rb_hash_aset(result, ID2SYM(i_ascii_only), state->ascii_only ? Qtrue : Qfalse);
679
+ rb_hash_aset(result, ID2SYM(i_quirks_mode), state->quirks_mode ? Qtrue : Qfalse);
680
+ rb_hash_aset(result, ID2SYM(i_max_nesting), LONG2FIX(state->max_nesting));
681
+ rb_hash_aset(result, ID2SYM(i_depth), LONG2FIX(state->depth));
682
+ rb_hash_aset(result, ID2SYM(i_buffer_initial_length), LONG2FIX(state->buffer_initial_length));
683
+ return result;
684
+ }
685
+
686
+ /*
687
+ * call-seq: [](name)
688
+ *
689
+ * Returns the value returned by method +name+.
690
+ */
691
+ static VALUE cState_aref(VALUE self, VALUE name)
692
+ {
693
+ name = rb_funcall(name, i_to_s, 0);
694
+ if (RTEST(rb_funcall(self, i_respond_to_p, 1, name))) {
695
+ return rb_funcall(self, i_send, 1, name);
696
+ } else {
697
+ return rb_ivar_get(self, rb_intern_str(rb_str_concat(rb_str_new2("@"), name)));
698
+ }
699
+ }
700
+
701
+ /*
702
+ * call-seq: []=(name, value)
703
+ *
704
+ * Sets the attribute name to value.
705
+ */
706
+ static VALUE cState_aset(VALUE self, VALUE name, VALUE value)
707
+ {
708
+ VALUE name_writer;
709
+
710
+ name = rb_funcall(name, i_to_s, 0);
711
+ name_writer = rb_str_cat2(rb_str_dup(name), "=");
712
+ if (RTEST(rb_funcall(self, i_respond_to_p, 1, name_writer))) {
713
+ return rb_funcall(self, i_send, 2, name_writer, value);
714
+ } else {
715
+ rb_ivar_set(self, rb_intern_str(rb_str_concat(rb_str_new2("@"), name)), value);
716
+ }
717
+ return Qnil;
718
+ }
719
+
720
+ static void generate_json_object(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
721
+ {
722
+ char *object_nl = state->object_nl;
723
+ long object_nl_len = state->object_nl_len;
724
+ char *indent = state->indent;
725
+ long indent_len = state->indent_len;
726
+ long max_nesting = state->max_nesting;
727
+ char *delim = FBUFFER_PTR(state->object_delim);
728
+ long delim_len = FBUFFER_LEN(state->object_delim);
729
+ char *delim2 = FBUFFER_PTR(state->object_delim2);
730
+ long delim2_len = FBUFFER_LEN(state->object_delim2);
731
+ long depth = ++state->depth;
732
+ int i, j;
733
+ VALUE key, key_to_s, keys;
734
+ if (max_nesting != 0 && depth > max_nesting) {
735
+ fbuffer_free(buffer);
736
+ rb_raise(eNestingError, "nesting of %ld is too deep", --state->depth);
737
+ }
738
+ fbuffer_append_char(buffer, '{');
739
+ keys = rb_funcall(obj, i_keys, 0);
740
+ for(i = 0; i < RARRAY_LEN(keys); i++) {
741
+ if (i > 0) fbuffer_append(buffer, delim, delim_len);
742
+ if (object_nl) {
743
+ fbuffer_append(buffer, object_nl, object_nl_len);
744
+ }
745
+ if (indent) {
746
+ for (j = 0; j < depth; j++) {
747
+ fbuffer_append(buffer, indent, indent_len);
748
+ }
749
+ }
750
+ key = rb_ary_entry(keys, i);
751
+ key_to_s = rb_funcall(key, i_to_s, 0);
752
+ Check_Type(key_to_s, T_STRING);
753
+ generate_json(buffer, Vstate, state, key_to_s);
754
+ fbuffer_append(buffer, delim2, delim2_len);
755
+ generate_json(buffer, Vstate, state, rb_hash_aref(obj, key));
756
+ }
757
+ depth = --state->depth;
758
+ if (object_nl) {
759
+ fbuffer_append(buffer, object_nl, object_nl_len);
760
+ if (indent) {
761
+ for (j = 0; j < depth; j++) {
762
+ fbuffer_append(buffer, indent, indent_len);
763
+ }
764
+ }
765
+ }
766
+ fbuffer_append_char(buffer, '}');
767
+ }
768
+
769
+ static void generate_json_array(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
770
+ {
771
+ char *array_nl = state->array_nl;
772
+ long array_nl_len = state->array_nl_len;
773
+ char *indent = state->indent;
774
+ long indent_len = state->indent_len;
775
+ long max_nesting = state->max_nesting;
776
+ char *delim = FBUFFER_PTR(state->array_delim);
777
+ long delim_len = FBUFFER_LEN(state->array_delim);
778
+ long depth = ++state->depth;
779
+ int i, j;
780
+ if (max_nesting != 0 && depth > max_nesting) {
781
+ fbuffer_free(buffer);
782
+ rb_raise(eNestingError, "nesting of %ld is too deep", --state->depth);
783
+ }
784
+ fbuffer_append_char(buffer, '[');
785
+ if (array_nl) fbuffer_append(buffer, array_nl, array_nl_len);
786
+ for(i = 0; i < RARRAY_LEN(obj); i++) {
787
+ if (i > 0) fbuffer_append(buffer, delim, delim_len);
788
+ if (indent) {
789
+ for (j = 0; j < depth; j++) {
790
+ fbuffer_append(buffer, indent, indent_len);
791
+ }
792
+ }
793
+ generate_json(buffer, Vstate, state, rb_ary_entry(obj, i));
794
+ }
795
+ state->depth = --depth;
796
+ if (array_nl) {
797
+ fbuffer_append(buffer, array_nl, array_nl_len);
798
+ if (indent) {
799
+ for (j = 0; j < depth; j++) {
800
+ fbuffer_append(buffer, indent, indent_len);
801
+ }
802
+ }
803
+ }
804
+ fbuffer_append_char(buffer, ']');
805
+ }
806
+
807
+ static void generate_json_string(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
808
+ {
809
+ fbuffer_append_char(buffer, '"');
810
+ #ifdef HAVE_RUBY_ENCODING_H
811
+ obj = rb_funcall(obj, i_encode, 1, CEncoding_UTF_8);
812
+ #endif
813
+ if (state->ascii_only) {
814
+ convert_UTF8_to_JSON_ASCII(buffer, obj);
815
+ } else {
816
+ convert_UTF8_to_JSON(buffer, obj);
817
+ }
818
+ fbuffer_append_char(buffer, '"');
819
+ }
820
+
821
+ static void generate_json_null(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
822
+ {
823
+ fbuffer_append(buffer, "null", 4);
824
+ }
825
+
826
+ static void generate_json_false(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
827
+ {
828
+ fbuffer_append(buffer, "false", 5);
829
+ }
830
+
831
+ static void generate_json_true(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
832
+ {
833
+ fbuffer_append(buffer, "true", 4);
834
+ }
835
+
836
+ static void generate_json_fixnum(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
837
+ {
838
+ fbuffer_append_long(buffer, FIX2LONG(obj));
839
+ }
840
+
841
+ static void generate_json_bignum(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
842
+ {
843
+ VALUE tmp = rb_funcall(obj, i_to_s, 0);
844
+ fbuffer_append_str(buffer, tmp);
845
+ }
846
+
847
+ #ifdef RUBY_INTEGER_UNIFICATION
848
+ static void generate_json_integer(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
849
+ {
850
+ if (FIXNUM_P(obj))
851
+ generate_json_fixnum(buffer, Vstate, state, obj);
852
+ else
853
+ generate_json_bignum(buffer, Vstate, state, obj);
854
+ }
855
+ #endif
856
+
857
+ static void generate_json_float(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
858
+ {
859
+ double value = RFLOAT_VALUE(obj);
860
+ char allow_nan = state->allow_nan;
861
+ VALUE tmp = rb_funcall(obj, i_to_s, 0);
862
+ if (!allow_nan) {
863
+ if (isinf(value)) {
864
+ fbuffer_free(buffer);
865
+ rb_raise(eGeneratorError, "%u: %"PRIsVALUE" not allowed in JSON", __LINE__, RB_OBJ_STRING(tmp));
866
+ } else if (isnan(value)) {
867
+ fbuffer_free(buffer);
868
+ rb_raise(eGeneratorError, "%u: %"PRIsVALUE" not allowed in JSON", __LINE__, RB_OBJ_STRING(tmp));
869
+ }
870
+ }
871
+ fbuffer_append_str(buffer, tmp);
872
+ }
873
+
874
+ static void generate_json(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj)
875
+ {
876
+ VALUE tmp;
877
+ VALUE klass = CLASS_OF(obj);
878
+ if (klass == rb_cHash) {
879
+ generate_json_object(buffer, Vstate, state, obj);
880
+ } else if (klass == rb_cArray) {
881
+ generate_json_array(buffer, Vstate, state, obj);
882
+ } else if (klass == rb_cString) {
883
+ generate_json_string(buffer, Vstate, state, obj);
884
+ } else if (obj == Qnil) {
885
+ generate_json_null(buffer, Vstate, state, obj);
886
+ } else if (obj == Qfalse) {
887
+ generate_json_false(buffer, Vstate, state, obj);
888
+ } else if (obj == Qtrue) {
889
+ generate_json_true(buffer, Vstate, state, obj);
890
+ } else if (FIXNUM_P(obj)) {
891
+ generate_json_fixnum(buffer, Vstate, state, obj);
892
+ } else if (RB_TYPE_P(obj, T_BIGNUM)) {
893
+ generate_json_bignum(buffer, Vstate, state, obj);
894
+ } else if (klass == rb_cFloat) {
895
+ generate_json_float(buffer, Vstate, state, obj);
896
+ } else if (rb_respond_to(obj, i_to_json)) {
897
+ tmp = rb_funcall(obj, i_to_json, 1, Vstate);
898
+ Check_Type(tmp, T_STRING);
899
+ fbuffer_append_str(buffer, tmp);
900
+ } else {
901
+ tmp = rb_funcall(obj, i_to_s, 0);
902
+ Check_Type(tmp, T_STRING);
903
+ generate_json_string(buffer, Vstate, state, tmp);
904
+ }
905
+ }
906
+
907
+ static FBuffer *cState_prepare_buffer(VALUE self)
908
+ {
909
+ FBuffer *buffer;
910
+ GET_STATE(self);
911
+ buffer = fbuffer_alloc(state->buffer_initial_length);
912
+
913
+ if (state->object_delim) {
914
+ fbuffer_clear(state->object_delim);
915
+ } else {
916
+ state->object_delim = fbuffer_alloc(16);
917
+ }
918
+ fbuffer_append_char(state->object_delim, ',');
919
+ if (state->object_delim2) {
920
+ fbuffer_clear(state->object_delim2);
921
+ } else {
922
+ state->object_delim2 = fbuffer_alloc(16);
923
+ }
924
+ if (state->space_before) fbuffer_append(state->object_delim2, state->space_before, state->space_before_len);
925
+ fbuffer_append_char(state->object_delim2, ':');
926
+ if (state->space) fbuffer_append(state->object_delim2, state->space, state->space_len);
927
+
928
+ if (state->array_delim) {
929
+ fbuffer_clear(state->array_delim);
930
+ } else {
931
+ state->array_delim = fbuffer_alloc(16);
932
+ }
933
+ fbuffer_append_char(state->array_delim, ',');
934
+ if (state->array_nl) fbuffer_append(state->array_delim, state->array_nl, state->array_nl_len);
935
+ return buffer;
936
+ }
937
+
938
+ static VALUE cState_partial_generate(VALUE self, VALUE obj)
939
+ {
940
+ FBuffer *buffer = cState_prepare_buffer(self);
941
+ GET_STATE(self);
942
+ generate_json(buffer, self, state, obj);
943
+ return fbuffer_to_s(buffer);
944
+ }
945
+
946
+ /*
947
+ * This function returns true if string is either a JSON array or JSON object.
948
+ * It might suffer from false positives, e. g. syntactically incorrect JSON in
949
+ * the string or certain UTF-8 characters on the right hand side.
950
+ */
951
+ static int isArrayOrObject(VALUE string)
952
+ {
953
+ long string_len = RSTRING_LEN(string);
954
+ char *p = RSTRING_PTR(string), *q = p + string_len - 1;
955
+ if (string_len < 2) return 0;
956
+ for (; p < q && isspace((unsigned char)*p); p++);
957
+ for (; q > p && isspace((unsigned char)*q); q--);
958
+ return (*p == '[' && *q == ']') || (*p == '{' && *q == '}');
959
+ }
960
+
961
+ /*
962
+ * call-seq: generate(obj)
963
+ *
964
+ * Generates a valid JSON document from object +obj+ and returns the
965
+ * result. If no valid JSON document can be created this method raises a
966
+ * GeneratorError exception.
967
+ */
968
+ static VALUE cState_generate(VALUE self, VALUE obj)
969
+ {
970
+ VALUE result = cState_partial_generate(self, obj);
971
+ GET_STATE(self);
972
+ if (!state->quirks_mode && !isArrayOrObject(result)) {
973
+ rb_raise(eGeneratorError, "only generation of JSON objects or arrays allowed");
974
+ }
975
+ return result;
976
+ }
977
+
978
+ /*
979
+ * call-seq: new(opts = {})
980
+ *
981
+ * Instantiates a new State object, configured by _opts_.
982
+ *
983
+ * _opts_ can have the following keys:
984
+ *
985
+ * * *indent*: a string used to indent levels (default: ''),
986
+ * * *space*: a string that is put after, a : or , delimiter (default: ''),
987
+ * * *space_before*: a string that is put before a : pair delimiter (default: ''),
988
+ * * *object_nl*: a string that is put at the end of a JSON object (default: ''),
989
+ * * *array_nl*: a string that is put at the end of a JSON array (default: ''),
990
+ * * *allow_nan*: true if NaN, Infinity, and -Infinity should be
991
+ * generated, otherwise an exception is thrown, if these values are
992
+ * encountered. This options defaults to false.
993
+ * * *quirks_mode*: Enables quirks_mode for parser, that is for example
994
+ * generating single JSON values instead of documents is possible.
995
+ * * *buffer_initial_length*: sets the initial length of the generator's
996
+ * internal buffer.
997
+ */
998
+ static VALUE cState_initialize(int argc, VALUE *argv, VALUE self)
999
+ {
1000
+ VALUE opts;
1001
+ GET_STATE(self);
1002
+ state->max_nesting = 100;
1003
+ state->buffer_initial_length = FBUFFER_INITIAL_LENGTH_DEFAULT;
1004
+ rb_scan_args(argc, argv, "01", &opts);
1005
+ if (!NIL_P(opts)) cState_configure(self, opts);
1006
+ return self;
1007
+ }
1008
+
1009
+ /*
1010
+ * call-seq: initialize_copy(orig)
1011
+ *
1012
+ * Initializes this object from orig if it can be duplicated/cloned and returns
1013
+ * it.
1014
+ */
1015
+ static VALUE cState_init_copy(VALUE obj, VALUE orig)
1016
+ {
1017
+ JSON_Generator_State *objState, *origState;
1018
+
1019
+ if (obj == orig) return obj;
1020
+ GET_STATE_TO(obj, objState);
1021
+ GET_STATE_TO(orig, origState);
1022
+ if (!objState) rb_raise(rb_eArgError, "unallocated JSON::State");
1023
+
1024
+ MEMCPY(objState, origState, JSON_Generator_State, 1);
1025
+ objState->indent = fstrndup(origState->indent, origState->indent_len);
1026
+ objState->space = fstrndup(origState->space, origState->space_len);
1027
+ objState->space_before = fstrndup(origState->space_before, origState->space_before_len);
1028
+ objState->object_nl = fstrndup(origState->object_nl, origState->object_nl_len);
1029
+ objState->array_nl = fstrndup(origState->array_nl, origState->array_nl_len);
1030
+ if (origState->array_delim) objState->array_delim = fbuffer_dup(origState->array_delim);
1031
+ if (origState->object_delim) objState->object_delim = fbuffer_dup(origState->object_delim);
1032
+ if (origState->object_delim2) objState->object_delim2 = fbuffer_dup(origState->object_delim2);
1033
+ return obj;
1034
+ }
1035
+
1036
+ /*
1037
+ * call-seq: from_state(opts)
1038
+ *
1039
+ * Creates a State object from _opts_, which ought to be Hash to create a
1040
+ * new State instance configured by _opts_, something else to create an
1041
+ * unconfigured instance. If _opts_ is a State object, it is just returned.
1042
+ */
1043
+ static VALUE cState_from_state_s(VALUE self, VALUE opts)
1044
+ {
1045
+ if (rb_obj_is_kind_of(opts, self)) {
1046
+ return opts;
1047
+ } else if (rb_obj_is_kind_of(opts, rb_cHash)) {
1048
+ return rb_funcall(self, i_new, 1, opts);
1049
+ } else {
1050
+ if (NIL_P(CJSON_SAFE_STATE_PROTOTYPE)) {
1051
+ CJSON_SAFE_STATE_PROTOTYPE = rb_const_get(mJSON, i_SAFE_STATE_PROTOTYPE);
1052
+ }
1053
+ return rb_funcall(CJSON_SAFE_STATE_PROTOTYPE, i_dup, 0);
1054
+ }
1055
+ }
1056
+
1057
+ /*
1058
+ * call-seq: indent()
1059
+ *
1060
+ * Returns the string that is used to indent levels in the JSON text.
1061
+ */
1062
+ static VALUE cState_indent(VALUE self)
1063
+ {
1064
+ GET_STATE(self);
1065
+ return state->indent ? rb_str_new(state->indent, state->indent_len) : rb_str_new2("");
1066
+ }
1067
+
1068
+ /*
1069
+ * call-seq: indent=(indent)
1070
+ *
1071
+ * Sets the string that is used to indent levels in the JSON text.
1072
+ */
1073
+ static VALUE cState_indent_set(VALUE self, VALUE indent)
1074
+ {
1075
+ unsigned long len;
1076
+ GET_STATE(self);
1077
+ Check_Type(indent, T_STRING);
1078
+ len = RSTRING_LEN(indent);
1079
+ if (len == 0) {
1080
+ if (state->indent) {
1081
+ ruby_xfree(state->indent);
1082
+ state->indent = NULL;
1083
+ state->indent_len = 0;
1084
+ }
1085
+ } else {
1086
+ if (state->indent) ruby_xfree(state->indent);
1087
+ state->indent = strdup(RSTRING_PTR(indent));
1088
+ state->indent_len = len;
1089
+ }
1090
+ return Qnil;
1091
+ }
1092
+
1093
+ /*
1094
+ * call-seq: space()
1095
+ *
1096
+ * Returns the string that is used to insert a space between the tokens in a JSON
1097
+ * string.
1098
+ */
1099
+ static VALUE cState_space(VALUE self)
1100
+ {
1101
+ GET_STATE(self);
1102
+ return state->space ? rb_str_new(state->space, state->space_len) : rb_str_new2("");
1103
+ }
1104
+
1105
+ /*
1106
+ * call-seq: space=(space)
1107
+ *
1108
+ * Sets _space_ to the string that is used to insert a space between the tokens in a JSON
1109
+ * string.
1110
+ */
1111
+ static VALUE cState_space_set(VALUE self, VALUE space)
1112
+ {
1113
+ unsigned long len;
1114
+ GET_STATE(self);
1115
+ Check_Type(space, T_STRING);
1116
+ len = RSTRING_LEN(space);
1117
+ if (len == 0) {
1118
+ if (state->space) {
1119
+ ruby_xfree(state->space);
1120
+ state->space = NULL;
1121
+ state->space_len = 0;
1122
+ }
1123
+ } else {
1124
+ if (state->space) ruby_xfree(state->space);
1125
+ state->space = strdup(RSTRING_PTR(space));
1126
+ state->space_len = len;
1127
+ }
1128
+ return Qnil;
1129
+ }
1130
+
1131
+ /*
1132
+ * call-seq: space_before()
1133
+ *
1134
+ * Returns the string that is used to insert a space before the ':' in JSON objects.
1135
+ */
1136
+ static VALUE cState_space_before(VALUE self)
1137
+ {
1138
+ GET_STATE(self);
1139
+ return state->space_before ? rb_str_new(state->space_before, state->space_before_len) : rb_str_new2("");
1140
+ }
1141
+
1142
+ /*
1143
+ * call-seq: space_before=(space_before)
1144
+ *
1145
+ * Sets the string that is used to insert a space before the ':' in JSON objects.
1146
+ */
1147
+ static VALUE cState_space_before_set(VALUE self, VALUE space_before)
1148
+ {
1149
+ unsigned long len;
1150
+ GET_STATE(self);
1151
+ Check_Type(space_before, T_STRING);
1152
+ len = RSTRING_LEN(space_before);
1153
+ if (len == 0) {
1154
+ if (state->space_before) {
1155
+ ruby_xfree(state->space_before);
1156
+ state->space_before = NULL;
1157
+ state->space_before_len = 0;
1158
+ }
1159
+ } else {
1160
+ if (state->space_before) ruby_xfree(state->space_before);
1161
+ state->space_before = strdup(RSTRING_PTR(space_before));
1162
+ state->space_before_len = len;
1163
+ }
1164
+ return Qnil;
1165
+ }
1166
+
1167
+ /*
1168
+ * call-seq: object_nl()
1169
+ *
1170
+ * This string is put at the end of a line that holds a JSON object (or
1171
+ * Hash).
1172
+ */
1173
+ static VALUE cState_object_nl(VALUE self)
1174
+ {
1175
+ GET_STATE(self);
1176
+ return state->object_nl ? rb_str_new(state->object_nl, state->object_nl_len) : rb_str_new2("");
1177
+ }
1178
+
1179
+ /*
1180
+ * call-seq: object_nl=(object_nl)
1181
+ *
1182
+ * This string is put at the end of a line that holds a JSON object (or
1183
+ * Hash).
1184
+ */
1185
+ static VALUE cState_object_nl_set(VALUE self, VALUE object_nl)
1186
+ {
1187
+ unsigned long len;
1188
+ GET_STATE(self);
1189
+ Check_Type(object_nl, T_STRING);
1190
+ len = RSTRING_LEN(object_nl);
1191
+ if (len == 0) {
1192
+ if (state->object_nl) {
1193
+ ruby_xfree(state->object_nl);
1194
+ state->object_nl = NULL;
1195
+ }
1196
+ } else {
1197
+ if (state->object_nl) ruby_xfree(state->object_nl);
1198
+ state->object_nl = strdup(RSTRING_PTR(object_nl));
1199
+ state->object_nl_len = len;
1200
+ }
1201
+ return Qnil;
1202
+ }
1203
+
1204
+ /*
1205
+ * call-seq: array_nl()
1206
+ *
1207
+ * This string is put at the end of a line that holds a JSON array.
1208
+ */
1209
+ static VALUE cState_array_nl(VALUE self)
1210
+ {
1211
+ GET_STATE(self);
1212
+ return state->array_nl ? rb_str_new(state->array_nl, state->array_nl_len) : rb_str_new2("");
1213
+ }
1214
+
1215
+ /*
1216
+ * call-seq: array_nl=(array_nl)
1217
+ *
1218
+ * This string is put at the end of a line that holds a JSON array.
1219
+ */
1220
+ static VALUE cState_array_nl_set(VALUE self, VALUE array_nl)
1221
+ {
1222
+ unsigned long len;
1223
+ GET_STATE(self);
1224
+ Check_Type(array_nl, T_STRING);
1225
+ len = RSTRING_LEN(array_nl);
1226
+ if (len == 0) {
1227
+ if (state->array_nl) {
1228
+ ruby_xfree(state->array_nl);
1229
+ state->array_nl = NULL;
1230
+ }
1231
+ } else {
1232
+ if (state->array_nl) ruby_xfree(state->array_nl);
1233
+ state->array_nl = strdup(RSTRING_PTR(array_nl));
1234
+ state->array_nl_len = len;
1235
+ }
1236
+ return Qnil;
1237
+ }
1238
+
1239
+
1240
+ /*
1241
+ * call-seq: check_circular?
1242
+ *
1243
+ * Returns true, if circular data structures should be checked,
1244
+ * otherwise returns false.
1245
+ */
1246
+ static VALUE cState_check_circular_p(VALUE self)
1247
+ {
1248
+ GET_STATE(self);
1249
+ return state->max_nesting ? Qtrue : Qfalse;
1250
+ }
1251
+
1252
+ /*
1253
+ * call-seq: max_nesting
1254
+ *
1255
+ * This integer returns the maximum level of data structure nesting in
1256
+ * the generated JSON, max_nesting = 0 if no maximum is checked.
1257
+ */
1258
+ static VALUE cState_max_nesting(VALUE self)
1259
+ {
1260
+ GET_STATE(self);
1261
+ return LONG2FIX(state->max_nesting);
1262
+ }
1263
+
1264
+ /*
1265
+ * call-seq: max_nesting=(depth)
1266
+ *
1267
+ * This sets the maximum level of data structure nesting in the generated JSON
1268
+ * to the integer depth, max_nesting = 0 if no maximum should be checked.
1269
+ */
1270
+ static VALUE cState_max_nesting_set(VALUE self, VALUE depth)
1271
+ {
1272
+ GET_STATE(self);
1273
+ Check_Type(depth, T_FIXNUM);
1274
+ return state->max_nesting = FIX2LONG(depth);
1275
+ }
1276
+
1277
+ /*
1278
+ * call-seq: allow_nan?
1279
+ *
1280
+ * Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise
1281
+ * returns false.
1282
+ */
1283
+ static VALUE cState_allow_nan_p(VALUE self)
1284
+ {
1285
+ GET_STATE(self);
1286
+ return state->allow_nan ? Qtrue : Qfalse;
1287
+ }
1288
+
1289
+ /*
1290
+ * call-seq: ascii_only?
1291
+ *
1292
+ * Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise
1293
+ * returns false.
1294
+ */
1295
+ static VALUE cState_ascii_only_p(VALUE self)
1296
+ {
1297
+ GET_STATE(self);
1298
+ return state->ascii_only ? Qtrue : Qfalse;
1299
+ }
1300
+
1301
+ /*
1302
+ * call-seq: quirks_mode?
1303
+ *
1304
+ * Returns true, if quirks mode is enabled. Otherwise returns false.
1305
+ */
1306
+ static VALUE cState_quirks_mode_p(VALUE self)
1307
+ {
1308
+ GET_STATE(self);
1309
+ return state->quirks_mode ? Qtrue : Qfalse;
1310
+ }
1311
+
1312
+ /*
1313
+ * call-seq: quirks_mode=(enable)
1314
+ *
1315
+ * If set to true, enables the quirks_mode mode.
1316
+ */
1317
+ static VALUE cState_quirks_mode_set(VALUE self, VALUE enable)
1318
+ {
1319
+ GET_STATE(self);
1320
+ state->quirks_mode = RTEST(enable);
1321
+ return Qnil;
1322
+ }
1323
+
1324
+ /*
1325
+ * call-seq: depth
1326
+ *
1327
+ * This integer returns the current depth of data structure nesting.
1328
+ */
1329
+ static VALUE cState_depth(VALUE self)
1330
+ {
1331
+ GET_STATE(self);
1332
+ return LONG2FIX(state->depth);
1333
+ }
1334
+
1335
+ /*
1336
+ * call-seq: depth=(depth)
1337
+ *
1338
+ * This sets the maximum level of data structure nesting in the generated JSON
1339
+ * to the integer depth, max_nesting = 0 if no maximum should be checked.
1340
+ */
1341
+ static VALUE cState_depth_set(VALUE self, VALUE depth)
1342
+ {
1343
+ GET_STATE(self);
1344
+ Check_Type(depth, T_FIXNUM);
1345
+ state->depth = FIX2LONG(depth);
1346
+ return Qnil;
1347
+ }
1348
+
1349
+ /*
1350
+ * call-seq: buffer_initial_length
1351
+ *
1352
+ * This integer returns the current initial length of the buffer.
1353
+ */
1354
+ static VALUE cState_buffer_initial_length(VALUE self)
1355
+ {
1356
+ GET_STATE(self);
1357
+ return LONG2FIX(state->buffer_initial_length);
1358
+ }
1359
+
1360
+ /*
1361
+ * call-seq: buffer_initial_length=(length)
1362
+ *
1363
+ * This sets the initial length of the buffer to +length+, if +length+ > 0,
1364
+ * otherwise its value isn't changed.
1365
+ */
1366
+ static VALUE cState_buffer_initial_length_set(VALUE self, VALUE buffer_initial_length)
1367
+ {
1368
+ long initial_length;
1369
+ GET_STATE(self);
1370
+ Check_Type(buffer_initial_length, T_FIXNUM);
1371
+ initial_length = FIX2LONG(buffer_initial_length);
1372
+ if (initial_length > 0) {
1373
+ state->buffer_initial_length = initial_length;
1374
+ }
1375
+ return Qnil;
1376
+ }
1377
+
1378
+ /*
1379
+ *
1380
+ */
1381
+ void Init_generator(void)
1382
+ {
1383
+ rb_require("json/common");
1384
+
1385
+ mJSON = rb_define_module("JSON");
1386
+ mExt = rb_define_module_under(mJSON, "Ext");
1387
+ mGenerator = rb_define_module_under(mExt, "Generator");
1388
+
1389
+ eGeneratorError = rb_path2class("JSON::GeneratorError");
1390
+ eNestingError = rb_path2class("JSON::NestingError");
1391
+
1392
+ cState = rb_define_class_under(mGenerator, "State", rb_cObject);
1393
+ rb_define_alloc_func(cState, cState_s_allocate);
1394
+ rb_define_singleton_method(cState, "from_state", cState_from_state_s, 1);
1395
+ rb_define_method(cState, "initialize", cState_initialize, -1);
1396
+ rb_define_method(cState, "initialize_copy", cState_init_copy, 1);
1397
+ rb_define_method(cState, "indent", cState_indent, 0);
1398
+ rb_define_method(cState, "indent=", cState_indent_set, 1);
1399
+ rb_define_method(cState, "space", cState_space, 0);
1400
+ rb_define_method(cState, "space=", cState_space_set, 1);
1401
+ rb_define_method(cState, "space_before", cState_space_before, 0);
1402
+ rb_define_method(cState, "space_before=", cState_space_before_set, 1);
1403
+ rb_define_method(cState, "object_nl", cState_object_nl, 0);
1404
+ rb_define_method(cState, "object_nl=", cState_object_nl_set, 1);
1405
+ rb_define_method(cState, "array_nl", cState_array_nl, 0);
1406
+ rb_define_method(cState, "array_nl=", cState_array_nl_set, 1);
1407
+ rb_define_method(cState, "max_nesting", cState_max_nesting, 0);
1408
+ rb_define_method(cState, "max_nesting=", cState_max_nesting_set, 1);
1409
+ rb_define_method(cState, "check_circular?", cState_check_circular_p, 0);
1410
+ rb_define_method(cState, "allow_nan?", cState_allow_nan_p, 0);
1411
+ rb_define_method(cState, "ascii_only?", cState_ascii_only_p, 0);
1412
+ rb_define_method(cState, "quirks_mode?", cState_quirks_mode_p, 0);
1413
+ rb_define_method(cState, "quirks_mode", cState_quirks_mode_p, 0);
1414
+ rb_define_method(cState, "quirks_mode=", cState_quirks_mode_set, 1);
1415
+ rb_define_method(cState, "depth", cState_depth, 0);
1416
+ rb_define_method(cState, "depth=", cState_depth_set, 1);
1417
+ rb_define_method(cState, "buffer_initial_length", cState_buffer_initial_length, 0);
1418
+ rb_define_method(cState, "buffer_initial_length=", cState_buffer_initial_length_set, 1);
1419
+ rb_define_method(cState, "configure", cState_configure, 1);
1420
+ rb_define_alias(cState, "merge", "configure");
1421
+ rb_define_method(cState, "to_h", cState_to_h, 0);
1422
+ rb_define_alias(cState, "to_hash", "to_h");
1423
+ rb_define_method(cState, "[]", cState_aref, 1);
1424
+ rb_define_method(cState, "[]=", cState_aset, 2);
1425
+ rb_define_method(cState, "generate", cState_generate, 1);
1426
+
1427
+ mGeneratorMethods = rb_define_module_under(mGenerator, "GeneratorMethods");
1428
+ mObject = rb_define_module_under(mGeneratorMethods, "Object");
1429
+ rb_define_method(mObject, "to_json", mObject_to_json, -1);
1430
+ mHash = rb_define_module_under(mGeneratorMethods, "Hash");
1431
+ rb_define_method(mHash, "to_json", mHash_to_json, -1);
1432
+ mArray = rb_define_module_under(mGeneratorMethods, "Array");
1433
+ rb_define_method(mArray, "to_json", mArray_to_json, -1);
1434
+ #ifdef RUBY_INTEGER_UNIFICATION
1435
+ mInteger = rb_define_module_under(mGeneratorMethods, "Integer");
1436
+ rb_define_method(mInteger, "to_json", mInteger_to_json, -1);
1437
+ #else
1438
+ mFixnum = rb_define_module_under(mGeneratorMethods, "Fixnum");
1439
+ rb_define_method(mFixnum, "to_json", mFixnum_to_json, -1);
1440
+ mBignum = rb_define_module_under(mGeneratorMethods, "Bignum");
1441
+ rb_define_method(mBignum, "to_json", mBignum_to_json, -1);
1442
+ #endif
1443
+ mFloat = rb_define_module_under(mGeneratorMethods, "Float");
1444
+ rb_define_method(mFloat, "to_json", mFloat_to_json, -1);
1445
+ mString = rb_define_module_under(mGeneratorMethods, "String");
1446
+ rb_define_singleton_method(mString, "included", mString_included_s, 1);
1447
+ rb_define_method(mString, "to_json", mString_to_json, -1);
1448
+ rb_define_method(mString, "to_json_raw", mString_to_json_raw, -1);
1449
+ rb_define_method(mString, "to_json_raw_object", mString_to_json_raw_object, 0);
1450
+ mString_Extend = rb_define_module_under(mString, "Extend");
1451
+ rb_define_method(mString_Extend, "json_create", mString_Extend_json_create, 1);
1452
+ mTrueClass = rb_define_module_under(mGeneratorMethods, "TrueClass");
1453
+ rb_define_method(mTrueClass, "to_json", mTrueClass_to_json, -1);
1454
+ mFalseClass = rb_define_module_under(mGeneratorMethods, "FalseClass");
1455
+ rb_define_method(mFalseClass, "to_json", mFalseClass_to_json, -1);
1456
+ mNilClass = rb_define_module_under(mGeneratorMethods, "NilClass");
1457
+ rb_define_method(mNilClass, "to_json", mNilClass_to_json, -1);
1458
+
1459
+ CRegexp_MULTILINE = rb_const_get(rb_cRegexp, rb_intern("MULTILINE"));
1460
+ i_to_s = rb_intern("to_s");
1461
+ i_to_json = rb_intern("to_json");
1462
+ i_new = rb_intern("new");
1463
+ i_indent = rb_intern("indent");
1464
+ i_space = rb_intern("space");
1465
+ i_space_before = rb_intern("space_before");
1466
+ i_object_nl = rb_intern("object_nl");
1467
+ i_array_nl = rb_intern("array_nl");
1468
+ i_max_nesting = rb_intern("max_nesting");
1469
+ i_allow_nan = rb_intern("allow_nan");
1470
+ i_ascii_only = rb_intern("ascii_only");
1471
+ i_quirks_mode = rb_intern("quirks_mode");
1472
+ i_depth = rb_intern("depth");
1473
+ i_buffer_initial_length = rb_intern("buffer_initial_length");
1474
+ i_pack = rb_intern("pack");
1475
+ i_unpack = rb_intern("unpack");
1476
+ i_create_id = rb_intern("create_id");
1477
+ i_extend = rb_intern("extend");
1478
+ i_key_p = rb_intern("key?");
1479
+ i_aref = rb_intern("[]");
1480
+ i_send = rb_intern("__send__");
1481
+ i_respond_to_p = rb_intern("respond_to?");
1482
+ i_match = rb_intern("match");
1483
+ i_keys = rb_intern("keys");
1484
+ i_dup = rb_intern("dup");
1485
+ #ifdef HAVE_RUBY_ENCODING_H
1486
+ CEncoding_UTF_8 = rb_funcall(rb_path2class("Encoding"), rb_intern("find"), 1, rb_str_new2("utf-8"));
1487
+ i_encoding = rb_intern("encoding");
1488
+ i_encode = rb_intern("encode");
1489
+ #endif
1490
+ i_SAFE_STATE_PROTOTYPE = rb_intern("SAFE_STATE_PROTOTYPE");
1491
+ CJSON_SAFE_STATE_PROTOTYPE = Qnil;
1492
+ }