itms_automation 2.7.2 → 2.7.7

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: 8113d92ae42388d312d06addf7983729e8c339394101e42e5bf7696b157159ba
4
- data.tar.gz: 99c7336da205831dad925b554d538992031423b5d712c10722482708ad96075b
3
+ metadata.gz: a7916ef1a1a630922d53d189878ff3edf3b4466c199213842671795f632146da
4
+ data.tar.gz: ebca6f2d5493f54b14cb4ef55eff42b3681c85d5f113c2089cf60275cf81b137
5
5
  SHA512:
6
- metadata.gz: f5705b378186e404e89587da1b64d5b05dedbd3289120b73a209daef2598c2b5d4ce6055b007654be5fa38255ea098a6f145fa7bc4703c8846bd4cd3cbbf2099
7
- data.tar.gz: 6d8065f8be72393b605c9135c923a259fcbbdeab9e1fec1b71bd0a4137a9cdca846cbfa63b81526679bd9349e5cffb26b28e57c79125e0ac47c5cae5ee836f7f
6
+ metadata.gz: 244628234f2b20783afde4fb77e18f375aaad736f7182046fe86252a9c9f689b1ef068f394540a0d4868da68f8d16598c3484196138d1dd1e2831fe619c313c8
7
+ data.tar.gz: efdc15d496b32f9a100d0f56a3f303221abced561c2e5fc2aadd824477c8a42d6d446c705dbd3e6a4fc40348e2f4ba7e02a3a3a33450f0079750a888516233fe
@@ -103,14 +103,16 @@ def assert_selected_value
103
103
  end
104
104
 
105
105
  def assert(var_name, value)
106
- if (value == "true" || value == "false") {
106
+ if (value == "true" || value == "false")
107
107
  _value = value
108
- } elseif (value == '0' || !!number_or_nil(value)) {
108
+ else elseif (value == '0' || !!number_or_nil(value))
109
109
  _value = value
110
- }
111
- result = _value
112
- ? expect($vars[var_name]).to eq(_value)
113
- : expect($vars[var_name]).to eq(value)
110
+ end
111
+ result = if _value
112
+ expect($vars[var_name]).to eq(_value)
113
+ else
114
+ expect($vars[var_name]).to eq(value)
115
+ end
114
116
  end
115
117
 
116
118
  # Method to verify title
@@ -195,14 +197,16 @@ def verify_selected_value
195
197
  end
196
198
 
197
199
  def verify(var_name, value)
198
- if (value == "true" || value == "false") {
200
+ if (value == "true" || value == "false")
199
201
  _value = value
200
- } elseif (value == '0' || !!number_or_nil(value)) {
202
+ else elseif (value == '0' || !!number_or_nil(value))
201
203
  _value = value
202
- }
203
- result = _value
204
- ? expect($vars[var_name]).to eq(_value)
205
- : expect($vars[var_name]).to eq(value)
204
+ end
205
+ result = if _value
206
+ expect($vars[var_name]).to eq(_value)
207
+ else
208
+ expect($vars[var_name]).to eq(value)
209
+ end
206
210
  end
207
211
 
208
212
  # Method to find difference between images
@@ -1,5 +1,5 @@
1
1
  module ITMS
2
2
  module Automation
3
- VERSION = '2.7.2'
3
+ VERSION = '2.7.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itms_automation
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.2
4
+ version: 2.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - INFOdation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-09 00:00:00.000000000 Z
11
+ date: 2021-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: 3.1.2
20
20
  - - "~>"
21
21
  - !ruby/object:Gem::Version
22
- version: 5.2.0
22
+ version: 3.1.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 5.2.0
29
+ version: 3.1.2
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 5.2.0
32
+ version: 3.1.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: webdrivers
35
35
  requirement: !ruby/object:Gem::Requirement