vault-test-tools 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby-version +1 -0
- data/Gemfile +1 -0
- data/bin/t +1 -2
- data/lib/vault-test-tools/rake_task.rb +2 -0
- data/lib/vault-test-tools/spec.rb +0 -3
- data/lib/vault-test-tools/version.rb +1 -1
- data/lib/vault-test-tools.rb +0 -12
- data/test/test_spec.rb +0 -8
- data/vault-test-tools.gemspec +1 -1
- metadata +11 -10
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.9.3-p429
|
data/Gemfile
CHANGED
data/bin/t
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
require 'rake/testtask'
|
2
2
|
|
3
|
+
ENV['CPUPROFILE'] = './test/.test.profile'
|
3
4
|
Rake::TestTask.new do |t|
|
4
5
|
t.verbose = true
|
5
6
|
t.ruby_opts << '-r turn/autorun'
|
7
|
+
t.ruby_opts << '-r perftools'
|
6
8
|
t.ruby_opts << '-I test'
|
7
9
|
t.test_files = FileList['test/**/*_test.rb', 'test/**/*_spec.rb']
|
8
10
|
end
|
data/lib/vault-test-tools.rb
CHANGED
@@ -9,15 +9,3 @@ require "vault-test-tools/environment_helpers"
|
|
9
9
|
require "vault-test-tools/html_helpers"
|
10
10
|
require "vault-test-tools/db_helpers"
|
11
11
|
require "vault-test-tools/spec_helpers"
|
12
|
-
|
13
|
-
# TODO: Deprecate
|
14
|
-
module Vault
|
15
|
-
module Test
|
16
|
-
def self.include_in_all(*modules)
|
17
|
-
modules.each do |_module|
|
18
|
-
Vault::TestCase.send(:include, _module)
|
19
|
-
Vault::Spec.send(:include, _module)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
data/test/test_spec.rb
CHANGED
@@ -1,13 +1,5 @@
|
|
1
1
|
require 'helper'
|
2
2
|
|
3
|
-
class TestSpec < Vault::TestCase
|
4
|
-
|
5
|
-
def test_default_spec_class_is_vault_spec
|
6
|
-
assert_equal Vault::Spec, MiniTest::Spec.spec_type('')
|
7
|
-
end
|
8
|
-
|
9
|
-
end
|
10
|
-
|
11
3
|
class SpecTest < Vault::Spec
|
12
4
|
describe "Vault::Spec" do
|
13
5
|
it 'should be runnable' do
|
data/vault-test-tools.gemspec
CHANGED
@@ -17,8 +17,8 @@ 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'
|
20
21
|
gem.add_dependency 'turn'
|
21
|
-
gem.add_dependency 'minitest'
|
22
22
|
gem.add_dependency 'rack-perftools_profiler'
|
23
23
|
gem.add_dependency 'nokogiri'
|
24
24
|
gem.add_dependency 'rack-test'
|
metadata
CHANGED
@@ -1,7 +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.
|
4
|
+
version: 0.3.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,26 +10,26 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-05-
|
13
|
+
date: 2013-05-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: minitest
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 4.7.4
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
none: false
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - '='
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
30
|
+
version: 4.7.4
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
|
-
name:
|
32
|
+
name: turn
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
none: false
|
35
35
|
requirements:
|
@@ -169,6 +169,7 @@ extensions: []
|
|
169
169
|
extra_rdoc_files: []
|
170
170
|
files:
|
171
171
|
- .gitignore
|
172
|
+
- .ruby-version
|
172
173
|
- Gemfile
|
173
174
|
- LICENSE.txt
|
174
175
|
- README.md
|
@@ -204,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
204
205
|
version: '0'
|
205
206
|
segments:
|
206
207
|
- 0
|
207
|
-
hash: -
|
208
|
+
hash: -4588855188946910642
|
208
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
209
210
|
none: false
|
210
211
|
requirements:
|
@@ -213,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
214
|
version: '0'
|
214
215
|
segments:
|
215
216
|
- 0
|
216
|
-
hash: -
|
217
|
+
hash: -4588855188946910642
|
217
218
|
requirements: []
|
218
219
|
rubyforge_project:
|
219
220
|
rubygems_version: 1.8.23
|