operawatir 0.4.1.pre1-jruby → 0.4.1.pre2-jruby
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/operawatir/element.rb +2 -2
- data/operawatir.gemspec +10 -11
- data/spec/watir2/browser_spec.rb +2 -0
- metadata +6 -6
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.1.
|
1
|
+
0.4.1.pre2
|
data/lib/operawatir/element.rb
CHANGED
@@ -137,10 +137,10 @@ class OperaWatir::Element
|
|
137
137
|
|
138
138
|
def_delegator :node, :submit, :submit!
|
139
139
|
|
140
|
-
def text=(
|
140
|
+
def text=(input)
|
141
141
|
# Focus before typing
|
142
142
|
clear unless value.empty?
|
143
|
-
node.sendKeys(
|
143
|
+
node.sendKeys(input.to_s.split('').to_java(:string))
|
144
144
|
end
|
145
145
|
|
146
146
|
alias_method :set, :text=
|
data/operawatir.gemspec
CHANGED
@@ -5,18 +5,18 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{operawatir}
|
8
|
-
s.version = "0.4.1.
|
8
|
+
s.version = "0.4.1.pre2"
|
9
9
|
s.platform = %q{jruby}
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Andreas Tolf Tolfsen", "Chris Lloyd", "Stuart Knightley", "Deniz Turkoglu"]
|
13
|
-
s.date = %q{2011-03-
|
13
|
+
s.date = %q{2011-03-08}
|
14
14
|
s.description = %q{ OperaWatir is a part of the Watir (pronounced water) family of
|
15
|
-
free software Ruby libraries for automating web
|
16
|
-
|
17
|
-
|
18
|
-
browser. It aims for full compliancy with the
|
19
|
-
|
15
|
+
free software Ruby libraries for automating web browsers.
|
16
|
+
OperaWatir provides a querying engine and Ruby bindings for a
|
17
|
+
backend Java library, OperaDriver, for driving the Opera web
|
18
|
+
browser. It aims for full compliancy with the Watir 2 and Watir 3
|
19
|
+
specifications.
|
20
20
|
}
|
21
21
|
s.email = ["andreastt@opera.com", "christopherl@opera.com", "stuartk@opera.com", "dturkoglu@opera.com"]
|
22
22
|
s.executables = ["desktopwatir", "operawatir"]
|
@@ -241,7 +241,6 @@ Gem::Specification.new do |s|
|
|
241
241
|
]
|
242
242
|
s.homepage = %q{http://www.opera.com/developer/tools/operawatir/}
|
243
243
|
s.require_paths = ["lib"]
|
244
|
-
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
245
244
|
s.rubyforge_project = %q{operawatir}
|
246
245
|
s.rubygems_version = %q{1.3.6}
|
247
246
|
s.summary = %q{Toolkit for automating interactions with the Opera web browser.}
|
@@ -360,7 +359,7 @@ Gem::Specification.new do |s|
|
|
360
359
|
s.add_development_dependency(%q<sinatra>, [">= 1.1"])
|
361
360
|
s.add_development_dependency(%q<rr>, [">= 0"])
|
362
361
|
s.add_development_dependency(%q<clipboard>, [">= 0"])
|
363
|
-
s.add_runtime_dependency(%q<rspec>, ["
|
362
|
+
s.add_runtime_dependency(%q<rspec>, [">= 2.4"])
|
364
363
|
s.add_runtime_dependency(%q<deprecated>, [">= 0"])
|
365
364
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
366
365
|
s.add_development_dependency(%q<rake>, [">= 0"])
|
@@ -379,7 +378,7 @@ Gem::Specification.new do |s|
|
|
379
378
|
s.add_dependency(%q<sinatra>, [">= 1.1"])
|
380
379
|
s.add_dependency(%q<rr>, [">= 0"])
|
381
380
|
s.add_dependency(%q<clipboard>, [">= 0"])
|
382
|
-
s.add_dependency(%q<rspec>, ["
|
381
|
+
s.add_dependency(%q<rspec>, [">= 2.4"])
|
383
382
|
s.add_dependency(%q<deprecated>, [">= 0"])
|
384
383
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
385
384
|
s.add_dependency(%q<rake>, [">= 0"])
|
@@ -399,7 +398,7 @@ Gem::Specification.new do |s|
|
|
399
398
|
s.add_dependency(%q<sinatra>, [">= 1.1"])
|
400
399
|
s.add_dependency(%q<rr>, [">= 0"])
|
401
400
|
s.add_dependency(%q<clipboard>, [">= 0"])
|
402
|
-
s.add_dependency(%q<rspec>, ["
|
401
|
+
s.add_dependency(%q<rspec>, [">= 2.4"])
|
403
402
|
s.add_dependency(%q<deprecated>, [">= 0"])
|
404
403
|
s.add_dependency(%q<jeweler>, [">= 0"])
|
405
404
|
s.add_dependency(%q<rake>, [">= 0"])
|
data/spec/watir2/browser_spec.rb
CHANGED
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 0
|
7
7
|
- 4
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.4.1.
|
9
|
+
- pre2
|
10
|
+
version: 0.4.1.pre2
|
11
11
|
platform: jruby
|
12
12
|
authors:
|
13
13
|
- Andreas Tolf Tolfsen
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2011-03-
|
21
|
+
date: 2011-03-08 00:00:00 +01:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
@@ -128,12 +128,12 @@ dependencies:
|
|
128
128
|
name: rspec
|
129
129
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
|
-
- -
|
131
|
+
- - ">="
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
segments:
|
134
134
|
- 2
|
135
|
-
-
|
136
|
-
version: "2.
|
135
|
+
- 4
|
136
|
+
version: "2.4"
|
137
137
|
requirement: *id009
|
138
138
|
prerelease: false
|
139
139
|
type: :runtime
|