rspec-retry_ex 0.2.0 → 0.2.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: 3def93de8ee015ace346b71f85e60fcb55a81221e6c68b4a041155686f3ed6e7
4
- data.tar.gz: 578ccd8221b246ede71243aea35a8fdb4940f773000d03278ced66180c075847
3
+ metadata.gz: 880c6f430c8c240e2fd2cc9e8becd1760ac3cf69ad4a79a57e1c2b98a943e17f
4
+ data.tar.gz: c2f630b03f22c4fe033a49f3d86ec3151d7c1b0d167e85f249aaa2593190304f
5
5
  SHA512:
6
- metadata.gz: 1f19a0d5b8a8908147a1d78442ae1466a25cb954bced5b723fbedc0a996065ad89f71f48d6599929a971d978a88970e8c3a50aadfa6d113f4d3deb30d8d98dde
7
- data.tar.gz: 3fa5052e60f01aeb9999d8c84ba71cc82c426cd5f85602b6cae9a814a7b02b7d32bac2eb71a47b602b6fa3f2d277bc2ab671998198f996b5e9156ef54aef013c
6
+ metadata.gz: 9c96c20ca56adbd86d8e812705b7457a49d4e6ef9312ca0516e355c808090aae3cb8f71bd6fc5fc9a882b335eba792f72378409d6d64e628b6ab24eda88fdca2
7
+ data.tar.gz: 0e28d5cf1ae8379cf591561528b0a9a21c35afd251d1b5456010a7df69e82ea09e4d9a4ed4cfe35f11a13a7d38577f2eb608615cda998ae62431572fdb0336e1
data/README.md CHANGED
@@ -8,7 +8,7 @@ RSpec::RetryEx retrys failing rspec "expect" instead of "example", "it" or "scen
8
8
  ## Motivation
9
9
  Feature test or System test sometimes fails randomely. There are so many reasons for failing. One of them is that the browser does not response smoothly to JavaScript animation. However it responses somoothly in a few tries. As a result, a few retries should be executed in feature test of system test.
10
10
 
11
- Thanks to [spec-retry](https://github.com/NoRedInk/rspec-retry) gem, a few retries can be executed by "scenario" unit. However we sometimes want to try to retry by "expect" unit because the scenario is so long and most "expect"s usually pass and specific "expect" often fails.
11
+ Thanks to [rspec-retry](https://github.com/NoRedInk/rspec-retry) gem, a few retries can be executed by "scenario" unit. However we sometimes want to try to retry by "expect" unit because the scenario is so long and most "expect"s usually pass and specific "expect" often fails.
12
12
 
13
13
  ## Installation
14
14
 
@@ -2,10 +2,10 @@ module RSpec
2
2
  module RetryEx
3
3
  class RetryHandler
4
4
  def initialize(**options)
5
- @count = options[:count] || 1
6
- @before_retry = options[:before_retry]
7
- @after_retry = options[:after_retry]
8
- @counter = 0
5
+ @count = options[:count] || 1
6
+ @before_retry = options[:before_retry]
7
+ @after_retry = options[:after_retry]
8
+ @counter = 0
9
9
  @retry_errors = initialize_retry_errors(options[:retry_errors])
10
10
  end
11
11
 
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module RetryEx
3
- VERSION = "0.2.0".freeze
3
+ VERSION = "0.2.1".freeze
4
4
  end
5
5
  end
@@ -1,3 +1,4 @@
1
+ require "rspec/core"
1
2
  require "rspec/retry_ex/retry_handler"
2
3
 
3
4
  module RSpec
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-retry_ex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuyasat
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-09 00:00:00.000000000 Z
11
+ date: 2019-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core
@@ -171,7 +171,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0'
173
173
  requirements: []
174
- rubygems_version: 3.0.3
174
+ rubyforge_project:
175
+ rubygems_version: 2.7.6
175
176
  signing_key:
176
177
  specification_version: 4
177
178
  summary: retry rspec one target `expect`