Skip to content

Commit

Permalink
Upgrade various Firebug versions
Browse files Browse the repository at this point in the history
Add 1.11.0 (new default)
1.10.3 -> 1.10.6
1.9.1 -> 1.9.2
  • Loading branch information
jfirebaugh committed Dec 10, 2012
1 parent 766fe04 commit 72fc3f9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -18,11 +18,12 @@ Gemfile: `gem 'ruby-debug'` for 1.8, `gem 'ruby-debug19'` for 1.9.)

## Firebug Versions

By default, this gem uses Firebug 1.10.2, which is compatible with Firefox 13-16.
By default, this gem uses Firebug 1.11.0, which is compatible with Firefox 17-20.

If you want to use Firebug 1.7.3 (compatible with Firefox 3.6, 4, and 5) or 1.9.1
(compatible with Firefox 6-13), you need to explicitly specify the firebug_version
setting in your `capybara.rb` support file:
If you want to use Firebug 1.7.3 (compatible with Firefox 3.6, 4, and 5), 1.9.2
(compatible with Firefox 6-13), or 1.10.6 (compatible with Firefox 13-18), you
need to explicitly specify the firebug_version setting in your `capybara.rb`
support file:

# located in features/support/capybara.rb or similar
require 'capybara/firebug'
Expand Down
Binary file removed lib/capybara/firebug-1.10.3.xpi
Binary file not shown.
Binary file added lib/capybara/firebug-1.10.6.xpi
Binary file not shown.
Binary file added lib/capybara/firebug-1.11.0.xpi
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/capybara/firebug.rb
Expand Up @@ -2,7 +2,7 @@

class Selenium::WebDriver::Firefox::Profile
def self.firebug_version
@firebug_version ||= '1.10.3'
@firebug_version ||= '1.11.0'
end

def self.firebug_version=(version)
Expand Down
6 changes: 3 additions & 3 deletions spec/enable_firebug_spec.rb
Expand Up @@ -4,8 +4,8 @@
before { described_class.firebug_version = nil } # Reset

describe ".firebug_version" do
it "defaults to 1.10.3" do
described_class.firebug_version.should == "1.10.3"
it "defaults to 1.11.0" do
described_class.firebug_version.should == "1.11.0"
end

it "can be explicitly set" do
Expand All @@ -16,7 +16,7 @@

describe "#enable_firebug" do
it "adds the Firebug extension" do
subject.should_receive(:add_extension).with(/firebug-1\.10\.3\.xpi$/)
subject.should_receive(:add_extension).with(/firebug-1\.11\.0\.xpi$/)
subject.enable_firebug
end

Expand Down

0 comments on commit 72fc3f9

Please sign in to comment.