operawatir 0.5.pre3-jruby → 0.5.1-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/CHANGES +14 -0
- data/VERSION +1 -1
- data/lib/operadriver/operadriver-v0.7.3.jar +0 -0
- data/lib/operadriver/protobuf-java-2.4.1.jar +0 -0
- data/lib/operawatir.rb +2 -2
- data/operawatir.gemspec +6 -5
- data/utils/formatters/new_spartan_formatter.rb +49 -0
- metadata +8 -7
- data/lib/operadriver/operadriver-v0.7.2.jar +0 -0
- data/lib/operadriver/protobuf-java-2.3.0.jar +0 -0
    
        data/CHANGES
    CHANGED
    
    | @@ -1,3 +1,17 @@ | |
| 1 | 
            +
            v0.5.1       2011-09-20
         | 
| 2 | 
            +
             | 
| 3 | 
            +
              [OTHER]
         | 
| 4 | 
            +
             | 
| 5 | 
            +
              * Upgraded to OperaDriver v0.7.2.  (andreastt)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
              * Upgraded to protobuffers v2.4.1.  (andreastt)
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            v0.5         2011-09-12
         | 
| 10 | 
            +
             | 
| 11 | 
            +
              [OTHER]
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              * Pushed final version 0.5.  (andreastt)
         | 
| 14 | 
            +
             | 
| 1 15 | 
             
            v0.5.pre3    2011-09-09
         | 
| 2 16 |  | 
| 3 17 | 
             
              [BUG FIXES]
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.5. | 
| 1 | 
            +
            0.5.1
         | 
| Binary file | 
| Binary file | 
    
        data/lib/operawatir.rb
    CHANGED
    
    | @@ -4,8 +4,8 @@ require 'deprecated' | |
| 4 4 | 
             
            require 'java'
         | 
| 5 5 | 
             
            include Java
         | 
| 6 6 |  | 
| 7 | 
            -
            %w(commons-jxpath-1.3.jar protobuf-java-2. | 
| 8 | 
            -
               operadriver-v0.7. | 
| 7 | 
            +
            %w(commons-jxpath-1.3.jar protobuf-java-2.4.1.jar selenium-nodeps-20100909.jar
         | 
| 8 | 
            +
               operadriver-v0.7.3.jar commons-io-2.0.1.jar guava-r09.jar).each { |jar| require "operadriver/#{jar}" }
         | 
| 9 9 |  | 
| 10 10 | 
             
            include_class org.openqa.selenium.WebDriver
         | 
| 11 11 | 
             
            include_class org.openqa.selenium.remote.RemoteWebElement
         | 
    
        data/operawatir.gemspec
    CHANGED
    
    | @@ -5,12 +5,12 @@ | |
| 5 5 |  | 
| 6 6 | 
             
            Gem::Specification.new do |s|
         | 
| 7 7 | 
             
              s.name = %q{operawatir}
         | 
| 8 | 
            -
              s.version = "0.5. | 
| 8 | 
            +
              s.version = "0.5.1"
         | 
| 9 9 | 
             
              s.platform = %q{jruby}
         | 
| 10 10 |  | 
| 11 | 
            -
              s.required_rubygems_version = Gem::Requirement.new(" | 
| 11 | 
            +
              s.required_rubygems_version = Gem::Requirement.new(">= 0") 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-09- | 
| 13 | 
            +
              s.date = %q{2011-09-20}
         | 
| 14 14 | 
             
              s.description = %q{    OperaWatir is a part of the Watir (pronounced water) family of
         | 
| 15 15 | 
             
                free software Ruby libraries for automating web browsers.
         | 
| 16 16 | 
             
                OperaWatir provides a querying engine and Ruby bindings for a
         | 
| @@ -40,8 +40,8 @@ Gem::Specification.new do |s| | |
| 40 40 | 
             
                "lib/operadriver/commons-io-2.0.1.jar",
         | 
| 41 41 | 
             
                "lib/operadriver/commons-jxpath-1.3.jar",
         | 
| 42 42 | 
             
                "lib/operadriver/guava-r09.jar",
         | 
| 43 | 
            -
                "lib/operadriver/operadriver-v0.7. | 
| 44 | 
            -
                "lib/operadriver/protobuf-java-2. | 
| 43 | 
            +
                "lib/operadriver/operadriver-v0.7.3.jar",
         | 
| 44 | 
            +
                "lib/operadriver/protobuf-java-2.4.1.jar",
         | 
| 45 45 | 
             
                "lib/operadriver/selenium-nodeps-20100909.jar",
         | 
| 46 46 | 
             
                "lib/operawatir.rb",
         | 
| 47 47 | 
             
                "lib/operawatir/actions.rb",
         | 
| @@ -287,6 +287,7 @@ Gem::Specification.new do |s| | |
| 287 287 | 
             
                "spec/watir2/watir_compatibility_spec.rb",
         | 
| 288 288 | 
             
                "spec/watir2/watirspec_helper.rb",
         | 
| 289 289 | 
             
                "utils/Rakefile",
         | 
| 290 | 
            +
                "utils/formatters/new_spartan_formatter.rb",
         | 
| 290 291 | 
             
                "utils/formatters/operahelper_formatter.rb",
         | 
| 291 292 | 
             
                "utils/formatters/spartan_formatter.rb"
         | 
| 292 293 | 
             
              ]
         | 
| @@ -0,0 +1,49 @@ | |
| 1 | 
            +
            # SpartanFormatter is intended for use with Opera's internal testing
         | 
| 2 | 
            +
            # environment SPARTAN.
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'rspec/core/formatters/base_text_formatter'
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            class SpartanFormatter < RSpec::Core::Formatters::BaseTextFormatter
         | 
| 7 | 
            +
             | 
| 8 | 
            +
              def initialize(output)
         | 
| 9 | 
            +
                super(output)
         | 
| 10 | 
            +
                @groups = []
         | 
| 11 | 
            +
              end
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              def example_group_started(example_group)
         | 
| 14 | 
            +
                @groups.push example_group.description
         | 
| 15 | 
            +
              end
         | 
| 16 | 
            +
             | 
| 17 | 
            +
              def example_group_finished(example_group)
         | 
| 18 | 
            +
                @groups.pop
         | 
| 19 | 
            +
              end
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              def example_passed(example)
         | 
| 22 | 
            +
                concat_name(example.description, "PASS")
         | 
| 23 | 
            +
              end
         | 
| 24 | 
            +
             | 
| 25 | 
            +
              def example_failed(example, counter = 0, failure = "")
         | 
| 26 | 
            +
                concat_name(example.description, "FAIL")
         | 
| 27 | 
            +
              end
         | 
| 28 | 
            +
             | 
| 29 | 
            +
              def example_pending(example, message = "", deprecated_pending_location=nil)
         | 
| 30 | 
            +
                concat_name(example.description, "FAIL")
         | 
| 31 | 
            +
              end
         | 
| 32 | 
            +
             | 
| 33 | 
            +
              def dump_summary(duration, example_count, failure_count, pending_count); end
         | 
| 34 | 
            +
              def dump_pending; end
         | 
| 35 | 
            +
              def dump_failure(counter, failure); end
         | 
| 36 | 
            +
              # Suppress all other messages
         | 
| 37 | 
            +
              def message(message) end
         | 
| 38 | 
            +
             | 
| 39 | 
            +
              private
         | 
| 40 | 
            +
             | 
| 41 | 
            +
              def concat_name(name, status)
         | 
| 42 | 
            +
                name = (@groups + [name]).join('#')
         | 
| 43 | 
            +
             | 
| 44 | 
            +
                message = "#{name}\t#{status}\n"
         | 
| 45 | 
            +
                output.puts(message)
         | 
| 46 | 
            +
                output.flush
         | 
| 47 | 
            +
              end
         | 
| 48 | 
            +
             | 
| 49 | 
            +
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,8 +1,8 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: operawatir
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              prerelease:  | 
| 5 | 
            -
              version: 0.5. | 
| 4 | 
            +
              prerelease: 
         | 
| 5 | 
            +
              version: 0.5.1
         | 
| 6 6 | 
             
            platform: jruby
         | 
| 7 7 | 
             
            authors: 
         | 
| 8 8 | 
             
              - Andreas Tolf Tolfsen
         | 
| @@ -13,7 +13,7 @@ autorequire: | |
| 13 13 | 
             
            bindir: bin
         | 
| 14 14 | 
             
            cert_chain: []
         | 
| 15 15 |  | 
| 16 | 
            -
            date: 2011-09- | 
| 16 | 
            +
            date: 2011-09-20 00:00:00 +02:00
         | 
| 17 17 | 
             
            default_executable: 
         | 
| 18 18 | 
             
            dependencies: 
         | 
| 19 19 | 
             
              - !ruby/object:Gem::Dependency 
         | 
| @@ -288,8 +288,8 @@ files: | |
| 288 288 | 
             
              - lib/operadriver/commons-io-2.0.1.jar
         | 
| 289 289 | 
             
              - lib/operadriver/commons-jxpath-1.3.jar
         | 
| 290 290 | 
             
              - lib/operadriver/guava-r09.jar
         | 
| 291 | 
            -
              - lib/operadriver/operadriver-v0.7. | 
| 292 | 
            -
              - lib/operadriver/protobuf-java-2. | 
| 291 | 
            +
              - lib/operadriver/operadriver-v0.7.3.jar
         | 
| 292 | 
            +
              - lib/operadriver/protobuf-java-2.4.1.jar
         | 
| 293 293 | 
             
              - lib/operadriver/selenium-nodeps-20100909.jar
         | 
| 294 294 | 
             
              - lib/operawatir.rb
         | 
| 295 295 | 
             
              - lib/operawatir/actions.rb
         | 
| @@ -535,6 +535,7 @@ files: | |
| 535 535 | 
             
              - spec/watir2/watir_compatibility_spec.rb
         | 
| 536 536 | 
             
              - spec/watir2/watirspec_helper.rb
         | 
| 537 537 | 
             
              - utils/Rakefile
         | 
| 538 | 
            +
              - utils/formatters/new_spartan_formatter.rb
         | 
| 538 539 | 
             
              - utils/formatters/operahelper_formatter.rb
         | 
| 539 540 | 
             
              - utils/formatters/spartan_formatter.rb
         | 
| 540 541 | 
             
            has_rdoc: true
         | 
| @@ -555,9 +556,9 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 555 556 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement 
         | 
| 556 557 | 
             
              none: false
         | 
| 557 558 | 
             
              requirements: 
         | 
| 558 | 
            -
                - - " | 
| 559 | 
            +
                - - ">="
         | 
| 559 560 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 560 | 
            -
                    version:  | 
| 561 | 
            +
                    version: "0"
         | 
| 561 562 | 
             
            requirements: []
         | 
| 562 563 |  | 
| 563 564 | 
             
            rubyforge_project: operawatir
         | 
| Binary file | 
| Binary file |