Zfilipin has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/139121

Change subject: No longer using net-http-persistent Ruby gem.
......................................................................

No longer using net-http-persistent Ruby gem.

Looks like net-http-persistent is causing failures sometimes. Testing
if things will be more stable without it.

Updated release notes for 0.2.21-0.2.24.

Releasing patch version 0.2.24.

Paired with: Chris McMahon
Bug: 66451

Change-Id: Ia8cc9454768cdcc1557f99aafc47e22ce7466550
---
M README.md
M lib/mediawiki_selenium/support/env.rb
M lib/mediawiki_selenium/version.rb
M mediawiki_selenium.gemspec
4 files changed, 20 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/selenium 
refs/changes/21/139121/1

diff --git a/README.md b/README.md
index 3f94bdc..6525ec0 100644
--- a/README.md
+++ b/README.md
@@ -122,6 +122,24 @@
 
 ## Release notes
 
+### 0.2.24
+
+* No longer using net-http-persistent Ruby gem. Looks like net-http-persistent 
is causing failures sometimes. Testing if 
+  things will be more stable without it.
+
+### 0.2.23
+
+* Take screen shot only if browser is opened
+* Upgrade to page-object gem 1.0. New version has better debugging.
+
+### 0.2.22
+
+* Fixed "File name too long" error message
+
+### 0.2.21
+
+* Do not output link to Sauce Labs when running a local browser
+
 ### 0.2.20
 
 * Updated readme file with release notes
diff --git a/lib/mediawiki_selenium/support/env.rb 
b/lib/mediawiki_selenium/support/env.rb
index f51f853..f77637b 100644
--- a/lib/mediawiki_selenium/support/env.rb
+++ b/lib/mediawiki_selenium/support/env.rb
@@ -87,8 +87,7 @@
 def sauce_browser(test_name, configuration)
   abort "Environment variables BROWSER, PLATFORM and VERSION have to be set" 
if (ENV["BROWSER"] == nil) or (ENV["PLATFORM"] == nil) or (ENV["VERSION"] == 
nil)
 
-  require "selenium/webdriver/remote/http/persistent" # http_client
-  client = Selenium::WebDriver::Remote::Http::Persistent.new
+  client = Selenium::WebDriver::Remote::Http::Default.new
 
   if ENV["BROWSER_TIMEOUT"] && ENV["BROWSER"] == "firefox"
     timeout = ENV["BROWSER_TIMEOUT"].to_i
diff --git a/lib/mediawiki_selenium/version.rb 
b/lib/mediawiki_selenium/version.rb
index e591207..fb2d8ce 100644
--- a/lib/mediawiki_selenium/version.rb
+++ b/lib/mediawiki_selenium/version.rb
@@ -10,5 +10,5 @@
 =end
 
 module MediawikiSelenium
-  VERSION = "0.2.23"
+  VERSION = "0.2.24"
 end
diff --git a/mediawiki_selenium.gemspec b/mediawiki_selenium.gemspec
index 9289eb1..1fffa61 100644
--- a/mediawiki_selenium.gemspec
+++ b/mediawiki_selenium.gemspec
@@ -20,7 +20,6 @@
   spec.add_runtime_dependency "cucumber", "~> 1.3", ">= 1.3.10"
   spec.add_runtime_dependency "headless", "~> 1.0", ">= 1.0.1"
   spec.add_runtime_dependency "json", "~> 1.8", ">= 1.8.1"
-  spec.add_runtime_dependency "net-http-persistent", "~> 2.9", ">= 2.9.1"
   spec.add_runtime_dependency "page-object", "~> 1.0"
   spec.add_runtime_dependency "rest-client", "~> 1.6", ">= 1.6.7"
   spec.add_runtime_dependency "rspec-expectations", "~> 2.14", ">= 2.14.4"

-- 
To view, visit https://gerrit.wikimedia.org/r/139121
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia8cc9454768cdcc1557f99aafc47e22ce7466550
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/selenium
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <zfili...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to