vault-tools 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -17,7 +17,6 @@ Includes request logging and health endpoints
17
17
  ```ruby
18
18
  class Web < Vault::Web
19
19
  helpers Vault::SinatraHelpers::HtmlSerializer
20
-
21
20
  end
22
21
  ```
23
22
 
@@ -28,7 +27,6 @@ Provides a Stock TestCase and Spec classes to customize.
28
27
  To extend your test classes uniformly, use the Vault::
29
28
 
30
29
  ```ruby
31
-
32
30
  module MyTestHelperClass
33
31
  def app; Vault::InvoiceBuilder::Web; end
34
32
  end
@@ -36,7 +34,7 @@ end
36
34
  Vault::TestHelpers.include_in_all Vault::InvoiceBuilderHelpers
37
35
  ```
38
36
 
39
- Now you have an `#app` method in your `Vault::TestCase`s and your `Vault::Spec`s
37
+ Now you have an `#app` method in your `Vault::TestCase` and your `Vault::Spec`
40
38
 
41
39
  ## Contributing
42
40
 
@@ -1,5 +1,6 @@
1
1
  require 'minitest/unit'
2
2
  require 'minitest/spec'
3
+ require 'rack/test'
3
4
 
4
5
  # Base class for Vault test cases.
5
6
  class Vault::TestCase < MiniTest::Unit::TestCase
@@ -1,5 +1,5 @@
1
1
  module Vault
2
2
  module Tools
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
data/lib/vault-tools.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  require "vault-tools/version"
2
2
 
3
+ require 'sinatra/base'
4
+ require 'scrolls'
5
+
3
6
  module Vault
4
7
  def self.require
5
8
  Kernel.require 'bundler'
@@ -8,8 +11,6 @@ module Vault
8
11
  end
9
12
  end
10
13
 
11
- require 'sinatra/base'
12
-
13
14
  require 'vault-tools/sinatra_helpers/html_serializer'
14
15
  require 'vault-tools/log'
15
16
  require 'vault-tools/web'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vault-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  segments:
97
97
  - 0
98
- hash: -2653287850415797196
98
+ hash: 225716029977380172
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements:
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  segments:
106
106
  - 0
107
- hash: -2653287850415797196
107
+ hash: 225716029977380172
108
108
  requirements: []
109
109
  rubyforge_project:
110
110
  rubygems_version: 1.8.23