capybara-selenium 0.0.2 → 0.0.3
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fd20b8b4b3bf89cf1437c09075e558735f7d9cd
|
4
|
+
data.tar.gz: c783c285c0be5d82384bff1493f84dd5bb80a37f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aa5cea8f4b8583d935edb6cccc7bd8c1e695e6a2e0431b0b476cc8d10b0dd8057f1291f9977b5860eeee960013e6e7885a459ba503e3d3a3af4a7b0a75b4d7c
|
7
|
+
data.tar.gz: ac4c54cd17254412c733e19576db7af95518c2d05eb26debf33044adb09cc9c3d8e5c70a29aa97cbc16d3e37fbb02031e5ef8a6765f4fc00049e8c873c45992f
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 0.0.3
|
2
|
+
|
3
|
+
* Fixed constant name `CapybaraSelenium::Configurator` instead of
|
4
|
+
`CapybaraSelenium::GlobalConfigurator`.
|
5
|
+
* Fixed documentation for using a block in constructor call (added `dispatch`
|
6
|
+
method call)
|
7
|
+
* Updated `url` field for `CapybaraSelenium::AppServer::BaseConfiguration` to
|
8
|
+
depend on host and port only if it is not a predefined value.
|
9
|
+
* Fixed usage with instance methods
|
10
|
+
|
1
11
|
## 0.0.2
|
2
12
|
|
3
13
|
* Complete refactoring for easy modular extension
|
data/README.md
CHANGED
@@ -1,9 +1,16 @@
|
|
1
1
|
module CapybaraSelenium
|
2
2
|
module AppServer
|
3
|
+
# Base class for all web application server configurations
|
3
4
|
class BaseConfiguration
|
4
|
-
attr_accessor :host, :port
|
5
|
+
attr_accessor :host, :port, :url
|
6
|
+
|
7
|
+
def url
|
8
|
+
return "http://#{host}:#{port}" unless @url && !@url.empty?
|
9
|
+
@url
|
10
|
+
end
|
5
11
|
end
|
6
12
|
|
13
|
+
# Configuration for Rack application server
|
7
14
|
class RackConfiguration < BaseConfiguration
|
8
15
|
attr_accessor :config_ru_path
|
9
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-selenium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Saenz Tagarro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
version: '0'
|
208
208
|
requirements: []
|
209
209
|
rubyforge_project:
|
210
|
-
rubygems_version: 2.
|
210
|
+
rubygems_version: 2.2.2
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: Dead-simple way to make Capybara and Selenium play together
|