selenium-webdriver 2.34.0 → 2.35.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,9 @@
1
+ 2.35.0 (2013-08-14)
2
+ ===================
3
+
4
+ Firefox:
5
+ * Updated Firefox native event components to support Firefox 23.
6
+
1
7
  2.34.0 (2013-08-06)
2
8
  ===================
3
9
 
@@ -49,7 +49,7 @@ module Selenium
49
49
 
50
50
  def as_json(opts = nil)
51
51
  extensions = @extensions.map do |crx_path|
52
- Base64.strict_encode64 File.read(crx_path)
52
+ File.open(crx_path, "rb") { |crx_file| Base64.strict_encode64 crx_file.read }
53
53
  end
54
54
 
55
55
  super.merge('extensions' => extensions)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.34.0
5
+ version: 2.35.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jari Bakken
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-08-06 00:00:00 +02:00
13
+ date: 2013-08-14 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency