cuculungwa 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cuculungwa.rb +3 -2
- metadata +23 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a2695ed2c79462965677fc2e3c69c200a47e2b0
|
4
|
+
data.tar.gz: 0b6ef838109572af22f1617de9014863f12340e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5060b3aa2598f2911523fff31e3a0f23bfb3ec8cd4c6e6fb900d51e6a02b7da561bc258a3afdd6df04a39f296d0209d0cf2c293aa7ce4a2a9d24732b312f7bcf
|
7
|
+
data.tar.gz: 48d4227ab7d8fcb6cba10403ea82096e91e60bb9b4ef22e77fb34c9e39816a4b96295117916b8f1e42bfc3c7b18fb1286603ecaf3c35ff741dc388da25f2f3ce
|
data/lib/cuculungwa.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'i18n'
|
2
|
+
require 'headless'
|
2
3
|
require 'capybara'
|
3
4
|
require 'capybara-webkit'
|
4
5
|
require 'capybara/dsl'
|
@@ -24,14 +25,14 @@ if config['capybara']['browser']=='phantomjs'
|
|
24
25
|
end
|
25
26
|
Capybara.default_driver = :poltergeist
|
26
27
|
elsif config['capybara']['browser']=='capybara-webkit'
|
28
|
+
headless = Headless.new
|
29
|
+
headless.start
|
27
30
|
Capybara.register_driver :webkit do |app|
|
28
31
|
driver = Capybara::Webkit::Driver.new(app)
|
29
32
|
driver.browser.ignore_ssl_errors
|
30
33
|
driver
|
31
34
|
end
|
32
35
|
Capybara.default_driver = :webkit
|
33
|
-
Capybara.javascript_driver = :webkit
|
34
|
-
|
35
36
|
else
|
36
37
|
Capybara.register_driver :selenium do |app|
|
37
38
|
Capybara::Selenium::Driver.new(app, :browser => config['capybara']['browser'].to_sym)
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cuculungwa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michal Kaftanski
|
8
8
|
- Jakub Kubiak
|
9
|
+
- Tomasz Tokarski
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2014-12-
|
13
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: aruba
|
@@ -191,6 +192,26 @@ dependencies:
|
|
191
192
|
- - ">="
|
192
193
|
- !ruby/object:Gem::Version
|
193
194
|
version: 1.3.1
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: headless
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 1.0.2
|
202
|
+
- - ">="
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: 1.0.2
|
205
|
+
type: :runtime
|
206
|
+
prerelease: false
|
207
|
+
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - "~>"
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: 1.0.2
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: 1.0.2
|
194
215
|
- !ruby/object:Gem::Dependency
|
195
216
|
name: i18n
|
196
217
|
requirement: !ruby/object:Gem::Requirement
|