robotok 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/robotok +2 -2
  2. data/lib/robotok/version.rb +1 -1
  3. metadata +1 -1
data/bin/robotok CHANGED
@@ -145,6 +145,8 @@ def actions(args)
145
145
  $config[:args] = args
146
146
 
147
147
  cfg[:actions].each do |action,opts|
148
+ stop() if not opts[:quit].nil?
149
+ $driver.navigate.to opts[:url] if not opts[:url].nil?
148
150
 
149
151
  if not $config[:args].nil? and not $config[:args].empty? then
150
152
  if not $config[:args].include?(action.to_s) then
@@ -152,8 +154,6 @@ def actions(args)
152
154
  next
153
155
  end
154
156
  end
155
- stop() if not opts[:quit].nil?
156
- $driver.navigate.to opts[:url] if not opts[:url].nil?
157
157
 
158
158
  if not opts[:timeout].nil? then
159
159
  wait = Selenium::WebDriver::Wait.new(:timeout => opts[:timeout][:sec]) # seconds
@@ -1,3 +1,3 @@
1
1
  module Robotok
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robotok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: