capybara-firebug 0.0.10 → 1.0.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/Gemfile +1 -0
- data/README.md +7 -5
- data/capybara-firebug.gemspec +1 -1
- data/lib/capybara-firebug.rb +1 -1
- data/lib/capybara/firebug-1.8.4.xpi +0 -0
- data/lib/capybara/firebug.rb +1 -1
- data/spec/enable_firebug_spec.rb +3 -3
- metadata +78 -44
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -10,20 +10,22 @@ Firebug will be set up so that all features are fully enabled on every page.
|
|
10
10
|
|
11
11
|
You'll want to be able to pause the scenario at some point to inspect things
|
12
12
|
in Firebug. A step definition for `Then stop and let me debug` is provided
|
13
|
-
for this purpose. When executed, it breaks in the Ruby debugger.
|
13
|
+
for this purpose. When executed, it breaks in the Ruby debugger. (If you are
|
14
|
+
using bundler, you will also need to specify the correct debugging gem in your
|
15
|
+
Gemfile: `gem 'ruby-debug'` for 1.8, `gem 'ruby-debug19'` for 1.9.)
|
14
16
|
|
15
17
|
## Firebug Versions
|
16
18
|
|
17
|
-
By default, this gem uses Firebug 1.
|
18
|
-
|
19
|
+
By default, this gem uses Firebug 1.8.4, which is compatible with Firefox 5,
|
20
|
+
6, 7, 8, and 9.
|
19
21
|
|
20
|
-
If you want to use Firebug 1.
|
22
|
+
If you want to use Firebug 1.7.3 (compatible with Firefox 3.6, 4.0, and 5.0), you
|
21
23
|
need to explicitly specify the firebug_version setting in your `capybara.rb`
|
22
24
|
support file:
|
23
25
|
|
24
26
|
# located in features/support/capybara.rb or similar
|
25
27
|
require 'capybara/firebug'
|
26
|
-
Selenium::WebDriver::Firefox::Profile.firebug_version = '1.
|
28
|
+
Selenium::WebDriver::Firefox::Profile.firebug_version = '1.7.3'
|
27
29
|
|
28
30
|
## Customizing the Profile
|
29
31
|
|
data/capybara-firebug.gemspec
CHANGED
data/lib/capybara-firebug.rb
CHANGED
@@ -2,5 +2,5 @@
|
|
2
2
|
# your Gemfile without actually loading any code (which requires the cucumber
|
3
3
|
# environment established by the 'cucumber' command).
|
4
4
|
|
5
|
-
# To load the firebug, require 'capybara
|
5
|
+
# To load the firebug, require 'capybara/firebug' within a file in
|
6
6
|
# features/support/ or features/step_definitions/.
|
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.8.4" do
|
8
|
+
described_class.firebug_version.should == "1.8.4"
|
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\.8\.4\.xpi$/)
|
20
20
|
subject.enable_firebug
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,58 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-firebug
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- John Firebaugh
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-03 00:00:00 -08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: capybara
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
26
|
+
requirements:
|
19
27
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 15
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
version: "1.0"
|
22
34
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
26
37
|
name: rspec
|
27
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
40
|
none: false
|
29
|
-
requirements:
|
41
|
+
requirements:
|
30
42
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 2
|
47
|
+
- 0
|
48
|
+
version: "2.0"
|
33
49
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
37
52
|
name: cucumber
|
38
|
-
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
55
|
none: false
|
40
|
-
requirements:
|
56
|
+
requirements:
|
41
57
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 55
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
- 10
|
63
|
+
- 0
|
43
64
|
version: 0.10.0
|
44
65
|
type: :development
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
email:
|
66
|
+
version_requirements: *id003
|
67
|
+
description: |-
|
68
|
+
Provides a dead-simple way to run scenarios with Firebug
|
69
|
+
enabled under the selenium driver.
|
70
|
+
email:
|
51
71
|
- john.firebaugh@gmail.com
|
52
72
|
executables: []
|
73
|
+
|
53
74
|
extensions: []
|
75
|
+
|
54
76
|
extra_rdoc_files: []
|
55
|
-
|
77
|
+
|
78
|
+
files:
|
56
79
|
- .gitignore
|
57
80
|
- Gemfile
|
58
81
|
- LICENSE
|
@@ -69,35 +92,46 @@ files:
|
|
69
92
|
- lib/capybara/firebug-1.8.0.xpi
|
70
93
|
- lib/capybara/firebug-1.8.1.xpi
|
71
94
|
- lib/capybara/firebug-1.8.3.xpi
|
95
|
+
- lib/capybara/firebug-1.8.4.xpi
|
72
96
|
- lib/capybara/firebug-license.txt
|
73
97
|
- lib/capybara/firebug.rb
|
74
98
|
- spec/enable_firebug_spec.rb
|
75
99
|
- spec/spec_helper.rb
|
100
|
+
has_rdoc: true
|
76
101
|
homepage: https://github.com/jfirebaugh/capybara-firebug
|
77
102
|
licenses: []
|
103
|
+
|
78
104
|
post_install_message:
|
79
105
|
rdoc_options: []
|
80
|
-
|
106
|
+
|
107
|
+
require_paths:
|
81
108
|
- lib
|
82
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
110
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
88
|
-
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
hash: 3
|
115
|
+
segments:
|
116
|
+
- 0
|
117
|
+
version: "0"
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
119
|
none: false
|
90
|
-
requirements:
|
91
|
-
- -
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
hash: 3
|
124
|
+
segments:
|
125
|
+
- 0
|
126
|
+
version: "0"
|
94
127
|
requirements: []
|
128
|
+
|
95
129
|
rubyforge_project: capybara-firebug
|
96
|
-
rubygems_version: 1.
|
130
|
+
rubygems_version: 1.6.2
|
97
131
|
signing_key:
|
98
132
|
specification_version: 3
|
99
133
|
summary: Run selenium with Firebug enabled
|
100
|
-
test_files:
|
134
|
+
test_files:
|
101
135
|
- features/firebug.feature
|
102
136
|
- features/step_definitions/web_steps.rb
|
103
137
|
- features/support/env.rb
|