ory-kratos-client 0.7.6.alpha1 → 0.7.6.alpha3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/lib/ory-kratos-client/api/metadata_api.rb +1 -1
  5. data/lib/ory-kratos-client/api/v0alpha1_api.rb +1 -1
  6. data/lib/ory-kratos-client/api_client.rb +1 -1
  7. data/lib/ory-kratos-client/api_error.rb +1 -1
  8. data/lib/ory-kratos-client/configuration.rb +1 -1
  9. data/lib/ory-kratos-client/models/admin_create_identity_body.rb +1 -1
  10. data/lib/ory-kratos-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  11. data/lib/ory-kratos-client/models/admin_update_identity_body.rb +1 -1
  12. data/lib/ory-kratos-client/models/generic_error.rb +1 -1
  13. data/lib/ory-kratos-client/models/health_not_ready_status.rb +1 -1
  14. data/lib/ory-kratos-client/models/health_status.rb +1 -1
  15. data/lib/ory-kratos-client/models/identity.rb +1 -1
  16. data/lib/ory-kratos-client/models/identity_credentials.rb +1 -1
  17. data/lib/ory-kratos-client/models/identity_state.rb +1 -1
  18. data/lib/ory-kratos-client/models/inline_response200.rb +1 -1
  19. data/lib/ory-kratos-client/models/inline_response2001.rb +1 -1
  20. data/lib/ory-kratos-client/models/inline_response503.rb +1 -1
  21. data/lib/ory-kratos-client/models/json_error.rb +1 -1
  22. data/lib/ory-kratos-client/models/meta.rb +1 -1
  23. data/lib/ory-kratos-client/models/recovery_address.rb +1 -1
  24. data/lib/ory-kratos-client/models/self_service_error.rb +1 -1
  25. data/lib/ory-kratos-client/models/self_service_login_flow.rb +1 -1
  26. data/lib/ory-kratos-client/models/self_service_logout_url.rb +1 -1
  27. data/lib/ory-kratos-client/models/self_service_recovery_flow.rb +1 -1
  28. data/lib/ory-kratos-client/models/self_service_recovery_flow_state.rb +1 -1
  29. data/lib/ory-kratos-client/models/self_service_recovery_link.rb +1 -1
  30. data/lib/ory-kratos-client/models/self_service_registration_flow.rb +1 -1
  31. data/lib/ory-kratos-client/models/self_service_settings_flow.rb +1 -1
  32. data/lib/ory-kratos-client/models/self_service_settings_flow_state.rb +1 -1
  33. data/lib/ory-kratos-client/models/self_service_verification_flow.rb +1 -1
  34. data/lib/ory-kratos-client/models/self_service_verification_flow_state.rb +1 -1
  35. data/lib/ory-kratos-client/models/session.rb +1 -1
  36. data/lib/ory-kratos-client/models/settings_profile_form_config.rb +1 -1
  37. data/lib/ory-kratos-client/models/submit_self_service_login_flow_body.rb +1 -1
  38. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  39. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
  40. data/lib/ory-kratos-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  41. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  42. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  43. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_body.rb +1 -1
  44. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  45. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  46. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_body.rb +1 -1
  47. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  48. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  49. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  50. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_body.rb +1 -1
  51. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  52. data/lib/ory-kratos-client/models/successful_self_service_login_without_browser.rb +1 -1
  53. data/lib/ory-kratos-client/models/successful_self_service_registration_without_browser.rb +1 -1
  54. data/lib/ory-kratos-client/models/successful_self_service_settings_without_browser.rb +1 -1
  55. data/lib/ory-kratos-client/models/ui_container.rb +1 -1
  56. data/lib/ory-kratos-client/models/ui_node.rb +1 -1
  57. data/lib/ory-kratos-client/models/ui_node_anchor_attributes.rb +1 -1
  58. data/lib/ory-kratos-client/models/ui_node_attributes.rb +1 -1
  59. data/lib/ory-kratos-client/models/ui_node_image_attributes.rb +1 -1
  60. data/lib/ory-kratos-client/models/ui_node_input_attributes.rb +1 -1
  61. data/lib/ory-kratos-client/models/ui_node_text_attributes.rb +1 -1
  62. data/lib/ory-kratos-client/models/ui_text.rb +1 -1
  63. data/lib/ory-kratos-client/models/verifiable_identity_address.rb +1 -1
  64. data/lib/ory-kratos-client/models/version.rb +1 -1
  65. data/lib/ory-kratos-client/version.rb +2 -2
  66. data/lib/ory-kratos-client.rb +1 -1
  67. data/ory-kratos-client.gemspec +1 -1
  68. data/spec/api/metadata_api_spec.rb +1 -1
  69. data/spec/api/v0alpha1_api_spec.rb +1 -1
  70. data/spec/api_client_spec.rb +1 -1
  71. data/spec/configuration_spec.rb +1 -1
  72. data/spec/models/admin_create_identity_body_spec.rb +1 -1
  73. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  74. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  75. data/spec/models/generic_error_spec.rb +1 -1
  76. data/spec/models/health_not_ready_status_spec.rb +1 -1
  77. data/spec/models/health_status_spec.rb +1 -1
  78. data/spec/models/identity_credentials_spec.rb +1 -1
  79. data/spec/models/identity_spec.rb +1 -1
  80. data/spec/models/identity_state_spec.rb +1 -1
  81. data/spec/models/inline_response2001_spec.rb +1 -1
  82. data/spec/models/inline_response200_spec.rb +1 -1
  83. data/spec/models/inline_response503_spec.rb +1 -1
  84. data/spec/models/json_error_spec.rb +1 -1
  85. data/spec/models/meta_spec.rb +1 -1
  86. data/spec/models/recovery_address_spec.rb +1 -1
  87. data/spec/models/self_service_error_spec.rb +1 -1
  88. data/spec/models/self_service_login_flow_spec.rb +1 -1
  89. data/spec/models/self_service_logout_url_spec.rb +1 -1
  90. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  91. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  92. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  93. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  94. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  95. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  96. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  97. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  98. data/spec/models/session_spec.rb +1 -1
  99. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  100. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  101. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  102. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  103. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  104. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  105. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  106. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  107. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  108. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  109. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  110. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  111. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  112. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  113. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  114. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  115. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  116. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  117. data/spec/models/successful_self_service_settings_without_browser_spec.rb +1 -1
  118. data/spec/models/ui_container_spec.rb +1 -1
  119. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  120. data/spec/models/ui_node_attributes_spec.rb +1 -1
  121. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  122. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  123. data/spec/models/ui_node_spec.rb +1 -1
  124. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  125. data/spec/models/ui_text_spec.rb +1 -1
  126. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  127. data/spec/models/version_spec.rb +1 -1
  128. data/spec/spec_helper.rb +1 -1
  129. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.21.0.gem +0 -0
  130. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  131. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.4/gem_make.out +2 -2
  132. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  133. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.1/gem_make.out +2 -2
  134. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  135. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c/Makefile +2 -2
  136. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  137. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.20.1 → parallel-1.21.0}/MIT-LICENSE.txt +0 -0
  138. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/processor_count.rb +45 -0
  139. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/version.rb +4 -0
  140. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.20.1 → parallel-1.21.0}/lib/parallel.rb +52 -43
  141. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych/Makefile +2 -2
  142. data/vendor/bundle/ruby/2.5.0/specifications/{parallel-1.20.1.gemspec → parallel-1.21.0.gemspec} +5 -5
  143. metadata +8 -8
  144. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.20.1.gem +0 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.20.1/lib/parallel/processor_count.rb +0 -42
  146. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.20.1/lib/parallel/version.rb +0 -3
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
5
5
 
6
- The version of the OpenAPI document: v0.7.6-alpha.1
6
+ The version of the OpenAPI document: v0.7.6-alpha.3
7
7
  Contact: hi@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
2
- /usr/bin/ruby2.5 -r ./siteconf20210912-3441-1ykpj1p.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20210918-3445-ve48ke.rb extconf.rb
3
3
  creating Makefile
4
4
 
5
5
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
@@ -16,4 +16,4 @@ linking shared-object byebug/byebug.so
16
16
 
17
17
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug
18
18
  make "DESTDIR=" install
19
- /usr/bin/install -c -m 0755 byebug.so ./.gem.20210912-3441-niyggq/byebug
19
+ /usr/bin/install -c -m 0755 byebug.so ./.gem.20210918-3445-y1d60w/byebug
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c
2
- /usr/bin/ruby2.5 -r ./siteconf20210912-3441-xw29xv.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20210918-3445-1moew1r.rb extconf.rb
3
3
  /usr/lib/ruby/2.5.0/mkmf.rb:1554: warning: Insecure world writable dir /go/bin in PATH, mode 040777
4
4
  checking for ffi.h... yes
5
5
  checking for ffi_prep_closure_loc() in -lffi... yes
@@ -42,4 +42,4 @@ linking shared-object ffi_c.so
42
42
 
43
43
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.4/ext/ffi_c
44
44
  make "DESTDIR=" install
45
- /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20210912-3441-1dx15fg
45
+ /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20210918-3445-1kwj9fx
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
2
- /usr/bin/ruby2.5 -r ./siteconf20210912-3441-m5np16.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20210918-3445-dl10wv.rb extconf.rb
3
3
  creating Makefile
4
4
 
5
5
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
@@ -35,4 +35,4 @@ linking shared-object jaro_winkler/jaro_winkler_ext.so
35
35
 
36
36
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler
37
37
  make "DESTDIR=" install
38
- /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20210912-3441-18ty1d/jaro_winkler
38
+ /usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20210918-3445-ddh3xo/jaro_winkler
@@ -1,5 +1,5 @@
1
1
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych
2
- /usr/bin/ruby2.5 -r ./siteconf20210912-3441-5q29lb.rb extconf.rb
2
+ /usr/bin/ruby2.5 -r ./siteconf20210918-3445-7zhkct.rb extconf.rb
3
3
  checking for yaml.h... no
4
4
  checking for _WIN32... no
5
5
  checking for dlfcn.h... yes
@@ -38,4 +38,4 @@ linking shared-object psych.so
38
38
 
39
39
  current directory: /sdk/clients/kratos/ruby/vendor/bundle/ruby/2.5.0/gems/psych-4.0.1/ext/psych
40
40
  make "DESTDIR=" install
41
- /usr/bin/install -c -m 0755 psych.so ./.gem.20210912-3441-ww32iw
41
+ /usr/bin/install -c -m 0755 psych.so ./.gem.20210918-3445-zv1x8m
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20210912-3441-niyggq
35
- sitelibdir = $(DESTDIR)./.gem.20210912-3441-niyggq
34
+ sitearchdir = $(DESTDIR)./.gem.20210918-3445-y1d60w
35
+ sitelibdir = $(DESTDIR)./.gem.20210918-3445-y1d60w
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20210912-3441-1dx15fg
35
- sitelibdir = $(DESTDIR)./.gem.20210912-3441-1dx15fg
34
+ sitearchdir = $(DESTDIR)./.gem.20210918-3445-1kwj9fx
35
+ sitelibdir = $(DESTDIR)./.gem.20210918-3445-1kwj9fx
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20210912-3441-18ty1d
35
- sitelibdir = $(DESTDIR)./.gem.20210912-3441-18ty1d
34
+ sitearchdir = $(DESTDIR)./.gem.20210918-3445-ddh3xo
35
+ sitelibdir = $(DESTDIR)./.gem.20210918-3445-ddh3xo
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+ require 'etc'
3
+
4
+ module Parallel
5
+ # TODO: inline this method into parallel.rb and kill physical_processor_count in next major release
6
+ module ProcessorCount
7
+ # Number of processors seen by the OS, used for process scheduling
8
+ def processor_count
9
+ @processor_count ||= Integer(ENV['PARALLEL_PROCESSOR_COUNT'] || Etc.nprocessors)
10
+ end
11
+
12
+ # Number of physical processor cores on the current system.
13
+ def physical_processor_count
14
+ @physical_processor_count ||= begin
15
+ ppc =
16
+ case RbConfig::CONFIG["target_os"]
17
+ when /darwin[12]/
18
+ IO.popen("/usr/sbin/sysctl -n hw.physicalcpu").read.to_i
19
+ when /linux/
20
+ cores = {} # unique physical ID / core ID combinations
21
+ phy = 0
22
+ IO.read("/proc/cpuinfo").scan(/^physical id.*|^core id.*/) do |ln|
23
+ if ln.start_with?("physical")
24
+ phy = ln[/\d+/]
25
+ elsif ln.start_with?("core")
26
+ cid = "#{phy}:#{ln[/\d+/]}"
27
+ cores[cid] = true unless cores[cid]
28
+ end
29
+ end
30
+ cores.count
31
+ when /mswin|mingw/
32
+ require 'win32ole'
33
+ result_set = WIN32OLE.connect("winmgmts://").ExecQuery(
34
+ "select NumberOfCores from Win32_Processor"
35
+ )
36
+ result_set.to_enum.collect(&:NumberOfCores).reduce(:+)
37
+ else
38
+ processor_count
39
+ end
40
+ # fall back to logical count if physical info is invalid
41
+ ppc > 0 ? ppc : processor_count
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+ module Parallel
3
+ VERSION = Version = '1.21.0' # rubocop:disable Naming/ConstantName
4
+ end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'rbconfig'
2
3
  require 'parallel/version'
3
4
  require 'parallel/processor_count'
@@ -12,7 +13,9 @@ module Parallel
12
13
 
13
14
  class Break < StandardError
14
15
  attr_reader :value
16
+
15
17
  def initialize(value = nil)
18
+ super()
16
19
  @value = value
17
20
  end
18
21
  end
@@ -22,6 +25,7 @@ module Parallel
22
25
 
23
26
  class UndumpableException < StandardError
24
27
  attr_reader :backtrace
28
+
25
29
  def initialize(original)
26
30
  super "#{original.class}: #{original.message}"
27
31
  @backtrace = original.backtrace
@@ -30,6 +34,7 @@ module Parallel
30
34
 
31
35
  class ExceptionWrapper
32
36
  attr_reader :exception
37
+
33
38
  def initialize(exception)
34
39
  # Remove the bindings stack added by the better_errors gem,
35
40
  # because it cannot be marshalled
@@ -40,7 +45,7 @@ module Parallel
40
45
  @exception =
41
46
  begin
42
47
  Marshal.dump(exception) && exception
43
- rescue
48
+ rescue StandardError
44
49
  UndumpableException.new(exception)
45
50
  end
46
51
  end
@@ -49,8 +54,11 @@ module Parallel
49
54
  class Worker
50
55
  attr_reader :pid, :read, :write
51
56
  attr_accessor :thread
57
+
52
58
  def initialize(read, write, pid)
53
- @read, @write, @pid = read, write, pid
59
+ @read = read
60
+ @write = write
61
+ @pid = pid
54
62
  end
55
63
 
56
64
  def stop
@@ -77,7 +85,7 @@ module Parallel
77
85
  rescue EOFError
78
86
  raise DeadWorker
79
87
  end
80
- raise result.exception if ExceptionWrapper === result
88
+ raise result.exception if result.is_a?(ExceptionWrapper)
81
89
  result
82
90
  end
83
91
 
@@ -144,7 +152,7 @@ module Parallel
144
152
  end
145
153
 
146
154
  def queue_wrapper(array)
147
- array.respond_to?(:num_waiting) && array.respond_to?(:pop) && lambda { array.pop(false) }
155
+ array.respond_to?(:num_waiting) && array.respond_to?(:pop) && -> { array.pop(false) }
148
156
  end
149
157
  end
150
158
 
@@ -160,7 +168,7 @@ module Parallel
160
168
 
161
169
  if @to_be_killed.empty?
162
170
  old_interrupt = trap_interrupt(signal) do
163
- $stderr.puts 'Parallel execution interrupted, exiting ...'
171
+ warn 'Parallel execution interrupted, exiting ...'
164
172
  @to_be_killed.flatten.each { |pid| kill(pid) }
165
173
  end
166
174
  end
@@ -204,32 +212,30 @@ module Parallel
204
212
  end
205
213
 
206
214
  class << self
207
- def in_threads(options={:count => 2})
215
+ def in_threads(options = { count: 2 })
208
216
  threads = []
209
- count, _ = extract_count_from_options(options)
217
+ count, = extract_count_from_options(options)
210
218
 
211
219
  Thread.handle_interrupt(Exception => :never) do
212
- begin
213
- Thread.handle_interrupt(Exception => :immediate) do
214
- count.times do |i|
215
- threads << Thread.new { yield(i) }
216
- end
217
- threads.map(&:value)
220
+ Thread.handle_interrupt(Exception => :immediate) do
221
+ count.times do |i|
222
+ threads << Thread.new { yield(i) }
218
223
  end
219
- ensure
220
- threads.each(&:kill)
224
+ threads.map(&:value)
221
225
  end
226
+ ensure
227
+ threads.each(&:kill)
222
228
  end
223
229
  end
224
230
 
225
231
  def in_processes(options = {}, &block)
226
232
  count, options = extract_count_from_options(options)
227
233
  count ||= processor_count
228
- map(0...count, options.merge(:in_processes => count), &block)
234
+ map(0...count, options.merge(in_processes: count), &block)
229
235
  end
230
236
 
231
- def each(array, options={}, &block)
232
- map(array, options.merge(:preserve_results => false), &block)
237
+ def each(array, options = {}, &block)
238
+ map(array, options.merge(preserve_results: false), &block)
233
239
  end
234
240
 
235
241
  def any?(*args, &block)
@@ -242,8 +248,8 @@ module Parallel
242
248
  !!each(*args) { |*a| raise Kill unless block.call(*a) }
243
249
  end
244
250
 
245
- def each_with_index(array, options={}, &block)
246
- each(array, options.merge(:with_index => true), &block)
251
+ def each_with_index(array, options = {}, &block)
252
+ each(array, options.merge(with_index: true), &block)
247
253
  end
248
254
 
249
255
  def map(source, options = {}, &block)
@@ -251,8 +257,8 @@ module Parallel
251
257
  options[:mutex] = Mutex.new
252
258
 
253
259
  if options[:in_processes] && options[:in_threads]
254
- raise ArgumentError.new("Please specify only one of `in_processes` or `in_threads`.")
255
- elsif RUBY_PLATFORM =~ /java/ and not options[:in_processes]
260
+ raise ArgumentError, "Please specify only one of `in_processes` or `in_threads`."
261
+ elsif RUBY_PLATFORM =~ (/java/) && !(options[:in_processes])
256
262
  method = :in_threads
257
263
  size = options[method] || processor_count
258
264
  elsif options[:in_threads]
@@ -278,9 +284,9 @@ module Parallel
278
284
  if size == 0
279
285
  work_direct(job_factory, options, &block)
280
286
  elsif method == :in_threads
281
- work_in_threads(job_factory, options.merge(:count => size), &block)
287
+ work_in_threads(job_factory, options.merge(count: size), &block)
282
288
  else
283
- work_in_processes(job_factory, options.merge(:count => size), &block)
289
+ work_in_processes(job_factory, options.merge(count: size), &block)
284
290
  end
285
291
 
286
292
  return result.value if result.is_a?(Break)
@@ -288,8 +294,8 @@ module Parallel
288
294
  options[:return_results] ? result : source
289
295
  end
290
296
 
291
- def map_with_index(array, options={}, &block)
292
- map(array, options.merge(:with_index => true), &block)
297
+ def map_with_index(array, options = {}, &block)
298
+ map(array, options.merge(with_index: true), &block)
293
299
  end
294
300
 
295
301
  def flat_map(*args, &block)
@@ -343,7 +349,7 @@ module Parallel
343
349
  call_with_index(item, index, options, &block)
344
350
  end
345
351
  end
346
- rescue
352
+ rescue StandardError
347
353
  exception = $!
348
354
  end
349
355
  exception || results
@@ -367,7 +373,7 @@ module Parallel
367
373
  call_with_index(item, index, options, &block)
368
374
  end
369
375
  results_mutex.synchronize { results[index] = result }
370
- rescue
376
+ rescue StandardError
371
377
  exception = $!
372
378
  end
373
379
  end
@@ -407,9 +413,9 @@ module Parallel
407
413
  results_mutex.synchronize { results[index] = result } # arrays are not threads safe on jRuby
408
414
  rescue StandardError => e
409
415
  exception = e
410
- if Kill === exception
416
+ if exception.is_a?(Kill)
411
417
  (workers - [worker]).each do |w|
412
- w.thread.kill if w.thread
418
+ w.thread&.kill
413
419
  UserInterruptHandler.kill(w.pid)
414
420
  end
415
421
  end
@@ -423,15 +429,15 @@ module Parallel
423
429
  exception || results
424
430
  end
425
431
 
426
- def replace_worker(job_factory, workers, i, options, blk)
432
+ def replace_worker(job_factory, workers, index, options, blk)
427
433
  options[:mutex].synchronize do
428
434
  # old worker is no longer used ... stop it
429
- worker = workers[i]
435
+ worker = workers[index]
430
436
  worker.stop
431
437
 
432
438
  # create a new replacement worker
433
439
  running = workers - [worker]
434
- workers[i] = worker(job_factory, options.merge(started_workers: running, worker_number: i), &blk)
440
+ workers[index] = worker(job_factory, options.merge(started_workers: running, worker_number: index), &blk)
435
441
  end
436
442
  end
437
443
 
@@ -473,14 +479,17 @@ module Parallel
473
479
  until read.eof?
474
480
  data = Marshal.load(read)
475
481
  item, index = job_factory.unpack(data)
476
- result = begin
477
- call_with_index(item, index, options, &block)
478
- # https://github.com/rspec/rspec-support/blob/673133cdd13b17077b3d88ece8d7380821f8d7dc/lib/rspec/support.rb#L132-L140
479
- rescue NoMemoryError, SignalException, Interrupt, SystemExit
480
- raise $!
481
- rescue Exception
482
- ExceptionWrapper.new($!)
483
- end
482
+
483
+ result =
484
+ begin
485
+ call_with_index(item, index, options, &block)
486
+ # https://github.com/rspec/rspec-support/blob/673133cdd13b17077b3d88ece8d7380821f8d7dc/lib/rspec/support.rb#L132-L140
487
+ rescue NoMemoryError, SignalException, Interrupt, SystemExit # rubocop:disable Lint/ShadowedException
488
+ raise $!
489
+ rescue Exception # # rubocop:disable Lint/RescueException
490
+ ExceptionWrapper.new($!)
491
+ end
492
+
484
493
  begin
485
494
  Marshal.dump(result, write)
486
495
  rescue Errno::EPIPE
@@ -503,10 +512,10 @@ module Parallel
503
512
  def call_with_index(item, index, options, &block)
504
513
  args = [item]
505
514
  args << index if options[:with_index]
515
+ results = block.call(*args)
506
516
  if options[:return_results]
507
- block.call(*args)
517
+ results
508
518
  else
509
- block.call(*args)
510
519
  nil # avoid GC overhead of passing large results around
511
520
  end
512
521
  end
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20210912-3441-ww32iw
35
- sitelibdir = $(DESTDIR)./.gem.20210912-3441-ww32iw
34
+ sitearchdir = $(DESTDIR)./.gem.20210918-3445-zv1x8m
35
+ sitelibdir = $(DESTDIR)./.gem.20210918-3445-zv1x8m
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -1,19 +1,19 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: parallel 1.20.1 ruby lib
2
+ # stub: parallel 1.21.0 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "parallel".freeze
6
- s.version = "1.20.1"
6
+ s.version = "1.21.0"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
- s.metadata = { "bug_tracker_uri" => "https://github.com/grosser/parallel/issues", "documentation_uri" => "https://github.com/grosser/parallel/blob/v1.20.1/Readme.md", "source_code_uri" => "https://github.com/grosser/parallel/tree/v1.20.1", "wiki_uri" => "https://github.com/grosser/parallel/wiki" } if s.respond_to? :metadata=
9
+ s.metadata = { "bug_tracker_uri" => "https://github.com/grosser/parallel/issues", "documentation_uri" => "https://github.com/grosser/parallel/blob/v1.21.0/Readme.md", "source_code_uri" => "https://github.com/grosser/parallel/tree/v1.21.0", "wiki_uri" => "https://github.com/grosser/parallel/wiki" } if s.respond_to? :metadata=
10
10
  s.require_paths = ["lib".freeze]
11
11
  s.authors = ["Michael Grosser".freeze]
12
- s.date = "2020-11-22"
12
+ s.date = "2021-09-13"
13
13
  s.email = "michael@grosser.it".freeze
14
14
  s.homepage = "https://github.com/grosser/parallel".freeze
15
15
  s.licenses = ["MIT".freeze]
16
- s.required_ruby_version = Gem::Requirement.new(">= 2.4".freeze)
16
+ s.required_ruby_version = Gem::Requirement.new(">= 2.5".freeze)
17
17
  s.rubygems_version = "2.7.6.2".freeze
18
18
  s.summary = "Run any kind of code in parallel processes".freeze
19
19