smqacloud 0.0.2 → 0.0.3

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 +8 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3589e861e1602301882dfbc26f1ea328e4a3dc9
4
- data.tar.gz: 2ccb6ad9fba5abe3ae5874af71357d0e13931d7e
3
+ metadata.gz: 35c54ce2de5c390b1da148c960fe76a7c47057db
4
+ data.tar.gz: bd5b217f6b28ee5c54becaa04d97434067228390
5
5
  SHA512:
6
- metadata.gz: f8163a0fb4534ff8df0b77877800aee0cd27366b5163bd9af65f5c3b965103f7db90ee829132f4448c1aa70b74942f67c1bc58e798e71f6637957a34a99fd0aa
7
- data.tar.gz: baa6c93853f921ec882407a235a76a62f43d62f8613acfbb028709284303c3e88350c7cb37d6420eed82b7094a4f72707c9182e623c2ae27ab965266e4a54a06
6
+ metadata.gz: 40eefa8a186f8222ae91ea92d1782d136a4d7ffd6dae484fcb9c6adc1de72cd57123848c49c74e038b91f6a24dc45622e691e0252cd56ac8283e0da399245d3b
7
+ data.tar.gz: eb16c0b79f1cebcdb6cf4c94c73ac30993bc5e4faf0f119d076212e04b4cb4972c854f18bd17a5bfbbfa14aadc37d8fb354093cf1b224628f55cb846c749988b
data/lib/smqacloud.rb CHANGED
@@ -44,14 +44,16 @@ $add_variable = Hash.new
44
44
 
45
45
  if $var.has_key?("path") == true then
46
46
  if $var["path"].empty? == false then
47
- path = $var["path"]
47
+ path = $var["path"]
48
48
  end
49
49
  else
50
- path = $env["path"]
50
+ path = $env["path"]
51
51
  end
52
52
  req_all_scripts(path)
53
53
  dur1 = Time.now
54
- send($task_name)
54
+ taskName = $task_name
55
+ load "#{taskName}.rb"
56
+ # send($task_name)
55
57
 
56
58
  rescue Exception => e
57
59
 
@@ -111,7 +113,9 @@ $add_variable = Hash.new
111
113
  end
112
114
  req_all_scripts(path)
113
115
  dur1 = Time.now
114
- send($task_name)
116
+ taskName = $task_name
117
+ load "#{taskName}.rb"
118
+ # send($task_name)
115
119
 
116
120
  rescue Exception => e
117
121
  puts "Exception occured, Checkpoint should have more info."
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ravi Trivedi