vault-test-tools 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +14 -0
- data/.ruby-version +1 -1
- data/.tool-versions +1 -1
- data/README.md +1 -1
- data/lib/vault-test-tools/spec.rb +5 -0
- data/lib/vault-test-tools/version.rb +1 -1
- data/vault-test-tools.gemspec +3 -3
- metadata +16 -17
- data/.travis.yml +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ed5ffcc1fab9a65bcd92d502a0105068bef26428c0639dd8ea2fe24a47e3abb
|
4
|
+
data.tar.gz: d1945642c27da48bf26beea4a41ee50f5c089b5d215a78dcba6e5b053fceb173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e287f5f0e0ecb1b0f009e304b905cb5f253234bc487e86dfe86547a48748eb2781aed1533b974041d96c81eb49316ca162000528ee45f8e0c0aa7ef1f342815a
|
7
|
+
data.tar.gz: c181fbb6422c02088d56547109b36ec128e12dd566b5e08f4017e1354e4e3e97bc632bca684a407f1cad0bb2df7b6ffebbd320c1ea729e996b8d02c3e4d68b49
|
@@ -0,0 +1,14 @@
|
|
1
|
+
version: 2.1
|
2
|
+
|
3
|
+
jobs:
|
4
|
+
build:
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:2.7.1
|
7
|
+
steps:
|
8
|
+
- checkout
|
9
|
+
- run: export BUNDLE_GEMFILE=$PWD/Gemfile
|
10
|
+
- run: ruby --version
|
11
|
+
- run: gem update --system
|
12
|
+
- run: gem install bundler -v '< 2'
|
13
|
+
- run: bundle install --jobs=3 --retry=3
|
14
|
+
- run: bundle exec rake
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.1
|
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby 2.
|
1
|
+
ruby 2.7.1
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Test is the English phrase for テスト. Test tools for the Heroku
|
4
4
|
Vault Team.
|
5
5
|
|
6
|
-
[![
|
6
|
+
[![CircleCI](https://circleci.com/gh/heroku/vault-test-tools/tree/master.svg?style=shield&circle-token=582cf001404ddc9e0dc49338655238212fafa3f4)](_https://circleci.com/gh/heroku/vault-test-tools/tree/master_)
|
7
7
|
|
8
8
|
## Overview
|
9
9
|
|
@@ -1,8 +1,13 @@
|
|
1
1
|
require 'minitest/spec'
|
2
|
+
require 'scrolls'
|
2
3
|
|
3
4
|
# Base class for Vault spec tests.
|
4
5
|
class Vault::Spec < MiniTest::Spec
|
5
6
|
before do
|
7
|
+
Scrolls.init(
|
8
|
+
global_context: {app: 'test_app'},
|
9
|
+
time_unit: 'milliseconds'
|
10
|
+
)
|
6
11
|
Scrolls.stream = StringIO.new if defined? Scrolls
|
7
12
|
end
|
8
13
|
end
|
data/vault-test-tools.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.description = %q{Basic tools for Heroku Vault's Ruby projects}
|
14
14
|
gem.summary = %q{Test classes and stuff you want in your dev, but not prod, environment.}
|
15
15
|
gem.homepage = ""
|
16
|
-
gem.required_ruby_version = '>= 2.
|
16
|
+
gem.required_ruby_version = '>= 2.7.1'
|
17
17
|
|
18
18
|
gem.files = `git ls-files`.split($/)
|
19
19
|
gem.executables = ['t']
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
|
|
23
23
|
gem.add_dependency 'minitest', '~> 5.11'
|
24
24
|
gem.add_dependency 'nokogiri'
|
25
25
|
gem.add_dependency 'rack-test', '~> 1.1'
|
26
|
-
gem.add_dependency 'rr'
|
26
|
+
gem.add_dependency 'rr', '~> 1.2'
|
27
27
|
gem.add_dependency 'logfmt'
|
28
|
-
gem.add_dependency 'scrolls'
|
28
|
+
gem.add_dependency 'scrolls'
|
29
29
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vault-test-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Continanza
|
8
8
|
- Jamu Kakar
|
9
9
|
- Kenny Parnell
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-08-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: minitest
|
@@ -58,16 +58,16 @@ dependencies:
|
|
58
58
|
name: rr
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "
|
61
|
+
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '1.2'
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - "
|
68
|
+
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
70
|
+
version: '1.2'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: logfmt
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,16 +86,16 @@ dependencies:
|
|
86
86
|
name: scrolls
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- -
|
89
|
+
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: '0
|
91
|
+
version: '0'
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
|
-
- -
|
96
|
+
- - ">="
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: '0
|
98
|
+
version: '0'
|
99
99
|
description: Basic tools for Heroku Vault's Ruby projects
|
100
100
|
email:
|
101
101
|
- chriscontinanza@gmail.com
|
@@ -108,10 +108,10 @@ executables:
|
|
108
108
|
extensions: []
|
109
109
|
extra_rdoc_files: []
|
110
110
|
files:
|
111
|
+
- ".circleci/config.yml"
|
111
112
|
- ".gitignore"
|
112
113
|
- ".ruby-version"
|
113
114
|
- ".tool-versions"
|
114
|
-
- ".travis.yml"
|
115
115
|
- Gemfile
|
116
116
|
- LICENSE.txt
|
117
117
|
- README.md
|
@@ -136,7 +136,7 @@ files:
|
|
136
136
|
homepage: ''
|
137
137
|
licenses: []
|
138
138
|
metadata: {}
|
139
|
-
post_install_message:
|
139
|
+
post_install_message:
|
140
140
|
rdoc_options: []
|
141
141
|
require_paths:
|
142
142
|
- lib
|
@@ -144,16 +144,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
144
|
requirements:
|
145
145
|
- - ">="
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version: 2.
|
147
|
+
version: 2.7.1
|
148
148
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
|
-
|
155
|
-
|
156
|
-
signing_key:
|
154
|
+
rubygems_version: 3.1.2
|
155
|
+
signing_key:
|
157
156
|
specification_version: 4
|
158
157
|
summary: Test classes and stuff you want in your dev, but not prod, environment.
|
159
158
|
test_files:
|
data/.travis.yml
DELETED