remarkable_mongoid 0.1.1 → 0.1.2

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.
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