itms_automation 2.7.6 → 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: 1d59d0694d3201fa93f0ea8fdbd787400d6f79753fb9759e3c54772d641ae7fd
4
- data.tar.gz: 8eb5466b6ae94727f5142fb678a8e1a7c545e4c448006669d3e08ace9fcb6338
3
+ metadata.gz: a7916ef1a1a630922d53d189878ff3edf3b4466c199213842671795f632146da
4
+ data.tar.gz: ebca6f2d5493f54b14cb4ef55eff42b3681c85d5f113c2089cf60275cf81b137
5
5
  SHA512:
6
- metadata.gz: 9ace8095d996cafd7ecc92fa453263c0bc3c98f07af485c7bc743a65f57d1ad2139951a25af9a1eb004e266d1f37ba118daf747d7a710b945369b6bfeb36172d
7
- data.tar.gz: 7a95c3ce305418b022778fd1c003c2dc5d6d0f42294bfd6351c96cbc20b67298015e4f1cf505d0a9196b56fa2232aac02e2a0e757a24988ac747591ad1762b7d
6
+ metadata.gz: 244628234f2b20783afde4fb77e18f375aaad736f7182046fe86252a9c9f689b1ef068f394540a0d4868da68f8d16598c3484196138d1dd1e2831fe619c313c8
7
+ data.tar.gz: efdc15d496b32f9a100d0f56a3f303221abced561c2e5fc2aadd824477c8a42d6d446c705dbd3e6a4fc40348e2f4ba7e02a3a3a33450f0079750a888516233fe
@@ -108,9 +108,11 @@ def assert(var_name, value)
108
108
  else elseif (value == '0' || !!number_or_nil(value))
109
109
  _value = value
110
110
  end
111
- result = _value
112
- ? expect($vars[var_name]).to eq(_value)
113
- : expect($vars[var_name]).to eq(value)
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
@@ -200,9 +202,11 @@ def verify(var_name, value)
200
202
  else elseif (value == '0' || !!number_or_nil(value))
201
203
  _value = value
202
204
  end
203
- result = _value
204
- ? expect($vars[var_name]).to eq(_value)
205
- : expect($vars[var_name]).to eq(value)
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.6'
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.6
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-12 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