selenium-webdriver 2.35.0 → 2.35.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,8 @@
1
+ 2.35.1 (2013-08-26)
2
+ ===================
3
+
4
+ * Depend on rubyzip < 1.0.0
5
+
1
6
  2.35.0 (2013-08-14)
2
7
  ===================
3
8
 
@@ -12,6 +12,7 @@ module Selenium
12
12
  def initialize(model = nil)
13
13
  @model = verify_model(model)
14
14
  @extensions = []
15
+ @encoded_extensions = []
15
16
  end
16
17
 
17
18
  def add_extension(path)
@@ -22,6 +23,10 @@ module Selenium
22
23
  @extensions << path
23
24
  end
24
25
 
26
+ def add_encoded_extension(encoded)
27
+ @encoded_extensions << encoded
28
+ end
29
+
25
30
  #
26
31
  # Set a preference in the profile.
27
32
  #
@@ -52,6 +57,8 @@ module Selenium
52
57
  File.open(crx_path, "rb") { |crx_file| Base64.strict_encode64 crx_file.read }
53
58
  end
54
59
 
60
+ extensions.concat(@encoded_extensions)
61
+
55
62
  super.merge('extensions' => extensions)
56
63
  end
57
64
 
@@ -5290,6 +5290,8 @@ bot.userAgent.IE_DOC_PRE9 = goog.userAgent.IE && !goog.userAgent.isDocumentModeO
5290
5290
  bot.userAgent.IE_DOC_10 = goog.userAgent.isDocumentModeOrHigher(10);
5291
5291
  bot.userAgent.IE_DOC_PRE10 = goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(10);
5292
5292
  bot.userAgent.ANDROID_PRE_GINGERBREAD = goog.userAgent.product.ANDROID && !bot.userAgent.isProductVersion(2.3);
5293
+ bot.userAgent.ANDROID_PRE_ICECREAMSANDWICH = goog.userAgent.product.ANDROID && !bot.userAgent.isProductVersion(4);
5294
+ bot.userAgent.SAFARI_6 = goog.userAgent.product.SAFARI && bot.userAgent.isProductVersion(6);
5293
5295
  goog.json = {};
5294
5296
  goog.json.isValid_ = function(a) {
5295
5297
  return/^\s*$/.test(a) ? !1 : /^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g, "@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g, ""))
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.35.0
5
+ version: 2.35.1
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-14 00:00:00 +02:00
13
+ date: 2013-08-26 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -30,9 +30,9 @@ dependencies:
30
30
  requirement: &id002 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
- - - ">="
33
+ - - <
34
34
  - !ruby/object:Gem::Version
35
- version: "0"
35
+ version: 1.0.0
36
36
  type: :runtime
37
37
  version_requirements: *id002
38
38
  - !ruby/object:Gem::Dependency