test-belt 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,19 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- test-belt (1.0.0)
5
- kelredd-useful (~> 0.4.0)
4
+ test-belt (1.0.1)
6
5
  leftright (~> 0.9.0)
7
- shoulda (~> 2.11)
8
6
 
9
7
  GEM
10
8
  remote: http://rubygems.org/
11
9
  specs:
12
- json (1.5.1)
13
- kelredd-useful (0.4.1)
14
- json
15
10
  leftright (0.9.1)
16
- shoulda (2.11.3)
17
11
 
18
12
  PLATFORMS
19
13
  ruby
@@ -61,11 +61,11 @@ module TestBelt
61
61
  end
62
62
 
63
63
  def should_context
64
- '' # TODO: context stuff needs to be added to test name
64
+ _testbelt_contexts
65
65
  end
66
66
 
67
67
  def should_test_name(context, name)
68
- test_name = ["test:", "should", "#{name}. "].flatten.join(' ').to_sym
68
+ test_name = ["test:", context, "should", "#{name}. "].compact.flatten.join(' ').to_sym
69
69
  if instance_methods.include?(test_name.to_s)
70
70
  warn " * WARNING: '#{test_name}' is already defined"
71
71
  end
@@ -1,3 +1,3 @@
1
1
  module TestBelt
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/test-belt.gemspec CHANGED
@@ -18,8 +18,5 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
 
20
20
  s.add_development_dependency("bundler", ["~> 1.0"])
21
-
22
- s.add_dependency("shoulda", ["~> 2.11"])
23
21
  s.add_dependency("leftright", ["~> 0.9.0"])
24
- s.add_dependency("kelredd-useful", ["~> 0.4.0"])
25
22
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-belt
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kelly D. Redding
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-13 00:00:00 Z
18
+ date: 2011-05-14 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler
@@ -32,25 +32,10 @@ dependencies:
32
32
  version: "1.0"
33
33
  type: :development
34
34
  version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: shoulda
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 21
44
- segments:
45
- - 2
46
- - 11
47
- version: "2.11"
48
- type: :runtime
49
- version_requirements: *id002
50
35
  - !ruby/object:Gem::Dependency
51
36
  name: leftright
52
37
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &id002 !ruby/object:Gem::Requirement
54
39
  none: false
55
40
  requirements:
56
41
  - - ~>
@@ -62,23 +47,7 @@ dependencies:
62
47
  - 0
63
48
  version: 0.9.0
64
49
  type: :runtime
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- name: kelredd-useful
68
- prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
70
- none: false
71
- requirements:
72
- - - ~>
73
- - !ruby/object:Gem::Version
74
- hash: 15
75
- segments:
76
- - 0
77
- - 4
78
- - 0
79
- version: 0.4.0
80
- type: :runtime
81
- version_requirements: *id004
50
+ version_requirements: *id002
82
51
  description: This is my Ruby testing "tool belt". It packages up the most common testing tools and paradigms I use. It is opinionated and custom to how I like to test.
83
52
  email:
84
53
  - kelly@kelredd.com