remarkable_mongoid 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/remarkable_mongoid.rb +10 -0
  2. metadata +2 -2
@@ -6,3 +6,13 @@ end
6
6
  require 'remarkable/active_model'
7
7
  require 'remarkable_mongoid/associations'
8
8
  require 'remarkable_mongoid/validate_uniqueness_of'
9
+
10
+ if defined?(RSpec) # RSpec 2.x
11
+ RSpec.configure do |config|
12
+ config.include(Remarkable::Mongoid::Matchers)
13
+ end
14
+ elsif defined?(Spec) # RSpec 1.x
15
+ Spec::Runner.configure do |config|
16
+ config.include(Remarkable::Mongoid::Matchers)
17
+ end
18
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brian Cardarella