capybara-firebug 0.0.10 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -2,5 +2,6 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
+ gem 'rake'
5
6
  gem 'ruby-debug', :platforms => :mri_18
6
7
  gem 'ruby-debug19', :platforms => :mri_19
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.7.3, which is compatible with Firefox 3.6,
18
- 4.0, and 5.0.
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.8.3 (compatible with Firefox 5, 6, 7, and 8), you
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.8.3'
28
+ Selenium::WebDriver::Firefox::Profile.firebug_version = '1.7.3'
27
29
 
28
30
  ## Customizing the Profile
29
31
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "capybara-firebug"
5
- s.version = "0.0.10"
5
+ s.version = "1.0.0"
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ["John Firebaugh"]
8
8
  s.email = ["john.firebaugh@gmail.com"]
@@ -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-firebug/cucumber' within a file in
5
+ # To load the firebug, require 'capybara/firebug' within a file in
6
6
  # features/support/ or features/step_definitions/.
Binary file
@@ -2,7 +2,7 @@ require 'selenium/webdriver'
2
2
 
3
3
  class Selenium::WebDriver::Firefox::Profile
4
4
  def self.firebug_version
5
- @firebug_version ||= '1.7.3'
5
+ @firebug_version ||= '1.8.4'
6
6
  end
7
7
 
8
8
  def self.firebug_version=(version)
@@ -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.7.3" do
8
- described_class.firebug_version.should == "1.7.3"
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\.7\.3\.xpi$/)
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
- version: 0.0.10
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
- date: 2011-10-07 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
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
- requirement: &2165190920 !ruby/object:Gem::Requirement
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
- version: '1.0'
28
+ - !ruby/object:Gem::Version
29
+ hash: 15
30
+ segments:
31
+ - 1
32
+ - 0
33
+ version: "1.0"
22
34
  type: :runtime
23
- prerelease: false
24
- version_requirements: *2165190920
25
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
26
37
  name: rspec
27
- requirement: &2165190320 !ruby/object:Gem::Requirement
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
- version: '2.0'
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 2
47
+ - 0
48
+ version: "2.0"
33
49
  type: :development
34
- prerelease: false
35
- version_requirements: *2165190320
36
- - !ruby/object:Gem::Dependency
50
+ version_requirements: *id002
51
+ - !ruby/object:Gem::Dependency
37
52
  name: cucumber
38
- requirement: &2165189740 !ruby/object:Gem::Requirement
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
- prerelease: false
46
- version_requirements: *2165189740
47
- description: ! 'Provides a dead-simple way to run scenarios with Firebug
48
-
49
- enabled under the selenium driver.'
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
- files:
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
- require_paths:
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
- version: '0'
88
- required_rubygems_version: !ruby/object:Gem::Requirement
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
- version: '0'
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.8.7
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