cloudsmith-api 0.21.4 → 0.30.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1291) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +57 -14
  4. data/build.json +1 -1
  5. data/docs/Distribution.md +4 -4
  6. data/docs/DistrosApi.md +1 -1
  7. data/docs/DistrosVersions.md +9 -0
  8. data/docs/EntitlementsApi.md +729 -0
  9. data/docs/EntitlementsCreate.md +17 -0
  10. data/docs/EntitlementsPartialUpdate.md +17 -0
  11. data/docs/EntitlementsRefresh.md +16 -0
  12. data/docs/EntitlementsSync.md +8 -0
  13. data/docs/FilesApi.md +1 -1
  14. data/docs/FilesCreate.md +1 -1
  15. data/docs/FilesValidate.md +1 -1
  16. data/docs/Format.md +5 -5
  17. data/docs/FormatsApi.md +1 -1
  18. data/docs/FormatsDistributions.md +11 -0
  19. data/docs/MavenPackageUpload.md +47 -44
  20. data/docs/Namespace.md +2 -2
  21. data/docs/NamespacesApi.md +1 -1
  22. data/docs/Organization.md +3 -3
  23. data/docs/OrgsApi.md +1 -1
  24. data/docs/Package.md +62 -0
  25. data/docs/PackageCopy.md +62 -0
  26. data/docs/PackageFileUpload.md +1 -1
  27. data/docs/PackageMove.md +62 -0
  28. data/docs/PackageStatus.md +9 -8
  29. data/docs/PackagesApi.md +391 -30
  30. data/docs/PackagesCopy.md +8 -0
  31. data/docs/PackagesMove.md +8 -0
  32. data/docs/PackagesUploadComposer.md +8 -0
  33. data/docs/PackagesUploadMaven.md +4 -4
  34. data/docs/PackagesUploadRaw.md +3 -1
  35. data/docs/PackagesUploadVagrant.md +2 -1
  36. data/docs/PackagesValidateuploadComposer.md +8 -0
  37. data/docs/PackagesValidateuploadMaven.md +4 -4
  38. data/docs/PackagesValidateuploadRaw.md +3 -1
  39. data/docs/PackagesValidateuploadVagrant.md +2 -1
  40. data/docs/PackagesownerrepoArchitectures.md +9 -0
  41. data/docs/PackagesownerrepoFiles.md +20 -0
  42. data/docs/RatesApi.md +66 -0
  43. data/docs/RawPackageUpload.md +62 -0
  44. data/docs/ReposApi.md +72 -5
  45. data/docs/ReposGpgKeys.md +14 -0
  46. data/docs/Repository.md +15 -12
  47. data/docs/RepositoryToken.md +32 -0
  48. data/docs/RepositoryTokenRefresh.md +32 -0
  49. data/docs/RepositoryTokenSync.md +8 -0
  50. data/docs/RepositoryTokenSyncTokens.md +32 -0
  51. data/docs/RepositoryWebhook.md +33 -0
  52. data/docs/ResourcesRateCheck.md +8 -0
  53. data/docs/StatusApi.md +1 -1
  54. data/docs/StatusBasic.md +1 -1
  55. data/docs/UserApi.md +1 -1
  56. data/docs/UserBrief.md +4 -4
  57. data/docs/UserProfile.md +6 -6
  58. data/docs/UserTokenCreate.md +1 -1
  59. data/docs/UsersApi.md +1 -1
  60. data/docs/VagrantPackageUpload.md +44 -41
  61. data/docs/WebhooksApi.md +365 -0
  62. data/docs/WebhooksCreate.md +18 -0
  63. data/docs/WebhooksPartialUpdate.md +18 -0
  64. data/docs/WebhooksownerrepoTemplates.md +9 -0
  65. data/lib/cloudsmith-api.rb +29 -5
  66. data/lib/cloudsmith-api/api/entitlements_api.rb +668 -0
  67. data/lib/cloudsmith-api/api/packages_api.rb +369 -48
  68. data/lib/cloudsmith-api/api/rates_api.rb +68 -0
  69. data/lib/cloudsmith-api/api/repos_api.rb +57 -6
  70. data/lib/cloudsmith-api/api/webhooks_api.rb +339 -0
  71. data/lib/cloudsmith-api/configuration.rb +1 -1
  72. data/lib/cloudsmith-api/models/distribution.rb +36 -36
  73. data/lib/cloudsmith-api/models/distros_versions.rb +199 -0
  74. data/lib/cloudsmith-api/models/entitlements_create.rb +289 -0
  75. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +279 -0
  76. data/lib/cloudsmith-api/models/entitlements_refresh.rb +274 -0
  77. data/lib/cloudsmith-api/models/entitlements_sync.rb +194 -0
  78. data/lib/cloudsmith-api/models/files_create.rb +19 -19
  79. data/lib/cloudsmith-api/models/files_validate.rb +19 -19
  80. data/lib/cloudsmith-api/models/format.rb +62 -62
  81. data/lib/cloudsmith-api/models/formats_distributions.rb +219 -0
  82. data/lib/cloudsmith-api/models/maven_package_upload.rb +350 -320
  83. data/lib/cloudsmith-api/models/namespace.rb +22 -22
  84. data/lib/cloudsmith-api/models/organization.rb +28 -28
  85. data/lib/cloudsmith-api/models/package.rb +733 -0
  86. data/lib/cloudsmith-api/models/package_copy.rb +733 -0
  87. data/lib/cloudsmith-api/models/package_file_upload.rb +11 -11
  88. data/lib/cloudsmith-api/models/package_move.rb +733 -0
  89. data/lib/cloudsmith-api/models/package_status.rb +85 -75
  90. data/lib/cloudsmith-api/models/packages_copy.rb +194 -0
  91. data/lib/cloudsmith-api/models/packages_move.rb +194 -0
  92. data/lib/cloudsmith-api/models/packages_upload_composer.rb +194 -0
  93. data/lib/cloudsmith-api/models/packages_upload_maven.rb +38 -38
  94. data/lib/cloudsmith-api/models/packages_upload_raw.rb +31 -11
  95. data/lib/cloudsmith-api/models/packages_upload_vagrant.rb +29 -14
  96. data/lib/cloudsmith-api/models/packages_validateupload_composer.rb +194 -0
  97. data/lib/cloudsmith-api/models/packages_validateupload_maven.rb +38 -38
  98. data/lib/cloudsmith-api/models/packages_validateupload_raw.rb +31 -11
  99. data/lib/cloudsmith-api/models/packages_validateupload_vagrant.rb +29 -14
  100. data/lib/cloudsmith-api/models/packagesownerrepo_architectures.rb +199 -0
  101. data/lib/cloudsmith-api/models/packagesownerrepo_files.rb +309 -0
  102. data/lib/cloudsmith-api/models/raw_package_upload.rb +733 -0
  103. data/lib/cloudsmith-api/models/repos_gpg_keys.rb +249 -0
  104. data/lib/cloudsmith-api/models/repository.rb +127 -95
  105. data/lib/cloudsmith-api/models/repository_token.rb +439 -0
  106. data/lib/cloudsmith-api/models/repository_token_refresh.rb +434 -0
  107. data/lib/cloudsmith-api/models/repository_token_sync.rb +191 -0
  108. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +429 -0
  109. data/lib/cloudsmith-api/models/repository_webhook.rb +458 -0
  110. data/lib/cloudsmith-api/models/resources_rate_check.rb +189 -0
  111. data/lib/cloudsmith-api/models/status_basic.rb +14 -14
  112. data/lib/cloudsmith-api/models/user_brief.rb +31 -31
  113. data/lib/cloudsmith-api/models/user_profile.rb +47 -47
  114. data/lib/cloudsmith-api/models/user_token_create.rb +14 -14
  115. data/lib/cloudsmith-api/models/vagrant_package_upload.rb +337 -302
  116. data/lib/cloudsmith-api/models/webhooks_create.rb +308 -0
  117. data/lib/cloudsmith-api/models/webhooks_partial_update.rb +293 -0
  118. data/lib/cloudsmith-api/models/webhooksownerrepo_templates.rb +199 -0
  119. data/lib/cloudsmith-api/version.rb +1 -1
  120. data/spec/api/entitlements_api_spec.rb +183 -0
  121. data/spec/api/packages_api_spec.rb +83 -10
  122. data/spec/api/rates_api_spec.rb +46 -0
  123. data/spec/api/repos_api_spec.rb +14 -1
  124. data/spec/api/webhooks_api_spec.rb +107 -0
  125. data/spec/configuration_spec.rb +3 -3
  126. data/spec/models/distribution_spec.rb +6 -6
  127. data/spec/models/distros_versions_spec.rb +48 -0
  128. data/spec/models/entitlements_create_spec.rb +96 -0
  129. data/spec/models/entitlements_partial_update_spec.rb +96 -0
  130. data/spec/models/entitlements_refresh_spec.rb +90 -0
  131. data/spec/models/entitlements_sync_spec.rb +42 -0
  132. data/spec/models/files_create_spec.rb +2 -2
  133. data/spec/models/files_validate_spec.rb +2 -2
  134. data/spec/models/format_spec.rb +8 -8
  135. data/spec/models/formats_distributions_spec.rb +60 -0
  136. data/spec/models/maven_package_upload_spec.rb +71 -53
  137. data/spec/models/namespace_spec.rb +4 -4
  138. data/spec/models/organization_spec.rb +6 -6
  139. data/spec/models/package_copy_spec.rb +366 -0
  140. data/spec/models/package_file_upload_spec.rb +2 -2
  141. data/spec/models/package_move_spec.rb +366 -0
  142. data/spec/models/package_spec.rb +366 -0
  143. data/spec/models/package_status_spec.rb +19 -13
  144. data/spec/models/packages_copy_spec.rb +42 -0
  145. data/spec/models/packages_move_spec.rb +42 -0
  146. data/spec/models/packages_upload_composer_spec.rb +42 -0
  147. data/spec/models/packages_upload_maven_spec.rb +7 -7
  148. data/spec/models/packages_upload_raw_spec.rb +13 -1
  149. data/spec/models/packages_upload_vagrant_spec.rb +7 -1
  150. data/spec/models/packages_validateupload_composer_spec.rb +42 -0
  151. data/spec/models/packages_validateupload_maven_spec.rb +7 -7
  152. data/spec/models/packages_validateupload_raw_spec.rb +13 -1
  153. data/spec/models/packages_validateupload_vagrant_spec.rb +7 -1
  154. data/spec/models/packagesownerrepo_architectures_spec.rb +48 -0
  155. data/spec/models/packagesownerrepo_files_spec.rb +114 -0
  156. data/spec/models/raw_package_upload_spec.rb +366 -0
  157. data/spec/models/repos_gpg_keys_spec.rb +78 -0
  158. data/spec/models/repository_spec.rb +34 -16
  159. data/spec/models/repository_token_refresh_spec.rb +186 -0
  160. data/spec/models/repository_token_spec.rb +186 -0
  161. data/spec/models/repository_token_sync_spec.rb +42 -0
  162. data/spec/models/repository_token_sync_tokens_spec.rb +186 -0
  163. data/spec/models/repository_webhook_spec.rb +192 -0
  164. data/spec/models/resources_rate_check_spec.rb +42 -0
  165. data/spec/models/status_basic_spec.rb +2 -2
  166. data/spec/models/user_brief_spec.rb +5 -5
  167. data/spec/models/user_profile_spec.rb +9 -9
  168. data/spec/models/user_token_create_spec.rb +2 -2
  169. data/spec/models/vagrant_package_upload_spec.rb +69 -51
  170. data/spec/models/webhooks_create_spec.rb +102 -0
  171. data/spec/models/webhooks_partial_update_spec.rb +102 -0
  172. data/spec/models/webhooksownerrepo_templates_spec.rb +48 -0
  173. data/vendor/bundle/ruby/2.3.0/bin/autotest +5 -0
  174. data/vendor/bundle/ruby/2.3.0/bin/htmldiff +5 -0
  175. data/vendor/bundle/ruby/2.3.0/bin/ldiff +5 -0
  176. data/vendor/bundle/ruby/2.3.0/bin/multigem +5 -0
  177. data/vendor/bundle/ruby/2.3.0/bin/multiruby +5 -0
  178. data/vendor/bundle/ruby/2.3.0/bin/multiruby_setup +5 -0
  179. data/vendor/bundle/ruby/2.3.0/bin/rake +5 -0
  180. data/vendor/bundle/ruby/2.3.0/bin/rspec +5 -0
  181. data/vendor/bundle/ruby/2.3.0/bin/safe_yaml +5 -0
  182. data/vendor/bundle/ruby/2.3.0/bin/unit_diff +5 -0
  183. data/vendor/bundle/ruby/2.3.0/bin/zentest +5 -0
  184. data/vendor/bundle/ruby/2.3.0/cache/ffi-1.9.25.gem +0 -0
  185. data/vendor/bundle/ruby/2.3.0/cache/public_suffix-3.0.2.gem +0 -0
  186. data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.7.1.gem +0 -0
  187. data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.7.1.gem +0 -0
  188. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/autotest-fsevent-0.2.13/gem_make.out +1 -1
  189. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.25/ffi_c.so +0 -0
  190. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/{ffi-1.9.18 → ffi-1.9.25}/gem.build_complete +0 -0
  191. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.25/gem_make.out +51 -0
  192. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.25/mkmf.log +417 -0
  193. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/gem_make.out +1 -1
  194. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/generator.so +0 -0
  195. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/json/ext/parser.so +0 -0
  196. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/json-2.1.0/mkmf.log +3 -3
  197. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/.gitignore +22 -0
  198. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/.gitmodules +3 -0
  199. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/.travis.yml +52 -0
  200. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/.yardopts +5 -0
  201. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/CHANGELOG.md +74 -0
  202. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/COPYING +0 -0
  203. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/Gemfile +15 -0
  204. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/LICENSE +0 -0
  205. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/LICENSE.SPECS +22 -0
  206. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/README.md +112 -0
  207. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/Rakefile +268 -0
  208. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/appveyor.yml +22 -0
  209. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/.RUBYARCHDIR.time +0 -0
  210. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/AbstractMemory.c +1109 -0
  211. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/AbstractMemory.h +0 -0
  212. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/ArrayType.c +0 -0
  213. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/ArrayType.h +0 -0
  214. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Buffer.c +0 -0
  215. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Call.c +520 -0
  216. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Call.h +0 -0
  217. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/ClosurePool.c +0 -0
  218. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/ClosurePool.h +0 -0
  219. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/DataConverter.c +0 -0
  220. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/DynamicLibrary.c +0 -0
  221. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/DynamicLibrary.h +0 -0
  222. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Function.c +1001 -0
  223. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Function.h +0 -0
  224. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/FunctionInfo.c +0 -0
  225. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/LastError.c +0 -0
  226. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/LastError.h +0 -0
  227. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/LongDouble.c +0 -0
  228. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/LongDouble.h +0 -0
  229. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Makefile +260 -0
  230. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/MappedType.c +0 -0
  231. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/MappedType.h +0 -0
  232. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/MemoryPointer.c +0 -0
  233. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/MemoryPointer.h +0 -0
  234. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/MethodHandle.c +0 -0
  235. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/MethodHandle.h +0 -0
  236. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Platform.c +129 -0
  237. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Platform.h +0 -0
  238. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Pointer.c +0 -0
  239. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Pointer.h +0 -0
  240. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Struct.c +0 -0
  241. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Struct.h +0 -0
  242. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/StructByReference.c +0 -0
  243. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/StructByReference.h +0 -0
  244. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/StructByValue.c +0 -0
  245. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/StructByValue.h +0 -0
  246. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/StructLayout.c +0 -0
  247. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/Thread.c +353 -0
  248. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Thread.h +0 -0
  249. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Type.c +0 -0
  250. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Type.h +0 -0
  251. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Types.c +0 -0
  252. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Types.h +0 -0
  253. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/Variadic.c +0 -0
  254. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/compat.h +0 -0
  255. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/extconf.h +13 -0
  256. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/extconf.rb +72 -0
  257. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/ffi.c +0 -0
  258. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.bsd.mk +40 -0
  259. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.darwin.mk +105 -0
  260. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.gnu.mk +32 -0
  261. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.mk +18 -0
  262. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.vc.mk +26 -0
  263. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi.vc64.mk +26 -0
  264. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.appveyor.yml +50 -0
  265. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.github/issue_template.md +10 -0
  266. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.gitignore +38 -0
  267. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis.yml +34 -0
  268. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/ar-lib +270 -0
  269. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/build.sh +34 -0
  270. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/compile +351 -0
  271. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/install.sh +22 -0
  272. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/moxie-sim.exp +60 -0
  273. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/.travis/site.exp +18 -0
  274. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/ChangeLog.libffi +584 -0
  275. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/ChangeLog.libffi-3.1 +6000 -0
  276. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/ChangeLog.libgcj +0 -0
  277. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/ChangeLog.v1 +764 -0
  278. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/LICENSE +21 -0
  279. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/LICENSE-BUILDTOOLS +352 -0
  280. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/Makefile.am +166 -0
  281. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/README.md +461 -0
  282. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/acinclude.m4 +479 -0
  283. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/autogen.sh +2 -0
  284. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/config.guess +1466 -0
  285. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/config.sub +1836 -0
  286. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/configure.ac +390 -0
  287. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/configure.host +289 -0
  288. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +203 -0
  289. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include/Makefile.am +9 -0
  290. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include/ffi.h.in +511 -0
  291. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
  292. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include/ffi_common.h +149 -0
  293. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libffi.map.in +80 -0
  294. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libffi.pc.in +11 -0
  295. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +1043 -0
  296. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/libtool-version +29 -0
  297. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
  298. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_append_flag.m4 +71 -0
  299. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +194 -0
  300. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +122 -0
  301. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_check_compile_flag.m4 +74 -0
  302. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +87 -0
  303. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
  304. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +302 -0
  305. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +263 -0
  306. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +89 -0
  307. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/m4/ax_require_defined.m4 +37 -0
  308. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/Makefile.am +8 -0
  309. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/ffi.3 +41 -0
  310. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/man/ffi_call.3 +0 -0
  311. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/ffi_prep_cif.3 +68 -0
  312. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
  313. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/msvcc.sh +328 -0
  314. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/aarch64/ffi.c +941 -0
  315. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/aarch64/ffitarget.h +81 -0
  316. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/aarch64/internal.h +67 -0
  317. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/aarch64/sysv.S +438 -0
  318. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/alpha/ffi.c +521 -0
  319. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/alpha/ffitarget.h +57 -0
  320. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
  321. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/alpha/osf.S +282 -0
  322. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
  323. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
  324. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
  325. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arm/ffi.c +819 -0
  326. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arm/ffitarget.h +82 -0
  327. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arm/internal.h +7 -0
  328. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/arm/sysv.S +383 -0
  329. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/avr32/ffi.c +0 -0
  330. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/avr32/ffitarget.h +55 -0
  331. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/avr32/sysv.S +0 -0
  332. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
  333. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
  334. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
  335. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c +966 -0
  336. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/cris/ffi.c +386 -0
  337. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/cris/ffitarget.h +56 -0
  338. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/cris/sysv.S +0 -0
  339. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/debug.c +64 -0
  340. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/dlmalloc.c +5166 -0
  341. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/frv/eabi.S +0 -0
  342. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/frv/ffi.c +292 -0
  343. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/frv/ffitarget.h +62 -0
  344. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/ia64/ffi.c +604 -0
  345. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/ia64/ffitarget.h +56 -0
  346. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/ia64/ia64_flags.h +0 -0
  347. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/ia64/unix.S +567 -0
  348. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c +374 -0
  349. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m32r/ffi.c +232 -0
  350. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m32r/ffitarget.h +53 -0
  351. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/m32r/sysv.S +0 -0
  352. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m68k/ffi.c +362 -0
  353. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m68k/ffitarget.h +54 -0
  354. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m68k/sysv.S +357 -0
  355. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
  356. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
  357. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
  358. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
  359. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/metag/ffitarget.h +53 -0
  360. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
  361. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
  362. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
  363. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
  364. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/mips/ffi.c +1130 -0
  365. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/mips/ffitarget.h +244 -0
  366. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/mips/n32.S +663 -0
  367. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/mips/o32.S +502 -0
  368. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/moxie/eabi.S +101 -0
  369. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/moxie/ffi.c +285 -0
  370. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
  371. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
  372. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
  373. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
  374. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
  375. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
  376. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
  377. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/pa/ffi.c +0 -0
  378. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/pa/ffitarget.h +85 -0
  379. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/pa/hpux32.S +0 -0
  380. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/pa/linux.S +0 -0
  381. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/aix.S +566 -0
  382. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/aix_closure.S +694 -0
  383. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/asm.h +125 -0
  384. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/darwin.S +378 -0
  385. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +571 -0
  386. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi.c +173 -0
  387. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +1440 -0
  388. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +974 -0
  389. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +94 -0
  390. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
  391. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffitarget.h +198 -0
  392. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/linux64.S +228 -0
  393. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +488 -0
  394. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +397 -0
  395. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/sysv.S +175 -0
  396. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c +261 -0
  397. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c +267 -0
  398. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/riscv/ffi.c +445 -0
  399. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/riscv/ffitarget.h +68 -0
  400. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/riscv/sysv.S +214 -0
  401. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/s390/ffi.c +756 -0
  402. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/s390/ffitarget.h +70 -0
  403. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/s390/internal.h +11 -0
  404. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/s390/sysv.S +325 -0
  405. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh/ffi.c +717 -0
  406. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh/ffitarget.h +54 -0
  407. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/sh/sysv.S +0 -0
  408. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh64/ffi.c +469 -0
  409. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sh64/ffitarget.h +58 -0
  410. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/src/sh64/sysv.S +0 -0
  411. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/ffi.c +468 -0
  412. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
  413. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/ffitarget.h +81 -0
  414. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
  415. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/v8.S +443 -0
  416. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/sparc/v9.S +440 -0
  417. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
  418. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
  419. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/tile/tile.S +360 -0
  420. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c +108 -0
  421. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
  422. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
  423. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
  424. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
  425. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffi.c +753 -0
  426. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffi64.c +884 -0
  427. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffitarget.h +147 -0
  428. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/ffiw64.c +308 -0
  429. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/internal.h +29 -0
  430. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
  431. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/sysv.S +1043 -0
  432. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/unix64.S +525 -0
  433. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/win64.S +232 -0
  434. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/x86/win64_intel.S +237 -0
  435. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
  436. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
  437. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/xtensa/sysv.S +258 -0
  438. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/stamp-h.in +1 -0
  439. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/Makefile.am +117 -0
  440. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/config/default.exp +0 -0
  441. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/lib/libffi.exp +636 -0
  442. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +283 -0
  443. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/lib/wrapper.exp +0 -0
  444. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/Makefile +28 -0
  445. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/README +78 -0
  446. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/alignof.h +50 -0
  447. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/bhaible.exp +58 -0
  448. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-call.c +1745 -0
  449. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/test-callback.c +2885 -0
  450. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.bhaible/testcases.c +743 -0
  451. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
  452. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/align_stdcall.c +46 -0
  453. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +43 -0
  454. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn0.c +0 -0
  455. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn1.c +0 -0
  456. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn2.c +0 -0
  457. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn3.c +0 -0
  458. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn4.c +0 -0
  459. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn5.c +0 -0
  460. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/closure_fn6.c +0 -0
  461. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/closure_loc_fn0.c +0 -0
  462. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/closure_simple.c +55 -0
  463. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +94 -0
  464. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +95 -0
  465. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +96 -0
  466. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +102 -0
  467. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +89 -0
  468. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +91 -0
  469. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +93 -0
  470. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +113 -0
  471. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +90 -0
  472. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +95 -0
  473. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +90 -0
  474. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +90 -0
  475. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_3float.c +95 -0
  476. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +98 -0
  477. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +90 -0
  478. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +109 -0
  479. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +98 -0
  480. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +124 -0
  481. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +113 -0
  482. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +99 -0
  483. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +117 -0
  484. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +97 -0
  485. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +88 -0
  486. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +90 -0
  487. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +91 -0
  488. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +93 -0
  489. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +91 -0
  490. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +92 -0
  491. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +132 -0
  492. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +115 -0
  493. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +95 -0
  494. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +91 -0
  495. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +91 -0
  496. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +92 -0
  497. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +91 -0
  498. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +91 -0
  499. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +93 -0
  500. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +66 -0
  501. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_double.c +0 -0
  502. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +61 -0
  503. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_float.c +0 -0
  504. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +105 -0
  505. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +61 -0
  506. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_args.c +70 -0
  507. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_float_double.c +55 -0
  508. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_schar.c +0 -0
  509. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshort.c +0 -0
  510. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_sshortchar.c +0 -0
  511. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_uchar.c +0 -0
  512. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushort.c +0 -0
  513. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_multi_ushortchar.c +0 -0
  514. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +74 -0
  515. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +142 -0
  516. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_schar.c +0 -0
  517. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_sint.c +0 -0
  518. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_sshort.c +0 -0
  519. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_struct_va1.c +114 -0
  520. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar.c +0 -0
  521. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar_va.c +44 -0
  522. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint.c +0 -0
  523. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint_va.c +45 -0
  524. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulong_va.c +45 -0
  525. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +47 -0
  526. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort.c +0 -0
  527. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort_va.c +44 -0
  528. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +0 -0
  529. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +26 -0
  530. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +138 -0
  531. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/float.c +0 -0
  532. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +60 -0
  533. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +60 -0
  534. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +74 -0
  535. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/float4.c +0 -0
  536. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
  537. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +341 -0
  538. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/many.c +59 -0
  539. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
  540. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
  541. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
  542. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +52 -0
  543. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +152 -0
  544. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +161 -0
  545. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +134 -0
  546. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct11.c +121 -0
  547. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +110 -0
  548. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +111 -0
  549. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +111 -0
  550. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +112 -0
  551. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +131 -0
  552. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +111 -0
  553. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +131 -0
  554. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +131 -0
  555. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
  556. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
  557. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/problem1.c +0 -0
  558. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/promotion.c +0 -0
  559. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/pyobjc-tc.c +0 -0
  560. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +36 -0
  561. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl1.c +0 -0
  562. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl2.c +0 -0
  563. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl.c +0 -0
  564. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl1.c +0 -0
  565. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl2.c +0 -0
  566. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_fl3.c +0 -0
  567. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +34 -0
  568. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_ll.c +0 -0
  569. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +0 -0
  570. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +36 -0
  571. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_sl.c +0 -0
  572. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +38 -0
  573. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/libffi/testsuite/libffi.call/return_ul.c +0 -0
  574. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +145 -0
  575. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +148 -0
  576. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +124 -0
  577. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +125 -0
  578. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +44 -0
  579. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
  580. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
  581. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
  582. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +67 -0
  583. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct10.c +57 -0
  584. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +67 -0
  585. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +60 -0
  586. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +64 -0
  587. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +66 -0
  588. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +64 -0
  589. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +74 -0
  590. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +81 -0
  591. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +68 -0
  592. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +70 -0
  593. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
  594. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/unwindtest.cc +117 -0
  595. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/unwindtest_ffi_call.cc +54 -0
  596. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
  597. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
  598. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
  599. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
  600. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
  601. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
  602. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
  603. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
  604. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
  605. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
  606. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
  607. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
  608. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
  609. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
  610. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
  611. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
  612. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
  613. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
  614. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
  615. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
  616. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex.exp +36 -0
  617. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
  618. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
  619. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
  620. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
  621. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
  622. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
  623. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
  624. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
  625. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
  626. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
  627. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
  628. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
  629. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
  630. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
  631. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
  632. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
  633. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
  634. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
  635. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
  636. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
  637. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
  638. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
  639. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
  640. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
  641. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
  642. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
  643. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
  644. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
  645. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
  646. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
  647. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/rbffi.h +0 -0
  648. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/rbffi_endian.h +0 -0
  649. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/win32/stdbool.h +0 -0
  650. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/ext/ffi_c/win32/stdint.h +0 -0
  651. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/ffi.gemspec +36 -0
  652. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi.rb +0 -0
  653. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/autopointer.rb +0 -0
  654. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/buffer.rb +0 -0
  655. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/callback.rb +0 -0
  656. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/enum.rb +296 -0
  657. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/errno.rb +0 -0
  658. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/ffi.rb +0 -0
  659. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/io.rb +0 -0
  660. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/library.rb +588 -0
  661. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/managedstruct.rb +0 -0
  662. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/memorypointer.rb +0 -0
  663. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform.rb +164 -0
  664. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/aarch64-linux/types.conf +0 -0
  665. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/arm-linux/types.conf +0 -0
  666. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-cygwin/types.conf +0 -0
  667. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-darwin/types.conf +0 -0
  668. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-freebsd/types.conf +0 -0
  669. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-gnu/types.conf +0 -0
  670. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-linux/types.conf +0 -0
  671. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-netbsd/types.conf +0 -0
  672. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-openbsd/types.conf +0 -0
  673. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-solaris/types.conf +0 -0
  674. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/i386-windows/types.conf +0 -0
  675. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/ia64-linux/types.conf +0 -0
  676. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/mips-linux/types.conf +0 -0
  677. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18/lib/ffi/platform/mips64el-linux → ffi-1.9.25/lib/ffi/platform/mips64-linux}/types.conf +0 -0
  678. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18/lib/ffi/platform/powerpc64-linux → ffi-1.9.25/lib/ffi/platform/mips64el-linux}/types.conf +0 -0
  679. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/mipsel-linux/types.conf +0 -0
  680. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsisa32r6-linux/types.conf +102 -0
  681. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsisa32r6el-linux/types.conf +102 -0
  682. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsisa64r6-linux/types.conf +104 -0
  683. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/mipsisa64r6el-linux/types.conf +104 -0
  684. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/powerpc-aix/types.conf +0 -0
  685. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/powerpc-darwin/types.conf +0 -0
  686. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/powerpc-linux/types.conf +0 -0
  687. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/powerpc64-linux/types.conf +104 -0
  688. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/s390-linux/types.conf +0 -0
  689. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/s390x-linux/types.conf +0 -0
  690. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/sparc-linux/types.conf +0 -0
  691. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/sparc-solaris/types.conf +0 -0
  692. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/sparc64-linux/types.conf +102 -0
  693. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/sparcv9-solaris/types.conf +0 -0
  694. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/x86_64-cygwin/types.conf +0 -0
  695. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/x86_64-darwin/types.conf +0 -0
  696. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/x86_64-freebsd/types.conf +0 -0
  697. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/x86_64-linux/types.conf +0 -0
  698. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/x86_64-netbsd/types.conf +0 -0
  699. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/x86_64-openbsd/types.conf +0 -0
  700. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/platform/x86_64-solaris/types.conf +0 -0
  701. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/platform/x86_64-windows/types.conf +120 -0
  702. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/pointer.rb +161 -0
  703. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/struct.rb +371 -0
  704. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/struct_layout_builder.rb +0 -0
  705. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/tools/const_generator.rb +0 -0
  706. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/tools/generator.rb +0 -0
  707. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/tools/generator_task.rb +0 -0
  708. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/tools/struct_generator.rb +0 -0
  709. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/tools/types_generator.rb +0 -0
  710. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/types.rb +0 -0
  711. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/union.rb +0 -0
  712. data/vendor/bundle/ruby/2.3.0/gems/{ffi-1.9.18 → ffi-1.9.25}/lib/ffi/variadic.rb +0 -0
  713. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/lib/ffi/version.rb +3 -0
  714. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/getlogin.rb +8 -0
  715. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/getpid.rb +8 -0
  716. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/gettimeofday.rb +18 -0
  717. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/hello.rb +7 -0
  718. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/inotify.rb +60 -0
  719. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/pty.rb +76 -0
  720. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/qsort.rb +21 -0
  721. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.25/samples/sample_helper.rb +6 -0
  722. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/generator/generator.so +0 -0
  723. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/ext/json/ext/parser/parser.so +0 -0
  724. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/generator.so +0 -0
  725. data/vendor/bundle/ruby/2.3.0/gems/json-2.1.0/lib/json/ext/parser.so +0 -0
  726. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/.gitignore +0 -0
  727. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/.rubocop.yml +0 -0
  728. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/.rubocop_defaults.yml +182 -0
  729. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/.ruby-gemset +0 -0
  730. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/.travis.yml +25 -0
  731. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/.yardopts +0 -0
  732. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/2.0-Upgrade.md +0 -0
  733. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/CHANGELOG.md +335 -0
  734. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/Gemfile +0 -0
  735. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/LICENSE.txt +22 -0
  736. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/README.md +202 -0
  737. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/Rakefile +0 -0
  738. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/bin/console +0 -0
  739. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/data/list.txt +12370 -0
  740. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/lib/public_suffix.rb +175 -0
  741. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/lib/public_suffix/domain.rb +235 -0
  742. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/lib/public_suffix/errors.rb +39 -0
  743. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/lib/public_suffix/list.rb +243 -0
  744. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/lib/public_suffix/rule.rb +348 -0
  745. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/lib/public_suffix/version.rb +10 -0
  746. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/public_suffix.gemspec +0 -0
  747. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/.empty +0 -0
  748. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/test/acceptance_test.rb +127 -0
  749. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/benchmarks/bm_find.rb +0 -0
  750. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/benchmarks/bm_find_all.rb +0 -0
  751. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/benchmarks/bm_names.rb +0 -0
  752. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/benchmarks/bm_select.rb +0 -0
  753. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/benchmarks/bm_select_incremental.rb +0 -0
  754. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/benchmarks/bm_valid.rb +0 -0
  755. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/profilers/domain_profiler.rb +0 -0
  756. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/profilers/find_profiler.rb +0 -0
  757. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/profilers/find_profiler_jp.rb +0 -0
  758. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/profilers/initialization_profiler.rb +0 -0
  759. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/profilers/list_profsize.rb +0 -0
  760. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/profilers/object_binsize.rb +0 -0
  761. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/test/psl_test.rb +49 -0
  762. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/test_helper.rb +0 -0
  763. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/tests.txt +0 -0
  764. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/unit/domain_test.rb +0 -0
  765. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/unit/errors_test.rb +0 -0
  766. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/unit/list_test.rb +0 -0
  767. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.2/test/unit/public_suffix_test.rb +186 -0
  768. data/vendor/bundle/ruby/2.3.0/gems/{public_suffix-3.0.1 → public_suffix-3.0.2}/test/unit/rule_test.rb +0 -0
  769. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/.document +0 -0
  770. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/.yardopts +0 -0
  771. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/Changelog.md +2192 -0
  772. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/LICENSE.md +0 -0
  773. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/README.md +0 -0
  774. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/exe/rspec +0 -0
  775. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/autorun.rb +0 -0
  776. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core.rb +0 -0
  777. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/backtrace_formatter.rb +0 -0
  778. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/bisect/coordinator.rb +0 -0
  779. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  780. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/bisect/runner.rb +0 -0
  781. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/bisect/server.rb +0 -0
  782. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/configuration.rb +2209 -0
  783. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/configuration_options.rb +0 -0
  784. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/drb.rb +0 -0
  785. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/dsl.rb +0 -0
  786. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/example.rb +0 -0
  787. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/example_group.rb +0 -0
  788. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/example_status_persister.rb +0 -0
  789. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/filter_manager.rb +0 -0
  790. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/flat_map.rb +0 -0
  791. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters.rb +0 -0
  792. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  793. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  794. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/bisect_formatter.rb +0 -0
  795. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  796. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/console_codes.rb +0 -0
  797. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  798. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  799. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/exception_presenter.rb +0 -0
  800. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  801. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/helpers.rb +0 -0
  802. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  803. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/html_printer.rb +0 -0
  804. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  805. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  806. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  807. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  808. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/protocol.rb +0 -0
  809. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  810. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  811. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/hooks.rb +0 -0
  812. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/invocations.rb +0 -0
  813. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/memoized_helpers.rb +0 -0
  814. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/metadata.rb +0 -0
  815. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/metadata_filter.rb +0 -0
  816. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  817. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  818. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  819. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  820. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  821. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  822. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/notifications.rb +0 -0
  823. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/option_parser.rb +0 -0
  824. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/ordering.rb +0 -0
  825. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/output_wrapper.rb +0 -0
  826. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/pending.rb +0 -0
  827. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/profiler.rb +0 -0
  828. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/project_initializer.rb +0 -0
  829. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/project_initializer/.rspec +0 -0
  830. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
  831. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/rake_task.rb +0 -0
  832. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/reporter.rb +0 -0
  833. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/ruby_project.rb +0 -0
  834. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/runner.rb +0 -0
  835. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/sandbox.rb +0 -0
  836. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/set.rb +0 -0
  837. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/shared_context.rb +0 -0
  838. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/shared_example_group.rb +0 -0
  839. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/shell_escape.rb +0 -0
  840. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  841. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.1/lib/rspec/core/version.rb +9 -0
  842. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/warnings.rb +0 -0
  843. data/vendor/bundle/ruby/2.3.0/gems/{rspec-core-3.7.0 → rspec-core-3.7.1}/lib/rspec/core/world.rb +0 -0
  844. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/Changelog.md +234 -0
  845. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/LICENSE.md +0 -0
  846. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/README.md +0 -0
  847. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support.rb +0 -0
  848. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/caller_filter.rb +0 -0
  849. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/comparable_version.rb +0 -0
  850. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/differ.rb +0 -0
  851. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/directory_maker.rb +0 -0
  852. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/encoded_string.rb +0 -0
  853. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  854. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/hunk_generator.rb +0 -0
  855. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/matcher_definition.rb +0 -0
  856. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/method_signature_verifier.rb +0 -0
  857. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/mutex.rb +0 -0
  858. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/object_formatter.rb +0 -0
  859. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
  860. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
  861. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/ruby_features.rb +0 -0
  862. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/source.rb +0 -0
  863. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/source/location.rb +0 -0
  864. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/source/node.rb +110 -0
  865. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/source/token.rb +0 -0
  866. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec.rb +0 -0
  867. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  868. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
  869. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/in_sub_process.rb +0 -0
  870. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  871. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/shell_out.rb +0 -0
  872. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  873. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
  874. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  875. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  876. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.1/lib/rspec/support/version.rb +7 -0
  877. data/vendor/bundle/ruby/2.3.0/gems/{rspec-support-3.7.0 → rspec-support-3.7.1}/lib/rspec/support/warnings.rb +0 -0
  878. data/vendor/bundle/ruby/2.3.0/specifications/ZenTest-4.11.1.gemspec +2 -2
  879. data/vendor/bundle/ruby/2.3.0/specifications/addressable-2.5.2.gemspec +2 -2
  880. data/vendor/bundle/ruby/2.3.0/specifications/autotest-4.4.6.gemspec +2 -2
  881. data/vendor/bundle/ruby/2.3.0/specifications/autotest-fsevent-0.2.13.gemspec +2 -2
  882. data/vendor/bundle/ruby/2.3.0/specifications/autotest-growl-0.2.16.gemspec +2 -2
  883. data/vendor/bundle/ruby/2.3.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
  884. data/vendor/bundle/ruby/2.3.0/specifications/crack-0.4.3.gemspec +2 -2
  885. data/vendor/bundle/ruby/2.3.0/specifications/diff-lcs-1.3.gemspec +2 -2
  886. data/vendor/bundle/ruby/2.3.0/specifications/ethon-0.11.0.gemspec +2 -2
  887. data/vendor/bundle/ruby/2.3.0/specifications/ffi-1.9.25.gemspec +49 -0
  888. data/vendor/bundle/ruby/2.3.0/specifications/hashdiff-0.3.7.gemspec +2 -2
  889. data/vendor/bundle/ruby/2.3.0/specifications/json-2.1.0.gemspec +0 -0
  890. data/vendor/bundle/ruby/2.3.0/specifications/public_suffix-3.0.2.gemspec +41 -0
  891. data/vendor/bundle/ruby/2.3.0/specifications/rake-12.0.0.gemspec +2 -2
  892. data/vendor/bundle/ruby/2.3.0/specifications/rspec-3.7.0.gemspec +2 -2
  893. data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.7.1.gemspec +62 -0
  894. data/vendor/bundle/ruby/2.3.0/specifications/rspec-expectations-3.7.0.gemspec +2 -2
  895. data/vendor/bundle/ruby/2.3.0/specifications/rspec-mocks-3.7.0.gemspec +2 -2
  896. data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.7.1.gemspec +41 -0
  897. data/vendor/bundle/ruby/2.3.0/specifications/safe_yaml-1.0.4.gemspec +2 -2
  898. data/vendor/bundle/ruby/2.3.0/specifications/sys-uname-1.0.3.gemspec +2 -2
  899. data/vendor/bundle/ruby/2.3.0/specifications/typhoeus-1.3.0.gemspec +2 -2
  900. data/vendor/bundle/ruby/2.3.0/specifications/vcr-3.0.3.gemspec +2 -2
  901. data/vendor/bundle/ruby/2.3.0/specifications/webmock-1.24.6.gemspec +2 -2
  902. metadata +849 -678
  903. data/docs/DistributionVersions.md +0 -9
  904. data/docs/FormatDistributions.md +0 -11
  905. data/docs/RpmPackageUpload.md +0 -59
  906. data/docs/RpmPackageUploadArchitectures.md +0 -9
  907. data/docs/RpmPackageUploadFiles.md +0 -20
  908. data/lib/cloudsmith-api/models/distribution_versions.rb +0 -199
  909. data/lib/cloudsmith-api/models/format_distributions.rb +0 -219
  910. data/lib/cloudsmith-api/models/rpm_package_upload.rb +0 -703
  911. data/lib/cloudsmith-api/models/rpm_package_upload_architectures.rb +0 -199
  912. data/lib/cloudsmith-api/models/rpm_package_upload_files.rb +0 -309
  913. data/spec/models/distribution_versions_spec.rb +0 -48
  914. data/spec/models/format_distributions_spec.rb +0 -60
  915. data/spec/models/rpm_package_upload_architectures_spec.rb +0 -48
  916. data/spec/models/rpm_package_upload_files_spec.rb +0 -114
  917. data/spec/models/rpm_package_upload_spec.rb +0 -348
  918. data/vendor/bundle/ruby/2.3.0/cache/ffi-1.9.18.gem +0 -0
  919. data/vendor/bundle/ruby/2.3.0/cache/public_suffix-3.0.1.gem +0 -0
  920. data/vendor/bundle/ruby/2.3.0/cache/rspec-core-3.7.0.gem +0 -0
  921. data/vendor/bundle/ruby/2.3.0/cache/rspec-support-3.7.0.gem +0 -0
  922. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.18/ffi_c.so +0 -0
  923. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.18/gem_make.out +0 -63
  924. data/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.18/mkmf.log +0 -413
  925. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/README.md +0 -111
  926. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/Rakefile +0 -232
  927. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/AbstractMemory.c +0 -1104
  928. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/AbstractMemory.o +0 -0
  929. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ArrayType.o +0 -0
  930. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Buffer.o +0 -0
  931. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Call.c +0 -517
  932. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Call.o +0 -0
  933. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ClosurePool.o +0 -0
  934. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/DataConverter.o +0 -0
  935. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/DynamicLibrary.o +0 -0
  936. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Function.c +0 -998
  937. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Function.o +0 -0
  938. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/FunctionInfo.o +0 -0
  939. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/LastError.o +0 -0
  940. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/LongDouble.o +0 -0
  941. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Makefile +0 -260
  942. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MappedType.o +0 -0
  943. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MemoryPointer.o +0 -0
  944. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/MethodHandle.o +0 -0
  945. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Platform.c +0 -121
  946. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Platform.o +0 -0
  947. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Pointer.o +0 -0
  948. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Struct.o +0 -0
  949. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructByReference.o +0 -0
  950. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructByValue.o +0 -0
  951. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/StructLayout.o +0 -0
  952. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Thread.c +0 -352
  953. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Thread.o +0 -0
  954. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Type.o +0 -0
  955. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Types.o +0 -0
  956. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/Variadic.o +0 -0
  957. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/extconf.h +0 -11
  958. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/extconf.rb +0 -66
  959. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ffi.o +0 -0
  960. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/ffi_c.so +0 -0
  961. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.bsd.mk +0 -34
  962. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.darwin.mk +0 -95
  963. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.gnu.mk +0 -31
  964. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.mk +0 -13
  965. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.vc.mk +0 -26
  966. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi.vc64.mk +0 -26
  967. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ChangeLog +0 -4600
  968. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ChangeLog.libffi +0 -584
  969. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ChangeLog.v1 +0 -764
  970. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/LICENSE +0 -21
  971. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/Makefile.am +0 -196
  972. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/Makefile.in +0 -1820
  973. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/Makefile.vc +0 -141
  974. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/Makefile.vc64 +0 -141
  975. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/README +0 -342
  976. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/acinclude.m4 +0 -92
  977. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/aclocal.m4 +0 -1873
  978. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/build-ios.sh +0 -67
  979. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/compile +0 -143
  980. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/config.guess +0 -1501
  981. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/config.sub +0 -1705
  982. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/configure +0 -17191
  983. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/configure.ac +0 -496
  984. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/configure.host +0 -11
  985. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/depcomp +0 -630
  986. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/doc/libffi.info +0 -593
  987. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/doc/libffi.texi +0 -600
  988. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/doc/stamp-vti +0 -4
  989. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/doc/version.texi +0 -4
  990. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/fficonfig.h.in +0 -199
  991. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/fficonfig.hw +0 -57
  992. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/Makefile.am +0 -9
  993. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/Makefile.in +0 -487
  994. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/ffi.h.in +0 -427
  995. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/ffi.h.vc +0 -427
  996. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/ffi.h.vc64 +0 -427
  997. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/include/ffi_common.h +0 -126
  998. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/install-sh +0 -520
  999. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/libffi.pc.in +0 -10
  1000. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/libtool-version +0 -29
  1001. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/ltmain.sh +0 -9636
  1002. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +0 -176
  1003. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +0 -195
  1004. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +0 -76
  1005. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +0 -63
  1006. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_configure_args.m4 +0 -70
  1007. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +0 -300
  1008. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +0 -215
  1009. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +0 -79
  1010. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/libtool.m4 +0 -7831
  1011. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ltoptions.m4 +0 -369
  1012. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ltsugar.m4 +0 -123
  1013. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/ltversion.m4 +0 -23
  1014. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/m4/lt~obsolete.m4 +0 -98
  1015. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/Makefile.am +0 -8
  1016. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/Makefile.in +0 -466
  1017. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/ffi.3 +0 -31
  1018. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/man/ffi_prep_cif.3 +0 -66
  1019. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/mdate-sh +0 -201
  1020. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/missing +0 -376
  1021. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/msvcc.sh +0 -197
  1022. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/alpha/ffi.c +0 -284
  1023. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/alpha/ffitarget.h +0 -48
  1024. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/alpha/osf.S +0 -387
  1025. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/ffi.c +0 -728
  1026. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/ffitarget.h +0 -65
  1027. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/gentramp.sh +0 -118
  1028. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/sysv.S +0 -497
  1029. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/arm/trampoline.S +0 -4450
  1030. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/avr32/ffitarget.h +0 -50
  1031. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/closures.c +0 -615
  1032. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/cris/ffi.c +0 -383
  1033. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/cris/ffitarget.h +0 -51
  1034. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/debug.c +0 -59
  1035. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/dlmalloc.c +0 -5161
  1036. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/frv/ffi.c +0 -292
  1037. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/frv/ffitarget.h +0 -57
  1038. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/ia64/ffi.c +0 -582
  1039. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/ia64/ffitarget.h +0 -50
  1040. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/ia64/unix.S +0 -560
  1041. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/java_raw_api.c +0 -356
  1042. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m32r/ffi.c +0 -232
  1043. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m32r/ffitarget.h +0 -48
  1044. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m68k/ffi.c +0 -288
  1045. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m68k/ffitarget.h +0 -49
  1046. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/m68k/sysv.S +0 -270
  1047. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/mips/ffi.c +0 -1038
  1048. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/mips/ffitarget.h +0 -242
  1049. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/mips/n32.S +0 -591
  1050. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/mips/o32.S +0 -381
  1051. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/moxie/eabi.S +0 -128
  1052. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/moxie/ffi.c +0 -276
  1053. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/pa/ffitarget.h +0 -78
  1054. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/aix.S +0 -328
  1055. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/aix_closure.S +0 -445
  1056. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/asm.h +0 -125
  1057. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/darwin.S +0 -383
  1058. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +0 -575
  1059. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/ffi.c +0 -1448
  1060. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +0 -1359
  1061. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/ffitarget.h +0 -139
  1062. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/linux64.S +0 -187
  1063. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +0 -236
  1064. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +0 -327
  1065. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/powerpc/sysv.S +0 -219
  1066. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/prep_cif.c +0 -177
  1067. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/raw_api.c +0 -254
  1068. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/s390/ffi.c +0 -780
  1069. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/s390/ffitarget.h +0 -62
  1070. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/s390/sysv.S +0 -434
  1071. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh/ffi.c +0 -716
  1072. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh/ffitarget.h +0 -49
  1073. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh64/ffi.c +0 -468
  1074. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sh64/ffitarget.h +0 -53
  1075. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sparc/ffi.c +0 -669
  1076. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sparc/ffitarget.h +0 -68
  1077. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sparc/v8.S +0 -313
  1078. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/sparc/v9.S +0 -307
  1079. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/types.c +0 -77
  1080. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/darwin.S +0 -444
  1081. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/darwin64.S +0 -416
  1082. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/ffi.c +0 -644
  1083. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/ffi64.c +0 -635
  1084. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/ffitarget.h +0 -121
  1085. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/freebsd.S +0 -458
  1086. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/sysv.S +0 -468
  1087. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/unix64.S +0 -426
  1088. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/win32.S +0 -1065
  1089. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/src/x86/win64.S +0 -468
  1090. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/Makefile.am +0 -80
  1091. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/Makefile.in +0 -500
  1092. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp +0 -300
  1093. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/lib/libffi.exp +0 -350
  1094. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +0 -263
  1095. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +0 -32
  1096. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/closure_stdcall.c +0 -64
  1097. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +0 -94
  1098. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +0 -95
  1099. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +0 -96
  1100. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +0 -102
  1101. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +0 -89
  1102. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +0 -91
  1103. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +0 -93
  1104. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +0 -113
  1105. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +0 -90
  1106. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +0 -95
  1107. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +0 -90
  1108. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +0 -90
  1109. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +0 -98
  1110. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +0 -90
  1111. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +0 -109
  1112. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +0 -98
  1113. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +0 -124
  1114. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +0 -113
  1115. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +0 -99
  1116. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +0 -117
  1117. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +0 -97
  1118. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +0 -88
  1119. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +0 -90
  1120. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +0 -91
  1121. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +0 -93
  1122. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +0 -91
  1123. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +0 -92
  1124. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +0 -134
  1125. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +0 -117
  1126. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +0 -95
  1127. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +0 -91
  1128. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +0 -91
  1129. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +0 -92
  1130. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +0 -91
  1131. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +0 -91
  1132. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +0 -93
  1133. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +0 -66
  1134. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +0 -60
  1135. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +0 -105
  1136. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +0 -60
  1137. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +0 -74
  1138. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +0 -140
  1139. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +0 -47
  1140. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +0 -26
  1141. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +0 -153
  1142. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +0 -58
  1143. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +0 -58
  1144. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +0 -72
  1145. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +0 -342
  1146. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/many.c +0 -69
  1147. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c +0 -63
  1148. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +0 -53
  1149. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +0 -152
  1150. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +0 -161
  1151. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +0 -133
  1152. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +0 -110
  1153. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +0 -111
  1154. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +0 -111
  1155. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +0 -112
  1156. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +0 -131
  1157. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +0 -111
  1158. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +0 -131
  1159. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +0 -131
  1160. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +0 -35
  1161. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +0 -34
  1162. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +0 -36
  1163. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +0 -38
  1164. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +0 -145
  1165. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +0 -148
  1166. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +0 -124
  1167. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +0 -125
  1168. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +0 -44
  1169. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c +0 -44
  1170. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +0 -65
  1171. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +0 -67
  1172. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +0 -59
  1173. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +0 -63
  1174. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +0 -65
  1175. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +0 -64
  1176. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +0 -74
  1177. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +0 -80
  1178. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +0 -67
  1179. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +0 -70
  1180. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +0 -96
  1181. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +0 -35
  1182. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest.cc +0 -124
  1183. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc +0 -53
  1184. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ext/ffi_c/libffi/texinfo.tex +0 -7210
  1185. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/ffi.gemspec +0 -23
  1186. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/gen/Rakefile +0 -30
  1187. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/enum.rb +0 -172
  1188. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/library.rb +0 -538
  1189. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform.rb +0 -159
  1190. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/platform/x86_64-windows/types.conf +0 -27
  1191. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/pointer.rb +0 -160
  1192. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/struct.rb +0 -373
  1193. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi/version.rb +0 -4
  1194. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/lib/ffi_c.so +0 -0
  1195. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/Benchmark.c +0 -52
  1196. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/BoolTest.c +0 -34
  1197. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/BufferTest.c +0 -31
  1198. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/ClosureTest.c +0 -205
  1199. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/EnumTest.c +0 -51
  1200. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/FunctionTest.c +0 -70
  1201. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/GNUmakefile +0 -149
  1202. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/GlobalVariable.c +0 -62
  1203. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/LastErrorTest.c +0 -21
  1204. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/NumberTest.c +0 -132
  1205. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/PointerTest.c +0 -63
  1206. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/ReferenceTest.c +0 -23
  1207. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/StringTest.c +0 -34
  1208. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/StructTest.c +0 -243
  1209. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/UnionTest.c +0 -43
  1210. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/VariadicTest.c +0 -99
  1211. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/LICENSE.SPECS +0 -22
  1212. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/async_callback_spec.rb +0 -35
  1213. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/bool_spec.rb +0 -32
  1214. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/buffer_spec.rb +0 -279
  1215. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/callback_spec.rb +0 -773
  1216. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/custom_param_type.rb +0 -37
  1217. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/custom_type_spec.rb +0 -74
  1218. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/dup_spec.rb +0 -52
  1219. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/enum_spec.rb +0 -423
  1220. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/errno_spec.rb +0 -20
  1221. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/ffi_spec.rb +0 -28
  1222. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/Benchmark.c +0 -52
  1223. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c +0 -34
  1224. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/BufferTest.c +0 -31
  1225. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/ClosureTest.c +0 -205
  1226. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/EnumTest.c +0 -51
  1227. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/FunctionTest.c +0 -142
  1228. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/GNUmakefile +0 -149
  1229. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/GlobalVariable.c +0 -62
  1230. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/LastErrorTest.c +0 -21
  1231. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/NumberTest.c +0 -132
  1232. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/PipeHelper.h +0 -21
  1233. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/PipeHelperPosix.c +0 -41
  1234. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/PipeHelperWindows.c +0 -72
  1235. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/PointerTest.c +0 -63
  1236. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/ReferenceTest.c +0 -23
  1237. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/StringTest.c +0 -34
  1238. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/StructTest.c +0 -243
  1239. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/UnionTest.c +0 -43
  1240. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/VariadicTest.c +0 -99
  1241. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/classes.rb +0 -438
  1242. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/function_spec.rb +0 -97
  1243. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/io_spec.rb +0 -16
  1244. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/library_spec.rb +0 -286
  1245. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/long_double.rb +0 -30
  1246. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/managed_struct_spec.rb +0 -68
  1247. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/memorypointer_spec.rb +0 -78
  1248. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/number_spec.rb +0 -247
  1249. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/platform_spec.rb +0 -114
  1250. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/pointer_spec.rb +0 -285
  1251. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/rbx/attach_function_spec.rb +0 -34
  1252. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/rbx/memory_pointer_spec.rb +0 -194
  1253. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/rbx/spec_helper.rb +0 -6
  1254. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/rbx/struct_spec.rb +0 -18
  1255. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/spec_helper.rb +0 -93
  1256. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/string_spec.rb +0 -118
  1257. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/strptr_spec.rb +0 -50
  1258. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_by_ref_spec.rb +0 -43
  1259. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_callback_spec.rb +0 -69
  1260. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_initialize_spec.rb +0 -35
  1261. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_packed_spec.rb +0 -50
  1262. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/struct_spec.rb +0 -886
  1263. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/typedef_spec.rb +0 -91
  1264. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/union_spec.rb +0 -67
  1265. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/variadic_spec.rb +0 -132
  1266. data/vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/spec.opts +0 -4
  1267. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/.rubocop_defaults.yml +0 -177
  1268. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/.travis.yml +0 -24
  1269. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/CHANGELOG.md +0 -330
  1270. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/LICENSE.txt +0 -22
  1271. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/README.md +0 -202
  1272. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/data/list.txt +0 -12288
  1273. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix.rb +0 -175
  1274. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/domain.rb +0 -235
  1275. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/errors.rb +0 -39
  1276. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/list.rb +0 -243
  1277. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/rule.rb +0 -348
  1278. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/lib/public_suffix/version.rb +0 -10
  1279. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/acceptance_test.rb +0 -127
  1280. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/psl_test.rb +0 -49
  1281. data/vendor/bundle/ruby/2.3.0/gems/public_suffix-3.0.1/test/unit/public_suffix_test.rb +0 -186
  1282. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/Changelog.md +0 -2187
  1283. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb +0 -2179
  1284. data/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.7.0/lib/rspec/core/version.rb +0 -9
  1285. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/Changelog.md +0 -229
  1286. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/source/node.rb +0 -107
  1287. data/vendor/bundle/ruby/2.3.0/gems/rspec-support-3.7.0/lib/rspec/support/version.rb +0 -7
  1288. data/vendor/bundle/ruby/2.3.0/specifications/ffi-1.9.18.gemspec +0 -49
  1289. data/vendor/bundle/ruby/2.3.0/specifications/public_suffix-3.0.1.gemspec +0 -41
  1290. data/vendor/bundle/ruby/2.3.0/specifications/rspec-core-3.7.0.gemspec +0 -62
  1291. data/vendor/bundle/ruby/2.3.0/specifications/rspec-support-3.7.0.gemspec +0 -41
@@ -1,2179 +0,0 @@
1
- RSpec::Support.require_rspec_core "backtrace_formatter"
2
- RSpec::Support.require_rspec_core "ruby_project"
3
- RSpec::Support.require_rspec_core "formatters/deprecation_formatter"
4
- RSpec::Support.require_rspec_core "output_wrapper"
5
-
6
- module RSpec
7
- module Core
8
- # rubocop:disable Metrics/ClassLength
9
-
10
- # Stores runtime configuration information.
11
- #
12
- # Configuration options are loaded from `~/.rspec`, `.rspec`,
13
- # `.rspec-local`, command line switches, and the `SPEC_OPTS` environment
14
- # variable (listed in lowest to highest precedence; for example, an option
15
- # in `~/.rspec` can be overridden by an option in `.rspec-local`).
16
- #
17
- # @example Standard settings
18
- # RSpec.configure do |c|
19
- # c.drb = true
20
- # c.drb_port = 1234
21
- # c.default_path = 'behavior'
22
- # end
23
- #
24
- # @example Hooks
25
- # RSpec.configure do |c|
26
- # c.before(:suite) { establish_connection }
27
- # c.before(:example) { log_in_as :authorized }
28
- # c.around(:example) { |ex| Database.transaction(&ex) }
29
- # end
30
- #
31
- # @see RSpec.configure
32
- # @see Hooks
33
- class Configuration
34
- include RSpec::Core::Hooks
35
-
36
- # Module that holds `attr_reader` declarations. It's in a separate
37
- # module to allow us to override those methods and use `super`.
38
- # @private
39
- Readers = Module.new
40
- include Readers
41
-
42
- # @private
43
- class MustBeConfiguredBeforeExampleGroupsError < StandardError; end
44
-
45
- # @private
46
- def self.define_reader(name)
47
- Readers.class_eval do
48
- remove_method name if method_defined?(name)
49
- attr_reader name
50
- end
51
-
52
- define_method(name) { value_for(name) { super() } }
53
- end
54
-
55
- # @private
56
- def self.define_aliases(name, alias_name)
57
- alias_method alias_name, name
58
- alias_method "#{alias_name}=", "#{name}="
59
- define_predicate_for alias_name
60
- end
61
-
62
- # @private
63
- def self.define_predicate_for(*names)
64
- names.each { |name| alias_method "#{name}?", name }
65
- end
66
-
67
- # @private
68
- #
69
- # Invoked by the `add_setting` instance method. Use that method on a
70
- # `Configuration` instance rather than this class method.
71
- def self.add_setting(name, opts={})
72
- raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
73
- attr_writer name
74
- add_read_only_setting name
75
-
76
- Array(opts[:alias_with]).each do |alias_name|
77
- define_aliases(name, alias_name)
78
- end
79
- end
80
-
81
- # @private
82
- #
83
- # As `add_setting` but only add the reader.
84
- def self.add_read_only_setting(name, opts={})
85
- raise "Use the instance add_setting method if you want to set a default" if opts.key?(:default)
86
- define_reader name
87
- define_predicate_for name
88
- end
89
-
90
- # @macro [attach] add_setting
91
- # @!attribute [rw] $1
92
- # @!method $1=(value)
93
- #
94
- # @macro [attach] define_reader
95
- # @!attribute [r] $1
96
-
97
- # @macro add_setting
98
- # Path to use if no path is provided to the `rspec` command (default:
99
- # `"spec"`). Allows you to just type `rspec` instead of `rspec spec` to
100
- # run all the examples in the `spec` directory.
101
- #
102
- # @note Other scripts invoking `rspec` indirectly will ignore this
103
- # setting.
104
- add_read_only_setting :default_path
105
- def default_path=(path)
106
- project_source_dirs << path
107
- @default_path = path
108
- end
109
-
110
- # @macro add_setting
111
- # Run examples over DRb (default: `false`). RSpec doesn't supply the DRb
112
- # server, but you can use tools like spork.
113
- add_setting :drb
114
-
115
- # @macro add_setting
116
- # The drb_port (default: nil).
117
- add_setting :drb_port
118
-
119
- # @macro add_setting
120
- # Default: `$stderr`.
121
- add_setting :error_stream
122
-
123
- # Indicates if the DSL has been exposed off of modules and `main`.
124
- # Default: true
125
- def expose_dsl_globally?
126
- Core::DSL.exposed_globally?
127
- end
128
-
129
- # Use this to expose the core RSpec DSL via `Module` and the `main`
130
- # object. It will be set automatically but you can override it to
131
- # remove the DSL.
132
- # Default: true
133
- def expose_dsl_globally=(value)
134
- if value
135
- Core::DSL.expose_globally!
136
- Core::SharedExampleGroup::TopLevelDSL.expose_globally!
137
- else
138
- Core::DSL.remove_globally!
139
- Core::SharedExampleGroup::TopLevelDSL.remove_globally!
140
- end
141
- end
142
-
143
- # Determines where deprecation warnings are printed.
144
- # Defaults to `$stderr`.
145
- # @return [IO, String] IO or filename to write to
146
- define_reader :deprecation_stream
147
-
148
- # Determines where deprecation warnings are printed.
149
- # @param value [IO, String] IO to write to or filename to write to
150
- def deprecation_stream=(value)
151
- if @reporter && !value.equal?(@deprecation_stream)
152
- warn "RSpec's reporter has already been initialized with " \
153
- "#{deprecation_stream.inspect} as the deprecation stream, so your change to "\
154
- "`deprecation_stream` will be ignored. You should configure it earlier for " \
155
- "it to take effect, or use the `--deprecation-out` CLI option. " \
156
- "(Called from #{CallerFilter.first_non_rspec_line})"
157
- else
158
- @deprecation_stream = value
159
- end
160
- end
161
-
162
- # @macro define_reader
163
- # The file path to use for persisting example statuses. Necessary for the
164
- # `--only-failures` and `--next-failure` CLI options.
165
- #
166
- # @overload example_status_persistence_file_path
167
- # @return [String] the file path
168
- # @overload example_status_persistence_file_path=(value)
169
- # @param value [String] the file path
170
- define_reader :example_status_persistence_file_path
171
-
172
- # Sets the file path to use for persisting example statuses. Necessary for the
173
- # `--only-failures` and `--next-failure` CLI options.
174
- def example_status_persistence_file_path=(value)
175
- @example_status_persistence_file_path = value
176
- clear_values_derived_from_example_status_persistence_file_path
177
- end
178
-
179
- # @macro define_reader
180
- # Indicates if the `--only-failures` (or `--next-failure`) flag is being used.
181
- define_reader :only_failures
182
- alias_method :only_failures?, :only_failures
183
-
184
- # @private
185
- def only_failures_but_not_configured?
186
- only_failures? && !example_status_persistence_file_path
187
- end
188
-
189
- # @macro add_setting
190
- # If specified, indicates the number of failures required before cleaning
191
- # up and exit (default: `nil`).
192
- add_setting :fail_fast
193
-
194
- # @macro add_setting
195
- # Prints the formatter output of your suite without running any
196
- # examples or hooks.
197
- add_setting :dry_run
198
-
199
- # @macro add_setting
200
- # The exit code to return if there are any failures (default: 1).
201
- add_setting :failure_exit_code
202
-
203
- # @macro add_setting
204
- # Whether or not to fail when there are no RSpec examples (default: false).
205
- add_setting :fail_if_no_examples
206
-
207
- # @macro define_reader
208
- # Indicates files configured to be required.
209
- define_reader :requires
210
-
211
- # @macro define_reader
212
- # Returns dirs that have been prepended to the load path by the `-I`
213
- # command line option.
214
- define_reader :libs
215
-
216
- # @macro add_setting
217
- # Determines where RSpec will send its output.
218
- # Default: `$stdout`.
219
- define_reader :output_stream
220
-
221
- # Set the output stream for reporter.
222
- # @attr value [IO, String] IO to write to or filename to write to, defaults to $stdout
223
- def output_stream=(value)
224
- if @reporter && !value.equal?(@output_stream)
225
- warn "RSpec's reporter has already been initialized with " \
226
- "#{output_stream.inspect} as the output stream, so your change to "\
227
- "`output_stream` will be ignored. You should configure it earlier for " \
228
- "it to take effect. (Called from #{CallerFilter.first_non_rspec_line})"
229
- else
230
- @output_stream = value
231
- output_wrapper.output = @output_stream
232
- end
233
- end
234
-
235
- # @macro define_reader
236
- # Load files matching this pattern (default: `'**{,/*/**}/*_spec.rb'`).
237
- define_reader :pattern
238
-
239
- # Set pattern to match files to load.
240
- # @attr value [String] the filename pattern to filter spec files by
241
- def pattern=(value)
242
- update_pattern_attr :pattern, value
243
- end
244
-
245
- # @macro define_reader
246
- # Exclude files matching this pattern.
247
- define_reader :exclude_pattern
248
-
249
- # Set pattern to match files to exclude.
250
- # @attr value [String] the filename pattern to exclude spec files by
251
- def exclude_pattern=(value)
252
- update_pattern_attr :exclude_pattern, value
253
- end
254
-
255
- # @macro add_setting
256
- # Specifies which directories contain the source code for your project.
257
- # When a failure occurs, RSpec looks through the backtrace to find a
258
- # a line of source to print. It first looks for a line coming from
259
- # one of the project source directories so that, for example, it prints
260
- # the expectation or assertion call rather than the source code from
261
- # the expectation or assertion framework.
262
- # @return [Array<String>]
263
- add_setting :project_source_dirs
264
-
265
- # @macro add_setting
266
- # Report the times for the slowest examples (default: `false`).
267
- # Use this to specify the number of examples to include in the profile.
268
- add_setting :profile_examples
269
-
270
- # @macro add_setting
271
- # Run all examples if none match the configured filters
272
- # (default: `false`).
273
- # @deprecated Use {#filter_run_when_matching} instead for the specific
274
- # filters that you want to be ignored if none match.
275
- add_setting :run_all_when_everything_filtered
276
-
277
- # @macro add_setting
278
- # Color to use to indicate success.
279
- # @param color [Symbol] defaults to `:green` but can be set to one of the
280
- # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
281
- # :cyan]`
282
- add_setting :success_color
283
-
284
- # @macro add_setting
285
- # Color to use to print pending examples.
286
- # @param color [Symbol] defaults to `:yellow` but can be set to one of the
287
- # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
288
- # :cyan]`
289
- add_setting :pending_color
290
-
291
- # @macro add_setting
292
- # Color to use to indicate failure.
293
- # @param color [Symbol] defaults to `:red` but can be set to one of the
294
- # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
295
- # :cyan]`
296
- add_setting :failure_color
297
-
298
- # @macro add_setting
299
- # The default output color.
300
- # @param color [Symbol] defaults to `:white` but can be set to one of the
301
- # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
302
- # :cyan]`
303
- add_setting :default_color
304
-
305
- # @macro add_setting
306
- # Color used when a pending example is fixed.
307
- # @param color [Symbol] defaults to `:blue` but can be set to one of the
308
- # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
309
- # :cyan]`
310
- add_setting :fixed_color
311
-
312
- # @macro add_setting
313
- # Color used to print details.
314
- # @param color [Symbol] defaults to `:cyan` but can be set to one of the
315
- # following: `[:black, :white, :red, :green, :yellow, :blue, :magenta,
316
- # :cyan]`
317
- add_setting :detail_color
318
-
319
- # @macro add_setting
320
- # Don't print filter info i.e. "Run options: include {:focus=>true}"
321
- # (default `false`).
322
- add_setting :silence_filter_announcements
323
-
324
- # Deprecated. This config option was added in RSpec 2 to pave the way
325
- # for this being the default behavior in RSpec 3. Now this option is
326
- # a no-op.
327
- def treat_symbols_as_metadata_keys_with_true_values=(_value)
328
- RSpec.deprecate(
329
- "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values=",
330
- :message => "RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= " \
331
- "is deprecated, it is now set to true as default and " \
332
- "setting it to false has no effect."
333
- )
334
- end
335
-
336
- # @macro define_reader
337
- # Configures how RSpec treats metadata passed as part of a shared example
338
- # group definition. For example, given this shared example group definition:
339
- #
340
- # RSpec.shared_context "uses DB", :db => true do
341
- # around(:example) do |ex|
342
- # MyORM.transaction(:rollback => true, &ex)
343
- # end
344
- # end
345
- #
346
- # ...there are two ways RSpec can treat the `:db => true` metadata, each
347
- # of which has a corresponding config option:
348
- #
349
- # 1. `:trigger_inclusion`: this shared context will be implicitly included
350
- # in any groups (or examples) that have `:db => true` metadata.
351
- # 2. `:apply_to_host_groups`: the metadata will be inherited by the metadata
352
- # hash of all host groups and examples.
353
- #
354
- # `:trigger_inclusion` is the legacy behavior from before RSpec 3.5 but should
355
- # be considered deprecated. Instead, you can explicitly include a group with
356
- # `include_context`:
357
- #
358
- # RSpec.describe "My model" do
359
- # include_context "uses DB"
360
- # end
361
- #
362
- # ...or you can configure RSpec to include the context based on matching metadata
363
- # using an API that mirrors configured module inclusion:
364
- #
365
- # RSpec.configure do |rspec|
366
- # rspec.include_context "uses DB", :db => true
367
- # end
368
- #
369
- # `:apply_to_host_groups` is a new feature of RSpec 3.5 and will be the only
370
- # supported behavior in RSpec 4.
371
- #
372
- # @overload shared_context_metadata_behavior
373
- # @return [:trigger_inclusion, :apply_to_host_groups] the configured behavior
374
- # @overload shared_context_metadata_behavior=(value)
375
- # @param value [:trigger_inclusion, :apply_to_host_groups] sets the configured behavior
376
- define_reader :shared_context_metadata_behavior
377
- # @see shared_context_metadata_behavior
378
- def shared_context_metadata_behavior=(value)
379
- case value
380
- when :trigger_inclusion, :apply_to_host_groups
381
- @shared_context_metadata_behavior = value
382
- else
383
- raise ArgumentError, "Cannot set `RSpec.configuration." \
384
- "shared_context_metadata_behavior` to `#{value.inspect}`. Only " \
385
- "`:trigger_inclusion` and `:apply_to_host_groups` are valid values."
386
- end
387
- end
388
-
389
- # Record the start time of the spec suite to measure load time.
390
- add_setting :start_time
391
-
392
- # @macro add_setting
393
- # Use threadsafe options where available.
394
- # Currently this will place a mutex around memoized values such as let blocks.
395
- add_setting :threadsafe
396
-
397
- # @macro add_setting
398
- # Maximum count of failed source lines to display in the failure reports.
399
- # (default `10`).
400
- add_setting :max_displayed_failure_line_count
401
-
402
- # @private
403
- # @deprecated Use {#color_mode} = :on, instead of {#color} with {#tty}
404
- add_setting :tty
405
- # @private
406
- attr_writer :files_to_run
407
- # @private
408
- attr_accessor :filter_manager, :world
409
- # @private
410
- attr_accessor :static_config_filter_manager
411
- # @private
412
- attr_reader :backtrace_formatter, :ordering_manager, :loaded_spec_files
413
-
414
- # rubocop:disable Metrics/AbcSize
415
- # rubocop:disable Metrics/MethodLength
416
-
417
- # Build an object to store runtime configuration options and set defaults
418
- def initialize
419
- # rubocop:disable Style/GlobalVars
420
- @start_time = $_rspec_core_load_started_at || ::RSpec::Core::Time.now
421
- # rubocop:enable Style/GlobalVars
422
- @expectation_frameworks = []
423
- @include_modules = FilterableItemRepository::QueryOptimized.new(:any?)
424
- @extend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
425
- @prepend_modules = FilterableItemRepository::QueryOptimized.new(:any?)
426
-
427
- @before_suite_hooks = []
428
- @after_suite_hooks = []
429
-
430
- @mock_framework = nil
431
- @files_or_directories_to_run = []
432
- @loaded_spec_files = Set.new
433
- @color = false
434
- @color_mode = :automatic
435
- @pattern = '**{,/*/**}/*_spec.rb'
436
- @exclude_pattern = ''
437
- @failure_exit_code = 1
438
- @fail_if_no_examples = false
439
- @spec_files_loaded = false
440
-
441
- @backtrace_formatter = BacktraceFormatter.new
442
-
443
- @default_path = 'spec'
444
- @project_source_dirs = %w[ spec lib app ]
445
- @deprecation_stream = $stderr
446
- @output_stream = $stdout
447
- @reporter = nil
448
- @reporter_buffer = nil
449
- @filter_manager = FilterManager.new
450
- @static_config_filter_manager = FilterManager.new
451
- @ordering_manager = Ordering::ConfigurationManager.new
452
- @preferred_options = {}
453
- @failure_color = :red
454
- @success_color = :green
455
- @pending_color = :yellow
456
- @default_color = :white
457
- @fixed_color = :blue
458
- @detail_color = :cyan
459
- @profile_examples = false
460
- @requires = []
461
- @libs = []
462
- @derived_metadata_blocks = FilterableItemRepository::QueryOptimized.new(:any?)
463
- @threadsafe = true
464
- @max_displayed_failure_line_count = 10
465
- @world = World::Null
466
- @shared_context_metadata_behavior = :trigger_inclusion
467
-
468
- define_built_in_hooks
469
- end
470
- # rubocop:enable Metrics/MethodLength
471
- # rubocop:enable Metrics/AbcSize
472
-
473
- # @private
474
- #
475
- # Used to set higher priority option values from the command line.
476
- def force(hash)
477
- ordering_manager.force(hash)
478
- @preferred_options.merge!(hash)
479
-
480
- return unless hash.key?(:example_status_persistence_file_path)
481
- clear_values_derived_from_example_status_persistence_file_path
482
- end
483
-
484
- # @private
485
- def reset
486
- @spec_files_loaded = false
487
- reset_reporter
488
- end
489
-
490
- # @private
491
- def reset_reporter
492
- @reporter = nil
493
- @formatter_loader = nil
494
- @output_wrapper = nil
495
- end
496
-
497
- # @private
498
- def reset_filters
499
- self.filter_manager = FilterManager.new
500
- filter_manager.include_only(
501
- Metadata.deep_hash_dup(static_config_filter_manager.inclusions.rules)
502
- )
503
- filter_manager.exclude_only(
504
- Metadata.deep_hash_dup(static_config_filter_manager.exclusions.rules)
505
- )
506
- end
507
-
508
- # @overload add_setting(name)
509
- # @overload add_setting(name, opts)
510
- # @option opts [Symbol] :default
511
- #
512
- # Set a default value for the generated getter and predicate methods:
513
- #
514
- # add_setting(:foo, :default => "default value")
515
- #
516
- # @option opts [Symbol] :alias_with
517
- #
518
- # Use `:alias_with` to alias the setter, getter, and predicate to
519
- # another name, or names:
520
- #
521
- # add_setting(:foo, :alias_with => :bar)
522
- # add_setting(:foo, :alias_with => [:bar, :baz])
523
- #
524
- # Adds a custom setting to the RSpec.configuration object.
525
- #
526
- # RSpec.configuration.add_setting :foo
527
- #
528
- # Used internally and by extension frameworks like rspec-rails, so they
529
- # can add config settings that are domain specific. For example:
530
- #
531
- # RSpec.configure do |c|
532
- # c.add_setting :use_transactional_fixtures,
533
- # :default => true,
534
- # :alias_with => :use_transactional_examples
535
- # end
536
- #
537
- # `add_setting` creates three methods on the configuration object, a
538
- # setter, a getter, and a predicate:
539
- #
540
- # RSpec.configuration.foo=(value)
541
- # RSpec.configuration.foo
542
- # RSpec.configuration.foo? # Returns true if foo returns anything but nil or false.
543
- def add_setting(name, opts={})
544
- default = opts.delete(:default)
545
- (class << self; self; end).class_exec do
546
- add_setting(name, opts)
547
- end
548
- __send__("#{name}=", default) if default
549
- end
550
-
551
- # Returns the configured mock framework adapter module.
552
- def mock_framework
553
- if @mock_framework.nil?
554
- begin
555
- mock_with :rspec
556
- rescue LoadError
557
- mock_with :nothing
558
- end
559
- end
560
- @mock_framework
561
- end
562
-
563
- # Delegates to mock_framework=(framework).
564
- def mock_framework=(framework)
565
- mock_with framework
566
- end
567
-
568
- # Regexps used to exclude lines from backtraces.
569
- #
570
- # Excludes lines from ruby (and jruby) source, installed gems, anything
571
- # in any "bin" directory, and any of the RSpec libs (outside gem
572
- # installs) by default.
573
- #
574
- # You can modify the list via the getter, or replace it with the setter.
575
- #
576
- # To override this behaviour and display a full backtrace, use
577
- # `--backtrace` on the command line, in a `.rspec` file, or in the
578
- # `rspec_options` attribute of RSpec's rake task.
579
- def backtrace_exclusion_patterns
580
- @backtrace_formatter.exclusion_patterns
581
- end
582
-
583
- # Set regular expressions used to exclude lines in backtrace.
584
- # @param patterns [Regexp] set the backtrace exlusion pattern
585
- def backtrace_exclusion_patterns=(patterns)
586
- @backtrace_formatter.exclusion_patterns = patterns
587
- end
588
-
589
- # Regexps used to include lines in backtraces.
590
- #
591
- # Defaults to [Regexp.new Dir.getwd].
592
- #
593
- # Lines that match an exclusion _and_ an inclusion pattern
594
- # will be included.
595
- #
596
- # You can modify the list via the getter, or replace it with the setter.
597
- def backtrace_inclusion_patterns
598
- @backtrace_formatter.inclusion_patterns
599
- end
600
-
601
- # Set regular expressions used to include lines in backtrace.
602
- # @attr patterns [Regexp] set backtrace_formatter inclusion_patterns
603
- def backtrace_inclusion_patterns=(patterns)
604
- @backtrace_formatter.inclusion_patterns = patterns
605
- end
606
-
607
- # Adds {#backtrace_exclusion_patterns} that will filter lines from
608
- # the named gems from backtraces.
609
- #
610
- # @param gem_names [Array<String>] Names of the gems to filter
611
- #
612
- # @example
613
- # RSpec.configure do |config|
614
- # config.filter_gems_from_backtrace "rack", "rake"
615
- # end
616
- #
617
- # @note The patterns this adds will match the named gems in their common
618
- # locations (e.g. system gems, vendored with bundler, installed as a
619
- # :git dependency with bundler, etc) but is not guaranteed to work for
620
- # all possible gem locations. For example, if you have the gem source
621
- # in a directory with a completely unrelated name, and use bundler's
622
- # :path option, this will not filter it.
623
- def filter_gems_from_backtrace(*gem_names)
624
- gem_names.each do |name|
625
- @backtrace_formatter.filter_gem(name)
626
- end
627
- end
628
-
629
- # @private
630
- MOCKING_ADAPTERS = {
631
- :rspec => :RSpec,
632
- :flexmock => :Flexmock,
633
- :rr => :RR,
634
- :mocha => :Mocha,
635
- :nothing => :Null
636
- }
637
-
638
- # Sets the mock framework adapter module.
639
- #
640
- # `framework` can be a Symbol or a Module.
641
- #
642
- # Given any of `:rspec`, `:mocha`, `:flexmock`, or `:rr`, configures the
643
- # named framework.
644
- #
645
- # Given `:nothing`, configures no framework. Use this if you don't use
646
- # any mocking framework to save a little bit of overhead.
647
- #
648
- # Given a Module, includes that module in every example group. The module
649
- # should adhere to RSpec's mock framework adapter API:
650
- #
651
- # setup_mocks_for_rspec
652
- # - called before each example
653
- #
654
- # verify_mocks_for_rspec
655
- # - called after each example if the example hasn't yet failed.
656
- # Framework should raise an exception when expectations fail
657
- #
658
- # teardown_mocks_for_rspec
659
- # - called after verify_mocks_for_rspec (even if there are errors)
660
- #
661
- # If the module responds to `configuration` and `mock_with` receives a
662
- # block, it will yield the configuration object to the block e.g.
663
- #
664
- # config.mock_with OtherMockFrameworkAdapter do |mod_config|
665
- # mod_config.custom_setting = true
666
- # end
667
- def mock_with(framework)
668
- framework_module =
669
- if framework.is_a?(Module)
670
- framework
671
- else
672
- const_name = MOCKING_ADAPTERS.fetch(framework) do
673
- raise ArgumentError,
674
- "Unknown mocking framework: #{framework.inspect}. " \
675
- "Pass a module or one of #{MOCKING_ADAPTERS.keys.inspect}"
676
- end
677
-
678
- RSpec::Support.require_rspec_core "mocking_adapters/#{const_name.to_s.downcase}"
679
- RSpec::Core::MockingAdapters.const_get(const_name)
680
- end
681
-
682
- new_name, old_name = [framework_module, @mock_framework].map do |mod|
683
- mod.respond_to?(:framework_name) ? mod.framework_name : :unnamed
684
- end
685
-
686
- unless new_name == old_name
687
- assert_no_example_groups_defined(:mock_framework)
688
- end
689
-
690
- if block_given?
691
- raise "#{framework_module} must respond to `configuration` so that " \
692
- "mock_with can yield it." unless framework_module.respond_to?(:configuration)
693
- yield framework_module.configuration
694
- end
695
-
696
- @mock_framework = framework_module
697
- end
698
-
699
- # Returns the configured expectation framework adapter module(s)
700
- def expectation_frameworks
701
- if @expectation_frameworks.empty?
702
- begin
703
- expect_with :rspec
704
- rescue LoadError
705
- expect_with Module.new
706
- end
707
- end
708
- @expectation_frameworks
709
- end
710
-
711
- # Delegates to expect_with(framework).
712
- def expectation_framework=(framework)
713
- expect_with(framework)
714
- end
715
-
716
- # Sets the expectation framework module(s) to be included in each example
717
- # group.
718
- #
719
- # `frameworks` can be `:rspec`, `:test_unit`, `:minitest`, a custom
720
- # module, or any combination thereof:
721
- #
722
- # config.expect_with :rspec
723
- # config.expect_with :test_unit
724
- # config.expect_with :minitest
725
- # config.expect_with :rspec, :minitest
726
- # config.expect_with OtherExpectationFramework
727
- #
728
- # RSpec will translate `:rspec`, `:minitest`, and `:test_unit` into the
729
- # appropriate modules.
730
- #
731
- # ## Configuration
732
- #
733
- # If the module responds to `configuration`, `expect_with` will
734
- # yield the `configuration` object if given a block:
735
- #
736
- # config.expect_with OtherExpectationFramework do |custom_config|
737
- # custom_config.custom_setting = true
738
- # end
739
- def expect_with(*frameworks)
740
- modules = frameworks.map do |framework|
741
- case framework
742
- when Module
743
- framework
744
- when :rspec
745
- require 'rspec/expectations'
746
-
747
- # Tag this exception class so our exception formatting logic knows
748
- # that it satisfies the `MultipleExceptionError` interface.
749
- ::RSpec::Expectations::MultipleExpectationsNotMetError.__send__(
750
- :include, MultipleExceptionError::InterfaceTag
751
- )
752
-
753
- ::RSpec::Matchers
754
- when :test_unit
755
- require 'rspec/core/test_unit_assertions_adapter'
756
- ::RSpec::Core::TestUnitAssertionsAdapter
757
- when :minitest
758
- require 'rspec/core/minitest_assertions_adapter'
759
- ::RSpec::Core::MinitestAssertionsAdapter
760
- else
761
- raise ArgumentError, "#{framework.inspect} is not supported"
762
- end
763
- end
764
-
765
- if (modules - @expectation_frameworks).any?
766
- assert_no_example_groups_defined(:expect_with)
767
- end
768
-
769
- if block_given?
770
- raise "expect_with only accepts a block with a single argument. " \
771
- "Call expect_with #{modules.length} times, " \
772
- "once with each argument, instead." if modules.length > 1
773
- raise "#{modules.first} must respond to `configuration` so that " \
774
- "expect_with can yield it." unless modules.first.respond_to?(:configuration)
775
- yield modules.first.configuration
776
- end
777
-
778
- @expectation_frameworks.push(*modules)
779
- end
780
-
781
- # Check if full backtrace is enabled.
782
- # @return [Boolean] is full backtrace enabled
783
- def full_backtrace?
784
- @backtrace_formatter.full_backtrace?
785
- end
786
-
787
- # Toggle full backtrace.
788
- # @attr true_or_false [Boolean] toggle full backtrace display
789
- def full_backtrace=(true_or_false)
790
- @backtrace_formatter.full_backtrace = true_or_false
791
- end
792
-
793
- # Enables color output if the output is a TTY. As of RSpec 3.6, this is
794
- # the default behavior and this option is retained only for backwards
795
- # compatibility.
796
- #
797
- # @deprecated No longer recommended because of complex behavior. Instead,
798
- # rely on the fact that TTYs will display color by default, or set
799
- # {#color_mode} to :on to display color on a non-TTY output.
800
- # @see color_mode
801
- # @see color_enabled?
802
- # @return [Boolean]
803
- def color
804
- value_for(:color) { @color }
805
- end
806
-
807
- # The mode for determining whether to display output in color. One of:
808
- #
809
- # - :automatic - the output will be in color if the output is a TTY (the
810
- # default)
811
- # - :on - the output will be in color, whether or not the output is a TTY
812
- # - :off - the output will not be in color
813
- #
814
- # @see color_enabled?
815
- # @return [Boolean]
816
- def color_mode
817
- value_for(:color_mode) { @color_mode }
818
- end
819
-
820
- # Check if color is enabled for a particular output.
821
- # @param output [IO] an output stream to use, defaults to the current
822
- # `output_stream`
823
- # @return [Boolean]
824
- def color_enabled?(output=output_stream)
825
- case color_mode
826
- when :on then true
827
- when :off then false
828
- else # automatic
829
- output_to_tty?(output) || (color && tty?)
830
- end
831
- end
832
-
833
- # Set the color mode.
834
- attr_writer :color_mode
835
-
836
- # Toggle output color.
837
- #
838
- # @deprecated No longer recommended because of complex behavior. Instead,
839
- # rely on the fact that TTYs will display color by default, or set
840
- # {:color_mode} to :on to display color on a non-TTY output.
841
- attr_writer :color
842
-
843
- # @private
844
- def libs=(libs)
845
- libs.map do |lib|
846
- @libs.unshift lib
847
- $LOAD_PATH.unshift lib
848
- end
849
- end
850
-
851
- # Run examples matching on `description` in all files to run.
852
- # @param description [String, Regexp] the pattern to filter on
853
- def full_description=(description)
854
- filter_run :full_description => Regexp.union(*Array(description).map { |d| Regexp.new(d) })
855
- end
856
-
857
- # @return [Array] full description filter
858
- def full_description
859
- filter.fetch :full_description, nil
860
- end
861
-
862
- # @overload add_formatter(formatter)
863
- # @overload add_formatter(formatter, output)
864
- #
865
- # @param formatter [Class, String] formatter to use. Can be any of the
866
- # string values supported from the CLI (`p`/`progress`,
867
- # `d`/`doc`/`documentation`, `h`/`html`, or `j`/`json`) or any
868
- # class that implements the formatter protocol and has registered
869
- # itself with RSpec as a formatter.
870
- # @param output [String, IO] where the formatter will write its output.
871
- # Can be an IO object or a string path to a file. If not provided,
872
- # the configured `output_stream` (`$stdout`, by default) will be used.
873
- #
874
- # Adds a formatter to the set RSpec will use for this run.
875
- #
876
- # @see RSpec::Core::Formatters::Protocol
877
- def add_formatter(formatter, output=output_wrapper)
878
- formatter_loader.add(formatter, output)
879
- end
880
- alias_method :formatter=, :add_formatter
881
-
882
- # The formatter that will be used if no formatter has been set.
883
- # Defaults to 'progress'.
884
- def default_formatter
885
- formatter_loader.default_formatter
886
- end
887
-
888
- # Sets a fallback formatter to use if none other has been set.
889
- #
890
- # @example
891
- #
892
- # RSpec.configure do |rspec|
893
- # rspec.default_formatter = 'doc'
894
- # end
895
- def default_formatter=(value)
896
- formatter_loader.default_formatter = value
897
- end
898
-
899
- # Returns a duplicate of the formatters currently loaded in
900
- # the `FormatterLoader` for introspection.
901
- #
902
- # Note as this is a duplicate, any mutations will be disregarded.
903
- #
904
- # @return [Array] the formatters currently loaded
905
- def formatters
906
- formatter_loader.formatters.dup
907
- end
908
-
909
- # @private
910
- def formatter_loader
911
- @formatter_loader ||= Formatters::Loader.new(Reporter.new(self))
912
- end
913
-
914
- # @private
915
- #
916
- # This buffer is used to capture all messages sent to the reporter during
917
- # reporter initialization. It can then replay those messages after the
918
- # formatter is correctly initialized. Otherwise, deprecation warnings
919
- # during formatter initialization can cause an infinite loop.
920
- class DeprecationReporterBuffer
921
- def initialize
922
- @calls = []
923
- end
924
-
925
- def deprecation(*args)
926
- @calls << args
927
- end
928
-
929
- def play_onto(reporter)
930
- @calls.each do |args|
931
- reporter.deprecation(*args)
932
- end
933
- end
934
- end
935
-
936
- # @return [RSpec::Core::Reporter] the currently configured reporter
937
- def reporter
938
- # @reporter_buffer should only ever be set in this method to cover
939
- # initialization of @reporter.
940
- @reporter_buffer || @reporter ||=
941
- begin
942
- @reporter_buffer = DeprecationReporterBuffer.new
943
- formatter_loader.prepare_default output_wrapper, deprecation_stream
944
- @reporter_buffer.play_onto(formatter_loader.reporter)
945
- @reporter_buffer = nil
946
- formatter_loader.reporter
947
- end
948
- end
949
-
950
- # @api private
951
- #
952
- # Defaults `profile_examples` to 10 examples when `@profile_examples` is
953
- # `true`.
954
- def profile_examples
955
- profile = value_for(:profile_examples) { @profile_examples }
956
- if profile && !profile.is_a?(Integer)
957
- 10
958
- else
959
- profile
960
- end
961
- end
962
-
963
- # @private
964
- def files_or_directories_to_run=(*files)
965
- files = files.flatten
966
-
967
- if (command == 'rspec' || Runner.running_in_drb?) && default_path && files.empty?
968
- files << default_path
969
- end
970
-
971
- @files_or_directories_to_run = files
972
- @files_to_run = nil
973
- end
974
-
975
- # The spec files RSpec will run.
976
- # @return [Array] specified files about to run
977
- def files_to_run
978
- @files_to_run ||= get_files_to_run(@files_or_directories_to_run)
979
- end
980
-
981
- # @private
982
- def last_run_statuses
983
- @last_run_statuses ||= Hash.new(UNKNOWN_STATUS).tap do |statuses|
984
- if (path = example_status_persistence_file_path)
985
- begin
986
- ExampleStatusPersister.load_from(path).inject(statuses) do |hash, example|
987
- status = example[:status]
988
- status = UNKNOWN_STATUS unless VALID_STATUSES.include?(status)
989
- hash[example.fetch(:example_id)] = status
990
- hash
991
- end
992
- rescue SystemCallError => e
993
- RSpec.warning "Could not read from #{path.inspect} (configured as " \
994
- "`config.example_status_persistence_file_path`) due " \
995
- "to a system error: #{e.inspect}. Please check that " \
996
- "the config option is set to an accessible, valid " \
997
- "file path", :call_site => nil
998
- end
999
- end
1000
- end
1001
- end
1002
-
1003
- # @private
1004
- UNKNOWN_STATUS = "unknown".freeze
1005
-
1006
- # @private
1007
- FAILED_STATUS = "failed".freeze
1008
-
1009
- # @private
1010
- PASSED_STATUS = "passed".freeze
1011
-
1012
- # @private
1013
- PENDING_STATUS = "pending".freeze
1014
-
1015
- # @private
1016
- VALID_STATUSES = [UNKNOWN_STATUS, FAILED_STATUS, PASSED_STATUS, PENDING_STATUS]
1017
-
1018
- # @private
1019
- def spec_files_with_failures
1020
- @spec_files_with_failures ||= last_run_statuses.inject(Set.new) do |files, (id, status)|
1021
- files << Example.parse_id(id).first if status == FAILED_STATUS
1022
- files
1023
- end.to_a
1024
- end
1025
-
1026
- # Creates a method that delegates to `example` including the submitted
1027
- # `args`. Used internally to add variants of `example` like `pending`:
1028
- # @param name [String] example name alias
1029
- # @param args [Array<Symbol>, Hash] metadata for the generated example
1030
- #
1031
- # @note The specific example alias below (`pending`) is already
1032
- # defined for you.
1033
- # @note Use with caution. This extends the language used in your
1034
- # specs, but does not add any additional documentation. We use this
1035
- # in RSpec to define methods like `focus` and `xit`, but we also add
1036
- # docs for those methods.
1037
- #
1038
- # @example
1039
- # RSpec.configure do |config|
1040
- # config.alias_example_to :pending, :pending => true
1041
- # end
1042
- #
1043
- # # This lets you do this:
1044
- #
1045
- # describe Thing do
1046
- # pending "does something" do
1047
- # thing = Thing.new
1048
- # end
1049
- # end
1050
- #
1051
- # # ... which is the equivalent of
1052
- #
1053
- # describe Thing do
1054
- # it "does something", :pending => true do
1055
- # thing = Thing.new
1056
- # end
1057
- # end
1058
- def alias_example_to(name, *args)
1059
- extra_options = Metadata.build_hash_from(args)
1060
- RSpec::Core::ExampleGroup.define_example_method(name, extra_options)
1061
- end
1062
-
1063
- # Creates a method that defines an example group with the provided
1064
- # metadata. Can be used to define example group/metadata shortcuts.
1065
- #
1066
- # @example
1067
- # RSpec.configure do |config|
1068
- # config.alias_example_group_to :describe_model, :type => :model
1069
- # end
1070
- #
1071
- # shared_context_for "model tests", :type => :model do
1072
- # # define common model test helper methods, `let` declarations, etc
1073
- # end
1074
- #
1075
- # # This lets you do this:
1076
- #
1077
- # RSpec.describe_model User do
1078
- # end
1079
- #
1080
- # # ... which is the equivalent of
1081
- #
1082
- # RSpec.describe User, :type => :model do
1083
- # end
1084
- #
1085
- # @note The defined aliased will also be added to the top level
1086
- # (e.g. `main` and from within modules) if
1087
- # `expose_dsl_globally` is set to true.
1088
- # @see #alias_example_to
1089
- # @see #expose_dsl_globally=
1090
- def alias_example_group_to(new_name, *args)
1091
- extra_options = Metadata.build_hash_from(args)
1092
- RSpec::Core::ExampleGroup.define_example_group_method(new_name, extra_options)
1093
- end
1094
-
1095
- # Define an alias for it_should_behave_like that allows different
1096
- # language (like "it_has_behavior" or "it_behaves_like") to be
1097
- # employed when including shared examples.
1098
- #
1099
- # @example
1100
- # RSpec.configure do |config|
1101
- # config.alias_it_behaves_like_to(:it_has_behavior, 'has behavior:')
1102
- # end
1103
- #
1104
- # # allows the user to include a shared example group like:
1105
- #
1106
- # describe Entity do
1107
- # it_has_behavior 'sortability' do
1108
- # let(:sortable) { Entity.new }
1109
- # end
1110
- # end
1111
- #
1112
- # # which is reported in the output as:
1113
- # # Entity
1114
- # # has behavior: sortability
1115
- # # ...sortability examples here
1116
- #
1117
- # @note Use with caution. This extends the language used in your
1118
- # specs, but does not add any additional documentation. We use this
1119
- # in RSpec to define `it_should_behave_like` (for backward
1120
- # compatibility), but we also add docs for that method.
1121
- def alias_it_behaves_like_to(new_name, report_label='')
1122
- RSpec::Core::ExampleGroup.define_nested_shared_group_method(new_name, report_label)
1123
- end
1124
- alias_method :alias_it_should_behave_like_to, :alias_it_behaves_like_to
1125
-
1126
- # Adds key/value pairs to the `inclusion_filter`. If `args`
1127
- # includes any symbols that are not part of the hash, each symbol
1128
- # is treated as a key in the hash with the value `true`.
1129
- #
1130
- # ### Note
1131
- #
1132
- # Filters set using this method can be overridden from the command line
1133
- # or config files (e.g. `.rspec`).
1134
- #
1135
- # @example
1136
- # # Given this declaration.
1137
- # describe "something", :foo => 'bar' do
1138
- # # ...
1139
- # end
1140
- #
1141
- # # Any of the following will include that group.
1142
- # config.filter_run_including :foo => 'bar'
1143
- # config.filter_run_including :foo => /^ba/
1144
- # config.filter_run_including :foo => lambda {|v| v == 'bar'}
1145
- # config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
1146
- #
1147
- # # Given a proc with an arity of 1, the lambda is passed the value
1148
- # # related to the key, e.g.
1149
- # config.filter_run_including :foo => lambda {|v| v == 'bar'}
1150
- #
1151
- # # Given a proc with an arity of 2, the lambda is passed the value
1152
- # # related to the key, and the metadata itself e.g.
1153
- # config.filter_run_including :foo => lambda {|v,m| m[:foo] == 'bar'}
1154
- #
1155
- # filter_run_including :foo # same as filter_run_including :foo => true
1156
- def filter_run_including(*args)
1157
- meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
1158
- filter_manager.include_with_low_priority meta
1159
- static_config_filter_manager.include_with_low_priority Metadata.deep_hash_dup(meta)
1160
- end
1161
- alias_method :filter_run, :filter_run_including
1162
-
1163
- # Applies the provided filter only if any of examples match, in constrast
1164
- # to {#filter_run}, which always applies even if no examples match, in
1165
- # which case no examples will be run. This allows you to leave configured
1166
- # filters in place that are intended only for temporary use. The most common
1167
- # example is focus filtering: `config.filter_run_when_matching :focus`.
1168
- # With that configured, you can temporarily focus an example or group
1169
- # by tagging it with `:focus` metadata, or prefixing it with an `f`
1170
- # (as in `fdescribe`, `fcontext` and `fit`) since those are aliases for
1171
- # `describe`/`context`/`it` with `:focus` metadata.
1172
- def filter_run_when_matching(*args)
1173
- when_first_matching_example_defined(*args) do
1174
- filter_run(*args)
1175
- end
1176
- end
1177
-
1178
- # Clears and reassigns the `inclusion_filter`. Set to `nil` if you don't
1179
- # want any inclusion filter at all.
1180
- #
1181
- # ### Warning
1182
- #
1183
- # This overrides any inclusion filters/tags set on the command line or in
1184
- # configuration files.
1185
- def inclusion_filter=(filter)
1186
- meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
1187
- filter_manager.include_only meta
1188
- end
1189
-
1190
- alias_method :filter=, :inclusion_filter=
1191
-
1192
- # Returns the `inclusion_filter`. If none has been set, returns an empty
1193
- # hash.
1194
- def inclusion_filter
1195
- filter_manager.inclusions
1196
- end
1197
-
1198
- alias_method :filter, :inclusion_filter
1199
-
1200
- # Adds key/value pairs to the `exclusion_filter`. If `args`
1201
- # includes any symbols that are not part of the hash, each symbol
1202
- # is treated as a key in the hash with the value `true`.
1203
- #
1204
- # ### Note
1205
- #
1206
- # Filters set using this method can be overridden from the command line
1207
- # or config files (e.g. `.rspec`).
1208
- #
1209
- # @example
1210
- # # Given this declaration.
1211
- # describe "something", :foo => 'bar' do
1212
- # # ...
1213
- # end
1214
- #
1215
- # # Any of the following will exclude that group.
1216
- # config.filter_run_excluding :foo => 'bar'
1217
- # config.filter_run_excluding :foo => /^ba/
1218
- # config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
1219
- # config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
1220
- #
1221
- # # Given a proc with an arity of 1, the lambda is passed the value
1222
- # # related to the key, e.g.
1223
- # config.filter_run_excluding :foo => lambda {|v| v == 'bar'}
1224
- #
1225
- # # Given a proc with an arity of 2, the lambda is passed the value
1226
- # # related to the key, and the metadata itself e.g.
1227
- # config.filter_run_excluding :foo => lambda {|v,m| m[:foo] == 'bar'}
1228
- #
1229
- # filter_run_excluding :foo # same as filter_run_excluding :foo => true
1230
- def filter_run_excluding(*args)
1231
- meta = Metadata.build_hash_from(args, :warn_about_example_group_filtering)
1232
- filter_manager.exclude_with_low_priority meta
1233
- static_config_filter_manager.exclude_with_low_priority Metadata.deep_hash_dup(meta)
1234
- end
1235
-
1236
- # Clears and reassigns the `exclusion_filter`. Set to `nil` if you don't
1237
- # want any exclusion filter at all.
1238
- #
1239
- # ### Warning
1240
- #
1241
- # This overrides any exclusion filters/tags set on the command line or in
1242
- # configuration files.
1243
- def exclusion_filter=(filter)
1244
- meta = Metadata.build_hash_from([filter], :warn_about_example_group_filtering)
1245
- filter_manager.exclude_only meta
1246
- end
1247
-
1248
- # Returns the `exclusion_filter`. If none has been set, returns an empty
1249
- # hash.
1250
- def exclusion_filter
1251
- filter_manager.exclusions
1252
- end
1253
-
1254
- # Tells RSpec to include `mod` in example groups. Methods defined in
1255
- # `mod` are exposed to examples (not example groups). Use `filters` to
1256
- # constrain the groups or examples in which to include the module.
1257
- #
1258
- # @example
1259
- #
1260
- # module AuthenticationHelpers
1261
- # def login_as(user)
1262
- # # ...
1263
- # end
1264
- # end
1265
- #
1266
- # module UserHelpers
1267
- # def users(username)
1268
- # # ...
1269
- # end
1270
- # end
1271
- #
1272
- # RSpec.configure do |config|
1273
- # config.include(UserHelpers) # included in all groups
1274
- # config.include(AuthenticationHelpers, :type => :request)
1275
- # end
1276
- #
1277
- # describe "edit profile", :type => :request do
1278
- # it "can be viewed by owning user" do
1279
- # login_as users(:jdoe)
1280
- # get "/profiles/jdoe"
1281
- # assert_select ".username", :text => 'jdoe'
1282
- # end
1283
- # end
1284
- #
1285
- # @note Filtered module inclusions can also be applied to
1286
- # individual examples that have matching metadata. Just like
1287
- # Ruby's object model is that every object has a singleton class
1288
- # which has only a single instance, RSpec's model is that every
1289
- # example has a singleton example group containing just the one
1290
- # example.
1291
- #
1292
- # @see #include_context
1293
- # @see #extend
1294
- # @see #prepend
1295
- def include(mod, *filters)
1296
- define_mixed_in_module(mod, filters, @include_modules, :include) do |group|
1297
- safe_include(mod, group)
1298
- end
1299
- end
1300
-
1301
- # Tells RSpec to include the named shared example group in example groups.
1302
- # Use `filters` to constrain the groups or examples in which to include
1303
- # the example group.
1304
- #
1305
- # @example
1306
- #
1307
- # RSpec.shared_context "example users" do
1308
- # let(:admin_user) { create_user(:admin) }
1309
- # let(:guest_user) { create_user(:guest) }
1310
- # end
1311
- #
1312
- # RSpec.configure do |config|
1313
- # config.include_context "example users", :type => :request
1314
- # end
1315
- #
1316
- # RSpec.describe "The admin page", :type => :request do
1317
- # it "can be viewed by admins" do
1318
- # login_with admin_user
1319
- # get "/admin"
1320
- # expect(response).to be_ok
1321
- # end
1322
- #
1323
- # it "cannot be viewed by guests" do
1324
- # login_with guest_user
1325
- # get "/admin"
1326
- # expect(response).to be_forbidden
1327
- # end
1328
- # end
1329
- #
1330
- # @note Filtered context inclusions can also be applied to
1331
- # individual examples that have matching metadata. Just like
1332
- # Ruby's object model is that every object has a singleton class
1333
- # which has only a single instance, RSpec's model is that every
1334
- # example has a singleton example group containing just the one
1335
- # example.
1336
- #
1337
- # @see #include
1338
- def include_context(shared_group_name, *filters)
1339
- shared_module = world.shared_example_group_registry.find([:main], shared_group_name)
1340
- include shared_module, *filters
1341
- end
1342
-
1343
- # Tells RSpec to extend example groups with `mod`. Methods defined in
1344
- # `mod` are exposed to example groups (not examples). Use `filters` to
1345
- # constrain the groups to extend.
1346
- #
1347
- # Similar to `include`, but behavior is added to example groups, which
1348
- # are classes, rather than the examples, which are instances of those
1349
- # classes.
1350
- #
1351
- # @example
1352
- #
1353
- # module UiHelpers
1354
- # def run_in_browser
1355
- # # ...
1356
- # end
1357
- # end
1358
- #
1359
- # RSpec.configure do |config|
1360
- # config.extend(UiHelpers, :type => :request)
1361
- # end
1362
- #
1363
- # describe "edit profile", :type => :request do
1364
- # run_in_browser
1365
- #
1366
- # it "does stuff in the client" do
1367
- # # ...
1368
- # end
1369
- # end
1370
- #
1371
- # @see #include
1372
- # @see #prepend
1373
- def extend(mod, *filters)
1374
- define_mixed_in_module(mod, filters, @extend_modules, :extend) do |group|
1375
- safe_extend(mod, group)
1376
- end
1377
- end
1378
-
1379
- if RSpec::Support::RubyFeatures.module_prepends_supported?
1380
- # Tells RSpec to prepend example groups with `mod`. Methods defined in
1381
- # `mod` are exposed to examples (not example groups). Use `filters` to
1382
- # constrain the groups in which to prepend the module.
1383
- #
1384
- # Similar to `include`, but module is included before the example group's class
1385
- # in the ancestor chain.
1386
- #
1387
- # @example
1388
- #
1389
- # module OverrideMod
1390
- # def override_me
1391
- # "overridden"
1392
- # end
1393
- # end
1394
- #
1395
- # RSpec.configure do |config|
1396
- # config.prepend(OverrideMod, :method => :prepend)
1397
- # end
1398
- #
1399
- # describe "overriding example's class", :method => :prepend do
1400
- # it "finds the user" do
1401
- # self.class.class_eval do
1402
- # def override_me
1403
- # end
1404
- # end
1405
- # override_me # => "overridden"
1406
- # # ...
1407
- # end
1408
- # end
1409
- #
1410
- # @see #include
1411
- # @see #extend
1412
- def prepend(mod, *filters)
1413
- define_mixed_in_module(mod, filters, @prepend_modules, :prepend) do |group|
1414
- safe_prepend(mod, group)
1415
- end
1416
- end
1417
- end
1418
-
1419
- # @private
1420
- #
1421
- # Used internally to extend a group with modules using `include`, `prepend` and/or
1422
- # `extend`.
1423
- def configure_group(group)
1424
- group.hooks.register_globals(group, hooks)
1425
-
1426
- configure_group_with group, @include_modules, :safe_include
1427
- configure_group_with group, @extend_modules, :safe_extend
1428
- configure_group_with group, @prepend_modules, :safe_prepend
1429
- end
1430
-
1431
- # @private
1432
- #
1433
- # Used internally to extend the singleton class of a single example's
1434
- # example group instance with modules using `include` and/or `extend`.
1435
- def configure_example(example, example_hooks)
1436
- example_hooks.register_global_singleton_context_hooks(example, hooks)
1437
- singleton_group = example.example_group_instance.singleton_class
1438
-
1439
- # We replace the metadata so that SharedExampleGroupModule#included
1440
- # has access to the example's metadata[:location].
1441
- singleton_group.with_replaced_metadata(example.metadata) do
1442
- modules = @include_modules.items_for(example.metadata)
1443
- modules.each do |mod|
1444
- safe_include(mod, example.example_group_instance.singleton_class)
1445
- end
1446
-
1447
- MemoizedHelpers.define_helpers_on(singleton_group) unless modules.empty?
1448
- end
1449
- end
1450
-
1451
- # @private
1452
- def requires=(paths)
1453
- directories = ['lib', default_path].select { |p| File.directory? p }
1454
- RSpec::Core::RubyProject.add_to_load_path(*directories)
1455
- paths.each { |path| require path }
1456
- @requires += paths
1457
- end
1458
-
1459
- # @private
1460
- def in_project_source_dir_regex
1461
- regexes = project_source_dirs.map do |dir|
1462
- /\A#{Regexp.escape(File.expand_path(dir))}\//
1463
- end
1464
-
1465
- Regexp.union(regexes)
1466
- end
1467
-
1468
- # @private
1469
- def configure_mock_framework
1470
- RSpec::Core::ExampleGroup.__send__(:include, mock_framework)
1471
- conditionally_disable_mocks_monkey_patching
1472
- end
1473
-
1474
- # @private
1475
- def configure_expectation_framework
1476
- expectation_frameworks.each do |framework|
1477
- RSpec::Core::ExampleGroup.__send__(:include, framework)
1478
- end
1479
- conditionally_disable_expectations_monkey_patching
1480
- end
1481
-
1482
- # @private
1483
- def load_spec_files
1484
- # Note which spec files world is already aware of.
1485
- # This is generally only needed for when the user runs
1486
- # `ruby path/to/spec.rb` (and loads `rspec/autorun`) --
1487
- # in that case, the spec file was loaded by `ruby` and
1488
- # isn't loaded by us here so we only know about it because
1489
- # of an example group being registered in it.
1490
- world.registered_example_group_files.each do |f|
1491
- loaded_spec_files << f # the registered files are already expended absolute paths
1492
- end
1493
-
1494
- files_to_run.uniq.each do |f|
1495
- file = File.expand_path(f)
1496
- load_spec_file_handling_errors(file)
1497
- loaded_spec_files << file
1498
- end
1499
-
1500
- @spec_files_loaded = true
1501
- end
1502
-
1503
- # @private
1504
- DEFAULT_FORMATTER = lambda { |string| string }
1505
-
1506
- # Formats the docstring output using the block provided.
1507
- #
1508
- # @example
1509
- # # This will strip the descriptions of both examples and example
1510
- # # groups.
1511
- # RSpec.configure do |config|
1512
- # config.format_docstrings { |s| s.strip }
1513
- # end
1514
- def format_docstrings(&block)
1515
- @format_docstrings_block = block_given? ? block : DEFAULT_FORMATTER
1516
- end
1517
-
1518
- # @private
1519
- def format_docstrings_block
1520
- @format_docstrings_block ||= DEFAULT_FORMATTER
1521
- end
1522
-
1523
- # @private
1524
- # @macro [attach] delegate_to_ordering_manager
1525
- # @!method $1
1526
- def self.delegate_to_ordering_manager(*methods)
1527
- methods.each do |method|
1528
- define_method method do |*args, &block|
1529
- ordering_manager.__send__(method, *args, &block)
1530
- end
1531
- end
1532
- end
1533
-
1534
- # @macro delegate_to_ordering_manager
1535
- #
1536
- # Sets the seed value and sets the default global ordering to random.
1537
- delegate_to_ordering_manager :seed=
1538
-
1539
- # @macro delegate_to_ordering_manager
1540
- # Seed for random ordering (default: generated randomly each run).
1541
- #
1542
- # When you run specs with `--order random`, RSpec generates a random seed
1543
- # for the randomization and prints it to the `output_stream` (assuming
1544
- # you're using RSpec's built-in formatters). If you discover an ordering
1545
- # dependency (i.e. examples fail intermittently depending on order), set
1546
- # this (on Configuration or on the command line with `--seed`) to run
1547
- # using the same seed while you debug the issue.
1548
- #
1549
- # We recommend, actually, that you use the command line approach so you
1550
- # don't accidentally leave the seed encoded.
1551
- delegate_to_ordering_manager :seed
1552
-
1553
- # @macro delegate_to_ordering_manager
1554
- #
1555
- # Sets the default global ordering strategy. By default this can be one
1556
- # of `:defined`, `:random`, but is customizable through the
1557
- # `register_ordering` API. If order is set to `'rand:<seed>'`,
1558
- # the seed will also be set.
1559
- #
1560
- # @see #register_ordering
1561
- delegate_to_ordering_manager :order=
1562
-
1563
- # @macro delegate_to_ordering_manager
1564
- # Registers a named ordering strategy that can later be
1565
- # used to order an example group's subgroups by adding
1566
- # `:order => <name>` metadata to the example group.
1567
- #
1568
- # @param name [Symbol] The name of the ordering.
1569
- # @yield Block that will order the given examples or example groups
1570
- # @yieldparam list [Array<RSpec::Core::Example>,
1571
- # Array<RSpec::Core::ExampleGroup>] The examples or groups to order
1572
- # @yieldreturn [Array<RSpec::Core::Example>,
1573
- # Array<RSpec::Core::ExampleGroup>] The re-ordered examples or groups
1574
- #
1575
- # @example
1576
- # RSpec.configure do |rspec|
1577
- # rspec.register_ordering :reverse do |list|
1578
- # list.reverse
1579
- # end
1580
- # end
1581
- #
1582
- # RSpec.describe 'MyClass', :order => :reverse do
1583
- # # ...
1584
- # end
1585
- #
1586
- # @note Pass the symbol `:global` to set the ordering strategy that
1587
- # will be used to order the top-level example groups and any example
1588
- # groups that do not have declared `:order` metadata.
1589
- #
1590
- # @example
1591
- # RSpec.configure do |rspec|
1592
- # rspec.register_ordering :global do |examples|
1593
- # acceptance, other = examples.partition do |example|
1594
- # example.metadata[:type] == :acceptance
1595
- # end
1596
- # other + acceptance
1597
- # end
1598
- # end
1599
- #
1600
- # RSpec.describe 'MyClass', :type => :acceptance do
1601
- # # will run last
1602
- # end
1603
- #
1604
- # RSpec.describe 'MyClass' do
1605
- # # will run first
1606
- # end
1607
- #
1608
- delegate_to_ordering_manager :register_ordering
1609
-
1610
- # @private
1611
- delegate_to_ordering_manager :seed_used?, :ordering_registry
1612
-
1613
- # Set Ruby warnings on or off.
1614
- def warnings=(value)
1615
- $VERBOSE = !!value
1616
- end
1617
-
1618
- # @return [Boolean] Whether or not ruby warnings are enabled.
1619
- def warnings?
1620
- $VERBOSE
1621
- end
1622
-
1623
- # @private
1624
- RAISE_ERROR_WARNING_NOTIFIER = lambda { |message| raise message }
1625
-
1626
- # Turns warnings into errors. This can be useful when
1627
- # you want RSpec to run in a 'strict' no warning situation.
1628
- #
1629
- # @example
1630
- #
1631
- # RSpec.configure do |rspec|
1632
- # rspec.raise_on_warning = true
1633
- # end
1634
- def raise_on_warning=(value)
1635
- if value
1636
- RSpec::Support.warning_notifier = RAISE_ERROR_WARNING_NOTIFIER
1637
- else
1638
- RSpec::Support.warning_notifier = RSpec::Support::DEFAULT_WARNING_NOTIFIER
1639
- end
1640
- end
1641
-
1642
- # Exposes the current running example via the named
1643
- # helper method. RSpec 2.x exposed this via `example`,
1644
- # but in RSpec 3.0, the example is instead exposed via
1645
- # an arg yielded to `it`, `before`, `let`, etc. However,
1646
- # some extension gems (such as Capybara) depend on the
1647
- # RSpec 2.x's `example` method, so this config option
1648
- # can be used to maintain compatibility.
1649
- #
1650
- # @param method_name [Symbol] the name of the helper method
1651
- #
1652
- # @example
1653
- #
1654
- # RSpec.configure do |rspec|
1655
- # rspec.expose_current_running_example_as :example
1656
- # end
1657
- #
1658
- # describe MyClass do
1659
- # before do
1660
- # # `example` can be used here because of the above config.
1661
- # do_something if example.metadata[:type] == "foo"
1662
- # end
1663
- # end
1664
- def expose_current_running_example_as(method_name)
1665
- ExposeCurrentExample.module_exec do
1666
- extend RSpec::SharedContext
1667
- let(method_name) { |ex| ex }
1668
- end
1669
-
1670
- include ExposeCurrentExample
1671
- end
1672
-
1673
- # @private
1674
- module ExposeCurrentExample; end
1675
-
1676
- # Turns deprecation warnings into errors, in order to surface
1677
- # the full backtrace of the call site. This can be useful when
1678
- # you need more context to address a deprecation than the
1679
- # single-line call site normally provided.
1680
- #
1681
- # @example
1682
- #
1683
- # RSpec.configure do |rspec|
1684
- # rspec.raise_errors_for_deprecations!
1685
- # end
1686
- def raise_errors_for_deprecations!
1687
- self.deprecation_stream = Formatters::DeprecationFormatter::RaiseErrorStream.new
1688
- end
1689
-
1690
- # Enables zero monkey patching mode for RSpec. It removes monkey
1691
- # patching of the top-level DSL methods (`describe`,
1692
- # `shared_examples_for`, etc) onto `main` and `Module`, instead
1693
- # requiring you to prefix these methods with `RSpec.`. It enables
1694
- # expect-only syntax for rspec-mocks and rspec-expectations. It
1695
- # simply disables monkey patching on whatever pieces of RSpec
1696
- # the user is using.
1697
- #
1698
- # @note It configures rspec-mocks and rspec-expectations only
1699
- # if the user is using those (either explicitly or implicitly
1700
- # by not setting `mock_with` or `expect_with` to anything else).
1701
- #
1702
- # @note If the user uses this options with `mock_with :mocha`
1703
- # (or similiar) they will still have monkey patching active
1704
- # in their test environment from mocha.
1705
- #
1706
- # @example
1707
- #
1708
- # # It disables all monkey patching.
1709
- # RSpec.configure do |config|
1710
- # config.disable_monkey_patching!
1711
- # end
1712
- #
1713
- # # Is an equivalent to
1714
- # RSpec.configure do |config|
1715
- # config.expose_dsl_globally = false
1716
- #
1717
- # config.mock_with :rspec do |mocks|
1718
- # mocks.syntax = :expect
1719
- # mocks.patch_marshal_to_support_partial_doubles = false
1720
- # end
1721
- #
1722
- # config.expect_with :rspec do |expectations|
1723
- # expectations.syntax = :expect
1724
- # end
1725
- # end
1726
- def disable_monkey_patching!
1727
- self.expose_dsl_globally = false
1728
- self.disable_monkey_patching = true
1729
- conditionally_disable_mocks_monkey_patching
1730
- conditionally_disable_expectations_monkey_patching
1731
- end
1732
-
1733
- # @private
1734
- attr_accessor :disable_monkey_patching
1735
-
1736
- # Defines a callback that can assign derived metadata values.
1737
- #
1738
- # @param filters [Array<Symbol>, Hash] metadata filters that determine
1739
- # which example or group metadata hashes the callback will be triggered
1740
- # for. If none are given, the callback will be run against the metadata
1741
- # hashes of all groups and examples.
1742
- # @yieldparam metadata [Hash] original metadata hash from an example or
1743
- # group. Mutate this in your block as needed.
1744
- #
1745
- # @example
1746
- # RSpec.configure do |config|
1747
- # # Tag all groups and examples in the spec/unit directory with
1748
- # # :type => :unit
1749
- # config.define_derived_metadata(:file_path => %r{/spec/unit/}) do |metadata|
1750
- # metadata[:type] = :unit
1751
- # end
1752
- # end
1753
- def define_derived_metadata(*filters, &block)
1754
- meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
1755
- @derived_metadata_blocks.append(block, meta)
1756
- end
1757
-
1758
- # Defines a callback that runs after the first example with matching
1759
- # metadata is defined. If no examples are defined with matching metadata,
1760
- # it will not get called at all.
1761
- #
1762
- # This can be used to ensure some setup is performed (such as bootstrapping
1763
- # a DB or loading a specific file that adds significantly to the boot time)
1764
- # if needed (as indicated by the presence of an example with matching metadata)
1765
- # but avoided otherwise.
1766
- #
1767
- # @example
1768
- # RSpec.configure do |config|
1769
- # config.when_first_matching_example_defined(:db) do
1770
- # # Load a support file that does some heavyweight setup,
1771
- # # including bootstrapping the DB, but only if we have loaded
1772
- # # any examples tagged with `:db`.
1773
- # require 'support/db'
1774
- # end
1775
- # end
1776
- def when_first_matching_example_defined(*filters, &block)
1777
- specified_meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
1778
-
1779
- callback = lambda do |example_or_group_meta|
1780
- # Example groups do not have `:example_group` metadata
1781
- # (instead they have `:parent_example_group` metadata).
1782
- return unless example_or_group_meta.key?(:example_group)
1783
-
1784
- # Ensure the callback only fires once.
1785
- @derived_metadata_blocks.delete(callback, specified_meta)
1786
-
1787
- block.call
1788
- end
1789
-
1790
- @derived_metadata_blocks.append(callback, specified_meta)
1791
- end
1792
-
1793
- # @private
1794
- def apply_derived_metadata_to(metadata)
1795
- @derived_metadata_blocks.items_for(metadata).each do |block|
1796
- block.call(metadata)
1797
- end
1798
- end
1799
-
1800
- # Defines a `before` hook. See {Hooks#before} for full docs.
1801
- #
1802
- # This method differs from {Hooks#before} in only one way: it supports
1803
- # the `:suite` scope. Hooks with the `:suite` scope will be run once before
1804
- # the first example of the entire suite is executed.
1805
- #
1806
- # @see #prepend_before
1807
- # @see #after
1808
- # @see #append_after
1809
- def before(scope=nil, *meta, &block)
1810
- handle_suite_hook(scope, meta) do
1811
- @before_suite_hooks << Hooks::BeforeHook.new(block, {})
1812
- end || begin
1813
- add_hook_to_existing_matching_groups(meta, scope) { |g| g.before(scope, *meta, &block) }
1814
- super(scope, *meta, &block)
1815
- end
1816
- end
1817
- alias_method :append_before, :before
1818
-
1819
- # Adds `block` to the start of the list of `before` blocks in the same
1820
- # scope (`:example`, `:context`, or `:suite`), in contrast to {#before},
1821
- # which adds the hook to the end of the list.
1822
- #
1823
- # See {Hooks#before} for full `before` hook docs.
1824
- #
1825
- # This method differs from {Hooks#prepend_before} in only one way: it supports
1826
- # the `:suite` scope. Hooks with the `:suite` scope will be run once before
1827
- # the first example of the entire suite is executed.
1828
- #
1829
- # @see #before
1830
- # @see #after
1831
- # @see #append_after
1832
- def prepend_before(scope=nil, *meta, &block)
1833
- handle_suite_hook(scope, meta) do
1834
- @before_suite_hooks.unshift Hooks::BeforeHook.new(block, {})
1835
- end || begin
1836
- add_hook_to_existing_matching_groups(meta, scope) { |g| g.prepend_before(scope, *meta, &block) }
1837
- super(scope, *meta, &block)
1838
- end
1839
- end
1840
-
1841
- # Defines a `after` hook. See {Hooks#after} for full docs.
1842
- #
1843
- # This method differs from {Hooks#after} in only one way: it supports
1844
- # the `:suite` scope. Hooks with the `:suite` scope will be run once after
1845
- # the last example of the entire suite is executed.
1846
- #
1847
- # @see #append_after
1848
- # @see #before
1849
- # @see #prepend_before
1850
- def after(scope=nil, *meta, &block)
1851
- handle_suite_hook(scope, meta) do
1852
- @after_suite_hooks.unshift Hooks::AfterHook.new(block, {})
1853
- end || begin
1854
- add_hook_to_existing_matching_groups(meta, scope) { |g| g.after(scope, *meta, &block) }
1855
- super(scope, *meta, &block)
1856
- end
1857
- end
1858
- alias_method :prepend_after, :after
1859
-
1860
- # Adds `block` to the end of the list of `after` blocks in the same
1861
- # scope (`:example`, `:context`, or `:suite`), in contrast to {#after},
1862
- # which adds the hook to the start of the list.
1863
- #
1864
- # See {Hooks#after} for full `after` hook docs.
1865
- #
1866
- # This method differs from {Hooks#append_after} in only one way: it supports
1867
- # the `:suite` scope. Hooks with the `:suite` scope will be run once after
1868
- # the last example of the entire suite is executed.
1869
- #
1870
- # @see #append_after
1871
- # @see #before
1872
- # @see #prepend_before
1873
- def append_after(scope=nil, *meta, &block)
1874
- handle_suite_hook(scope, meta) do
1875
- @after_suite_hooks << Hooks::AfterHook.new(block, {})
1876
- end || begin
1877
- add_hook_to_existing_matching_groups(meta, scope) { |g| g.append_after(scope, *meta, &block) }
1878
- super(scope, *meta, &block)
1879
- end
1880
- end
1881
-
1882
- # Registers `block` as an `around` hook.
1883
- #
1884
- # See {Hooks#around} for full `around` hook docs.
1885
- def around(scope=nil, *meta, &block)
1886
- add_hook_to_existing_matching_groups(meta, scope) { |g| g.around(scope, *meta, &block) }
1887
- super(scope, *meta, &block)
1888
- end
1889
-
1890
- # @private
1891
- def with_suite_hooks
1892
- return yield if dry_run?
1893
-
1894
- begin
1895
- run_suite_hooks("a `before(:suite)` hook", @before_suite_hooks)
1896
- yield
1897
- ensure
1898
- run_suite_hooks("an `after(:suite)` hook", @after_suite_hooks)
1899
- end
1900
- end
1901
-
1902
- # @private
1903
- # Holds the various registered hooks. Here we use a FilterableItemRepository
1904
- # implementation that is specifically optimized for the read/write patterns
1905
- # of the config object.
1906
- def hooks
1907
- @hooks ||= HookCollections.new(self, FilterableItemRepository::QueryOptimized)
1908
- end
1909
-
1910
- # Invokes block before defining an example group
1911
- def on_example_group_definition(&block)
1912
- on_example_group_definition_callbacks << block
1913
- end
1914
-
1915
- # @api private
1916
- # Returns an array of blocks to call before defining an example group
1917
- def on_example_group_definition_callbacks
1918
- @on_example_group_definition_callbacks ||= []
1919
- end
1920
-
1921
- private
1922
-
1923
- def load_spec_file_handling_errors(file)
1924
- load file
1925
- rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
1926
- relative_file = Metadata.relative_path(file)
1927
- reporter.notify_non_example_exception(ex, "An error occurred while loading #{relative_file}.")
1928
- RSpec.world.wants_to_quit = true
1929
- end
1930
-
1931
- def handle_suite_hook(scope, meta)
1932
- return nil unless scope == :suite
1933
-
1934
- unless meta.empty?
1935
- # TODO: in RSpec 4, consider raising an error here.
1936
- # We warn only for backwards compatibility.
1937
- RSpec.warn_with "WARNING: `:suite` hooks do not support metadata since " \
1938
- "they apply to the suite as a whole rather than " \
1939
- "any individual example or example group that has metadata. " \
1940
- "The metadata you have provided (#{meta.inspect}) will be ignored."
1941
- end
1942
-
1943
- yield
1944
- end
1945
-
1946
- def run_suite_hooks(hook_description, hooks)
1947
- context = SuiteHookContext.new(hook_description, reporter)
1948
-
1949
- hooks.each do |hook|
1950
- begin
1951
- hook.run(context)
1952
- rescue Support::AllExceptionsExceptOnesWeMustNotRescue => ex
1953
- context.set_exception(ex)
1954
-
1955
- # Do not run subsequent `before` hooks if one fails.
1956
- # But for `after` hooks, we run them all so that all
1957
- # cleanup bits get a chance to complete, minimizing the
1958
- # chance that resources get left behind.
1959
- break if hooks.equal?(@before_suite_hooks)
1960
- end
1961
- end
1962
- end
1963
-
1964
- def get_files_to_run(paths)
1965
- files = FlatMap.flat_map(paths_to_check(paths)) do |path|
1966
- path = path.gsub(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR
1967
- File.directory?(path) ? gather_directories(path) : extract_location(path)
1968
- end.uniq
1969
-
1970
- return files unless only_failures?
1971
- relative_files = files.map { |f| Metadata.relative_path(File.expand_path f) }
1972
- intersection = (relative_files & spec_files_with_failures.to_a)
1973
- intersection.empty? ? files : intersection
1974
- end
1975
-
1976
- def paths_to_check(paths)
1977
- return paths if pattern_might_load_specs_from_vendored_dirs?
1978
- paths + [Dir.getwd]
1979
- end
1980
-
1981
- def pattern_might_load_specs_from_vendored_dirs?
1982
- pattern.split(File::SEPARATOR).first.include?('**')
1983
- end
1984
-
1985
- def gather_directories(path)
1986
- include_files = get_matching_files(path, pattern)
1987
- exclude_files = get_matching_files(path, exclude_pattern)
1988
- (include_files - exclude_files).uniq
1989
- end
1990
-
1991
- def get_matching_files(path, pattern)
1992
- raw_files = Dir[file_glob_from(path, pattern)]
1993
- raw_files.map { |file| File.expand_path(file) }.sort
1994
- end
1995
-
1996
- def file_glob_from(path, pattern)
1997
- stripped = "{#{pattern.gsub(/\s*,\s*/, ',')}}"
1998
- return stripped if pattern =~ /^(\.\/)?#{Regexp.escape path}/ || absolute_pattern?(pattern)
1999
- File.join(path, stripped)
2000
- end
2001
-
2002
- if RSpec::Support::OS.windows?
2003
- # :nocov:
2004
- def absolute_pattern?(pattern)
2005
- pattern =~ /\A[A-Z]:\\/ || windows_absolute_network_path?(pattern)
2006
- end
2007
-
2008
- def windows_absolute_network_path?(pattern)
2009
- return false unless ::File::ALT_SEPARATOR
2010
- pattern.start_with?(::File::ALT_SEPARATOR + ::File::ALT_SEPARATOR)
2011
- end
2012
- # :nocov:
2013
- else
2014
- def absolute_pattern?(pattern)
2015
- pattern.start_with?(File::Separator)
2016
- end
2017
- end
2018
-
2019
- def extract_location(path)
2020
- match = /^(.*?)((?:\:\d+)+)$/.match(path)
2021
-
2022
- if match
2023
- captures = match.captures
2024
- path = captures[0]
2025
- lines = captures[1][1..-1].split(":").map(&:to_i)
2026
- filter_manager.add_location path, lines
2027
- else
2028
- path, scoped_ids = Example.parse_id(path)
2029
- filter_manager.add_ids(path, scoped_ids.split(/\s*,\s*/)) if scoped_ids
2030
- end
2031
-
2032
- return [] if path == default_path
2033
- File.expand_path(path)
2034
- end
2035
-
2036
- def command
2037
- $0.split(File::SEPARATOR).last
2038
- end
2039
-
2040
- def value_for(key)
2041
- @preferred_options.fetch(key) { yield }
2042
- end
2043
-
2044
- def define_built_in_hooks
2045
- around(:example, :aggregate_failures => true) do |procsy|
2046
- begin
2047
- aggregate_failures(nil, :hide_backtrace => true, &procsy)
2048
- rescue Support::AllExceptionsExceptOnesWeMustNotRescue => exception
2049
- procsy.example.set_aggregate_failures_exception(exception)
2050
- end
2051
- end
2052
- end
2053
-
2054
- def assert_no_example_groups_defined(config_option)
2055
- return unless world.example_groups.any?
2056
-
2057
- raise MustBeConfiguredBeforeExampleGroupsError.new(
2058
- "RSpec's #{config_option} configuration option must be configured before " \
2059
- "any example groups are defined, but you have already defined a group."
2060
- )
2061
- end
2062
-
2063
- def output_wrapper
2064
- @output_wrapper ||= OutputWrapper.new(output_stream)
2065
- end
2066
-
2067
- def output_to_tty?(output=output_stream)
2068
- output.respond_to?(:tty?) && output.tty?
2069
- end
2070
-
2071
- def conditionally_disable_mocks_monkey_patching
2072
- return unless disable_monkey_patching && rspec_mocks_loaded?
2073
-
2074
- RSpec::Mocks.configuration.tap do |config|
2075
- config.syntax = :expect
2076
- config.patch_marshal_to_support_partial_doubles = false
2077
- end
2078
- end
2079
-
2080
- def conditionally_disable_expectations_monkey_patching
2081
- return unless disable_monkey_patching && rspec_expectations_loaded?
2082
-
2083
- RSpec::Expectations.configuration.syntax = :expect
2084
- end
2085
-
2086
- def rspec_mocks_loaded?
2087
- defined?(RSpec::Mocks.configuration)
2088
- end
2089
-
2090
- def rspec_expectations_loaded?
2091
- defined?(RSpec::Expectations.configuration)
2092
- end
2093
-
2094
- def update_pattern_attr(name, value)
2095
- if @spec_files_loaded
2096
- RSpec.warning "Configuring `#{name}` to #{value} has no effect since " \
2097
- "RSpec has already loaded the spec files."
2098
- end
2099
-
2100
- instance_variable_set(:"@#{name}", value)
2101
- @files_to_run = nil
2102
- end
2103
-
2104
- def clear_values_derived_from_example_status_persistence_file_path
2105
- @last_run_statuses = nil
2106
- @spec_files_with_failures = nil
2107
- end
2108
-
2109
- def configure_group_with(group, module_list, application_method)
2110
- module_list.items_for(group.metadata).each do |mod|
2111
- __send__(application_method, mod, group)
2112
- end
2113
- end
2114
-
2115
- def add_hook_to_existing_matching_groups(meta, scope, &block)
2116
- # For example hooks, we have to apply it to each of the top level
2117
- # groups, even if the groups do not match. When we apply it, we
2118
- # apply it with the metadata, so it will only apply to examples
2119
- # in the group that match the metadata.
2120
- # #2280 for background and discussion.
2121
- if scope == :example || scope == :each || scope.nil?
2122
- world.example_groups.each(&block)
2123
- else
2124
- meta = Metadata.build_hash_from(meta.dup)
2125
- on_existing_matching_groups(meta, &block)
2126
- end
2127
- end
2128
-
2129
- def on_existing_matching_groups(meta)
2130
- world.traverse_example_group_trees_until do |group|
2131
- metadata_applies_to_group?(meta, group).tap do |applies|
2132
- yield group if applies
2133
- end
2134
- end
2135
- end
2136
-
2137
- def metadata_applies_to_group?(meta, group)
2138
- meta.empty? || MetadataFilter.apply?(:any?, meta, group.metadata)
2139
- end
2140
-
2141
- if RSpec::Support::RubyFeatures.module_prepends_supported?
2142
- def safe_prepend(mod, host)
2143
- host.__send__(:prepend, mod) unless host < mod
2144
- end
2145
- end
2146
-
2147
- if RUBY_VERSION.to_f >= 1.9
2148
- def safe_include(mod, host)
2149
- host.__send__(:include, mod) unless host < mod
2150
- end
2151
-
2152
- def safe_extend(mod, host)
2153
- host.extend(mod) unless host.singleton_class < mod
2154
- end
2155
- else # for 1.8.7
2156
- # :nocov:
2157
- def safe_include(mod, host)
2158
- host.__send__(:include, mod) unless host.included_modules.include?(mod)
2159
- end
2160
-
2161
- def safe_extend(mod, host)
2162
- host.extend(mod) unless (class << host; self; end).included_modules.include?(mod)
2163
- end
2164
- # :nocov:
2165
- end
2166
-
2167
- def define_mixed_in_module(mod, filters, mod_list, config_method, &block)
2168
- unless Module === mod
2169
- raise TypeError, "`RSpec.configuration.#{config_method}` expects a module but got: #{mod.inspect}"
2170
- end
2171
-
2172
- meta = Metadata.build_hash_from(filters, :warn_about_example_group_filtering)
2173
- mod_list.append(mod, meta)
2174
- on_existing_matching_groups(meta, &block)
2175
- end
2176
- end
2177
- # rubocop:enable Metrics/ClassLength
2178
- end
2179
- end