rspec-flaky 0.0.1 → 0.0.2

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
  SHA256:
3
- metadata.gz: 4d80b7e5a54c2a9d25326907dc0ff92304f410041c55e24d030bc99451370273
4
- data.tar.gz: 6bf0165957822e3af4e57f477c18fac6f37cd756f275f78126265b085d365696
3
+ metadata.gz: 68908861a9d1deb8870d2b981c08d3b4d2e35a71c51f73a389ae2be398cbe03d
4
+ data.tar.gz: be50f21c01defd91ae738ec9d1d19f3ecfe0ee4b606eddfabc241fea0d1843e1
5
5
  SHA512:
6
- metadata.gz: 43df5f4540f9cde2c791cd194068dcc4b912dd63f1429d4121166469bac2a216426ab896cc97e946903c098cf3100355bc2592f82f23abce2691112c60b35fa0
7
- data.tar.gz: ccddd3c02724b590f8c2798ad99c0488670719676afa6dc6aaae4f87e274f9058b925b9c8ecc48417139ba988c27b2ef0a0152f8e64b68442c199bec0a619f6c
6
+ metadata.gz: 158aea7d249eae4e938e0d12a2ac898a059a13c8ae32ce41b7fd408c3c781b953306ade0dabacd62c6879c4a1f9176f1d034a080a2c41bb672afdcb1eb98ee50
7
+ data.tar.gz: f3d2d3b53a66bc4c076b8088a55dca8cd83dc754fbe8fef678f507630fa335ce848e0dba36dfaeb2190483eb095a92e15987c932b07039e022d52a623bcc9791
data/README.md CHANGED
@@ -26,7 +26,11 @@ Select the model whose attributes will be dumped:
26
26
 
27
27
  Run the command to iteratively run flaky example:
28
28
 
29
- rspec-flaky path/to/flaky_spec.rb:12 -i 10
29
+ rspec-flaky path/to/flaky_spec.rb:12 -i 10 -j -d
30
+
31
+ -i - iterations number
32
+ -j - save pointed model attributes to tmp/flaky_tests/.:flaky_spec:12 as json
33
+ -d - save database dump after each example to tmp/flaky_tests/database_dumps/.:flaky_spec:12 as sql file
30
34
 
31
35
  If at least one example is failed you can compare pointed model's attributes dumped to tmp/flaky_test folder.
32
36
 
@@ -22,7 +22,7 @@ module Flaky
22
22
 
23
23
  def get_location(argv)
24
24
  first_arg = argv.shift
25
- raise 'You need to specify location first' unless Pathname.new(first_arg).exist?
25
+ raise 'You need to specify location first' unless Pathname.new(first_arg.split(":").first).exist?
26
26
  return first_arg
27
27
  end
28
28
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module RSpecFlaky
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-flaky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - maratz
@@ -45,7 +45,7 @@ files:
45
45
  - lib/rspec/flaky/pathes.rb
46
46
  - lib/rspec/flaky/tables.rb
47
47
  - lib/rspec/flaky/version.rb
48
- homepage:
48
+ homepage: https://github.com/mzsrn/rspec-flaky
49
49
  licenses:
50
50
  - MIT
51
51
  metadata: {}