giraffesoft-zebra 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2008 James Golick
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  = Zebra
2
2
 
3
- Zebra is another tool for testing your rubies.
3
+ One line tests without the smells.
4
4
 
5
5
  = The problem
6
6
 
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :patch: 0
3
3
  :major: 0
4
- :minor: 1
4
+ :minor: 2
@@ -8,7 +8,7 @@ require File.dirname(__FILE__) + '/zebra/shoulda'
8
8
  module Zebra
9
9
  class << self
10
10
  def shoulda?
11
- defined?(Thoughtbot)
11
+ defined?(Shoulda)
12
12
  end
13
13
  end
14
14
 
@@ -18,13 +18,13 @@ module Zebra
18
18
 
19
19
  protected
20
20
  def expect_shoulda(&block)
21
- Thoughtbot::Shoulda::Context.send(:include, Zebra::Shoulda) unless Thoughtbot::Shoulda::Context.include?(Zebra::Shoulda)
21
+ Shoulda::Context.send(:include, Zebra::ShouldaSupport) unless Shoulda::Context.include?(Zebra::ShouldaSupport)
22
22
 
23
- if Thoughtbot::Shoulda.current_context
24
- Thoughtbot::Shoulda.current_context.expect(&block)
23
+ if Shoulda.current_context
24
+ Shoulda.current_context.expect(&block)
25
25
  else
26
26
  context_name = self.name.gsub(/Test/, "")
27
- context = Thoughtbot::Shoulda::Context.new(context_name, self) do
27
+ context = Shoulda::Context.new(context_name, self) do
28
28
  expect(&block)
29
29
  end
30
30
  context.build
@@ -1,5 +1,5 @@
1
1
  module Zebra
2
- module Shoulda
2
+ module ShouldaSupport
3
3
  def self.included(klass)
4
4
  klass.class_eval do
5
5
  attr_accessor :expects
metadata CHANGED
@@ -1,19 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: giraffesoft-zebra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Golick
8
+ - Josh Gruenberg
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
12
 
12
- date: 2009-01-16 00:00:00 -08:00
13
+ date: 2009-03-21 00:00:00 -07:00
13
14
  default_executable:
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: jeremymcanally-matchy
18
+ type: :runtime
17
19
  version_requirement:
18
20
  version_requirements: !ruby/object:Gem::Requirement
19
21
  requirements:
@@ -23,6 +25,7 @@ dependencies:
23
25
  version:
24
26
  - !ruby/object:Gem::Dependency
25
27
  name: ParseTree
28
+ type: :runtime
26
29
  version_requirement:
27
30
  version_requirements: !ruby/object:Gem::Requirement
28
31
  requirements:
@@ -32,6 +35,7 @@ dependencies:
32
35
  version:
33
36
  - !ruby/object:Gem::Dependency
34
37
  name: ruby2ruby
38
+ type: :runtime
35
39
  version_requirement:
36
40
  version_requirements: !ruby/object:Gem::Requirement
37
41
  requirements:
@@ -40,13 +44,14 @@ dependencies:
40
44
  version: 1.2.1
41
45
  version:
42
46
  description: TODO
43
- email: james@giraffesoft.ca
47
+ email: joshngru@gmail.com
44
48
  executables: []
45
49
 
46
50
  extensions: []
47
51
 
48
- extra_rdoc_files: []
49
-
52
+ extra_rdoc_files:
53
+ - README.rdoc
54
+ - LICENSE
50
55
  files:
51
56
  - README.rdoc
52
57
  - VERSION.yml
@@ -60,11 +65,13 @@ files:
60
65
  - test/shoulda
61
66
  - test/shoulda/shoulda_test.rb
62
67
  - test/test_helper.rb
63
- has_rdoc: false
64
- homepage: http://github.com/giraffesoft/zebra
68
+ - LICENSE
69
+ has_rdoc: true
70
+ homepage: http://github.com/joshng/zebra
65
71
  post_install_message:
66
- rdoc_options: []
67
-
72
+ rdoc_options:
73
+ - --inline-source
74
+ - --charset=UTF-8
68
75
  require_paths:
69
76
  - lib
70
77
  required_ruby_version: !ruby/object:Gem::Requirement