agilibox 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6527474ebab74c59a61f0898d23b4716445fca7bf697a49ef3f73995ec38537f
4
- data.tar.gz: ed6e6c8a5de426d0849ef362c08c1120d102da93e9f36e9f63dc88ddefaf1c15
3
+ metadata.gz: e323dea09fac60c352928fb6c380ad3be2e34354b1e03180410a7b79d5161f9e
4
+ data.tar.gz: 19346ccc2265f0a0ecbb0837044b6c6dcec482fd8df7f9bc76ff51c7758b0d1c
5
5
  SHA512:
6
- metadata.gz: 6f477282a5d99cbd20d957183c0cd0448943923e1662220b670b6fcecb2519a469e4152c7fdabe73c741d6fdee6ae5708be16c1722c8b81685874a337ef75df3
7
- data.tar.gz: c640421b0903242a1deab3431408000e39afa8db8ea2b0bf307e6470654382c15379f768836488bf1c0d5d2ee686dac95dbf0ce1f6539ad07d66546759d7b4af
6
+ metadata.gz: d54bbfaceec06018247e07598fb7a8838bf6efd481549609adad0a122cd60e6213567e1aa98694bb9276906a1b8bfe6654c9d8fcf1949bfdf96fe2d9df37d98f
7
+ data.tar.gz: 84fb191f41e2434143938c56f1f657cfc374d5da79785e5d125f9882b7307e7527ebe62f9de2d02e8fe051cb9c1e9d27f85e5e73dec5afc33a3c943c2952fd58
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## 1.7.1
6
+ - Cuprite : improve config + increase timeout
7
+
5
8
  ## 1.7.0
6
9
  - ActiveRecord/ActiveModel type cast : refactor + add date + add boolean
7
10
 
@@ -7,6 +7,18 @@ class << Agilibox::CucumberConfig = Class.new
7
7
  @phantomjs_version ||= "2.1.1"
8
8
  end
9
9
 
10
+ attr_writer :cuprite_timeout
11
+
12
+ def cuprite_timeout
13
+ @cuprite_timeout ||= 15
14
+ end
15
+
16
+ attr_writer :cuprite_process_timeout
17
+
18
+ def cuprite_process_timeout
19
+ @cuprite_process_timeout ||= 15
20
+ end
21
+
10
22
  attr_writer :window_size
11
23
 
12
24
  def window_size
@@ -9,7 +9,8 @@ Capybara.register_driver :agilibox_cuprite do |app|
9
9
  :headless => (ENV["CHROME_HEADLESS"].to_s != "false"),
10
10
  :inspector => true,
11
11
  :js_errors => true,
12
- :process_timeout => 5,
12
+ :process_timeout => Agilibox::CucumberConfig.cuprite_process_timeout,
13
+ :timeout => Agilibox::CucumberConfig.cuprite_timeout,
13
14
  :window_size => Agilibox::CucumberConfig.window_size,
14
15
  )
15
16
  end
@@ -1,3 +1,3 @@
1
1
  module Agilibox
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilibox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - agilidée
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-18 00:00:00.000000000 Z
11
+ date: 2019-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-i18n