mongoid-minitest 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +9 -5
- data/README.md +3 -3
- data/lib/mongoid-minitest/version.rb +1 -1
- data/lib/mongoid-minitest.rb +3 -3
- metadata +3 -3
data/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
## 0.1.
|
|
1
|
+
## 0.1.1 - unreleased
|
|
2
|
+
|
|
3
|
+
+ Remove required ruby version from the gemspec. Fixes [#9](https://github.com/frodsan/mongoid-minitest/pull/9).
|
|
4
|
+
|
|
5
|
+
## 0.1.0 - August 09, 2012
|
|
2
6
|
|
|
3
7
|
+ Change support to only Ruby 1.9.3.
|
|
4
8
|
+ Bump mongoid version to 3.0.2 and minitest version to 3.3.0 and minitest version
|
|
5
9
|
to 3.3.0 - *Sascha Wessel*.
|
|
6
10
|
|
|
7
|
-
## 0.0.3.1 - 31
|
|
11
|
+
## 0.0.3.1 - May 31, 2012
|
|
8
12
|
|
|
9
13
|
+ Change `have_index_for(indexed_field)` to work with `belongs_to :association, index: true`.
|
|
10
14
|
Fixes [#7](https://github.com/frodsan/mongoid-minitest/issues/7).
|
|
11
15
|
|
|
12
|
-
## 0.0.3 -
|
|
16
|
+
## 0.0.3 - April 15, 2012
|
|
13
17
|
|
|
14
18
|
+ Add `have_index_for(indexed_field)` document matcher.
|
|
15
19
|
+ Add `embedded_in(association_name)` association matcher.
|
|
@@ -22,7 +26,7 @@
|
|
|
22
26
|
+ Add `validate_acceptance_of(field)` validation matcher.
|
|
23
27
|
+ Add `validate_confirmation_of(field)` validation matcher.
|
|
24
28
|
|
|
25
|
-
## 0.0.2 -
|
|
29
|
+
## 0.0.2 - April 13, 2012
|
|
26
30
|
|
|
27
31
|
+ Add `have_one(association_name)` association matcher.
|
|
28
32
|
+ Add `in(range)` alias to `within` matcher.
|
|
@@ -36,7 +40,7 @@
|
|
|
36
40
|
+ Add `validate_inclusion_of(field)` validation matcher.
|
|
37
41
|
+ Add `belong_to(association_name)` association matcher.
|
|
38
42
|
|
|
39
|
-
## 0.0.1 -
|
|
43
|
+
## 0.0.1 - April 12, 2012
|
|
40
44
|
|
|
41
45
|
+ Add `of_type(type)` chain matcher to association matcher.
|
|
42
46
|
+ Add `have_many(association_name)` association matcher.
|
data/README.md
CHANGED
|
@@ -71,9 +71,9 @@ See the following examples:
|
|
|
71
71
|
|
|
72
72
|
Module Mongoid
|
|
73
73
|
Module Matchers
|
|
74
|
-
include
|
|
75
|
-
include
|
|
76
|
-
include
|
|
74
|
+
include Document
|
|
75
|
+
include Validations
|
|
76
|
+
include Associations
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
|
data/lib/mongoid-minitest.rb
CHANGED
|
@@ -22,8 +22,8 @@ require 'matchers/associations/associations'
|
|
|
22
22
|
|
|
23
23
|
module Mongoid
|
|
24
24
|
module Matchers
|
|
25
|
-
include
|
|
26
|
-
include
|
|
27
|
-
include
|
|
25
|
+
include Document
|
|
26
|
+
include Validations
|
|
27
|
+
include Associations
|
|
28
28
|
end
|
|
29
29
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mongoid-minitest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -97,9 +97,9 @@ require_paths:
|
|
|
97
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
none: false
|
|
99
99
|
requirements:
|
|
100
|
-
- - '
|
|
100
|
+
- - ! '>='
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version:
|
|
102
|
+
version: '0'
|
|
103
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
none: false
|
|
105
105
|
requirements:
|