smqacloud 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/smqacloud.rb +5 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec7e98aa45de0626e486e79d59f90cbf83c8c22a
4
- data.tar.gz: 548f14a9f4c4b2cfd419be4060c93c1e54e647b2
3
+ metadata.gz: ffd890a353e49f12565e7915806655dde97dd261
4
+ data.tar.gz: 1319e65d24c82df13a4f602087849a8d9c3a5afb
5
5
  SHA512:
6
- metadata.gz: dad6cf6415d5976ff672b45022ef56a6d70d1ca4c44cdebcebd365ddb19d8317c7fcf249304be6e03a4455944316c2ab46986a16e7f6419e2de2c8e3047e3267
7
- data.tar.gz: dd72802e7d65dbdd7d21844f56f728675b800b7c9015fcc06c3cf599824425b7e73db35987791068efdca84f23c7d1093aa5539f9261567792a83ec7b4a55f28
6
+ metadata.gz: 439fadec7200641934c7b4631fdc41b4b17997e99b042a7177ee625a7eba0e1f215627c44f020c2ed56be862c971f13713e6bd4408e04bed908b6169674883ff
7
+ data.tar.gz: 7bf8d0f22e973ce864a6ab435fbeb69b42a33a205c0215c9445bb6038290a114fd8f57d33939865f6eda8d7e3321d54deec170a61d87e1fbb5aca7b8845bd101
data/lib/smqacloud.rb CHANGED
@@ -7,10 +7,10 @@ require 'watir-webdriver'
7
7
 
8
8
  $fullTaskName = nil
9
9
  @found = false
10
+ @path_here = Dir.pwd
10
11
 
11
-
12
- def self.get_file_full_path(path,taskname)
13
- Dir.glob("#{path}/**/*.rb") do |rb_file|
12
+ def self.get_file_full_path(taskname)
13
+ Dir.glob("#{@path_here}/src/pageObjects/**/*.rb") do |rb_file|
14
14
  filename = File.basename(rb_file,File.extname(rb_file))
15
15
  if filename == taskname then
16
16
  $fullTaskName = rb_file
@@ -50,7 +50,7 @@ $add_variable = Hash.new
50
50
  begin
51
51
 
52
52
  dur1 = Time.now
53
- get_file_full_path($env["path"],$task_name)
53
+ get_file_full_path($task_name)
54
54
  begin
55
55
  load "#{$fullTaskName}"
56
56
  rescue => e
@@ -110,7 +110,7 @@ $add_variable = Hash.new
110
110
 
111
111
  dur1 = Time.now
112
112
  begin
113
- get_file_full_path($env["path"],$task_name)
113
+ get_file_full_path($task_name)
114
114
  rescue => e
115
115
  puts e
116
116
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smqacloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Trivedi