sunspot_mongo 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b69f799044bedbdd34c2e51e95ea5b7de468da6
4
- data.tar.gz: 4dde9885c91e575ace88a47e92b543046ea75b0c
3
+ metadata.gz: d7ec7a08db79fa2ef0a0441962b03bc29db2d6dc
4
+ data.tar.gz: d744d33dbd1823caaf88135947de744ea49d025b
5
5
  SHA512:
6
- metadata.gz: d81247aaf38e4dbe82cd1f7606b4365d8e290d165a1296c315234d04018d6b39073ec946fdddc0e81f4a4fb4f7a2dd30b6a584eb4665ebc70e3747e03a25817c
7
- data.tar.gz: 95a1f3a371d16bcb577f407ef32a363c37ee6819c9d784db5ab970f1d3181eab06a94f7cc8f6c48781a41cdb443e10488565482cd8ad7d428dcfb771151934f1
6
+ metadata.gz: e6ee12c21a3dab5be17f0855222cccd3f1e3f22431aa99c0fb5a32c83c2db3fb9b91e1ceb3e8dcee82936afc354daf83f5826fd48755b01ff881a9fdb2f509cf
7
+ data.tar.gz: 94e1646efaa972ec6b845aac30421bd13512796430f6fc41f33da586b978388edccda8ad23fc66a8ce3dfd83af97af07d438ca6952d0976f63589dc88fac5612
@@ -5,11 +5,13 @@ services:
5
5
 
6
6
  rvm:
7
7
  - 1.9.3
8
- - 2.1.2
8
+ - 2.1
9
+ - 2.2
9
10
 
10
11
  env:
11
12
  - MONGOID_VERSION=3
12
13
  - MONGOID_VERSION=4
14
+ - MONGOID_VERSION=5
13
15
  - MONGO_MAPPER_VERSION=0.13.1
14
16
 
15
17
  language: ruby
@@ -1,3 +1,7 @@
1
+ #### 1.2.1 (2015/10/20)
2
+
3
+ * [#11](https://github.com/derekharmel/sunspot_mongo/pull/11): Support for Mongoid 5 - [@dblock](https://github.com/dblock).
4
+
1
5
  #### 1.2.0 (2015/08/28)
2
6
 
3
7
  * [#9](https://github.com/derekharmel/sunspot_mongo/pull/9): Changed `DataAccessor` to fix support for eager loading of associations - [@cec](https://github.com/cec).
data/Gemfile CHANGED
@@ -1,12 +1,14 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- ENV['MONGOID_VERSION'] = '4' unless ENV['MONGOID_VERSION'] || ENV['MONGO_MAPPER_VERSION']
3
+ ENV['MONGOID_VERSION'] = '5.0' unless ENV['MONGOID_VERSION'] || ENV['MONGO_MAPPER_VERSION']
4
4
 
5
5
  if ENV['MONGOID_VERSION']
6
- case version = ENV['MONGOID_VERSION'] || '~> 4.0'
7
- when /4/
6
+ case version = ENV['MONGOID_VERSION']
7
+ when /^5/
8
+ gem 'mongoid', '~> 5.0'
9
+ when /^4/
8
10
  gem 'mongoid', '~> 4.0'
9
- when /3/
11
+ when /^3/
10
12
  gem 'mongoid', '~> 3.1'
11
13
  else
12
14
  gem 'mongoid', version
@@ -1,5 +1,5 @@
1
1
  module Sunspot
2
2
  module Mongo
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunspot_mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Alexander
@@ -9,76 +9,76 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-28 00:00:00.000000000 Z
12
+ date: 2015-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sunspot_rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - '>='
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rails
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
32
+ - - '>='
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ">="
39
+ - - '>='
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - '>='
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - '>='
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: guard
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: guard-rspec
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ">="
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
@@ -117,11 +117,11 @@ executables: []
117
117
  extensions: []
118
118
  extra_rdoc_files: []
119
119
  files:
120
- - ".gitignore"
121
- - ".rspec"
122
- - ".rubocop.yml"
123
- - ".rubocop_todo.yml"
124
- - ".travis.yml"
120
+ - .gitignore
121
+ - .rspec
122
+ - .rubocop.yml
123
+ - .rubocop_todo.yml
124
+ - .travis.yml
125
125
  - CHANGELOG.md
126
126
  - CONTRIBUTING.md
127
127
  - Gemfile
@@ -152,17 +152,17 @@ require_paths:
152
152
  - lib
153
153
  required_ruby_version: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - ">="
155
+ - - '>='
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  requirements:
160
- - - ">="
160
+ - - '>='
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
164
  rubyforge_project: sunspot_mongo
165
- rubygems_version: 2.2.2
165
+ rubygems_version: 2.4.5
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Sunspot support for Mongo Mapper and Mongoid.