vault-test-tools 0.3.9 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: efa729461ae1dd194eb7e35470c7f2b6ef44a3f683971858f32caac3b505b49c
4
+ data.tar.gz: 63c6d625ce3d378bd33a3e3d5b0f2300d117181d9c9cb2e1ab4134b5b701c341
5
+ SHA512:
6
+ metadata.gz: b91ac11890abf6133961165a4ce3f0396ce561bc5ee39bb03dae6123cbaf66662dd79c6eff86e152a4d7aabe5203c658e82170d52c0cc41b108b0cda11c49d1b
7
+ data.tar.gz: a827668879ef4c7b311c82245213c628cf436e0a7d04a172aa0402406bfac78f98f3fea70e56ae51020340a58cfece857483e4a994a8a593d67333fb36814947
@@ -1 +1 @@
1
- 1.9.3-p429
1
+ 2.3.5
@@ -1,4 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 1.9.3
3
+ - 2.3.5
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ gemspec
5
5
  group :development do
6
6
  gem 'rake'
7
7
  gem 'yard'
8
- gem 'debugger'
8
+ gem 'pry-byebug'
9
9
  end
10
10
 
11
11
  group :test do
@@ -4,6 +4,10 @@ require 'logfmt'
4
4
  module Vault::Test::LoggingHelpers
5
5
  def setup
6
6
  super
7
+ Scrolls.init(
8
+ global_context: {app: 'test_app'},
9
+ time_unit: 'milliseconds'
10
+ )
7
11
  Scrolls.stream = StringIO.new
8
12
  @last_logline = nil
9
13
  @last_logdata = nil
@@ -2,7 +2,6 @@ require 'rake/testtask'
2
2
 
3
3
  Rake::TestTask.new do |t|
4
4
  t.verbose = true
5
- t.ruby_opts << '-r turn/autorun'
6
5
  t.ruby_opts << '-I test'
7
6
  t.test_files = FileList['test/**/*_test.rb', 'test/**/*_spec.rb']
8
7
  end
@@ -1,6 +1,6 @@
1
- require 'minitest/unit'
1
+ require 'minitest/autorun'
2
2
 
3
3
  # Base class for Vault test cases.
4
- class Vault::TestCase < MiniTest::Unit::TestCase
4
+ class Vault::TestCase < Minitest::Test
5
5
  include Vault::Test::LoggingHelpers
6
6
  end
@@ -1,5 +1,5 @@
1
1
  module Vault
2
2
  module Test
3
- VERSION = '0.3.9'
3
+ VERSION = '0.4.2'
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ class LoggingHelpersTest < Vault::TestCase
7
7
  # messages.
8
8
  def test_scrolls_logs_to_stream
9
9
  Scrolls.log(key: 'value')
10
- assert_equal("key=value", Scrolls.stream.string.strip)
10
+ assert_equal("app=test_app key=value", Scrolls.stream.string.strip)
11
11
  end
12
12
 
13
13
  def test_logline
@@ -17,12 +17,10 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'minitest', '~> 4.7.4'
21
- gem.add_dependency 'turn'
20
+ gem.add_dependency 'minitest', '~> 5.11'
22
21
  gem.add_dependency 'nokogiri'
23
- gem.add_dependency 'rack-test'
22
+ gem.add_dependency 'rack-test', '~> 1.1'
24
23
  gem.add_dependency 'rr'
25
- gem.add_dependency 'guard-minitest'
26
24
  gem.add_dependency 'logfmt'
27
- gem.add_dependency 'scrolls'
25
+ gem.add_dependency 'scrolls', '0.9'
28
26
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vault-test-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
5
- prerelease:
4
+ version: 0.4.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Chris Continanza
@@ -10,136 +9,92 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-09-10 00:00:00.000000000 Z
12
+ date: 2018-11-21 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: minitest
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ~>
18
+ - - "~>"
21
19
  - !ruby/object:Gem::Version
22
- version: 4.7.4
20
+ version: '5.11'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ~>
25
+ - - "~>"
29
26
  - !ruby/object:Gem::Version
30
- version: 4.7.4
31
- - !ruby/object:Gem::Dependency
32
- name: turn
33
- requirement: !ruby/object:Gem::Requirement
34
- none: false
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: '0'
39
- type: :runtime
40
- prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: '0'
27
+ version: '5.11'
47
28
  - !ruby/object:Gem::Dependency
48
29
  name: nokogiri
49
30
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
31
  requirements:
52
- - - ! '>='
32
+ - - ">="
53
33
  - !ruby/object:Gem::Version
54
34
  version: '0'
55
35
  type: :runtime
56
36
  prerelease: false
57
37
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
38
  requirements:
60
- - - ! '>='
39
+ - - ">="
61
40
  - !ruby/object:Gem::Version
62
41
  version: '0'
63
42
  - !ruby/object:Gem::Dependency
64
43
  name: rack-test
65
44
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
45
  requirements:
68
- - - ! '>='
46
+ - - "~>"
69
47
  - !ruby/object:Gem::Version
70
- version: '0'
48
+ version: '1.1'
71
49
  type: :runtime
72
50
  prerelease: false
73
51
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
52
  requirements:
76
- - - ! '>='
53
+ - - "~>"
77
54
  - !ruby/object:Gem::Version
78
- version: '0'
55
+ version: '1.1'
79
56
  - !ruby/object:Gem::Dependency
80
57
  name: rr
81
58
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
59
  requirements:
84
- - - ! '>='
60
+ - - ">="
85
61
  - !ruby/object:Gem::Version
86
62
  version: '0'
87
63
  type: :runtime
88
64
  prerelease: false
89
65
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
66
  requirements:
92
- - - ! '>='
93
- - !ruby/object:Gem::Version
94
- version: '0'
95
- - !ruby/object:Gem::Dependency
96
- name: guard-minitest
97
- requirement: !ruby/object:Gem::Requirement
98
- none: false
99
- requirements:
100
- - - ! '>='
101
- - !ruby/object:Gem::Version
102
- version: '0'
103
- type: :runtime
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ! '>='
67
+ - - ">="
109
68
  - !ruby/object:Gem::Version
110
69
  version: '0'
111
70
  - !ruby/object:Gem::Dependency
112
71
  name: logfmt
113
72
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
73
  requirements:
116
- - - ! '>='
74
+ - - ">="
117
75
  - !ruby/object:Gem::Version
118
76
  version: '0'
119
77
  type: :runtime
120
78
  prerelease: false
121
79
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
80
  requirements:
124
- - - ! '>='
81
+ - - ">="
125
82
  - !ruby/object:Gem::Version
126
83
  version: '0'
127
84
  - !ruby/object:Gem::Dependency
128
85
  name: scrolls
129
86
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
87
  requirements:
132
- - - ! '>='
88
+ - - '='
133
89
  - !ruby/object:Gem::Version
134
- version: '0'
90
+ version: '0.9'
135
91
  type: :runtime
136
92
  prerelease: false
137
93
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
94
  requirements:
140
- - - ! '>='
95
+ - - '='
141
96
  - !ruby/object:Gem::Version
142
- version: '0'
97
+ version: '0.9'
143
98
  description: Basic tools for Heroku Vault's Ruby projects
144
99
  email:
145
100
  - chriscontinanza@gmail.com
@@ -150,9 +105,9 @@ executables:
150
105
  extensions: []
151
106
  extra_rdoc_files: []
152
107
  files:
153
- - .gitignore
154
- - .ruby-version
155
- - .travis.yml
108
+ - ".gitignore"
109
+ - ".ruby-version"
110
+ - ".travis.yml"
156
111
  - Gemfile
157
112
  - LICENSE.txt
158
113
  - README.md
@@ -176,33 +131,26 @@ files:
176
131
  - vault-test-tools.gemspec
177
132
  homepage: ''
178
133
  licenses: []
134
+ metadata: {}
179
135
  post_install_message:
180
136
  rdoc_options: []
181
137
  require_paths:
182
138
  - lib
183
139
  required_ruby_version: !ruby/object:Gem::Requirement
184
- none: false
185
140
  requirements:
186
- - - ! '>='
141
+ - - ">="
187
142
  - !ruby/object:Gem::Version
188
143
  version: '0'
189
- segments:
190
- - 0
191
- hash: 2147205879738915509
192
144
  required_rubygems_version: !ruby/object:Gem::Requirement
193
- none: false
194
145
  requirements:
195
- - - ! '>='
146
+ - - ">="
196
147
  - !ruby/object:Gem::Version
197
148
  version: '0'
198
- segments:
199
- - 0
200
- hash: 2147205879738915509
201
149
  requirements: []
202
150
  rubyforge_project:
203
- rubygems_version: 1.8.23
151
+ rubygems_version: 2.7.6
204
152
  signing_key:
205
- specification_version: 3
153
+ specification_version: 4
206
154
  summary: Test classes and stuff you want in your dev, but not prod, environment.
207
155
  test_files:
208
156
  - test/environment_helpers_test.rb
@@ -210,4 +158,3 @@ test_files:
210
158
  - test/logging_helpers_test.rb
211
159
  - test/spec_helpers_test.rb
212
160
  - test/test_spec.rb
213
- has_rdoc: