rspec-storage 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 8d54e4a71863f593e7f102ac3986a9b54da1bdfd
4
- data.tar.gz: a2f009dd8ad542a746824ad73b6c2df49560928e
3
+ metadata.gz: 8ae6e23c5e97e6501344875d1ffd4d2d3c42438e
4
+ data.tar.gz: e90f8e1b89e39409eb3e288f4abed4624694dc53
5
5
  SHA512:
6
- metadata.gz: a102411b32f1fcb254c87210453b760b58bc4da13b65932fad218a77d6a999b8130a800daddd87b0ab711a43961ce64d916c13eb601526074efa68774bcd9b12
7
- data.tar.gz: '02176943a4d719ea69f277149acda0f9daa072cea7704463a19a1d4f8dc8ada3ed9de7d993c28fec72452ab806e3cec072d724e8064bdbc305256c56b99a884c'
6
+ metadata.gz: 05ed46be5ade83b391ec88e44a5bd4580b5fd96f7a89133dcf0f7ffaa208e6703c7cbb8013ca2e28a0a15d156464290c27de9a6a3281f9dd37bddc30ec5bc848
7
+ data.tar.gz: a43ebb8cca5ad36f84f58240773663e1b65525c9d19fc34699fff65b3c90636a5d682cc5746afeee8e387be4f7e091d1b1464893c105589e9f763b0442b3f83d
data/README.md CHANGED
@@ -36,7 +36,7 @@ Or install it yourself as:
36
36
  ## Usage
37
37
 
38
38
  ```
39
- $ rspec -r rspec/storage spec/example_spec.rb -f doc -f json s3://your-bucket/spec_result.json
39
+ $ rspec -r rspec/storage spec/example_spec.rb -f doc -f json -o s3://your-bucket/spec_result.json
40
40
  ```
41
41
 
42
42
  You need to require `rspec/storage` before rspec init process
@@ -36,6 +36,9 @@ begin
36
36
  @tempfile.flush
37
37
  @tempfile.rewind
38
38
  @s3_client.put_object(bucket: @bucket, key: @key, body: @tempfile)
39
+ @s3_client.wait_until(:object_exists, bucket: @bucket, key: @key) do |w|
40
+ w.max_attempts = 5
41
+ end
39
42
  $stdout.puts "Upload to #{@uri.to_s}"
40
43
  ensure
41
44
  @tempfile.close
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module Storage
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-17 00:00:00.000000000 Z
11
+ date: 2017-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  version: '0'
138
138
  requirements: []
139
139
  rubyforge_project:
140
- rubygems_version: 2.6.8
140
+ rubygems_version: 2.6.11
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: RSpec output test report to any stroage