mongoid-compatibility 0.1.0 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ced1a2496825c857cffa03669ab2b0159286fc58
4
- data.tar.gz: f4b716bd949683d710485e517717cfc3dcff8d0e
3
+ metadata.gz: b581d6fe6ab393d78062a912a5469d7556264ddf
4
+ data.tar.gz: 8c4d0a914c47b6cd8aa3c2ad5f33e98bfa00dc2c
5
5
  SHA512:
6
- metadata.gz: 77bbca3b1528b028ec3d2f7c4f6647a0849040e0fa412fd2af96eb70a999a45900a0c676edc34459132923ce17d002b9d36cd110ba0575439fed0eef97595c58
7
- data.tar.gz: d472abda0aa0909be221b3936c1354fd5d8ce86c13c27a10c986578f7e5deb5b9d90ac084abe0381a38786b95c1bf62297446fb63a8ca385652f4aca0789cace
6
+ metadata.gz: 9de999fb31af5a1f174879fd7e2977b0dcc1d82e938b6912aecaa79872d2bab0eec8aa2a52be60a71dd5717957e44c6f3e608dae304fe44fc7945fdd60ef8d68
7
+ data.tar.gz: 09f6db3fd48cbd4aef59d1f7b3fd9495e40c8683be87e13b1c854d7547851d34dd3870b1a8e826a5d842fd1c06eacc054b43794eea2913b89217b75949ed8b98
data/.rubocop_todo.yml CHANGED
@@ -1,12 +1,12 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2015-09-17 09:33:57 -0400 using RuboCop version 0.33.0.
3
+ # on 2015-09-18 13:28:36 -0400 using RuboCop version 0.33.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 3
9
+ # Offense count: 4
10
10
  # Configuration parameters: AllowURI, URISchemes.
11
11
  Metrics/LineLength:
12
12
  Max: 118
@@ -14,9 +14,9 @@ Metrics/LineLength:
14
14
  # Offense count: 3
15
15
  Style/Documentation:
16
16
  Exclude:
17
- - 'lib/mongoid-compatibility/object_id.rb'
18
- - 'lib/mongoid-compatibility/self.rb'
19
- - 'lib/mongoid-compatibility/version.rb'
17
+ - 'lib/mongoid/compatibility/object_id.rb'
18
+ - 'lib/mongoid/compatibility/self.rb'
19
+ - 'lib/mongoid/compatibility/version.rb'
20
20
 
21
21
  # Offense count: 1
22
22
  # Configuration parameters: Exclude.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.2.0 (2015/09/18)
2
+
3
+ * [#1](https://github.com/dblock/mongoid-compatibility/issues/1): Require `mongoid/compatibility` - [@dblock](https://github.com/dblock).
4
+
1
5
  ### 0.1.0 (2015/09/17)
2
6
 
3
7
  * Initial public release - [@dblock](https://github.com/dblock).
data/README.md CHANGED
@@ -16,6 +16,8 @@ Add `mongoid-compatibility` to your Gemfile.
16
16
  gem 'mongoid-compatibility'
17
17
  ```
18
18
 
19
+ You may explicitly need to `require mongoid/compatibility`.
20
+
19
21
  ### Use
20
22
 
21
23
  #### Mongoid::Compatibility::Version
@@ -1,6 +1 @@
1
- require 'mongoid'
2
- require 'active_support'
3
-
4
- require 'mongoid-compatibility/self'
5
- require 'mongoid-compatibility/version'
6
- require 'mongoid-compatibility/object_id'
1
+ require 'mongoid/compatibility'
@@ -0,0 +1,4 @@
1
+ require 'mongoid'
2
+ require 'mongoid/compatibility/self'
3
+ require 'mongoid/compatibility/version'
4
+ require 'mongoid/compatibility/object_id'
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Compatibility
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  $LOAD_PATH.push File.expand_path('../lib', __FILE__)
2
- require 'mongoid-compatibility/self'
2
+ require 'mongoid/compatibility/self'
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'mongoid-compatibility'
data/spec/spec_helper.rb CHANGED
@@ -2,8 +2,8 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
2
 
3
3
  require 'rubygems'
4
4
  require 'rspec'
5
- require 'mongoid-compatibility'
6
5
 
6
+ require 'mongoid/compatibility'
7
7
  require 'support/mongoid'
8
8
 
9
9
  RSpec.configure(&:raise_errors_for_deprecations!)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-compatibility
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Doubrovkine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-17 00:00:00.000000000 Z
11
+ date: 2015-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
@@ -56,16 +56,17 @@ files:
56
56
  - README.md
57
57
  - Rakefile
58
58
  - lib/mongoid-compatibility.rb
59
- - lib/mongoid-compatibility/object_id.rb
60
- - lib/mongoid-compatibility/self.rb
61
- - lib/mongoid-compatibility/version.rb
59
+ - lib/mongoid/compatibility.rb
60
+ - lib/mongoid/compatibility/object_id.rb
61
+ - lib/mongoid/compatibility/self.rb
62
+ - lib/mongoid/compatibility/version.rb
62
63
  - lib/mongoid_compatibility.rb
63
64
  - mongoid-compatibility.gemspec
64
65
  - spec/config/mongoid3.yml
65
66
  - spec/config/mongoid4.yml
66
67
  - spec/config/mongoid5.yml
67
- - spec/mongoid-compatibility/object_id_spec.rb
68
- - spec/mongoid-compatibility/self_spec.rb
68
+ - spec/mongoid/compatibility/object_id_spec.rb
69
+ - spec/mongoid/compatibility/self_spec.rb
69
70
  - spec/spec_helper.rb
70
71
  - spec/support/mongoid.rb
71
72
  homepage: http://github.com/dblock/mongoid-compatibility