eyes_core 3.15.27 → 3.15.28

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58239a7bfafde01210c45a60d03b7bcbf792d87b23fa5ffde405f3fa47393490
4
- data.tar.gz: c98cc30a62645190fecea796bf886513ed83381356eac8a27a6384656c314f0f
3
+ metadata.gz: eeb9213818dd4b1712eb9d5b18fad2d232f760d6ffb2acaaf6872f7eb0e91e25
4
+ data.tar.gz: f083991a4791f5e2086a3cb7f9463282de13016e21357f15da837c8cf3a48551
5
5
  SHA512:
6
- metadata.gz: de100c7664733c56b987e0eec8e0b7c590d80d468b58355baa94064e832c8db97e53e648b5092523185247a1558745b64a0829bd0d8cd23923866e3b0e8d9ee9
7
- data.tar.gz: fd048129d93cf029c1f7e487e603d2f7a992a1e8ad6ad5bf00ed5c0b72500b3f771f3e96547a316750a567ad48b2546b0aa9d9b70e4b2ae27655ccd221ea9b20
6
+ metadata.gz: e65115ce5ed5328e07d682061effbdda82b1537130830f1cb628453c29a84172de4bcf230d0afcd006af6f6a9d7c04a631ecbd23e00ac79d7ab724db4e732e19
7
+ data.tar.gz: 60806d9a8369895aacb34090496ab8b6f60f4c61b96c7e840d554cc62165abf085d66c86e225872d6e3b076bb18cebfca0e0081254cbb943af65610efa7ebee3
@@ -334,102 +334,3 @@ module Applitools::Connectivity
334
334
  end
335
335
  end
336
336
 
337
- #
338
- # /**
339
- # *
340
- # * @return The server timeout. (Seconds).
341
- # */
342
- # int getTimeout();
343
- #
344
- #
345
- # /**
346
- # * Deletes the given test result
347
- # *
348
- # * @param testResults The session to delete by test results.
349
- # * @throws EyesException the exception is being thrown when deleteSession failed
350
- # */
351
- # void deleteSession(TestResults testResults);
352
- #
353
- #
354
- # /**
355
- # * Downloads string from a given Url
356
- # *
357
- # * @param uri The URI from which the IServerConnector will download the string
358
- # * @param isSecondRetry Indicates if a retry is mandatory onFailed - 2 retries per request
359
- # * @param listener the listener will be called when the request will be resolved.
360
- # */
361
- # void downloadString(URL uri, boolean isSecondRetry, IDownloadListener<String> listener);
362
- #
363
- # /**
364
- # * Downloads string from a given Url.
365
- # *
366
- # * @param uri The URI from which the IServerConnector will download the string
367
- # * @param isSecondRetry Indicates if a retry is mandatory onFailed - 2 retries per request
368
- # * @param listener the listener will be called when the request will be resolved.
369
- # * @return A future which will be resolved when the resources is downloaded.
370
- # */
371
- # IResourceFuture downloadResource(URL uri, boolean isSecondRetry, IDownloadListener<Byte[]> listener);
372
- #
373
- #
374
- # /**
375
- # * Posting the DOM snapshot to the server and returns
376
- # * @param domJson JSON as String.
377
- # * @return URL to the JSON that is stored by the server.
378
- # */
379
- # String postDomSnapshot(String domJson);
380
- #
381
- #
382
- # /**
383
- # * @return the render info from the server to be used later on.
384
- # */
385
- # RenderingInfo getRenderInfo();
386
- #
387
- # /**
388
- # * Initiate a rendering using RenderingGrid API
389
- # *
390
- # * @param renderRequests renderRequest The current agent's running session.
391
- # * @return {@code List<RunningRender>} The results of the render request
392
- # */
393
- # List<RunningRender> render(RenderRequest... renderRequests);
394
- #
395
- # /**
396
- # * Check if resource exists on the server
397
- # *
398
- # * @param runningRender The running render (for second request only)
399
- # * @param resource The resource to use
400
- # * @return Whether resource exists on the server or not
401
- # */
402
- # boolean renderCheckResource(RunningRender runningRender, RGridResource resource);
403
- #
404
- # /**
405
- # * Upload resource to the server
406
- # *
407
- # * @param runningRender The running render (for second request only)
408
- # * @param resource The resource to upload
409
- # * @param listener The callback wrapper for the upload result.
410
- # * @return true if resource was uploaded
411
- # */
412
- # PutFuture renderPutResource(RunningRender runningRender, RGridResource resource, IResourceUploadListener listener);
413
- #
414
- # /**
415
- # * Get the rendering status for current render
416
- # *
417
- # * @param runningRender The running render
418
- # * @return RenderStatusResults The render's status
419
- # */
420
- # RenderStatusResults renderStatus(RunningRender runningRender);
421
- #
422
- # /**
423
- # * Get the rendering status for current render
424
- # *
425
- # * @param renderIds The running renderId
426
- # * @return The render's status
427
- # */
428
- # List<RenderStatusResults> renderStatusById(String... renderIds);
429
- #
430
- # IResourceFuture createResourceFuture(RGridResource gridResource);
431
- #
432
- # void setRenderingInfo(RenderingInfo renderInfo);
433
-
434
-
435
-
@@ -117,50 +117,6 @@ module Applitools
117
117
  @server_connector
118
118
  end
119
119
 
120
- # Sets default match_level which will be applied to any test, unless match_level is set for a test explicitly
121
- # @param [Symbol] value Can be one of allowed match levels - :none, :layout, :layout2, :content, :strict or :exact
122
- # @param [Hash] exact_options exact options are used only for :exact match level
123
- # @option exact_options [Integer] :min_diff_intensity
124
- # @option exact_options [Integer] :min_diff_width
125
- # @option exact_options [Integer] :min_diff_height
126
- # @option exact_options [Integer] :match_threshold
127
- # @return [Target] Applitools::Selenium::Target or Applitools::Images::target
128
-
129
- # def set_default_match_settings(value, exact_options = {})
130
- # (self.match_level, self.exact) = match_level_with_exact(value, exact_options)
131
- # end
132
-
133
- # Sets default match settings
134
- # @param [Hash] value
135
- # @option value [Symbol] match_level
136
- # @option value [Hash] exact exact values. Available keys are 'MinDiffIntensity', 'MinDiffWidth', 'MinDiffHeight', 'MatchThreshold'
137
- # @option value [Fixnum] scale
138
- # @option value [Fixnum] remainder
139
-
140
- # def default_match_settings=(value)
141
- # Applitools::ArgumentGuard.is_a? value, 'value', Hash
142
- # extra_keys = value.keys - match_level_keys
143
- # unless extra_keys.empty?
144
- # raise Applitools::EyesIllegalArgument.new(
145
- # "Pasiing extra keys is prohibited! Passed extra keys: #{extra_keys}"
146
- # )
147
- # end
148
- # result = default_match_settings.merge!(value)
149
- # (self.match_level, self.exact) = match_level_with_exact(result[:match_level], result[:exact])
150
- # self.server_scale = result[:scale]
151
- # self.server_remainder = result[:remainder]
152
- # result
153
- # end
154
- #
155
- # def default_match_settings
156
- # {
157
- # match_level: match_level,
158
- # exact: exact,
159
- # scale: server_scale,
160
- # remainder: server_remainder
161
- # }
162
- # end
163
-
164
120
  def full_agent_id
165
121
  if !agent_id.nil? && !agent_id.empty?
166
122
  "#{agent_id} [#{base_agent_id}]"
@@ -54,45 +54,6 @@ module Applitools
54
54
  end
55
55
  end
56
56
 
57
- # def rectangle_size_field(field_name)
58
- # collect_method field_name
59
- # define_method(field_name) do
60
- # return Applitools::RectangleSize.from_hash(width: 0, height: 0) unless config_hash[field_name.to_sym].is_a? Applitools::RectangleSize
61
- # config_hash[field_name.to_sym]
62
- # end
63
- #
64
- # define_method("#{field_name}=") do |*args|
65
- # value = args.shift
66
- # raise Applitools::EyesIllegalArgument, "Expected #{field_name} to be an Applitools::RectangleClass but got #{value.class} instead" unless value.is_a? Applitools::RectangleSize
67
- # config_hash[field_name.to_sym] = value
68
- # end
69
- #
70
- # define_method("defined_#{field_name}?") do
71
- # send(field_name).square > 0
72
- # end
73
- # end
74
-
75
- # def batch_info_field(field_name)
76
- # collect_method field_name
77
- # define_method(field_name) do
78
- # config_hash[field_name.to_sym]
79
- # end
80
- #
81
- # define_method("#{field_name}=") do |*args|
82
- # value = args.shift
83
- # raise(
84
- # Applitools::EyesIllegalArgument,
85
- # "Expected Applitools::BatchInfo but got #{value.class}"
86
- # ) unless value.is_a? Applitools::BatchInfo
87
- # config_hash[field_name.to_sym] = value
88
- # end
89
- #
90
- # define_method("defined_#{field_name}?") do
91
- # value = send(field_name)
92
- # value.is_a? Applitools::BatchInfo
93
- # end
94
- # end
95
-
96
57
  def object_field(field_name, klass)
97
58
  collect_method field_name
98
59
  define_method(field_name) do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Applitools
4
- VERSION = '3.15.27'.freeze
4
+ VERSION = '3.15.28'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.15.27
4
+ version: 3.15.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-30 00:00:00.000000000 Z
11
+ date: 2019-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oily_png