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 ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p429
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
+ ruby '1.9.3'
2
3
 
3
4
  # Specify your gem's dependencies in vault-dev-tools.gemspec
4
5
  gemspec
data/bin/t CHANGED
@@ -1,4 +1,3 @@
1
1
  #! /usr/bin/env ruby
2
2
 
3
- ENV['CPUPROFILE'] = './test/.test.profile'
4
- exec('bundle exec turn -r perftools -I test -I lib test/**/*.rb test/*.rb')
3
+ exec('bundle exec rake test')
@@ -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
@@ -6,6 +6,3 @@ class Vault::Spec < MiniTest::Spec
6
6
  Scrolls.stream = StringIO.new if defined? Scrolls
7
7
  end
8
8
  end
9
-
10
- # Register our Spec class as the default.
11
- MiniTest::Spec.register_spec_type //, Vault::Spec
@@ -1,5 +1,5 @@
1
1
  module Vault
2
2
  module Test
3
- VERSION = "0.3.3"
3
+ VERSION = "0.3.4"
4
4
  end
5
5
  end
@@ -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
@@ -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.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-10 00:00:00.000000000 Z
13
+ date: 2013-05-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: turn
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: '0'
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: '0'
30
+ version: 4.7.4
31
31
  - !ruby/object:Gem::Dependency
32
- name: minitest
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: -2708165873792433116
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: -2708165873792433116
217
+ hash: -4588855188946910642
217
218
  requirements: []
218
219
  rubyforge_project:
219
220
  rubygems_version: 1.8.23