vault-tools 2.0.2 → 2.1.0

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
  SHA256:
3
- metadata.gz: 94e958db62b7b6488e9e8369e0c2067cabd5a9ffdb6c2ebe91e774266dea2785
4
- data.tar.gz: 75fbf49120000e5c48ff9b2ae1647aa88a63fc8e23fe64528c307653c310c5fb
3
+ metadata.gz: 30215f797eb0408bdb04fcef03f996e62742d53900ab541fa88778d3bd9c3bb7
4
+ data.tar.gz: 30dd62061f20a3f7c4d98485d33d2dfaed376ecd09d872a795879c3fa29e062a
5
5
  SHA512:
6
- metadata.gz: e2cf15adf12bef707094105199bc93bbe11c54f8c6ca75b441d7860e3df0efab710c139a4425cb85b1e55ed3cdb3b41d96e4d2ef3188f162a000e5eec022c1cb
7
- data.tar.gz: 1e0f0e3f31feaa53fdfb08c5788f91f13bd78d3142eacdc4a3b03d2ee9ad3a1aae68372d84c9a2983c7846e436f7c63b35456690648262a3e2ce0babcfc2a0fb
6
+ metadata.gz: 47006d1b43d504f4faeb5052485b4fcc899be520353c84d1bbf80091983a2406977166a4089807f4222d54baafce4d0ccf1c74264cde82fa35c798448deb4c27
7
+ data.tar.gz: 23e8a5878796fef48fb97f809e87d813d9c12943d34e3acec788735920391bab399f32dbf7a33b94d51f3867ca5cbc048f149ae3c183b31d0237cb171ee84390
@@ -0,0 +1,15 @@
1
+ version: 2.1
2
+
3
+ jobs:
4
+ build:
5
+ docker:
6
+ - image: circleci/ruby:2.7.1
7
+
8
+ steps:
9
+ - checkout
10
+ - run: export BUNDLE_GEMFILE=$PWD/Gemfile
11
+ - run: ruby --version
12
+ - run: gem update --system
13
+ - run: gem install bundler -v '< 2'
14
+ - run: bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
15
+ - run: bundle exec rake
data/Gemfile CHANGED
@@ -10,7 +10,6 @@ group :development do
10
10
  end
11
11
 
12
12
  group :test do
13
- gem 'guard-minitest'
14
13
  gem 'minitest-around'
15
- gem 'vault-test-tools', '~> 1.0.0'
14
+ gem 'vault-test-tools', '~> 1.1.0'
16
15
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vault-tools (2.0.2)
4
+ vault-tools (2.1.0)
5
5
  aws-sdk-s3 (~> 1.0)
6
6
  coderay
7
7
  excon
@@ -16,59 +16,57 @@ PATH
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- aws-eventstream (1.1.0)
20
- aws-partitions (1.332.0)
21
- aws-sdk-core (3.100.0)
19
+ aws-eventstream (1.1.1)
20
+ aws-partitions (1.491.0)
21
+ aws-sdk-core (3.119.1)
22
22
  aws-eventstream (~> 1, >= 1.0.2)
23
23
  aws-partitions (~> 1, >= 1.239.0)
24
24
  aws-sigv4 (~> 1.1)
25
25
  jmespath (~> 1.0)
26
- aws-sdk-kms (1.34.1)
27
- aws-sdk-core (~> 3, >= 3.99.0)
26
+ aws-sdk-kms (1.46.0)
27
+ aws-sdk-core (~> 3, >= 3.119.0)
28
28
  aws-sigv4 (~> 1.1)
29
- aws-sdk-s3 (1.69.1)
30
- aws-sdk-core (~> 3, >= 3.99.0)
29
+ aws-sdk-s3 (1.99.0)
30
+ aws-sdk-core (~> 3, >= 3.119.0)
31
31
  aws-sdk-kms (~> 1)
32
32
  aws-sigv4 (~> 1.1)
33
- aws-sigv4 (1.2.0)
33
+ aws-sigv4 (1.2.4)
34
34
  aws-eventstream (~> 1, >= 1.0.2)
35
- coderay (1.1.2)
36
- dotenv (2.5.0)
37
- excon (0.75.0)
35
+ coderay (1.1.3)
36
+ dotenv (2.7.6)
37
+ excon (0.85.0)
38
38
  fernet (2.0)
39
39
  valcro (= 0.1)
40
- guard-compat (1.2.1)
41
- guard-minitest (2.4.6)
42
- guard-compat (~> 1.2)
43
- minitest (>= 3.0)
44
40
  jmespath (1.4.0)
45
- logfmt (0.0.8)
46
- method_source (0.9.2)
47
- mini_portile2 (2.4.0)
48
- minitest (5.11.3)
41
+ logfmt (0.0.9)
42
+ method_source (1.0.0)
43
+ mini_portile2 (2.6.1)
44
+ minitest (5.14.4)
49
45
  minitest-around (0.5.0)
50
46
  minitest (~> 5.0)
51
- multi_json (1.14.1)
47
+ multi_json (1.15.0)
52
48
  mustermann (1.1.1)
53
49
  ruby2_keywords (~> 0.0.1)
54
- nokogiri (1.10.9)
55
- mini_portile2 (~> 2.4.0)
56
- pry (0.12.2)
57
- coderay (~> 1.1.0)
58
- method_source (~> 0.9.0)
59
- rack (2.0.6)
50
+ nokogiri (1.12.3)
51
+ mini_portile2 (~> 2.6.1)
52
+ racc (~> 1.4)
53
+ pry (0.14.1)
54
+ coderay (~> 1.1)
55
+ method_source (~> 1.0)
56
+ racc (1.5.2)
57
+ rack (2.2.3)
60
58
  rack-protection (2.0.8.1)
61
59
  rack
62
60
  rack-ssl-enforcer (0.2.9)
63
61
  rack-test (1.1.0)
64
62
  rack (>= 1.0, < 3)
65
- rake (13.0.1)
66
- rdoc (6.1.1)
63
+ rake (13.0.6)
64
+ rdoc (6.3.2)
67
65
  rollbar (2.18.2)
68
66
  multi_json
69
67
  rr (1.2.1)
70
- ruby2_keywords (0.0.2)
71
- scrolls (0.9.0)
68
+ ruby2_keywords (0.0.5)
69
+ scrolls (0.9.1)
72
70
  shotgun (0.9.2)
73
71
  rack (>= 1.0)
74
72
  sinatra (2.0.8.1)
@@ -77,16 +75,16 @@ GEM
77
75
  rack-protection (= 2.0.8.1)
78
76
  tilt (~> 2.0)
79
77
  tilt (2.0.10)
80
- uuidtools (2.1.5)
78
+ uuidtools (2.2.0)
81
79
  valcro (0.1)
82
- vault-test-tools (1.0.0)
80
+ vault-test-tools (1.1.0)
83
81
  logfmt
84
82
  minitest (~> 5.11)
85
83
  nokogiri
86
84
  rack-test (~> 1.1)
87
- rr
88
- scrolls (= 0.9)
89
- yard (0.9.25)
85
+ rr (~> 1.2)
86
+ scrolls
87
+ yard (0.9.26)
90
88
  yard-sinatra (1.0.0)
91
89
  yard (~> 0.7)
92
90
 
@@ -95,16 +93,15 @@ PLATFORMS
95
93
 
96
94
  DEPENDENCIES
97
95
  dotenv
98
- guard-minitest
99
96
  minitest-around
100
97
  pry
101
98
  rake (~> 13.0)
102
99
  rdoc
103
100
  shotgun (~> 0.9.2)
104
- vault-test-tools (~> 1.0.0)
101
+ vault-test-tools (~> 1.1.0)
105
102
  vault-tools!
106
103
  yard
107
104
  yard-sinatra
108
105
 
109
106
  BUNDLED WITH
110
- 1.17.3
107
+ 2.2.26
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Tools is the English word for ツール. Tooling for the Heroku Vault
4
4
  team to enable faster bootstrapping for Ruby projects.
5
5
 
6
- [![Build Status](https://travis-ci.org/heroku/vault-tools.png?branch=master)](https://travis-ci.org/heroku/vault-tools)
6
+ [![CircleCI](https://circleci.com/gh/heroku/vault-tools/tree/master.svg?style=shield&circle-token=39ec638ab252a4440ca919f9b09dc258b4459c58)](_https://circleci.com/gh/heroku/vault-tools/tree/master_)
7
7
 
8
8
  ## Installation
9
9
 
@@ -93,3 +93,7 @@ Generate the API documentation:
93
93
  ## Releasing
94
94
 
95
95
  > bundle exec rake release
96
+
97
+ ## Release Notes
98
+ Version 2.1.0 (2021-08-26):
99
+ guard-minitest was removed due to it causing problems with the ruby version upgrade. Was not actively used anymore. Hasn't been updated in a long time.
@@ -16,7 +16,7 @@ module Vault
16
16
  class Pipeline
17
17
  def self.use(*args)
18
18
  @filters ||= []
19
- @filters.push *args
19
+ @filters.push(*args)
20
20
  end
21
21
 
22
22
  def self.filters
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Vault
4
4
  module Tools
5
- VERSION = '2.0.2'
5
+ VERSION = '2.1.0'
6
6
  end
7
7
  end
@@ -53,7 +53,7 @@ module Vault
53
53
  # protect! is used
54
54
  %w{get put post delete head options path link unlink}.each do |meth|
55
55
  define_method "#{meth}_unprotected".to_sym do |path, opts = {}, &block|
56
- pattern = compile!(meth.upcase, path, block, opts).first
56
+ pattern = compile!(meth.upcase, path, block, **opts).first
57
57
  set :unprotected_paths, settings.unprotected_paths + [pattern]
58
58
  if meth.downcase == 'get'
59
59
  conditions = @conditions.dup
data/test/log_test.rb CHANGED
@@ -116,6 +116,6 @@ class LogTest < Vault::TestCase
116
116
  assert_equal 'true', logged_data['A']
117
117
  assert_equal 'true', logged_data['B']
118
118
  assert_equal 'test-deploy', logged_data['source']
119
- assert_match /\d/, logged_data['elapsed']
119
+ assert_match(/\d/, logged_data['elapsed'])
120
120
  end
121
121
  end
data/vault-tools.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.description = "Basic tools for Heroku Vault's Ruby projects"
15
15
  gem.summary = "Test classes, base web classes, and helpers - oh my!"
16
16
  gem.homepage = ""
17
- gem.required_ruby_version = '>= 2.5.3'
17
+ gem.required_ruby_version = '>= 2.7.1'
18
18
 
19
19
  gem.files = `git ls-files`.split($/)
20
20
  gem.test_files = gem.files.grep('^(test|spec|features)/')
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vault-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.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: 2020-06-23 00:00:00.000000000 Z
13
+ date: 2021-08-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: scrolls
@@ -220,8 +220,8 @@ executables: []
220
220
  extensions: []
221
221
  extra_rdoc_files: []
222
222
  files:
223
+ - ".circleci/config.yml"
223
224
  - ".gitignore"
224
- - ".travis.yml"
225
225
  - ".yardopts"
226
226
  - Gemfile
227
227
  - Gemfile.lock
@@ -270,7 +270,7 @@ files:
270
270
  homepage: ''
271
271
  licenses: []
272
272
  metadata: {}
273
- post_install_message:
273
+ post_install_message:
274
274
  rdoc_options: []
275
275
  require_paths:
276
276
  - lib
@@ -278,16 +278,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
278
278
  requirements:
279
279
  - - ">="
280
280
  - !ruby/object:Gem::Version
281
- version: 2.5.3
281
+ version: 2.7.1
282
282
  required_rubygems_version: !ruby/object:Gem::Requirement
283
283
  requirements:
284
284
  - - ">="
285
285
  - !ruby/object:Gem::Version
286
286
  version: '0'
287
287
  requirements: []
288
- rubyforge_project:
289
- rubygems_version: 2.7.6.2
290
- signing_key:
288
+ rubygems_version: 3.1.2
289
+ signing_key:
291
290
  specification_version: 4
292
291
  summary: Test classes, base web classes, and helpers - oh my!
293
292
  test_files: []
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- rvm:
4
- - 2.6.0
5
- - 2.5.3
6
- before_install:
7
- - gem install bundler -v '< 2'