datadog_backup 1.0.1 → 1.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 +4 -4
- data/.github/workflows/rspec_and_release.yml +18 -18
- data/CHANGELOG.md +7 -0
- data/lib/datadog_backup/version.rb +1 -1
- data/spec/datadog_backup_bin_spec.rb +2 -2
- 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: 87d2e5b0ee44a9ed7bffb1a107952b611664f370e0a67ae45b0500792f96c6b8
|
|
4
|
+
data.tar.gz: 1a8ea6c234a891633ed663dbc8ca7b0245d88894e962ec33b8692b5e2420cd35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8690d5d8e99a3ec8339da986238cd8a83b6686ea93206d0bcfdb6c170585bec416ff170cfdb6927784e5362efb20557a3669143e7ff647fa8fe7a73f426a1ad0
|
|
7
|
+
data.tar.gz: 92c0fbeed3341c843d68a031dfacf875cc2261fbbc0b1ffe99b37a33504a2f8f9cdc7a5a6fa3f79dd2bd923562e6a4611976ec9765235c7765567bbc61276dad
|
|
@@ -7,36 +7,36 @@ on:
|
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
9
|
rspec:
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
strategy:
|
|
11
|
+
fail-fast: false
|
|
12
|
+
matrix:
|
|
13
|
+
os: [ubuntu-latest, macos-latest]
|
|
14
|
+
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
|
|
15
|
+
ruby: [2.6, 2.7]
|
|
16
|
+
runs-on: ${{ matrix.os }}
|
|
12
17
|
steps:
|
|
13
18
|
- uses: actions/checkout@v2
|
|
14
|
-
- name: Set up Ruby
|
|
15
|
-
uses:
|
|
19
|
+
- name: Set up Ruby
|
|
20
|
+
uses: ruby/setup-ruby@v1
|
|
16
21
|
with:
|
|
17
|
-
ruby-version:
|
|
22
|
+
ruby-version: ${{ matrix.ruby }}
|
|
23
|
+
bundler-cache: true
|
|
18
24
|
- name: Test with Rspec
|
|
19
25
|
run: |
|
|
20
|
-
|
|
21
|
-
bundle install --jobs 4 --retry 3
|
|
22
|
-
bundle exec rspec --format documentation
|
|
26
|
+
bundle exec rspec --format documentation --require spec_helper
|
|
23
27
|
release:
|
|
24
28
|
if: github.event_name == 'push'
|
|
25
29
|
needs: rspec
|
|
26
30
|
runs-on: ubuntu-latest
|
|
27
|
-
|
|
31
|
+
env:
|
|
32
|
+
BUNDLE_DEPLOYMENT: true
|
|
28
33
|
steps:
|
|
29
34
|
- uses: actions/checkout@v2
|
|
30
|
-
- name: Set up Ruby
|
|
31
|
-
uses:
|
|
35
|
+
- name: Set up Ruby
|
|
36
|
+
uses: ruby/setup-ruby@v1
|
|
32
37
|
with:
|
|
33
|
-
ruby-version: 2.7
|
|
34
|
-
|
|
35
|
-
run: |
|
|
36
|
-
gem install --no-document bundler
|
|
37
|
-
bundle config set deployment 'true'
|
|
38
|
-
bundle config set without 'development test'
|
|
39
|
-
bundle install --jobs 4 --retry 3
|
|
38
|
+
ruby-version: 2.7
|
|
39
|
+
bundler-cache: true
|
|
40
40
|
- name: Zip
|
|
41
41
|
run : |
|
|
42
42
|
zip -r datadog_backup.zip ./*
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.0.2](https://github.com/scribd/datadog_backup/compare/v1.0.1...v1.0.2) (2021-05-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** bump rexml from 3.2.4 to 3.2.5 ([15efa8c](https://github.com/scribd/datadog_backup/commit/15efa8c58953d450311fc8e5f125bf7e12401af4))
|
|
7
|
+
|
|
1
8
|
## [1.0.1](https://github.com/scribd/datadog_backup/compare/v1.0.0...v1.0.1) (2021-03-26)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -18,13 +18,13 @@ describe 'bin/datadog_backup' do
|
|
|
18
18
|
i.close
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
Timeout.timeout(
|
|
21
|
+
Timeout.timeout(2.0) do
|
|
22
22
|
oe.each do |v|
|
|
23
23
|
output += v
|
|
24
24
|
end
|
|
25
25
|
end
|
|
26
26
|
rescue Timeout::Error
|
|
27
|
-
LOGGER.warn "Timing out #{t.inspect} after
|
|
27
|
+
LOGGER.warn "Timing out #{t.inspect} after 2 second"
|
|
28
28
|
Process.kill(15, pid)
|
|
29
29
|
ensure
|
|
30
30
|
status = t.value
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: datadog_backup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kamran Farhadi
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-
|
|
12
|
+
date: 2021-05-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: amazing_print
|
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
188
188
|
- !ruby/object:Gem::Version
|
|
189
189
|
version: '0'
|
|
190
190
|
requirements: []
|
|
191
|
-
rubygems_version: 3.1.
|
|
191
|
+
rubygems_version: 3.1.6
|
|
192
192
|
signing_key:
|
|
193
193
|
specification_version: 4
|
|
194
194
|
summary: A utility to backup and restore Datadog accounts
|