awetestlib 0.1.1-x86-mingw32 → 0.1.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,8 @@ Gem::Specification.new do |s|
30
30
  s.add_dependency('multipart-post', '1.1.4')
31
31
  s.add_dependency('selenium-webdriver')
32
32
  s.add_dependency('nokogiri')
33
-
33
+ s.add_dependency('i18n')
34
+ s.add_dependency('rb-appscript')
34
35
 
35
36
  s.require_paths = ["lib"] #,"ext"]
36
37
  s.files = `git ls-files`.split("\n")
@@ -93,7 +93,7 @@ module Awetestlib
93
93
  @targetBrowser = browser_to_use(options[:browser], options[:version])
94
94
  @targetVersion = @targetBrowser.version
95
95
  @browserAbbrev = @targetBrowser.abbrev
96
- @myRoot = USING_WINDOWS ? options[:root_path].gsub!('/', '\\') : options[:root_path]
96
+ @myRoot = options[:root_path]
97
97
  @myName = File.basename(options[:script_file]).sub(/\.rb$/, '')
98
98
 
99
99
  if options[:output_to_log]
@@ -165,14 +165,14 @@ module Awetestlib
165
165
 
166
166
  # load and extend with library module if it exists
167
167
  if options[:library]
168
- lib_file = File.join @myRoot, options[:library]
168
+ lib_file = options[:library]
169
169
  load lib_file # force a fresh load
170
170
  lib_module = module_for lib_file
171
171
  self.extend(lib_module)
172
172
  end
173
173
 
174
174
  # load and extend with script
175
- script_file = File.join @myRoot, options[:script_file]
175
+ script_file = options[:script_file]
176
176
  load script_file # force a fresh load
177
177
  runner_module = module_for script_file
178
178
  self.extend(runner_module)
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Awetestlib
2
- VERSION = "0.1.1"
3
- VERSION_DATE = "2012-08-14"
2
+ VERSION = "0.1.2"
3
+ VERSION_DATE = "2012-08-15"
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awetestlib
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - Anthony Woo
@@ -16,8 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-08-14 00:00:00 -07:00
20
- default_executable:
19
+ date: 2012-08-15 00:00:00 Z
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: watir-webdriver
@@ -303,7 +302,6 @@ files:
303
302
  - test/google_search2.rb
304
303
  - test/zoho_util.rb
305
304
  - test/zoho_variables.xls
306
- has_rdoc: true
307
305
  homepage: http://3qilabs.com
308
306
  licenses: []
309
307
 
@@ -333,7 +331,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
331
  requirements: []
334
332
 
335
333
  rubyforge_project:
336
- rubygems_version: 1.5.2
334
+ rubygems_version: 1.8.11
337
335
  signing_key:
338
336
  specification_version: 3
339
337
  summary: Awetest DSL for automated testing of browser-based applications.