checkoff 0.223.0 → 0.226.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/checkoff.gemspec +10 -5
  3. data/lib/checkoff/attachments.rb +1 -1
  4. data/lib/checkoff/cli.rb +1 -1
  5. data/lib/checkoff/clients.rb +1 -1
  6. data/lib/checkoff/custom_fields.rb +1 -1
  7. data/lib/checkoff/events.rb +1 -1
  8. data/lib/checkoff/internal/config_loader.rb +2 -3
  9. data/lib/checkoff/internal/selector_classes/section/function_evaluator.rb +3 -2
  10. data/lib/checkoff/my_tasks.rb +1 -1
  11. data/lib/checkoff/portfolios.rb +11 -9
  12. data/lib/checkoff/projects.rb +1 -1
  13. data/lib/checkoff/sections.rb +4 -5
  14. data/lib/checkoff/tags.rb +66 -17
  15. data/lib/checkoff/tasks.rb +1 -1
  16. data/lib/checkoff/version.rb +1 -1
  17. data/lib/checkoff/workspaces.rb +1 -1
  18. data/rbi/checkoff.rbi +4529 -0
  19. data/sig/checkoff.rbs +3749 -0
  20. metadata +5 -211
  21. data/.circleci/config.yml +0 -291
  22. data/.envrc +0 -9
  23. data/.git-hooks/pre_commit/circle_ci.rb +0 -26
  24. data/.git-hooks/pre_commit/punchlist.rb +0 -52
  25. data/.git-hooks/pre_commit/solargraph_typecheck.rb +0 -77
  26. data/.gitattributes +0 -6
  27. data/.gitignore +0 -65
  28. data/.markdownlint_style.rb +0 -4
  29. data/.mdlrc +0 -1
  30. data/.overcommit.yml +0 -115
  31. data/.rubocop.yml +0 -143
  32. data/.rubocop_todo.yml +0 -90
  33. data/.solargraph.yml +0 -35
  34. data/.yamllint.yml +0 -8
  35. data/.yardopts +0 -2
  36. data/CODE_OF_CONDUCT.md +0 -133
  37. data/CONTRIBUTING.rst +0 -75
  38. data/DEVELOPMENT.md +0 -69
  39. data/GLOSSARY.md +0 -16
  40. data/Gemfile +0 -67
  41. data/Gemfile.lock +0 -351
  42. data/LICENSE +0 -21
  43. data/Makefile +0 -139
  44. data/bin/brakeman +0 -27
  45. data/bin/bump +0 -29
  46. data/bin/checkoff +0 -29
  47. data/bin/console +0 -15
  48. data/bin/overcommit +0 -29
  49. data/bin/overcommit_branch +0 -114
  50. data/bin/rake +0 -29
  51. data/bin/rubocop +0 -27
  52. data/bin/setup +0 -8
  53. data/bin/solargraph +0 -27
  54. data/bin/sord +0 -27
  55. data/bin/spoom +0 -27
  56. data/bin/srb +0 -27
  57. data/bin/srb-rbi +0 -27
  58. data/bin/tapioca +0 -27
  59. data/bin/yard +0 -27
  60. data/config/annotations_asana.rb +0 -253
  61. data/config/annotations_misc.rb +0 -68
  62. data/config/env.1p +0 -2
  63. data/docs/.gitignore +0 -3
  64. data/docs/cookiecutter_input.json +0 -17
  65. data/docs/example_project.png +0 -0
  66. data/fix.sh +0 -534
  67. data/metrics/bigfiles_high_water_mark +0 -1
  68. data/metrics/brakeman_high_water_mark +0 -1
  69. data/metrics/bundle-audit_high_water_mark +0 -1
  70. data/metrics/cane_high_water_mark +0 -1
  71. data/metrics/eslint_high_water_mark +0 -1
  72. data/metrics/flake8_high_water_mark +0 -1
  73. data/metrics/flay_high_water_mark +0 -1
  74. data/metrics/flog_high_water_mark +0 -1
  75. data/metrics/jscs_high_water_mark +0 -1
  76. data/metrics/mdl_high_water_mark +0 -1
  77. data/metrics/pep8_high_water_mark +0 -1
  78. data/metrics/punchlist_high_water_mark +0 -1
  79. data/metrics/pycodestyle_high_water_mark +0 -1
  80. data/metrics/rails_best_practices_high_water_mark +0 -1
  81. data/metrics/rubocop_high_water_mark +0 -1
  82. data/metrics/scalastyle_high_water_mark +0 -1
  83. data/metrics/shellcheck_high_water_mark +0 -1
  84. data/package.json +0 -9
  85. data/rakelib/citest.rake +0 -4
  86. data/rakelib/clear_metrics.rake +0 -9
  87. data/rakelib/console.rake +0 -15
  88. data/rakelib/default.rake +0 -4
  89. data/rakelib/doc.rake +0 -6
  90. data/rakelib/gem_tasks.rake +0 -3
  91. data/rakelib/localtest.rake +0 -4
  92. data/rakelib/overcommit.rake +0 -6
  93. data/rakelib/quality.rake +0 -4
  94. data/rakelib/repl.rake +0 -4
  95. data/rakelib/test.rake +0 -10
  96. data/rakelib/trigger_next_builds.rake +0 -7
  97. data/rakelib/undercover.rake +0 -8
  98. data/requirements_dev.txt +0 -2
  99. data/sorbet/config +0 -4
  100. data/sorbet/rbi/annotations/.gitattributes +0 -1
  101. data/sorbet/rbi/annotations/activesupport.rbi +0 -453
  102. data/sorbet/rbi/annotations/faraday.rbi +0 -17
  103. data/sorbet/rbi/annotations/minitest.rbi +0 -119
  104. data/sorbet/rbi/annotations/mocha.rbi +0 -34
  105. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  106. data/sorbet/rbi/annotations/webmock.rbi +0 -9
  107. data/sorbet/rbi/dsl/.gitattributes +0 -1
  108. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -23
  109. data/sorbet/rbi/gems/.gitattributes +0 -1
  110. data/sorbet/rbi/gems/activesupport@7.1.5.rbi +0 -18746
  111. data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1994
  112. data/sorbet/rbi/gems/ansi@1.5.0.rbi +0 -688
  113. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +0 -6142
  114. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
  115. data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -523
  116. data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
  117. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
  118. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +0 -78
  119. data/sorbet/rbi/gems/brakeman@6.2.2.rbi +0 -222
  120. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -505
  121. data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
  122. data/sorbet/rbi/gems/cache@0.4.1.rbi +0 -211
  123. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +0 -293
  124. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +0 -9
  125. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +0 -383
  126. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
  127. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -9
  128. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -11591
  129. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
  130. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -145
  131. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -969
  132. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -377
  133. data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
  134. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -9
  135. data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -152
  136. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -222
  137. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -126
  138. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -136
  139. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -145
  140. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -259
  141. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -142
  142. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -118
  143. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -125
  144. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -133
  145. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -198
  146. data/sorbet/rbi/gems/faraday@1.10.3.rbi +0 -2729
  147. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +0 -29
  148. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +0 -1004
  149. data/sorbet/rbi/gems/gli@2.22.0.rbi +0 -9
  150. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -351
  151. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -9
  152. data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
  153. data/sorbet/rbi/gems/imagen@0.1.8.rbi +0 -340
  154. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +0 -899
  155. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +0 -22
  156. data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1562
  157. data/sorbet/rbi/gems/jwt@2.7.1.rbi +0 -1405
  158. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -128
  159. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3272
  160. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
  161. data/sorbet/rbi/gems/logger@1.6.2.rbi +0 -923
  162. data/sorbet/rbi/gems/mdl@0.13.0.rbi +0 -445
  163. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -273
  164. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +0 -127
  165. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +0 -1252
  166. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +0 -136
  167. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +0 -1014
  168. data/sorbet/rbi/gems/minitest@5.21.1.rbi +0 -1539
  169. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +0 -314
  170. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +0 -581
  171. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +0 -629
  172. data/sorbet/rbi/gems/mocha@2.1.0.rbi +0 -12
  173. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
  174. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +0 -102
  175. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +0 -234
  176. data/sorbet/rbi/gems/mutex_m@0.3.0.rbi +0 -97
  177. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
  178. data/sorbet/rbi/gems/nokogiri@1.17.0.rbi +0 -8201
  179. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +0 -833
  180. data/sorbet/rbi/gems/overcommit@0.64.1.rbi +0 -2400
  181. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -274
  182. data/sorbet/rbi/gems/parlour@5.0.0.rbi +0 -3007
  183. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -7253
  184. data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
  185. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10070
  186. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -936
  187. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +0 -173
  188. data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
  189. data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4896
  190. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
  191. data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -3022
  192. data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
  193. data/sorbet/rbi/gems/rbs@2.8.4.rbi +0 -5613
  194. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3750
  195. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -390
  196. data/sorbet/rbi/gems/rexml@3.3.9.rbi +0 -4964
  197. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7127
  198. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +0 -2577
  199. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +0 -3262
  200. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -329
  201. data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +0 -7546
  202. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +0 -57238
  203. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
  204. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
  205. data/sorbet/rbi/gems/rugged@1.6.3.rbi +0 -1577
  206. data/sorbet/rbi/gems/securerandom@0.4.0.rbi +0 -75
  207. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -217
  208. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +0 -256
  209. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
  210. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
  211. data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +0 -320
  212. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +0 -9396
  213. data/sorbet/rbi/gems/sord@5.1.0.rbi +0 -820
  214. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +0 -317
  215. data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
  216. data/sorbet/rbi/gems/tapioca@0.16.5.rbi +0 -3617
  217. data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
  218. data/sorbet/rbi/gems/tilt@2.4.0.rbi +0 -933
  219. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +0 -9
  220. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
  221. data/sorbet/rbi/gems/undercover@0.5.0.rbi +0 -433
  222. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -66
  223. data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1769
  224. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
  225. data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18406
  226. data/sorbet/rbi/todo.rbi +0 -11
  227. data/sorbet/tapioca/config.yml +0 -13
  228. data/sorbet/tapioca/require.rb +0 -4
@@ -1,1769 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `webmock` gem.
5
- # Please instead update this file by running `bin/tapioca gem webmock`.
6
-
7
-
8
- # source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#18
9
- module Net::WebMockHTTPResponse
10
- # source://webmock//lib/webmock/http_lib_adapters/net_http_response.rb#19
11
- def read_body(dest = T.unsafe(nil), &block); end
12
- end
13
-
14
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#208
15
- class StubSocket
16
- # @return [StubSocket] a new instance of StubSocket
17
- #
18
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#212
19
- def initialize(*args); end
20
-
21
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#220
22
- def close; end
23
-
24
- # @return [Boolean]
25
- #
26
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#216
27
- def closed?; end
28
-
29
- # Returns the value of attribute continue_timeout.
30
- #
31
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
32
- def continue_timeout; end
33
-
34
- # Sets the attribute continue_timeout
35
- #
36
- # @param value the value to set the attribute continue_timeout to.
37
- #
38
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
39
- def continue_timeout=(_arg0); end
40
-
41
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#228
42
- def io; end
43
-
44
- # Returns the value of attribute read_timeout.
45
- #
46
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
47
- def read_timeout; end
48
-
49
- # Sets the attribute read_timeout
50
- #
51
- # @param value the value to set the attribute read_timeout to.
52
- #
53
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
54
- def read_timeout=(_arg0); end
55
-
56
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#225
57
- def readuntil(*args); end
58
-
59
- # Returns the value of attribute write_timeout.
60
- #
61
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
62
- def write_timeout; end
63
-
64
- # Sets the attribute write_timeout
65
- #
66
- # @param value the value to set the attribute write_timeout to.
67
- #
68
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#210
69
- def write_timeout=(_arg0); end
70
- end
71
-
72
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#232
73
- class StubSocket::StubIO
74
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#237
75
- def cipher; end
76
-
77
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#234
78
- def peer_cert; end
79
-
80
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#235
81
- def peeraddr; end
82
-
83
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#233
84
- def setsockopt(*args); end
85
-
86
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#236
87
- def ssl_version; end
88
- end
89
-
90
- # source://webmock//lib/webmock/deprecation.rb#3
91
- module WebMock
92
- include ::WebMock::API
93
- extend ::WebMock::API
94
-
95
- def after_request(*args, &block); end
96
- def allow_net_connect!(*args, &block); end
97
- def disable_net_connect!(*args, &block); end
98
- def net_connect_allowed?(*args, &block); end
99
- def registered_request?(*args, &block); end
100
- def reset_callbacks(*args, &block); end
101
- def reset_webmock(*args, &block); end
102
-
103
- class << self
104
- # source://webmock//lib/webmock/webmock.rb#143
105
- def after_request(options = T.unsafe(nil), &block); end
106
-
107
- # source://webmock//lib/webmock/webmock.rb#46
108
- def allow_net_connect!(options = T.unsafe(nil)); end
109
-
110
- # source://webmock//lib/webmock/webmock.rb#30
111
- def disable!(options = T.unsafe(nil)); end
112
-
113
- # source://webmock//lib/webmock/webmock.rb#51
114
- def disable_net_connect!(options = T.unsafe(nil)); end
115
-
116
- # source://webmock//lib/webmock/webmock.rb#51
117
- def disallow_net_connect!(options = T.unsafe(nil)); end
118
-
119
- # source://webmock//lib/webmock/webmock.rb#38
120
- def enable!(options = T.unsafe(nil)); end
121
-
122
- # source://webmock//lib/webmock/webmock.rb#46
123
- def enable_net_connect!(options = T.unsafe(nil)); end
124
-
125
- # source://webmock//lib/webmock/webmock.rb#155
126
- def globally_stub_request(order = T.unsafe(nil), &block); end
127
-
128
- # source://webmock//lib/webmock/webmock.rb#109
129
- def hide_body_diff!; end
130
-
131
- # source://webmock//lib/webmock/webmock.rb#117
132
- def hide_stubbing_instructions!; end
133
-
134
- # @private
135
- #
136
- # source://webmock//lib/webmock/webmock.rb#5
137
- def included(clazz); end
138
-
139
- # @return [Boolean]
140
- #
141
- # source://webmock//lib/webmock/webmock.rb#63
142
- def net_connect_allowed?(uri = T.unsafe(nil)); end
143
-
144
- # @return [Boolean]
145
- #
146
- # source://webmock//lib/webmock/webmock.rb#85
147
- def net_connect_explicit_allowed?(allowed, uri = T.unsafe(nil)); end
148
-
149
- # @return [Boolean]
150
- #
151
- # source://webmock//lib/webmock/webmock.rb#75
152
- def net_http_connect_on_start?(uri); end
153
-
154
- # source://webmock//lib/webmock/webmock.rb#151
155
- def print_executed_requests; end
156
-
157
- # @return [Boolean]
158
- #
159
- # source://webmock//lib/webmock/webmock.rb#147
160
- def registered_request?(request_signature); end
161
-
162
- # source://webmock//lib/webmock/api.rb#14
163
- def request(method, uri); end
164
-
165
- # source://webmock//lib/webmock/webmock.rb#129
166
- def reset!; end
167
-
168
- # source://webmock//lib/webmock/webmock.rb#139
169
- def reset_callbacks; end
170
-
171
- # source://webmock//lib/webmock/webmock.rb#134
172
- def reset_webmock; end
173
-
174
- # source://webmock//lib/webmock/webmock.rb#105
175
- def show_body_diff!; end
176
-
177
- # @return [Boolean]
178
- #
179
- # source://webmock//lib/webmock/webmock.rb#113
180
- def show_body_diff?; end
181
-
182
- # source://webmock//lib/webmock/webmock.rb#121
183
- def show_stubbing_instructions!; end
184
-
185
- # @return [Boolean]
186
- #
187
- # source://webmock//lib/webmock/webmock.rb#125
188
- def show_stubbing_instructions?; end
189
-
190
- # source://webmock//lib/webmock/webmock.rb#26
191
- def version; end
192
- end
193
- end
194
-
195
- # source://webmock//lib/webmock/api.rb#4
196
- module WebMock::API
197
- extend ::WebMock::API
198
-
199
- # source://webmock//lib/webmock/api.rb#14
200
- def a_request(method, uri); end
201
-
202
- # source://webmock//lib/webmock/api.rb#31
203
- def assert_not_requested(*args, &block); end
204
-
205
- # source://webmock//lib/webmock/api.rb#22
206
- def assert_requested(*args, &block); end
207
-
208
- # source://webmock//lib/webmock/api.rb#59
209
- def hash_excluding(*args); end
210
-
211
- # Similar to RSpec::Mocks::ArgumentMatchers#hash_including()
212
- #
213
- # Matches a hash that includes the specified key(s) or key/value pairs.
214
- # Ignores any additional keys.
215
- #
216
- # @example
217
- #
218
- # object.should_receive(:message).with(hash_including(:key => val))
219
- # object.should_receive(:message).with(hash_including(:key))
220
- # object.should_receive(:message).with(hash_including(:key, :key2 => val2))
221
- #
222
- # source://webmock//lib/webmock/api.rb#51
223
- def hash_including(*args); end
224
-
225
- # source://webmock//lib/webmock/api.rb#31
226
- def refute_requested(*args, &block); end
227
-
228
- # source://webmock//lib/webmock/api.rb#67
229
- def remove_request_stub(stub); end
230
-
231
- # source://webmock//lib/webmock/api.rb#71
232
- def reset_executed_requests!; end
233
-
234
- # source://webmock//lib/webmock/api.rb#7
235
- def stub_http_request(method, uri); end
236
-
237
- # source://webmock//lib/webmock/api.rb#7
238
- def stub_request(method, uri); end
239
-
240
- private
241
-
242
- # this is a based on RSpec::Mocks::ArgumentMatchers#anythingize_lonely_keys
243
- #
244
- # source://webmock//lib/webmock/api.rb#104
245
- def anythingize_lonely_keys(*args); end
246
-
247
- # source://webmock//lib/webmock/api.rb#95
248
- def assert_request_not_requested(request, options = T.unsafe(nil)); end
249
-
250
- # source://webmock//lib/webmock/api.rb#86
251
- def assert_request_requested(request, options = T.unsafe(nil)); end
252
-
253
- # source://webmock//lib/webmock/api.rb#77
254
- def convert_uri_method_and_options_to_request_and_options(method, uri, options, &block); end
255
-
256
- class << self
257
- # source://webmock//lib/webmock/api.rb#14
258
- def request(method, uri); end
259
- end
260
- end
261
-
262
- # source://webmock//lib/webmock/assertion_failure.rb#4
263
- class WebMock::AssertionFailure
264
- class << self
265
- # Returns the value of attribute error_class.
266
- #
267
- # source://webmock//lib/webmock/assertion_failure.rb#7
268
- def error_class; end
269
-
270
- # Sets the attribute error_class
271
- #
272
- # @param value the value to set the attribute error_class to.
273
- #
274
- # source://webmock//lib/webmock/assertion_failure.rb#7
275
- def error_class=(_arg0); end
276
-
277
- # @raise [@error_class]
278
- #
279
- # source://webmock//lib/webmock/assertion_failure.rb#8
280
- def failure(message); end
281
- end
282
- end
283
-
284
- # source://webmock//lib/webmock/request_pattern.rb#252
285
- class WebMock::BodyPattern
286
- include ::WebMock::RSpecMatcherDetector
287
-
288
- # @return [BodyPattern] a new instance of BodyPattern
289
- #
290
- # source://webmock//lib/webmock/request_pattern.rb#270
291
- def initialize(pattern); end
292
-
293
- # @return [Boolean]
294
- #
295
- # source://webmock//lib/webmock/request_pattern.rb#280
296
- def matches?(body, content_type = T.unsafe(nil)); end
297
-
298
- # Returns the value of attribute pattern.
299
- #
300
- # source://webmock//lib/webmock/request_pattern.rb#268
301
- def pattern; end
302
-
303
- # source://webmock//lib/webmock/request_pattern.rb#297
304
- def to_s; end
305
-
306
- private
307
-
308
- # source://webmock//lib/webmock/request_pattern.rb#319
309
- def assert_non_multipart_body(content_type); end
310
-
311
- # source://webmock//lib/webmock/request_pattern.rb#303
312
- def body_as_hash(body, content_type); end
313
-
314
- # source://webmock//lib/webmock/request_pattern.rb#314
315
- def body_format(content_type); end
316
-
317
- # @return [Boolean]
318
- #
319
- # source://webmock//lib/webmock/request_pattern.rb#378
320
- def empty_string?(string); end
321
-
322
- # @return [Boolean]
323
- #
324
- # source://webmock//lib/webmock/request_pattern.rb#358
325
- def matching_body_array?(query_parameters, pattern, content_type); end
326
-
327
- # Compare two hashes for equality
328
- #
329
- # For two hashes to match they must have the same length and all
330
- # values must match when compared using `#===`.
331
- #
332
- # The following hashes are examples of matches:
333
- #
334
- # {a: /\d+/} and {a: '123'}
335
- #
336
- # {a: '123'} and {a: '123'}
337
- #
338
- # {a: {b: /\d+/}} and {a: {b: '123'}}
339
- #
340
- # {a: {b: 'wow'}} and {a: {b: 'wow'}}
341
- #
342
- # @param query_parameters [Hash] typically the result of parsing
343
- # JSON, XML or URL encoded parameters.
344
- # @param pattern [Hash] which contains keys with a string, hash or
345
- # regular expression value to use for comparison.
346
- # @return [Boolean] true if the paramaters match the comparison
347
- # hash, false if not.
348
- #
349
- # source://webmock//lib/webmock/request_pattern.rb#348
350
- def matching_body_hashes?(query_parameters, pattern, content_type); end
351
-
352
- # source://webmock//lib/webmock/request_pattern.rb#370
353
- def matching_values(actual, expected, content_type); end
354
-
355
- # source://webmock//lib/webmock/request_pattern.rb#382
356
- def normalize_hash(hash); end
357
-
358
- # @return [Boolean]
359
- #
360
- # source://webmock//lib/webmock/request_pattern.rb#386
361
- def url_encoded_body?(content_type); end
362
- end
363
-
364
- # source://webmock//lib/webmock/request_pattern.rb#255
365
- WebMock::BodyPattern::BODY_FORMATS = T.let(T.unsafe(nil), Hash)
366
-
367
- # source://webmock//lib/webmock/callback_registry.rb#4
368
- class WebMock::CallbackRegistry
369
- class << self
370
- # source://webmock//lib/webmock/callback_registry.rb#7
371
- def add_callback(options, block); end
372
-
373
- # @return [Boolean]
374
- #
375
- # source://webmock//lib/webmock/callback_registry.rb#32
376
- def any_callbacks?; end
377
-
378
- # source://webmock//lib/webmock/callback_registry.rb#11
379
- def callbacks; end
380
-
381
- # source://webmock//lib/webmock/callback_registry.rb#15
382
- def invoke_callbacks(options, request_signature, response); end
383
-
384
- # source://webmock//lib/webmock/callback_registry.rb#28
385
- def reset; end
386
- end
387
- end
388
-
389
- # source://webmock//lib/webmock/config.rb#4
390
- class WebMock::Config
391
- include ::Singleton
392
- extend ::Singleton::SingletonClassMethods
393
-
394
- # @return [Config] a new instance of Config
395
- #
396
- # source://webmock//lib/webmock/config.rb#7
397
- def initialize; end
398
-
399
- # Returns the value of attribute allow.
400
- #
401
- # source://webmock//lib/webmock/config.rb#14
402
- def allow; end
403
-
404
- # Sets the attribute allow
405
- #
406
- # @param value the value to set the attribute allow to.
407
- #
408
- # source://webmock//lib/webmock/config.rb#14
409
- def allow=(_arg0); end
410
-
411
- # Returns the value of attribute allow_localhost.
412
- #
413
- # source://webmock//lib/webmock/config.rb#13
414
- def allow_localhost; end
415
-
416
- # Sets the attribute allow_localhost
417
- #
418
- # @param value the value to set the attribute allow_localhost to.
419
- #
420
- # source://webmock//lib/webmock/config.rb#13
421
- def allow_localhost=(_arg0); end
422
-
423
- # Returns the value of attribute allow_net_connect.
424
- #
425
- # source://webmock//lib/webmock/config.rb#12
426
- def allow_net_connect; end
427
-
428
- # Sets the attribute allow_net_connect
429
- #
430
- # @param value the value to set the attribute allow_net_connect to.
431
- #
432
- # source://webmock//lib/webmock/config.rb#12
433
- def allow_net_connect=(_arg0); end
434
-
435
- # Returns the value of attribute net_http_connect_on_start.
436
- #
437
- # source://webmock//lib/webmock/config.rb#15
438
- def net_http_connect_on_start; end
439
-
440
- # Sets the attribute net_http_connect_on_start
441
- #
442
- # @param value the value to set the attribute net_http_connect_on_start to.
443
- #
444
- # source://webmock//lib/webmock/config.rb#15
445
- def net_http_connect_on_start=(_arg0); end
446
-
447
- # Returns the value of attribute query_values_notation.
448
- #
449
- # source://webmock//lib/webmock/config.rb#17
450
- def query_values_notation; end
451
-
452
- # Sets the attribute query_values_notation
453
- #
454
- # @param value the value to set the attribute query_values_notation to.
455
- #
456
- # source://webmock//lib/webmock/config.rb#17
457
- def query_values_notation=(_arg0); end
458
-
459
- # Returns the value of attribute show_body_diff.
460
- #
461
- # source://webmock//lib/webmock/config.rb#18
462
- def show_body_diff; end
463
-
464
- # Sets the attribute show_body_diff
465
- #
466
- # @param value the value to set the attribute show_body_diff to.
467
- #
468
- # source://webmock//lib/webmock/config.rb#18
469
- def show_body_diff=(_arg0); end
470
-
471
- # Returns the value of attribute show_stubbing_instructions.
472
- #
473
- # source://webmock//lib/webmock/config.rb#16
474
- def show_stubbing_instructions; end
475
-
476
- # Sets the attribute show_stubbing_instructions
477
- #
478
- # @param value the value to set the attribute show_stubbing_instructions to.
479
- #
480
- # source://webmock//lib/webmock/config.rb#16
481
- def show_stubbing_instructions=(_arg0); end
482
-
483
- class << self
484
- private
485
-
486
- def allocate; end
487
- def new(*_arg0); end
488
- end
489
- end
490
-
491
- # source://webmock//lib/webmock/deprecation.rb#4
492
- class WebMock::Deprecation
493
- class << self
494
- # source://webmock//lib/webmock/deprecation.rb#6
495
- def warning(message); end
496
- end
497
- end
498
-
499
- # source://webmock//lib/webmock/response.rb#149
500
- class WebMock::DynamicResponse < ::WebMock::Response
501
- # @return [DynamicResponse] a new instance of DynamicResponse
502
- #
503
- # source://webmock//lib/webmock/response.rb#152
504
- def initialize(responder); end
505
-
506
- # source://webmock//lib/webmock/response.rb#156
507
- def evaluate(request_signature); end
508
-
509
- # Returns the value of attribute responder.
510
- #
511
- # source://webmock//lib/webmock/response.rb#150
512
- def responder; end
513
-
514
- # Sets the attribute responder
515
- #
516
- # @param value the value to set the attribute responder to.
517
- #
518
- # source://webmock//lib/webmock/response.rb#150
519
- def responder=(_arg0); end
520
- end
521
-
522
- # source://webmock//lib/webmock/util/hash_validator.rb#4
523
- class WebMock::HashValidator
524
- # @return [HashValidator] a new instance of HashValidator
525
- #
526
- # source://webmock//lib/webmock/util/hash_validator.rb#5
527
- def initialize(hash); end
528
-
529
- # This code is based on https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/hash/keys.rb
530
- #
531
- # source://webmock//lib/webmock/util/hash_validator.rb#10
532
- def validate_keys(*valid_keys); end
533
- end
534
-
535
- # source://webmock//lib/webmock/request_pattern.rb#391
536
- class WebMock::HeadersPattern
537
- # @return [HeadersPattern] a new instance of HeadersPattern
538
- #
539
- # source://webmock//lib/webmock/request_pattern.rb#392
540
- def initialize(pattern); end
541
-
542
- # @return [Boolean]
543
- #
544
- # source://webmock//lib/webmock/request_pattern.rb#396
545
- def matches?(headers); end
546
-
547
- # source://webmock//lib/webmock/request_pattern.rb#412
548
- def pp_to_s; end
549
-
550
- # source://webmock//lib/webmock/request_pattern.rb#408
551
- def to_s; end
552
-
553
- private
554
-
555
- # @return [Boolean]
556
- #
557
- # source://webmock//lib/webmock/request_pattern.rb#418
558
- def empty_headers?(headers); end
559
- end
560
-
561
- # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#4
562
- class WebMock::HttpLibAdapter
563
- class << self
564
- # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter.rb#5
565
- def adapter_for(lib); end
566
- end
567
- end
568
-
569
- # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#4
570
- class WebMock::HttpLibAdapterRegistry
571
- include ::Singleton
572
- extend ::Singleton::SingletonClassMethods
573
-
574
- # @return [HttpLibAdapterRegistry] a new instance of HttpLibAdapterRegistry
575
- #
576
- # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#9
577
- def initialize; end
578
-
579
- # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#17
580
- def each_adapter(&block); end
581
-
582
- # Returns the value of attribute http_lib_adapters.
583
- #
584
- # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#7
585
- def http_lib_adapters; end
586
-
587
- # Sets the attribute http_lib_adapters
588
- #
589
- # @param value the value to set the attribute http_lib_adapters to.
590
- #
591
- # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#7
592
- def http_lib_adapters=(_arg0); end
593
-
594
- # source://webmock//lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb#13
595
- def register(lib, adapter); end
596
-
597
- class << self
598
- private
599
-
600
- def allocate; end
601
- def new(*_arg0); end
602
- end
603
- end
604
-
605
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#10
606
- module WebMock::HttpLibAdapters; end
607
-
608
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#11
609
- class WebMock::HttpLibAdapters::NetHttpAdapter < ::WebMock::HttpLibAdapter
610
- class << self
611
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#23
612
- def disable!; end
613
-
614
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#16
615
- def enable!; end
616
- end
617
- end
618
-
619
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#14
620
- WebMock::HttpLibAdapters::NetHttpAdapter::OriginalNetHTTP = Net::HTTP
621
-
622
- # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#4
623
- module WebMock::Matchers; end
624
-
625
- # this is a based on RSpec::Mocks::ArgumentMatchers::AnyArgMatcher
626
- #
627
- # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#6
628
- class WebMock::Matchers::AnyArgMatcher
629
- # @return [AnyArgMatcher] a new instance of AnyArgMatcher
630
- #
631
- # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#7
632
- def initialize(ignore); end
633
-
634
- # source://webmock//lib/webmock/matchers/any_arg_matcher.rb#10
635
- def ==(other); end
636
- end
637
-
638
- # Base class for Hash matchers
639
- # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
640
- #
641
- # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#7
642
- class WebMock::Matchers::HashArgumentMatcher
643
- # @return [HashArgumentMatcher] a new instance of HashArgumentMatcher
644
- #
645
- # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#8
646
- def initialize(expected); end
647
-
648
- # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#12
649
- def ==(_actual, &block); end
650
-
651
- class << self
652
- # source://webmock//lib/webmock/matchers/hash_argument_matcher.rb#18
653
- def from_rspec_matcher(matcher); end
654
- end
655
- end
656
-
657
- # this is a based on RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher
658
- # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
659
- #
660
- # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#7
661
- class WebMock::Matchers::HashExcludingMatcher < ::WebMock::Matchers::HashArgumentMatcher
662
- # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#8
663
- def ==(actual); end
664
-
665
- # source://webmock//lib/webmock/matchers/hash_excluding_matcher.rb#12
666
- def inspect; end
667
- end
668
-
669
- # this is a based on RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher
670
- # https://github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb
671
- #
672
- # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#7
673
- class WebMock::Matchers::HashIncludingMatcher < ::WebMock::Matchers::HashArgumentMatcher
674
- # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#8
675
- def ==(actual); end
676
-
677
- # source://webmock//lib/webmock/matchers/hash_including_matcher.rb#14
678
- def inspect; end
679
- end
680
-
681
- # source://webmock//lib/webmock/request_pattern.rb#95
682
- class WebMock::MethodPattern
683
- # @return [MethodPattern] a new instance of MethodPattern
684
- #
685
- # source://webmock//lib/webmock/request_pattern.rb#96
686
- def initialize(pattern); end
687
-
688
- # @return [Boolean]
689
- #
690
- # source://webmock//lib/webmock/request_pattern.rb#100
691
- def matches?(method); end
692
-
693
- # source://webmock//lib/webmock/request_pattern.rb#104
694
- def to_s; end
695
- end
696
-
697
- # source://webmock//lib/webmock/errors.rb#5
698
- class WebMock::NetConnectNotAllowedError < ::Exception
699
- # @return [NetConnectNotAllowedError] a new instance of NetConnectNotAllowedError
700
- #
701
- # source://webmock//lib/webmock/errors.rb#6
702
- def initialize(request_signature); end
703
- end
704
-
705
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#242
706
- module WebMock::NetHTTPUtility
707
- class << self
708
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#281
709
- def check_right_http_connection; end
710
-
711
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#272
712
- def get_uri(net_http, path = T.unsafe(nil)); end
713
-
714
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#285
715
- def puts_warning_for_right_http_if_needed; end
716
-
717
- # source://webmock//lib/webmock/http_lib_adapters/net_http.rb#244
718
- def request_signature_from_request(net_http, request, body = T.unsafe(nil)); end
719
- end
720
- end
721
-
722
- # source://webmock//lib/webmock/request_pattern.rb#5
723
- module WebMock::RSpecMatcherDetector
724
- # @return [Boolean]
725
- #
726
- # source://webmock//lib/webmock/request_pattern.rb#10
727
- def rSpecHashExcludingMatcher?(matcher); end
728
-
729
- # @return [Boolean]
730
- #
731
- # source://webmock//lib/webmock/request_pattern.rb#6
732
- def rSpecHashIncludingMatcher?(matcher); end
733
- end
734
-
735
- # source://webmock//lib/webmock/rack_response.rb#4
736
- class WebMock::RackResponse < ::WebMock::Response
737
- # @return [RackResponse] a new instance of RackResponse
738
- #
739
- # source://webmock//lib/webmock/rack_response.rb#5
740
- def initialize(app); end
741
-
742
- # source://webmock//lib/webmock/rack_response.rb#21
743
- def body_from_rack_response(response); end
744
-
745
- # source://webmock//lib/webmock/rack_response.rb#28
746
- def build_rack_env(request); end
747
-
748
- # source://webmock//lib/webmock/rack_response.rb#9
749
- def evaluate(request); end
750
-
751
- # source://webmock//lib/webmock/rack_response.rb#63
752
- def session; end
753
-
754
- # source://webmock//lib/webmock/rack_response.rb#67
755
- def session_options; end
756
- end
757
-
758
- # source://webmock//lib/webmock/request_body_diff.rb#7
759
- class WebMock::RequestBodyDiff
760
- # @return [RequestBodyDiff] a new instance of RequestBodyDiff
761
- #
762
- # source://webmock//lib/webmock/request_body_diff.rb#9
763
- def initialize(request_signature, request_stub); end
764
-
765
- # source://webmock//lib/webmock/request_body_diff.rb#14
766
- def body_diff; end
767
-
768
- private
769
-
770
- # @return [Boolean]
771
- #
772
- # source://webmock//lib/webmock/request_body_diff.rb#57
773
- def parseable_json?(body_pattern); end
774
-
775
- # Returns the value of attribute request_signature.
776
- #
777
- # source://webmock//lib/webmock/request_body_diff.rb#20
778
- def request_signature; end
779
-
780
- # source://webmock//lib/webmock/request_body_diff.rb#33
781
- def request_signature_body_hash; end
782
-
783
- # @return [Boolean]
784
- #
785
- # source://webmock//lib/webmock/request_body_diff.rb#25
786
- def request_signature_diffable?; end
787
-
788
- # @return [Boolean]
789
- #
790
- # source://webmock//lib/webmock/request_body_diff.rb#49
791
- def request_signature_parseable_json?; end
792
-
793
- # Returns the value of attribute request_stub.
794
- #
795
- # source://webmock//lib/webmock/request_body_diff.rb#20
796
- def request_stub; end
797
-
798
- # source://webmock//lib/webmock/request_body_diff.rb#43
799
- def request_stub_body; end
800
-
801
- # source://webmock//lib/webmock/request_body_diff.rb#37
802
- def request_stub_body_hash; end
803
-
804
- # @return [Boolean]
805
- #
806
- # source://webmock//lib/webmock/request_body_diff.rb#29
807
- def request_stub_diffable?; end
808
-
809
- # @return [Boolean]
810
- #
811
- # source://webmock//lib/webmock/request_body_diff.rb#53
812
- def request_stub_parseable_json?; end
813
- end
814
-
815
- # source://webmock//lib/webmock/request_execution_verifier.rb#4
816
- class WebMock::RequestExecutionVerifier
817
- # @return [RequestExecutionVerifier] a new instance of RequestExecutionVerifier
818
- #
819
- # source://webmock//lib/webmock/request_execution_verifier.rb#8
820
- def initialize(request_pattern = T.unsafe(nil), expected_times_executed = T.unsafe(nil), at_least_times_executed = T.unsafe(nil), at_most_times_executed = T.unsafe(nil)); end
821
-
822
- # Returns the value of attribute at_least_times_executed.
823
- #
824
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
825
- def at_least_times_executed; end
826
-
827
- # Sets the attribute at_least_times_executed
828
- #
829
- # @param value the value to set the attribute at_least_times_executed to.
830
- #
831
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
832
- def at_least_times_executed=(_arg0); end
833
-
834
- # Returns the value of attribute at_most_times_executed.
835
- #
836
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
837
- def at_most_times_executed; end
838
-
839
- # Sets the attribute at_most_times_executed
840
- #
841
- # @param value the value to set the attribute at_most_times_executed to.
842
- #
843
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
844
- def at_most_times_executed=(_arg0); end
845
-
846
- # source://webmock//lib/webmock/request_execution_verifier.rb#38
847
- def description; end
848
-
849
- # @return [Boolean]
850
- #
851
- # source://webmock//lib/webmock/request_execution_verifier.rb#28
852
- def does_not_match?; end
853
-
854
- # Returns the value of attribute expected_times_executed.
855
- #
856
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
857
- def expected_times_executed; end
858
-
859
- # Sets the attribute expected_times_executed
860
- #
861
- # @param value the value to set the attribute expected_times_executed to.
862
- #
863
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
864
- def expected_times_executed=(_arg0); end
865
-
866
- # source://webmock//lib/webmock/request_execution_verifier.rb#42
867
- def failure_message; end
868
-
869
- # source://webmock//lib/webmock/request_execution_verifier.rb#46
870
- def failure_message_when_negated; end
871
-
872
- # @return [Boolean]
873
- #
874
- # source://webmock//lib/webmock/request_execution_verifier.rb#15
875
- def matches?; end
876
-
877
- # Returns the value of attribute request_pattern.
878
- #
879
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
880
- def request_pattern; end
881
-
882
- # Sets the attribute request_pattern
883
- #
884
- # @param value the value to set the attribute request_pattern to.
885
- #
886
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
887
- def request_pattern=(_arg0); end
888
-
889
- # Returns the value of attribute times_executed.
890
- #
891
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
892
- def times_executed; end
893
-
894
- # Sets the attribute times_executed
895
- #
896
- # @param value the value to set the attribute times_executed to.
897
- #
898
- # source://webmock//lib/webmock/request_execution_verifier.rb#6
899
- def times_executed=(_arg0); end
900
-
901
- private
902
-
903
- # source://webmock//lib/webmock/request_execution_verifier.rb#56
904
- def failure_message_phrase(is_negated = T.unsafe(nil)); end
905
-
906
- # source://webmock//lib/webmock/request_execution_verifier.rb#62
907
- def quantity_phrase(is_negated = T.unsafe(nil)); end
908
-
909
- # source://webmock//lib/webmock/request_execution_verifier.rb#74
910
- def times(times); end
911
-
912
- class << self
913
- # source://webmock//lib/webmock/request_execution_verifier.rb#50
914
- def executed_requests_message; end
915
- end
916
- end
917
-
918
- # source://webmock//lib/webmock/request_pattern.rb#15
919
- class WebMock::RequestPattern
920
- # @return [RequestPattern] a new instance of RequestPattern
921
- #
922
- # source://webmock//lib/webmock/request_pattern.rb#19
923
- def initialize(method, uri, options = T.unsafe(nil)); end
924
-
925
- # Returns the value of attribute body_pattern.
926
- #
927
- # source://webmock//lib/webmock/request_pattern.rb#17
928
- def body_pattern; end
929
-
930
- # Returns the value of attribute headers_pattern.
931
- #
932
- # source://webmock//lib/webmock/request_pattern.rb#17
933
- def headers_pattern; end
934
-
935
- # @return [Boolean]
936
- #
937
- # source://webmock//lib/webmock/request_pattern.rb#35
938
- def matches?(request_signature); end
939
-
940
- # Returns the value of attribute method_pattern.
941
- #
942
- # source://webmock//lib/webmock/request_pattern.rb#17
943
- def method_pattern; end
944
-
945
- # source://webmock//lib/webmock/request_pattern.rb#45
946
- def to_s; end
947
-
948
- # Returns the value of attribute uri_pattern.
949
- #
950
- # source://webmock//lib/webmock/request_pattern.rb#17
951
- def uri_pattern; end
952
-
953
- # @raise [ArgumentError]
954
- #
955
- # source://webmock//lib/webmock/request_pattern.rb#28
956
- def with(options = T.unsafe(nil), &block); end
957
-
958
- private
959
-
960
- # source://webmock//lib/webmock/request_pattern.rb#57
961
- def assign_options(options); end
962
-
963
- # source://webmock//lib/webmock/request_pattern.rb#80
964
- def create_uri_pattern(uri); end
965
-
966
- # source://webmock//lib/webmock/request_pattern.rb#66
967
- def set_basic_auth_as_headers!(options); end
968
-
969
- # source://webmock//lib/webmock/request_pattern.rb#74
970
- def validate_basic_auth!(basic_auth); end
971
- end
972
-
973
- # source://webmock//lib/webmock/request_registry.rb#5
974
- class WebMock::RequestRegistry
975
- include ::Singleton
976
- extend ::Singleton::SingletonClassMethods
977
-
978
- # @return [RequestRegistry] a new instance of RequestRegistry
979
- #
980
- # source://webmock//lib/webmock/request_registry.rb#10
981
- def initialize; end
982
-
983
- # Returns the value of attribute requested_signatures.
984
- #
985
- # source://webmock//lib/webmock/request_registry.rb#8
986
- def requested_signatures; end
987
-
988
- # Sets the attribute requested_signatures
989
- #
990
- # @param value the value to set the attribute requested_signatures to.
991
- #
992
- # source://webmock//lib/webmock/request_registry.rb#8
993
- def requested_signatures=(_arg0); end
994
-
995
- # source://webmock//lib/webmock/request_registry.rb#14
996
- def reset!; end
997
-
998
- # source://webmock//lib/webmock/request_registry.rb#18
999
- def times_executed(request_pattern); end
1000
-
1001
- # source://webmock//lib/webmock/request_registry.rb#24
1002
- def to_s; end
1003
-
1004
- class << self
1005
- private
1006
-
1007
- def allocate; end
1008
- def new(*_arg0); end
1009
- end
1010
- end
1011
-
1012
- # source://webmock//lib/webmock/request_signature.rb#5
1013
- class WebMock::RequestSignature
1014
- # @return [RequestSignature] a new instance of RequestSignature
1015
- #
1016
- # source://webmock//lib/webmock/request_signature.rb#10
1017
- def initialize(method, uri, options = T.unsafe(nil)); end
1018
-
1019
- # @return [Boolean]
1020
- #
1021
- # source://webmock//lib/webmock/request_signature.rb#34
1022
- def ==(other); end
1023
-
1024
- # Returns the value of attribute body.
1025
- #
1026
- # source://webmock//lib/webmock/request_signature.rb#7
1027
- def body; end
1028
-
1029
- # Sets the attribute body
1030
- #
1031
- # @param value the value to set the attribute body to.
1032
- #
1033
- # source://webmock//lib/webmock/request_signature.rb#7
1034
- def body=(_arg0); end
1035
-
1036
- # @return [Boolean]
1037
- #
1038
- # source://webmock//lib/webmock/request_signature.rb#34
1039
- def eql?(other); end
1040
-
1041
- # source://webmock//lib/webmock/request_signature.rb#30
1042
- def hash; end
1043
-
1044
- # Returns the value of attribute headers.
1045
- #
1046
- # source://webmock//lib/webmock/request_signature.rb#8
1047
- def headers; end
1048
-
1049
- # source://webmock//lib/webmock/request_signature.rb#26
1050
- def headers=(headers); end
1051
-
1052
- # @return [Boolean]
1053
- #
1054
- # source://webmock//lib/webmock/request_signature.rb#43
1055
- def json_headers?; end
1056
-
1057
- # Returns the value of attribute method.
1058
- #
1059
- # source://webmock//lib/webmock/request_signature.rb#7
1060
- def method; end
1061
-
1062
- # Sets the attribute method
1063
- #
1064
- # @param value the value to set the attribute method to.
1065
- #
1066
- # source://webmock//lib/webmock/request_signature.rb#7
1067
- def method=(_arg0); end
1068
-
1069
- # source://webmock//lib/webmock/request_signature.rb#16
1070
- def to_s; end
1071
-
1072
- # Returns the value of attribute uri.
1073
- #
1074
- # source://webmock//lib/webmock/request_signature.rb#7
1075
- def uri; end
1076
-
1077
- # Sets the attribute uri
1078
- #
1079
- # @param value the value to set the attribute uri to.
1080
- #
1081
- # source://webmock//lib/webmock/request_signature.rb#7
1082
- def uri=(_arg0); end
1083
-
1084
- # @return [Boolean]
1085
- #
1086
- # source://webmock//lib/webmock/request_signature.rb#39
1087
- def url_encoded?; end
1088
-
1089
- private
1090
-
1091
- # source://webmock//lib/webmock/request_signature.rb#49
1092
- def assign_options(options); end
1093
- end
1094
-
1095
- # source://webmock//lib/webmock/request_signature_snippet.rb#6
1096
- class WebMock::RequestSignatureSnippet
1097
- # @return [RequestSignatureSnippet] a new instance of RequestSignatureSnippet
1098
- #
1099
- # source://webmock//lib/webmock/request_signature_snippet.rb#10
1100
- def initialize(request_signature); end
1101
-
1102
- # Returns the value of attribute request_signature.
1103
- #
1104
- # source://webmock//lib/webmock/request_signature_snippet.rb#8
1105
- def request_signature; end
1106
-
1107
- # Returns the value of attribute request_stub.
1108
- #
1109
- # source://webmock//lib/webmock/request_signature_snippet.rb#8
1110
- def request_stub; end
1111
-
1112
- # source://webmock//lib/webmock/request_signature_snippet.rb#22
1113
- def request_stubs; end
1114
-
1115
- # source://webmock//lib/webmock/request_signature_snippet.rb#15
1116
- def stubbing_instructions; end
1117
-
1118
- private
1119
-
1120
- # source://webmock//lib/webmock/request_signature_snippet.rb#35
1121
- def add_body_diff(stub, text); end
1122
-
1123
- # source://webmock//lib/webmock/request_signature_snippet.rb#54
1124
- def pretty_print_to_string(string_to_print); end
1125
-
1126
- # source://webmock//lib/webmock/request_signature_snippet.rb#45
1127
- def request_params; end
1128
-
1129
- # source://webmock//lib/webmock/request_signature_snippet.rb#40
1130
- def signature_stub_body_diff(stub); end
1131
- end
1132
-
1133
- # source://webmock//lib/webmock/request_stub.rb#4
1134
- class WebMock::RequestStub
1135
- # @return [RequestStub] a new instance of RequestStub
1136
- #
1137
- # source://webmock//lib/webmock/request_stub.rb#8
1138
- def initialize(method, uri); end
1139
-
1140
- # source://webmock//lib/webmock/request_stub.rb#65
1141
- def and_raise(*exceptions); end
1142
-
1143
- # source://webmock//lib/webmock/request_stub.rb#19
1144
- def and_return(*response_hashes, &block); end
1145
-
1146
- # @raise [ArgumentError]
1147
- #
1148
- # source://webmock//lib/webmock/request_stub.rb#29
1149
- def and_return_json(*response_hashes); end
1150
-
1151
- # source://webmock//lib/webmock/request_stub.rb#73
1152
- def and_timeout; end
1153
-
1154
- # @return [Boolean]
1155
- #
1156
- # source://webmock//lib/webmock/request_stub.rb#90
1157
- def has_responses?; end
1158
-
1159
- # @return [Boolean]
1160
- #
1161
- # source://webmock//lib/webmock/request_stub.rb#108
1162
- def matches?(request_signature); end
1163
-
1164
- # Returns the value of attribute request_pattern.
1165
- #
1166
- # source://webmock//lib/webmock/request_stub.rb#6
1167
- def request_pattern; end
1168
-
1169
- # Sets the attribute request_pattern
1170
- #
1171
- # @param value the value to set the attribute request_pattern to.
1172
- #
1173
- # source://webmock//lib/webmock/request_stub.rb#6
1174
- def request_pattern=(_arg0); end
1175
-
1176
- # source://webmock//lib/webmock/request_stub.rb#79
1177
- def response; end
1178
-
1179
- # source://webmock//lib/webmock/request_stub.rb#94
1180
- def then; end
1181
-
1182
- # source://webmock//lib/webmock/request_stub.rb#98
1183
- def times(number); end
1184
-
1185
- # source://webmock//lib/webmock/request_stub.rb#61
1186
- def to_rack(app, options = T.unsafe(nil)); end
1187
-
1188
- # source://webmock//lib/webmock/request_stub.rb#65
1189
- def to_raise(*exceptions); end
1190
-
1191
- # source://webmock//lib/webmock/request_stub.rb#19
1192
- def to_return(*response_hashes, &block); end
1193
-
1194
- # @raise [ArgumentError]
1195
- #
1196
- # source://webmock//lib/webmock/request_stub.rb#29
1197
- def to_return_json(*response_hashes); end
1198
-
1199
- # source://webmock//lib/webmock/request_stub.rb#112
1200
- def to_s; end
1201
-
1202
- # source://webmock//lib/webmock/request_stub.rb#73
1203
- def to_timeout; end
1204
-
1205
- # source://webmock//lib/webmock/request_stub.rb#14
1206
- def with(params = T.unsafe(nil), &block); end
1207
-
1208
- class << self
1209
- # source://webmock//lib/webmock/request_stub.rb#116
1210
- def from_request_signature(signature); end
1211
- end
1212
- end
1213
-
1214
- # source://webmock//lib/webmock/response.rb#17
1215
- class WebMock::Response
1216
- # @return [Response] a new instance of Response
1217
- #
1218
- # source://webmock//lib/webmock/response.rb#18
1219
- def initialize(options = T.unsafe(nil)); end
1220
-
1221
- # source://webmock//lib/webmock/response.rb#97
1222
- def ==(other); end
1223
-
1224
- # source://webmock//lib/webmock/response.rb#40
1225
- def body; end
1226
-
1227
- # source://webmock//lib/webmock/response.rb#44
1228
- def body=(body); end
1229
-
1230
- # source://webmock//lib/webmock/response.rb#88
1231
- def evaluate(request_signature); end
1232
-
1233
- # source://webmock//lib/webmock/response.rb#58
1234
- def exception; end
1235
-
1236
- # source://webmock//lib/webmock/response.rb#62
1237
- def exception=(exception); end
1238
-
1239
- # source://webmock//lib/webmock/response.rb#29
1240
- def headers; end
1241
-
1242
- # source://webmock//lib/webmock/response.rb#33
1243
- def headers=(headers); end
1244
-
1245
- # source://webmock//lib/webmock/response.rb#78
1246
- def options=(options); end
1247
-
1248
- # @raise [@exception]
1249
- #
1250
- # source://webmock//lib/webmock/response.rb#70
1251
- def raise_error_if_any; end
1252
-
1253
- # source://webmock//lib/webmock/response.rb#74
1254
- def should_timeout; end
1255
-
1256
- # source://webmock//lib/webmock/response.rb#50
1257
- def status; end
1258
-
1259
- # source://webmock//lib/webmock/response.rb#54
1260
- def status=(status); end
1261
-
1262
- private
1263
-
1264
- # source://webmock//lib/webmock/response.rb#115
1265
- def assert_valid_body!; end
1266
-
1267
- # source://webmock//lib/webmock/response.rb#128
1268
- def read_raw_response(io); end
1269
-
1270
- # source://webmock//lib/webmock/response.rb#107
1271
- def stringify_body!; end
1272
- end
1273
-
1274
- # source://webmock//lib/webmock/response.rb#145
1275
- class WebMock::Response::InvalidBody < ::StandardError; end
1276
-
1277
- # source://webmock//lib/webmock/response.rb#7
1278
- class WebMock::ResponseFactory
1279
- class << self
1280
- # source://webmock//lib/webmock/response.rb#8
1281
- def response_for(options); end
1282
- end
1283
- end
1284
-
1285
- # source://webmock//lib/webmock/responses_sequence.rb#5
1286
- class WebMock::ResponsesSequence
1287
- # @return [ResponsesSequence] a new instance of ResponsesSequence
1288
- #
1289
- # source://webmock//lib/webmock/responses_sequence.rb#9
1290
- def initialize(responses); end
1291
-
1292
- # @return [Boolean]
1293
- #
1294
- # source://webmock//lib/webmock/responses_sequence.rb#15
1295
- def end?; end
1296
-
1297
- # source://webmock//lib/webmock/responses_sequence.rb#19
1298
- def next_response; end
1299
-
1300
- # Returns the value of attribute times_to_repeat.
1301
- #
1302
- # source://webmock//lib/webmock/responses_sequence.rb#7
1303
- def times_to_repeat; end
1304
-
1305
- # Sets the attribute times_to_repeat
1306
- #
1307
- # @param value the value to set the attribute times_to_repeat to.
1308
- #
1309
- # source://webmock//lib/webmock/responses_sequence.rb#7
1310
- def times_to_repeat=(_arg0); end
1311
-
1312
- private
1313
-
1314
- # source://webmock//lib/webmock/responses_sequence.rb#31
1315
- def increase_position; end
1316
- end
1317
-
1318
- # source://webmock//lib/webmock/stub_registry.rb#5
1319
- class WebMock::StubRegistry
1320
- include ::Singleton
1321
- extend ::Singleton::SingletonClassMethods
1322
-
1323
- # @return [StubRegistry] a new instance of StubRegistry
1324
- #
1325
- # source://webmock//lib/webmock/stub_registry.rb#10
1326
- def initialize; end
1327
-
1328
- # source://webmock//lib/webmock/stub_registry.rb#14
1329
- def global_stubs; end
1330
-
1331
- # source://webmock//lib/webmock/stub_registry.rb#22
1332
- def register_global_stub(order = T.unsafe(nil), &block); end
1333
-
1334
- # source://webmock//lib/webmock/stub_registry.rb#50
1335
- def register_request_stub(stub); end
1336
-
1337
- # @return [Boolean]
1338
- #
1339
- # source://webmock//lib/webmock/stub_registry.rb#61
1340
- def registered_request?(request_signature); end
1341
-
1342
- # source://webmock//lib/webmock/stub_registry.rb#55
1343
- def remove_request_stub(stub); end
1344
-
1345
- # Returns the value of attribute request_stubs.
1346
- #
1347
- # source://webmock//lib/webmock/stub_registry.rb#8
1348
- def request_stubs; end
1349
-
1350
- # Sets the attribute request_stubs
1351
- #
1352
- # @param value the value to set the attribute request_stubs to.
1353
- #
1354
- # source://webmock//lib/webmock/stub_registry.rb#8
1355
- def request_stubs=(_arg0); end
1356
-
1357
- # source://webmock//lib/webmock/stub_registry.rb#18
1358
- def reset!; end
1359
-
1360
- # source://webmock//lib/webmock/stub_registry.rb#65
1361
- def response_for_request(request_signature); end
1362
-
1363
- private
1364
-
1365
- # source://webmock//lib/webmock/stub_registry.rb#79
1366
- def evaluate_response_for_request(response, request_signature); end
1367
-
1368
- # source://webmock//lib/webmock/stub_registry.rb#72
1369
- def request_stub_for(request_signature); end
1370
-
1371
- class << self
1372
- private
1373
-
1374
- def allocate; end
1375
- def new(*_arg0); end
1376
- end
1377
- end
1378
-
1379
- # source://webmock//lib/webmock/stub_request_snippet.rb#4
1380
- class WebMock::StubRequestSnippet
1381
- # @return [StubRequestSnippet] a new instance of StubRequestSnippet
1382
- #
1383
- # source://webmock//lib/webmock/stub_request_snippet.rb#5
1384
- def initialize(request_stub); end
1385
-
1386
- # source://webmock//lib/webmock/stub_request_snippet.rb#9
1387
- def body_pattern; end
1388
-
1389
- # source://webmock//lib/webmock/stub_request_snippet.rb#13
1390
- def to_s(with_response = T.unsafe(nil)); end
1391
- end
1392
-
1393
- # source://webmock//lib/webmock/request_pattern.rb#177
1394
- class WebMock::URIAddressablePattern < ::WebMock::URIPattern
1395
- # source://webmock//lib/webmock/request_pattern.rb#178
1396
- def add_query_params(query_params); end
1397
-
1398
- private
1399
-
1400
- # @return [Boolean]
1401
- #
1402
- # source://webmock//lib/webmock/request_pattern.rb#203
1403
- def matches_with_variations?(uri); end
1404
-
1405
- # source://webmock//lib/webmock/request_pattern.rb#199
1406
- def pattern_inspect; end
1407
-
1408
- # @return [Boolean]
1409
- #
1410
- # source://webmock//lib/webmock/request_pattern.rb#189
1411
- def pattern_matches?(uri); end
1412
-
1413
- # @return [Boolean]
1414
- #
1415
- # source://webmock//lib/webmock/request_pattern.rb#215
1416
- def template_matches_uri?(template, uri); end
1417
- end
1418
-
1419
- # source://webmock//lib/webmock/request_pattern.rb#161
1420
- class WebMock::URICallablePattern < ::WebMock::URIPattern
1421
- private
1422
-
1423
- # @return [Boolean]
1424
- #
1425
- # source://webmock//lib/webmock/request_pattern.rb#164
1426
- def pattern_matches?(uri); end
1427
- end
1428
-
1429
- # source://webmock//lib/webmock/request_pattern.rb#110
1430
- class WebMock::URIPattern
1431
- include ::WebMock::RSpecMatcherDetector
1432
-
1433
- # @return [URIPattern] a new instance of URIPattern
1434
- #
1435
- # source://webmock//lib/webmock/request_pattern.rb#113
1436
- def initialize(pattern); end
1437
-
1438
- # source://webmock//lib/webmock/request_pattern.rb#125
1439
- def add_query_params(query_params); end
1440
-
1441
- # @return [Boolean]
1442
- #
1443
- # source://webmock//lib/webmock/request_pattern.rb#140
1444
- def matches?(uri); end
1445
-
1446
- # source://webmock//lib/webmock/request_pattern.rb#144
1447
- def to_s; end
1448
-
1449
- private
1450
-
1451
- # source://webmock//lib/webmock/request_pattern.rb#152
1452
- def pattern_inspect; end
1453
-
1454
- # @return [Boolean]
1455
- #
1456
- # source://webmock//lib/webmock/request_pattern.rb#156
1457
- def query_params_matches?(uri); end
1458
- end
1459
-
1460
- # source://webmock//lib/webmock/request_pattern.rb#169
1461
- class WebMock::URIRegexpPattern < ::WebMock::URIPattern
1462
- private
1463
-
1464
- # @return [Boolean]
1465
- #
1466
- # source://webmock//lib/webmock/request_pattern.rb#172
1467
- def pattern_matches?(uri); end
1468
- end
1469
-
1470
- # source://webmock//lib/webmock/request_pattern.rb#222
1471
- class WebMock::URIStringPattern < ::WebMock::URIPattern
1472
- # source://webmock//lib/webmock/request_pattern.rb#223
1473
- def add_query_params(query_params); end
1474
-
1475
- private
1476
-
1477
- # source://webmock//lib/webmock/request_pattern.rb#246
1478
- def pattern_inspect; end
1479
-
1480
- # @return [Boolean]
1481
- #
1482
- # source://webmock//lib/webmock/request_pattern.rb#234
1483
- def pattern_matches?(uri); end
1484
- end
1485
-
1486
- # source://webmock//lib/webmock/util/query_mapper.rb#3
1487
- module WebMock::Util; end
1488
-
1489
- # source://webmock//lib/webmock/util/hash_counter.rb#7
1490
- class WebMock::Util::HashCounter
1491
- # @return [HashCounter] a new instance of HashCounter
1492
- #
1493
- # source://webmock//lib/webmock/util/hash_counter.rb#10
1494
- def initialize; end
1495
-
1496
- # source://webmock//lib/webmock/util/hash_counter.rb#38
1497
- def each(&block); end
1498
-
1499
- # source://webmock//lib/webmock/util/hash_counter.rb#24
1500
- def get(key); end
1501
-
1502
- # Returns the value of attribute hash.
1503
- #
1504
- # source://webmock//lib/webmock/util/hash_counter.rb#8
1505
- def hash; end
1506
-
1507
- # Sets the attribute hash
1508
- #
1509
- # @param value the value to set the attribute hash to.
1510
- #
1511
- # source://webmock//lib/webmock/util/hash_counter.rb#8
1512
- def hash=(_arg0); end
1513
-
1514
- # source://webmock//lib/webmock/util/hash_counter.rb#17
1515
- def put(key, num = T.unsafe(nil)); end
1516
-
1517
- # source://webmock//lib/webmock/util/hash_counter.rb#30
1518
- def select(&block); end
1519
- end
1520
-
1521
- # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#5
1522
- class WebMock::Util::HashKeysStringifier
1523
- class << self
1524
- # source://webmock//lib/webmock/util/hash_keys_stringifier.rb#7
1525
- def stringify_keys!(arg, options = T.unsafe(nil)); end
1526
- end
1527
- end
1528
-
1529
- # source://webmock//lib/webmock/util/headers.rb#9
1530
- class WebMock::Util::Headers
1531
- class << self
1532
- # source://webmock//lib/webmock/util/headers.rb#61
1533
- def basic_auth_header(*credentials); end
1534
-
1535
- # source://webmock//lib/webmock/util/headers.rb#57
1536
- def decode_userinfo_from_header(header); end
1537
-
1538
- # source://webmock//lib/webmock/util/headers.rb#15
1539
- def normalize_headers(headers); end
1540
-
1541
- # source://webmock//lib/webmock/util/headers.rb#65
1542
- def normalize_name(name); end
1543
-
1544
- # source://webmock//lib/webmock/util/headers.rb#42
1545
- def pp_headers_string(headers); end
1546
-
1547
- # source://webmock//lib/webmock/util/headers.rb#28
1548
- def sorted_headers_string(headers); end
1549
- end
1550
- end
1551
-
1552
- # source://webmock//lib/webmock/util/headers.rb#13
1553
- WebMock::Util::Headers::JOIN = T.let(T.unsafe(nil), String)
1554
-
1555
- # source://webmock//lib/webmock/util/headers.rb#12
1556
- WebMock::Util::Headers::NONSTANDARD_HEADER_DELIMITER = T.let(T.unsafe(nil), String)
1557
-
1558
- # source://webmock//lib/webmock/util/headers.rb#11
1559
- WebMock::Util::Headers::STANDARD_HEADER_DELIMITER = T.let(T.unsafe(nil), String)
1560
-
1561
- # source://webmock//lib/webmock/util/json.rb#12
1562
- class WebMock::Util::JSON
1563
- class << self
1564
- # Ensure that ":" and "," are always followed by a space
1565
- #
1566
- # source://webmock//lib/webmock/util/json.rb#28
1567
- def convert_json_to_yaml(json); end
1568
-
1569
- # source://webmock//lib/webmock/util/json.rb#15
1570
- def parse(json); end
1571
-
1572
- # source://webmock//lib/webmock/util/json.rb#23
1573
- def unescape(str); end
1574
- end
1575
- end
1576
-
1577
- # source://webmock//lib/webmock/util/json.rb#13
1578
- class WebMock::Util::JSON::ParseError < ::StandardError; end
1579
-
1580
- # source://webmock//lib/webmock/util/query_mapper.rb#4
1581
- class WebMock::Util::QueryMapper
1582
- class << self
1583
- # source://webmock//lib/webmock/util/query_mapper.rb#81
1584
- def collect_query_hash(query_array, empty_accumulator, options); end
1585
-
1586
- # source://webmock//lib/webmock/util/query_mapper.rb#74
1587
- def collect_query_parts(query); end
1588
-
1589
- # source://webmock//lib/webmock/util/query_mapper.rb#221
1590
- def dehash(hash); end
1591
-
1592
- # source://webmock//lib/webmock/util/query_mapper.rb#106
1593
- def fill_accumulator_for_dot(accumulator, key, value); end
1594
-
1595
- # source://webmock//lib/webmock/util/query_mapper.rb#95
1596
- def fill_accumulator_for_flat(accumulator, key, value); end
1597
-
1598
- # source://webmock//lib/webmock/util/query_mapper.rb#102
1599
- def fill_accumulator_for_flat_array(accumulator, key, value); end
1600
-
1601
- # source://webmock//lib/webmock/util/query_mapper.rb#125
1602
- def fill_accumulator_for_subscript(accumulator, key, value); end
1603
-
1604
- # source://webmock//lib/webmock/util/query_mapper.rb#63
1605
- def normalize_query_hash(query_hash, empty_accumulator, options); end
1606
-
1607
- # Converts the query component to a Hash value.
1608
- #
1609
- # @example
1610
- # WebMock::Util::QueryMapper.query_to_values("?one=1&two=2&three=3")
1611
- # #=> {"one" => "1", "two" => "2", "three" => "3"}
1612
- # WebMock::Util::QueryMapper("?one[two][three]=four").query_values
1613
- # #=> {"one" => {"two" => {"three" => "four"}}}
1614
- # WebMock::Util::QueryMapper.query_to_values("?one.two.three=four",
1615
- # :notation => :dot
1616
- # )
1617
- # #=> {"one" => {"two" => {"three" => "four"}}}
1618
- # WebMock::Util::QueryMapper.query_to_values("?one[two][three]=four",
1619
- # :notation => :flat
1620
- # )
1621
- # #=> {"one[two][three]" => "four"}
1622
- # WebMock::Util::QueryMapper.query_to_values("?one.two.three=four",
1623
- # :notation => :flat
1624
- # )
1625
- # #=> {"one.two.three" => "four"}
1626
- # WebMock::Util::QueryMapper(
1627
- # "?one[two][three][]=four&one[two][three][]=five"
1628
- # )
1629
- # #=> {"one" => {"two" => {"three" => ["four", "five"]}}}
1630
- # WebMock::Util::QueryMapper.query_to_values(
1631
- # "?one=two&one=three").query_values(:notation => :flat_array)
1632
- # #=> [['one', 'two'], ['one', 'three']]
1633
- # @option [Symbol]
1634
- # @param [Symbol] [Hash] a customizable set of options
1635
- # @return [Hash, Array] The query string parsed as a Hash or Array object.
1636
- #
1637
- # source://webmock//lib/webmock/util/query_mapper.rb#42
1638
- def query_to_values(query, options = T.unsafe(nil)); end
1639
-
1640
- # new_query_values have form [['key1', 'value1'], ['key2', 'value2']]
1641
- #
1642
- # source://webmock//lib/webmock/util/query_mapper.rb#247
1643
- def to_query(parent, value, options = T.unsafe(nil)); end
1644
-
1645
- # Sets the query component for this URI from a Hash object.
1646
- # This method produces a query string using the :subscript notation.
1647
- # An empty Hash will result in a nil query.
1648
- #
1649
- # @param new_query_values [Hash, #to_hash, Array] The new query values.
1650
- #
1651
- # source://webmock//lib/webmock/util/query_mapper.rb#179
1652
- def values_to_query(new_query_values, options = T.unsafe(nil)); end
1653
- end
1654
- end
1655
-
1656
- # source://webmock//lib/webmock/util/uri.rb#7
1657
- class WebMock::Util::URI
1658
- class << self
1659
- # source://webmock//lib/webmock/util/uri.rb#67
1660
- def encode_unsafe_chars_in_userinfo(userinfo); end
1661
-
1662
- # source://webmock//lib/webmock/util/uri.rb#28
1663
- def heuristic_parse(uri); end
1664
-
1665
- # @return [Boolean]
1666
- #
1667
- # source://webmock//lib/webmock/util/uri.rb#71
1668
- def is_uri_localhost?(uri); end
1669
-
1670
- # source://webmock//lib/webmock/util/uri.rb#32
1671
- def normalize_uri(uri); end
1672
-
1673
- # source://webmock//lib/webmock/util/uri.rb#78
1674
- def sort_query_values(query_values); end
1675
-
1676
- # source://webmock//lib/webmock/util/uri.rb#59
1677
- def strip_default_port_from_uri_string(uri_string); end
1678
-
1679
- # source://webmock//lib/webmock/util/uri.rb#89
1680
- def uris_encoded_and_unencoded(uris); end
1681
-
1682
- # source://webmock//lib/webmock/util/uri.rb#83
1683
- def uris_with_inferred_port_and_without(uris); end
1684
-
1685
- # source://webmock//lib/webmock/util/uri.rb#98
1686
- def uris_with_scheme_and_without(uris); end
1687
-
1688
- # source://webmock//lib/webmock/util/uri.rb#104
1689
- def uris_with_trailing_slash_and_without(uris); end
1690
-
1691
- # source://webmock//lib/webmock/util/uri.rb#38
1692
- def variations_of_uri_as_strings(uri_object, only_with_scheme: T.unsafe(nil)); end
1693
- end
1694
- end
1695
-
1696
- # source://webmock//lib/webmock/util/uri.rb#12
1697
- WebMock::Util::URI::ADDRESSABLE_URIS = T.let(T.unsafe(nil), Hash)
1698
-
1699
- # source://webmock//lib/webmock/util/uri.rb#8
1700
- module WebMock::Util::URI::CharacterClasses; end
1701
-
1702
- # source://webmock//lib/webmock/util/uri.rb#9
1703
- WebMock::Util::URI::CharacterClasses::USERINFO = T.let(T.unsafe(nil), String)
1704
-
1705
- # source://webmock//lib/webmock/util/uri.rb#16
1706
- WebMock::Util::URI::NORMALIZED_URIS = T.let(T.unsafe(nil), Hash)
1707
-
1708
- # source://webmock//lib/webmock/util/values_stringifier.rb#3
1709
- class WebMock::Util::ValuesStringifier
1710
- class << self
1711
- # source://webmock//lib/webmock/util/values_stringifier.rb#4
1712
- def stringify_values(value); end
1713
- end
1714
- end
1715
-
1716
- # source://webmock//lib/webmock/version.rb#4
1717
- WebMock::VERSION = T.let(T.unsafe(nil), String)
1718
-
1719
- # source://webmock//lib/webmock/util/version_checker.rb#28
1720
- class WebMock::VersionChecker
1721
- # @return [VersionChecker] a new instance of VersionChecker
1722
- #
1723
- # source://webmock//lib/webmock/util/version_checker.rb#29
1724
- def initialize(library_name, library_version, min_patch_level, max_minor_version = T.unsafe(nil), unsupported_versions = T.unsafe(nil)); end
1725
-
1726
- # source://webmock//lib/webmock/util/version_checker.rb#45
1727
- def check_version!; end
1728
-
1729
- private
1730
-
1731
- # source://webmock//lib/webmock/util/version_checker.rb#109
1732
- def colorize(text, color_code); end
1733
-
1734
- # source://webmock//lib/webmock/util/version_checker.rb#86
1735
- def compare_version; end
1736
-
1737
- # source://webmock//lib/webmock/util/version_checker.rb#105
1738
- def parse_version(version); end
1739
-
1740
- # @return [Boolean]
1741
- #
1742
- # source://webmock//lib/webmock/util/version_checker.rb#57
1743
- def too_high?; end
1744
-
1745
- # @return [Boolean]
1746
- #
1747
- # source://webmock//lib/webmock/util/version_checker.rb#53
1748
- def too_low?; end
1749
-
1750
- # @return [Boolean]
1751
- #
1752
- # source://webmock//lib/webmock/util/version_checker.rb#61
1753
- def unsupported_version?; end
1754
-
1755
- # source://webmock//lib/webmock/util/version_checker.rb#98
1756
- def version_requirement; end
1757
-
1758
- # source://webmock//lib/webmock/util/version_checker.rb#70
1759
- def warn_about_too_high; end
1760
-
1761
- # source://webmock//lib/webmock/util/version_checker.rb#65
1762
- def warn_about_too_low; end
1763
-
1764
- # source://webmock//lib/webmock/util/version_checker.rb#76
1765
- def warn_about_unsupported_version; end
1766
-
1767
- # source://webmock//lib/webmock/util/version_checker.rb#82
1768
- def warn_in_red(text); end
1769
- end