quarantine 2.2.1 → 2.2.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 +4 -4
- data/README.md +11 -2
- data/lib/quarantine/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d156442ce5b26736708dbc75881cf1ba37776d69970a72f661ea10d77448d8f
|
|
4
|
+
data.tar.gz: 576657a82b094339bd91ca64ad9467ed7774ce1e45636d4e5051209f7bf52a6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58eb71c5b9bdc37d0561f49c3e6aaf93407de7f00f76c0823bbf84388853d6c2bf413c72c4f59aba737ba271380f055e30205daf80db337edc0f186bf2f61ca5
|
|
7
|
+
data.tar.gz: 2ce73d002d65bf972228aeaada7bb1cba24a21ff14da8414f112238e8abac6852b198eff9cbb0d146d863e4a48718d69627bf592c61669067d9bd09fe5c9b5c3
|
data/README.md
CHANGED
|
@@ -101,16 +101,25 @@ Quarantine comes with built-in support for the following database types:
|
|
|
101
101
|
|
|
102
102
|
To use `:dynamodb`, be sure to add `gem 'aws-sdk-dynamodb', '~> 1', group: :test` to your `Gemfile`.
|
|
103
103
|
|
|
104
|
-
To use `:google_sheets`, be sure to add `gem 'google_drive', '~>
|
|
104
|
+
To use `:google_sheets`, be sure to add `gem 'google_drive', '~> 3', group: :test` to your `Gemfile`. Here's an example:
|
|
105
105
|
|
|
106
106
|
```rb
|
|
107
107
|
config.quarantine_database = {
|
|
108
108
|
type: :google_sheets,
|
|
109
109
|
authorization: {type: :service_account_key, file: "service_account.json"}, # also accepts `type: :config`
|
|
110
|
-
spreadsheet: {
|
|
110
|
+
spreadsheet: {
|
|
111
|
+
type: :by_key, # also accepts `type: :by_title` and `type: :by_url`
|
|
112
|
+
key: "1Jb5fC6wSuIMnP85tUR5knuZ4f5fuu4nMzQF6-0l-EXAMPLE"}, # also accepts `type: :by_title` and `type: :by_url`
|
|
111
113
|
}
|
|
112
114
|
```
|
|
113
115
|
|
|
116
|
+
The spreadsheet first line (1) should contains: id, full_description, updated_at, last_status, location, extra_attributes, consecutive_passes. Something like:
|
|
117
|
+
|
|
118
|
+
A | B | C | D | E | F | G
|
|
119
|
+
-- | :-----------------: | :---------:| :----------:| :-------:| :---------------:| :--:
|
|
120
|
+
id | full_description | updated_at | last_status | location | extra_attributes | consecutive_passes
|
|
121
|
+
|
|
122
|
+
|
|
114
123
|
To use a custom database that's not provided, subclass `Quarantine::Databases::Base` and pass an instance of your class as the `quarantine_database` setting:
|
|
115
124
|
|
|
116
125
|
```rb
|
data/lib/quarantine/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: quarantine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Flexport Engineering, Eric Zhu
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-08-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
93
|
version: '0'
|
|
94
94
|
requirements: []
|
|
95
|
-
rubygems_version: 3.0.
|
|
95
|
+
rubygems_version: 3.0.2
|
|
96
96
|
signing_key:
|
|
97
97
|
specification_version: 4
|
|
98
98
|
summary: Quarantine flaky RSpec tests
|