operawatir 0.3.7.pre2-jruby → 0.4-jruby

Sign up to get free protection for your applications and to get access to all the features.
data/AUTHORS CHANGED
@@ -1,7 +1,9 @@
1
+ Wilhelm Joys Andersen <wilhelmja@opera.com>
2
+ Jari Bakken <jari.bakken@gmail.com>
1
3
  Karianne Ekern <karianne.ekern@opera.com>
2
4
  Stuart Knightley <stuartk@opera.com>
5
+ James Livermont <jamesl@opera.com>
3
6
  Chris Lloyd <christopherl@opera.com>
4
7
  Adam Minchinton <adamm@opera.com>
5
8
  Andreas Tolf Tolfsen <andreastt@opera.com>
6
9
  Deniz Turkoglu <dturkoglu@opera.com>
7
-
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source :rubygems
3
3
  group :development do
4
4
  gem "bundler", "~> 1.0.0"
5
5
  gem "jeweler"
6
- gem "bluecloth", "= 1.0.1"
6
+ gem "BlueCloth", "= 1.0.1"
7
7
  gem "yard"
8
8
  gem "mongrel", ">= 1.1.5"
9
9
  gem "sinatra", ">= 1.1"
data/README.md CHANGED
@@ -2,24 +2,18 @@
2
2
 
3
3
  [OperaWatir](http://operawatir.org/) is a part of the [Watir](http://watir.com/) (pronounced _water_) family of free software Ruby libraries for automating web browsers. OperaWatir provides a querying engine and Ruby bindings for a backend Java library, OperaDriver, for driving the [Opera web browser](http://opera.com/). It aims for full compliance with the [watirspec](https://github.com/jarib/watirspec) specification.
4
4
 
5
- License:: [New BSD](https://github.com/operasoftware/operawatir/blob/master/LICENSE)
6
- Project Home:: [http://operawatir.org/](http://operawatir.org/)
7
- Source Code:: [https://github.com/operasoftware/operawatir](https://github.com/operasoftware/operawatir)
8
- Mailing List:: [https://list.opera.com/mailman/listinfo/operawatir-users](https://list.opera.com/mailman/listinfo/operawatir-users)
9
- Issues:: [https://github.com/operasoftware/operawatir/issues](https://github.com/operasoftware/operawatir/issues)
10
- Gem:: [https://rubygems.org/operawatir](http://rubygems.org/gems/operawatir)
5
+ * __License:__ [New BSD](https://github.com/operasoftware/operawatir/blob/master/LICENSE)
6
+ * __Project Home:__ [http://www.opera.com/developer/tools/operawatir/](http://www.opera.com/developer/tools/operawatir/)
7
+ * __Source Code:__ [https://github.com/operasoftware/operawatir](https://github.com/operasoftware/operawatir)
8
+ * __Mailing List:__ [https://list.opera.com/mailman/listinfo/operawatir-users](https://list.opera.com/mailman/listinfo/operawatir-users)
9
+ * __Issues:__ [https://github.com/operasoftware/operawatir/issues](https://github.com/operasoftware/operawatir/issues)
10
+ * __Gem:__ [https://rubygems.org/operawatir](http://rubygems.org/gems/operawatir)
11
11
 
12
12
  ## Third-Party Libraries
13
13
 
14
- OperaDriver uses the following third-party Java libraries:
15
-
16
- - [Google protobuf](http://code.google.com/p/protobuf/) (New BSD License)
17
- - [Apache Commons JXPath](http://commons.apache.org/jxpath/) (Apache 2.0 License)
18
-
19
- More information about the New BSD (AKA Modified BSD or BSD-3) and Apache 2.0 licenses can be found in the appropriate text files in ``lib/operadriver``.
20
-
21
14
  OperaWatir uses the following libraries:
22
15
 
16
+ - [OperaDriver](http://www.opera.com/developer/tools/operadriver/) (Apache 2.0 License)
23
17
  - [rspec](https://github.com/rspec/rspec) (MIT License)
24
18
  - [jeweler](https://github.com/technicalpickles/jeweler) (MIT License)
25
19
  - [rake](https://github.com/jimweirich/rake) (MIT License)
@@ -27,16 +21,23 @@ OperaWatir uses the following libraries:
27
21
  - [mongrel](http://rubyforge.org/projects/mongrel) (Ruby License)
28
22
  - [sinatra](http://www.sinatrarb.com/) (MIT License)
29
23
  - [rr](http://rubyforge.org/projects/double-ruby) (MIT License)
24
+ - [bluecloth](http://deveiate.org/projects/BlueCloth) (BSD License)
25
+ - [inifile](https://github.com/TwP/inifile) (MIT License)
26
+ - [clipboard](https://github.com/janlelis/clipboard) (MIT License)
27
+ - [activesupport](http://rubyonrails.org/) (MIT License)
28
+ - [i18n](https://github.com/svenfuchs/i18n) (MIT License)
29
+ - [deprecated](https://github.com/erikh/deprecated) (BSD License)
30
+ - [bundler](http://gembundler.com/) (MIT License)
30
31
 
31
32
  ## Install
32
33
 
33
34
  ### Requirements
34
35
 
35
- OperaWatir runs on GNU/Linux and Windows operating systems. Other UNIX-like systems, such as BSD and OS X, are not currently supported, but support is planned. Required dependencies are _Java_ >= 1.6.0, _JRuby_ >= 1.5.1 (ruby 1.8.7 patchlevel 249), _RubyGems_ >= 1.3.5, _RSpec_ >= 2.0.0, and a somewhat recent desktop or nightly build of Opera.
36
+ OperaWatir runs on GNU/Linux, Mac OS X and Windows operating systems. Required dependencies are _Java_ >= 1.6.0, _JRuby_ =< 1.5.5, _RubyGems_ >= 1.3.5, _RSpec_ = 2.4, and a somewhat recent desktop or nightly build of Opera. For Windows you must also have the Microsoft Visual C++ 2010 Redistributable Package (x86).
36
37
 
37
38
  ### Installation procedure
38
39
 
39
- Make sure that you have the right requirements for installing and running OperaWatir. Please note that OperaWatir will only run on the JRuby platform. For more detailed installation instructions, please see our [Getting Started](http://operasoftware.github.com/operawatir/tutorial.html) guide.
40
+ Make sure that you have the right requirements for installing and running OperaWatir. Please note that OperaWatir will only run on the JRuby platform. For more detailed installation instructions, please see our [Getting Started](http://dev.opera.com/articles/view/opera-watir-tutorial/) guide.
40
41
 
41
42
  To install (leave out the “sudo” command if you're installing on Windows):
42
43
 
@@ -148,11 +149,3 @@ Each block of code corresponds to a single named test case returning PASS or FAI
148
149
  2 examples, 0 failures
149
150
 
150
151
  If anything fails, more information about each failure will be provided.
151
-
152
- ## Merry Christmas!
153
-
154
- Despite its shortcomings, we hope you will enjoy playing around with the Watir libraries for using OperaDriver driving Opera. We decided that we would rather see it go out to the public before Christmas than waiting for another month or two until it is pristine and perfect.
155
-
156
- One of the things we are most excited about is the new Watir 2 API that we have made a prototype implementation of, which is based on [Jari Bakken's ideas for a new API](https://github.com/jarib/watir-webdriver/wiki/Comparison-with-Watir-1.X). On top of this, we have written a Watir 1 compatibility layer which is switched on by default. We are looking forward to the design discussions that this will bring. Oh, and by the way, will you be able to find the magic switch for Watir 2? (-;
157
-
158
- We hope you'll enjoy this little Christmas gift! Furthermore, we wish you a Merry Christmas and a Happy New Year from us here at Opera Software in Oslo!
data/Rakefile CHANGED
@@ -11,9 +11,9 @@ Jeweler::Tasks.new do |gem|
11
11
  gem.version = OperaWatir.version
12
12
  gem.date = Date.today.to_s
13
13
 
14
- gem.authors = ['Deniz Turkoglu', 'Andreas Tolf Tolfsen', 'Chris Lloyd', 'Stuart Knightley']
15
- gem.email = ['dturkoglu@opera.com', 'andreastt@opera.com', 'christopherl@opera.com', 'stuartk@opera.com']
16
- gem.homepage = 'http://operasoftware.github.com/operawatir'
14
+ gem.authors = ['Andreas Tolf Tolfsen', 'Chris Lloyd', 'Stuart Knightley', 'Deniz Turkoglu']
15
+ gem.email = ['andreastt@opera.com', 'christopherl@opera.com', 'stuartk@opera.com', 'dturkoglu@opera.com']
16
+ gem.homepage = 'http://www.opera.com/developer/tools/operawatir/'
17
17
  gem.summary = 'Toolkit for automating interactions with the Opera web browser.'
18
18
  gem.description = <<-EOF
19
19
  OperaWatir is a part of the Watir (pronounced water) family of
@@ -39,7 +39,7 @@ EOF
39
39
 
40
40
  gem.add_development_dependency 'jeweler'
41
41
  gem.add_development_dependency 'rake'
42
- gem.add_development_dependency 'bluecloth', '= 1.0.1'
42
+ gem.add_development_dependency 'BlueCloth', '= 1.0.1'
43
43
  gem.add_development_dependency 'yard'
44
44
  gem.add_development_dependency 'mongrel', '>= 1.1.5'
45
45
  gem.add_development_dependency 'sinatra', '>= 1.1'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.7.pre2
1
+ 0.4
@@ -46,23 +46,6 @@ class OperaWatir::Browser
46
46
  active_window.url = url
47
47
  end
48
48
 
49
- # Tells you whether the browser object exists. Note that this is
50
- # not the same as checking whether the object is connected to a
51
- # browser.
52
- #
53
- # @return [Boolean] Whether Browser object exists.
54
- def exists?
55
- true
56
- end
57
-
58
- # Query to see if the browser instance is still connected.
59
- #
60
- # @return [Boolean] Whether driver is still connected to browser
61
- # instance.
62
- def connected?
63
- driver.isConnected
64
- end
65
-
66
49
  # Instruct the browser instance to quit and shut down.
67
50
  def quit
68
51
  driver.shutdown
metadata CHANGED
@@ -1,24 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: operawatir
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
8
- - 7
9
- - pre2
10
- version: 0.3.7.pre2
7
+ - 4
8
+ version: "0.4"
11
9
  platform: jruby
12
10
  authors:
13
- - Deniz Turkoglu
14
11
  - Andreas Tolf Tolfsen
15
12
  - Chris Lloyd
16
13
  - Stuart Knightley
14
+ - Deniz Turkoglu
17
15
  autorequire:
18
16
  bindir: bin
19
17
  cert_chain: []
20
18
 
21
- date: 2011-02-08 00:00:00 +01:00
19
+ date: 2011-02-09 00:00:00 +01:00
22
20
  default_executable:
23
21
  dependencies:
24
22
  - !ruby/object:Gem::Dependency
@@ -48,7 +46,7 @@ dependencies:
48
46
  prerelease: false
49
47
  type: :development
50
48
  - !ruby/object:Gem::Dependency
51
- name: bluecloth
49
+ name: BlueCloth
52
50
  version_requirements: &id003 !ruby/object:Gem::Requirement
53
51
  requirements:
54
52
  - - "="
@@ -213,7 +211,7 @@ dependencies:
213
211
  prerelease: false
214
212
  type: :development
215
213
  - !ruby/object:Gem::Dependency
216
- name: bluecloth
214
+ name: BlueCloth
217
215
  version_requirements: &id016 !ruby/object:Gem::Requirement
218
216
  requirements:
219
217
  - - "="
@@ -291,10 +289,10 @@ dependencies:
291
289
  type: :development
292
290
  description: " OperaWatir is a part of the Watir (pronounced water) family of\n free software Ruby libraries for automating web\n browsers. OperaWatir provides a querying engine and Ruby bindings\n for a backend Java library, OperaDriver, for driving the Opera web\n browser. It aims for full compliancy with the watirspec\n specification.\n"
293
291
  email:
294
- - dturkoglu@opera.com
295
292
  - andreastt@opera.com
296
293
  - christopherl@opera.com
297
294
  - stuartk@opera.com
295
+ - dturkoglu@opera.com
298
296
  executables:
299
297
  - desktopwatir
300
298
  - operawatir
@@ -502,7 +500,7 @@ files:
502
500
  - utils/formatters/operahelper_formatter.rb
503
501
  - utils/formatters/spartan_formatter.rb
504
502
  has_rdoc: true
505
- homepage: http://operasoftware.github.com/operawatir
503
+ homepage: http://www.opera.com/developer/tools/operawatir/
506
504
  licenses: []
507
505
 
508
506
  post_install_message:
@@ -521,13 +519,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
521
519
  version: 1.8.7
522
520
  required_rubygems_version: !ruby/object:Gem::Requirement
523
521
  requirements:
524
- - - ">"
522
+ - - ">="
525
523
  - !ruby/object:Gem::Version
526
524
  segments:
527
- - 1
528
- - 3
529
- - 1
530
- version: 1.3.1
525
+ - 0
526
+ version: "0"
531
527
  requirements: []
532
528
 
533
529
  rubyforge_project: operawatir