mongoid-minitest 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ ## 0.1.4 - October 10, 2012
2
+
3
+ + Bump mongoid version to 3.0.6 - *Francesco Rodriguez*.
4
+ + Bump minitest version to >= 4.0.0 - *Francesco Rodriguez*.
5
+
1
6
  ## 0.1.3 - September 8, 2012
2
7
 
3
8
  + Bump mongoid version to 3.0.5 - *Francesco Rodriguez*.
@@ -9,7 +9,7 @@ module Mongoid
9
9
  @klass = class_of(subject)
10
10
 
11
11
  @klass.index_options.each do |key, options|
12
- unless key[@field.to_sym] || key["#{@field}_id"]
12
+ unless key[@field.to_sym] || key[:"#{@field}_id"]
13
13
  @error = "no index for #{@field.inspect}"
14
14
 
15
15
  return false
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module MiniTest
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  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.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,24 +11,24 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-09-08 00:00:00.000000000 Z
14
+ date: 2012-10-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: minitest
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
- - - ~>
21
+ - - ! '>='
22
22
  - !ruby/object:Gem::Version
23
- version: 3.4.0
23
+ version: 4.0.0
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  none: false
28
28
  requirements:
29
- - - ~>
29
+ - - ! '>='
30
30
  - !ruby/object:Gem::Version
31
- version: 3.4.0
31
+ version: 4.0.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: minitest-matchers
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -52,7 +52,7 @@ dependencies:
52
52
  requirements:
53
53
  - - ~>
54
54
  - !ruby/object:Gem::Version
55
- version: 3.0.5
55
+ version: 3.0.6
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ~>
62
62
  - !ruby/object:Gem::Version
63
- version: 3.0.5
63
+ version: 3.0.6
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: rake
66
66
  requirement: !ruby/object:Gem::Requirement