scoutui 2.0.3.19.pre → 2.0.3.20.pre

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
  SHA1:
3
- metadata.gz: 00a1acf77b739a88af187528513463e7da2ff1ac
4
- data.tar.gz: c6159df60949f38ca5f7004af666cdce4b367394
3
+ metadata.gz: 0f8b3b89ed7280e1c3ed064613df3de9a62da11f
4
+ data.tar.gz: fcb03e4f72428bf31610714be073d45e779e880d
5
5
  SHA512:
6
- metadata.gz: 3a89c30738f2407fffce2946428f5a3ef5ea20766b98dc34b575d26dc755adad9aea94341c1cb1bdc9888fe14129f56774f4e89f4cbce33fa3e60fa0343c3473
7
- data.tar.gz: e82becf0c4a8cbda2f1e6963554c4bd2a38f14a67498b80cad2d50c45371fedb5235ad8111399e1e94baa5d7380785c63e6603f3ca912a99e6e6f3ec5088adbf
6
+ metadata.gz: a713c6073cef5f29b5903164af1d3ce5767ae740b2c45df8b4502ecc0e5b11808b92df8f84dbf267da99e1da64afea79f574c8b2ac78de7a6cc6faec8add4afa
7
+ data.tar.gz: 228af1b5a32bb45d76d6c9c2acf9566611bbfd481c4b83616565ac0e0567e92f9026547cb9ec09d75038786c0a9e0713d269594bff274b168fbe882e3027165f
@@ -90,7 +90,7 @@ module Scoutui::Base
90
90
  k=:password
91
91
  elsif k=='${host}'
92
92
  k=:host
93
- elsif k=='${lang}'
93
+ elsif k=='${lang}' || k=='${__LOC__}' || k=='${LOC}' || '__LOC__'
94
94
  k=:lang
95
95
  elsif k=='${browser}'
96
96
  k=:browser
@@ -133,11 +133,6 @@ module Scoutui::Base
133
133
  def getUserVar(_k)
134
134
  rc=nil
135
135
 
136
- if _k=='${LOC}' || user_var=='${__LOC__}'
137
- _k = :lang
138
- end
139
-
140
-
141
136
  if @userVars.has_key?(_k)
142
137
  rc=@userVars[_k]
143
138
  end
@@ -162,6 +157,12 @@ module Scoutui::Base
162
157
  if @globals.has_key?(k)
163
158
  rc=@globals[k].to_s
164
159
  end
160
+
161
+ ## TODO: refactor!
162
+ if rc.nil?
163
+ rc = get(k)
164
+ end
165
+
165
166
  rc
166
167
  end
167
168
 
@@ -398,7 +398,7 @@ module Scoutui::Base
398
398
  puts __FILE__ + (__LINE__).to_s + " Assert user variable - #{user_var} matches #{expected_v} => #{_uservar_val.match(expected_v)}"
399
399
 
400
400
 
401
- if _uservar_val.match(expected_v)
401
+ if _uservar_val.match(expected_v) || _uservar_val==expected_v
402
402
  # 5150
403
403
 
404
404
  Scoutui::Logger::LogMgr.instance.asserts.info __FILE__ + (__LINE__).to_s + "Verify conditional assertion #{_k} - #{!_obj.nil?}"
@@ -1,3 +1,3 @@
1
1
  module Scoutui
2
- VERSION = "2.0.3.19.pre"
2
+ VERSION = "2.0.3.20.pre"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scoutui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3.19.pre
4
+ version: 2.0.3.20.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Kim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-07 00:00:00.000000000 Z
11
+ date: 2016-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler