mongoa 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/mongoa/matchers.rb +1 -0
- data/lib/mongoa/rspec2.rb +7 -0
- data/lib/mongoa.rb +4 -4
- data/mongoa.gemspec +58 -0
- metadata +4 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/lib/mongoa/matchers.rb
CHANGED
data/lib/mongoa.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
if defined?(RSpec)
|
2
|
+
require 'mongoa/integrations/rspec2'
|
3
|
+
else
|
4
|
+
raise 'DONT SUPPORT THAT TEST FRAMEWORK'
|
5
5
|
end
|
data/mongoa.gemspec
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{mongoa}
|
8
|
+
s.version = "0.0.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Scott J. Tamosunas"]
|
12
|
+
s.date = %q{2010-08-06}
|
13
|
+
s.description = %q{Adds the association and validation macros for Rspec in the same way Shoulda does for ActiveRecord.}
|
14
|
+
s.email = %q{tamosunas@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/mongoa.rb",
|
27
|
+
"lib/mongoa/matchers.rb",
|
28
|
+
"lib/mongoa/mongo_mapper/association_matcher.rb",
|
29
|
+
"lib/mongoa/rspec2.rb",
|
30
|
+
"mongoa.gemspec",
|
31
|
+
"spec/mongoa_spec.rb",
|
32
|
+
"spec/spec.opts",
|
33
|
+
"spec/spec_helper.rb"
|
34
|
+
]
|
35
|
+
s.homepage = %q{http://github.com/scotttam/mongoa}
|
36
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
37
|
+
s.require_paths = ["lib"]
|
38
|
+
s.rubygems_version = %q{1.3.7}
|
39
|
+
s.summary = %q{Like Shoulda but for MongoMapper.}
|
40
|
+
s.test_files = [
|
41
|
+
"spec/mongoa_spec.rb",
|
42
|
+
"spec/spec_helper.rb"
|
43
|
+
]
|
44
|
+
|
45
|
+
if s.respond_to? :specification_version then
|
46
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
47
|
+
s.specification_version = 3
|
48
|
+
|
49
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
50
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
51
|
+
else
|
52
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
53
|
+
end
|
54
|
+
else
|
55
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Scott J. Tamosunas
|
@@ -51,6 +51,8 @@ files:
|
|
51
51
|
- lib/mongoa.rb
|
52
52
|
- lib/mongoa/matchers.rb
|
53
53
|
- lib/mongoa/mongo_mapper/association_matcher.rb
|
54
|
+
- lib/mongoa/rspec2.rb
|
55
|
+
- mongoa.gemspec
|
54
56
|
- spec/mongoa_spec.rb
|
55
57
|
- spec/spec.opts
|
56
58
|
- spec/spec_helper.rb
|