riot-mongoid 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/riot-mongoid.rb +5 -0
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
data/lib/riot-mongoid.rb CHANGED
@@ -1,4 +1,9 @@
1
1
  require 'riot'
2
+ require 'mongoid'
3
+
4
+ Mongoid::Field.module_eval do
5
+ attr_reader :accessible
6
+ end
2
7
 
3
8
  module RiotMongoid
4
9
  class HasFieldAssertion < Riot::AssertionMacro
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 1
9
- version: 1.1.1
8
+ - 2
9
+ version: 1.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - gabrielg
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-17 00:00:00 -05:00
17
+ date: 2010-03-29 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency