quarantine 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -2
  3. data/lib/quarantine/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31ffed67bd1774918fd52c8bfe309398d43b8c218175f2a414725382df680ee7
4
- data.tar.gz: aca3eab589422f555224ce2638e979aff7f6fc2f17d4b33ac91e2f0177d4fb9b
3
+ metadata.gz: 2d156442ce5b26736708dbc75881cf1ba37776d69970a72f661ea10d77448d8f
4
+ data.tar.gz: 576657a82b094339bd91ca64ad9467ed7774ce1e45636d4e5051209f7bf52a6d
5
5
  SHA512:
6
- metadata.gz: '0894a8c2561b741d3f9466d28e8424cde69ece0b7f228d700b485f748eb26531bd81ac549493a91641010ceb6b34eb1d7abbaf49475f4874d6f67db297d522ec'
7
- data.tar.gz: 281ba613e8806b8d3f1e4318a65492435d971e0e89138cb87c44de2c7709a983672930e00cdfddb46bf245da4aa2e52804b2cf47d908fe9f0dd62eae3e7ac5fd
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', '~> 2', group: :test` to your `Gemfile`. Here's an example:
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: {type: :by_key, "1Jb5fC6wSuIMnP85tUR5knuZ4f5fuu4nMzQF6-0l-EXAMPLE"}, # also accepts `type: :by_title` and `type: :by_url`
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
@@ -1,3 +1,3 @@
1
1
  class Quarantine
2
- VERSION = '2.2.1'.freeze
2
+ VERSION = '2.2.2'.freeze
3
3
  end
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.1
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-04-18 00:00:00.000000000 Z
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.8
95
+ rubygems_version: 3.0.2
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Quarantine flaky RSpec tests