capybara-firebug 1.1.0 → 1.2.0
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/README.md +4 -4
- data/capybara-firebug.gemspec +1 -1
- data/lib/capybara/firebug-1.10.2.xpi +0 -0
- data/lib/capybara/firebug.rb +1 -1
- data/spec/enable_firebug_spec.rb +3 -3
- metadata +18 -17
data/README.md
CHANGED
@@ -18,11 +18,11 @@ Gemfile: `gem 'ruby-debug'` for 1.8, `gem 'ruby-debug19'` for 1.9.)
|
|
18
18
|
|
19
19
|
## Firebug Versions
|
20
20
|
|
21
|
-
By default, this gem uses Firebug 1.
|
21
|
+
By default, this gem uses Firebug 1.10.2, which is compatible with Firefox 13-16.
|
22
22
|
|
23
|
-
If you want to use Firebug 1.7.3 (compatible with Firefox 3.6, 4, and 5)
|
24
|
-
need to explicitly specify the firebug_version
|
25
|
-
support file:
|
23
|
+
If you want to use Firebug 1.7.3 (compatible with Firefox 3.6, 4, and 5) or 1.9.1
|
24
|
+
(compatible with Firefox 6-13), you need to explicitly specify the firebug_version
|
25
|
+
setting in your `capybara.rb` support file:
|
26
26
|
|
27
27
|
# located in features/support/capybara.rb or similar
|
28
28
|
require 'capybara/firebug'
|
data/capybara-firebug.gemspec
CHANGED
Binary file
|
data/lib/capybara/firebug.rb
CHANGED
data/spec/enable_firebug_spec.rb
CHANGED
@@ -4,8 +4,8 @@ describe Selenium::WebDriver::Firefox::Profile do
|
|
4
4
|
before { described_class.firebug_version = nil } # Reset
|
5
5
|
|
6
6
|
describe ".firebug_version" do
|
7
|
-
it "defaults to 1.
|
8
|
-
described_class.firebug_version.should == "1.
|
7
|
+
it "defaults to 1.10.2" do
|
8
|
+
described_class.firebug_version.should == "1.10.2"
|
9
9
|
end
|
10
10
|
|
11
11
|
it "can be explicitly set" do
|
@@ -16,7 +16,7 @@ describe Selenium::WebDriver::Firefox::Profile do
|
|
16
16
|
|
17
17
|
describe "#enable_firebug" do
|
18
18
|
it "adds the Firebug extension" do
|
19
|
-
subject.should_receive(:add_extension).with(/firebug-1\.
|
19
|
+
subject.should_receive(:add_extension).with(/firebug-1\.10\.2\.xpi$/)
|
20
20
|
subject.enable_firebug
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-firebug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 1.
|
10
|
+
version: 1.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Firebaugh
|
@@ -15,12 +15,10 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-08-12 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
22
|
none: false
|
25
23
|
requirements:
|
26
24
|
- - ~>
|
@@ -30,12 +28,12 @@ dependencies:
|
|
30
28
|
- 1
|
31
29
|
- 0
|
32
30
|
version: "1.0"
|
31
|
+
prerelease: false
|
33
32
|
type: :runtime
|
34
|
-
|
33
|
+
name: capybara
|
34
|
+
requirement: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
|
37
|
-
prerelease: false
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
39
37
|
none: false
|
40
38
|
requirements:
|
41
39
|
- - ~>
|
@@ -45,12 +43,12 @@ dependencies:
|
|
45
43
|
- 2
|
46
44
|
- 0
|
47
45
|
version: "2.0"
|
46
|
+
prerelease: false
|
48
47
|
type: :development
|
49
|
-
|
48
|
+
name: rspec
|
49
|
+
requirement: *id002
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
|
-
|
52
|
-
prerelease: false
|
53
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
51
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
52
|
none: false
|
55
53
|
requirements:
|
56
54
|
- - ~>
|
@@ -61,8 +59,10 @@ dependencies:
|
|
61
59
|
- 10
|
62
60
|
- 0
|
63
61
|
version: 0.10.0
|
62
|
+
prerelease: false
|
64
63
|
type: :development
|
65
|
-
|
64
|
+
name: cucumber
|
65
|
+
requirement: *id003
|
66
66
|
description: |-
|
67
67
|
Provides a dead-simple way to run scenarios with Firebug
|
68
68
|
enabled under the selenium driver.
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- features/step_definitions/web_steps.rb
|
86
86
|
- features/support/env.rb
|
87
87
|
- lib/capybara-firebug.rb
|
88
|
+
- lib/capybara/firebug-1.10.2.xpi
|
88
89
|
- lib/capybara/firebug-1.7.3.xpi
|
89
90
|
- lib/capybara/firebug-1.9.1.xpi
|
90
91
|
- lib/capybara/firebug-license.txt
|
@@ -121,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
122
|
requirements: []
|
122
123
|
|
123
124
|
rubyforge_project: capybara-firebug
|
124
|
-
rubygems_version: 1.8.
|
125
|
+
rubygems_version: 1.8.24
|
125
126
|
signing_key:
|
126
127
|
specification_version: 3
|
127
128
|
summary: Run selenium with Firebug enabled
|