mongoid-scroll 0.3.2 → 0.3.3

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: 49f6957fe1cfab726fa346c141eb979487590912
4
- data.tar.gz: e791fd49a8bf4aa187aaccb5222ada9f1e0dcf89
3
+ metadata.gz: b5794d16e2c38712a9f48c0b440f4857427be442
4
+ data.tar.gz: 6ea3d2d75bcfddad5a48cb9ccdc375d2b4e7d78f
5
5
  SHA512:
6
- metadata.gz: 5cdf23a3ee65c76874d71ff8d78cb948c478e8f75b53cc930717493d2bc7ebc13b3787c06c4527eec197bd241b7b7ac4f62ca4ce5eb01cf67f56e54b2438a17b
7
- data.tar.gz: 9606b19764c8aa3a578e1f7b7f278d9cc4f1ce1849aaa5de5804024dd9a7399b9a4d337febe88dea7f415692268ea1c171091ca6eff0bcc467f15f3f1799d7e3
6
+ metadata.gz: 9bbae48e28692ccb74b0831c32f1abbdc2944526960172affac2d6913b73167d8d9009b587bbf1d80abd05d89390f5765c2c91b638f2b94fd8780c63b7d4eec2
7
+ data.tar.gz: 45dc05f2cffceb0b26cd4d25bfc01d22d820b2893af5b395669ba1c823eefd79e42146bb0bf27787b3543c7cba3b9879bbb62e80bf7ae8a6579363d216b1fd2f
data/.travis.yml CHANGED
@@ -11,7 +11,7 @@ rvm:
11
11
  env:
12
12
  - MONGOID_VERSION=3
13
13
  - MONGOID_VERSION=4
14
- - MONGOID_VERSION=5.0.0.beta
14
+ - MONGOID_VERSION=5
15
15
 
16
16
  language: ruby
17
17
 
data/CHANGELOG.md CHANGED
@@ -1,33 +1,38 @@
1
- 0.3.2 (8/8/2015)
1
+ 0.3.3 (2015/09/17)
2
+ ------------------
3
+
4
+ * Officially compatible with Mongoid 5 - [@dblock](https://github.com/dblock).
5
+
6
+ 0.3.2 (2015/8/8)
2
7
  ----------------
3
8
 
4
9
  * [#7](https://github.com/dblock/mongoid-scroll/pull/7): Fix: pre-merge cursor criteria fields - [@sweir27](https://github.com/sweir27).
5
10
 
6
- 0.3.1 (7/27/2015)
11
+ 0.3.1 (2015/7/27)
7
12
  -----------------
8
13
 
9
14
  * Compatibility with Mongoid 5.x beta - [@dblock](https://github.com/dblock).
10
15
  * [#4](https://github.com/dblock/mongoid-scroll/pull/4): Fix: support chaining `$or` criteria - [@sweir27](https://github.com/sweir27).
11
16
  * [#5](https://github.com/dblock/mongoid-scroll/pull/5): Fix: embeddable objects now returned in pagination - [@sweir27](https://github.com/sweir27).
12
17
 
13
- 0.3.0 (1/7/2014)
18
+ 0.3.0 (2014/1/7)
14
19
  ----------------
15
20
 
16
21
  * Compatibility with Mongoid 4.x - [@dblock](https://github.com/dblock).
17
22
  * Implemeneted Rubocop, Ruby linter - [@dblock](https://github.com/dblock).
18
23
 
19
- 0.2.1 (3/21/2013)
24
+ 0.2.1 (2013/3/21)
20
25
  -----------------
21
26
 
22
27
  * Fix: scroll over a collection that has duplicate values while data is being modified in a way that causes a change in the natural sort order - [@dblock](https://github.com/dblock).
23
28
 
24
- 0.2.0 (3/14/2013)
29
+ 0.2.0 (2013/3/14)
25
30
  -----------------
26
31
 
27
32
  * Extended `Moped::Query` with `scroll` - [@dblock](https://github.com/dblock).
28
33
  * `Mongoid::Scroll::Cursor.from_record` can now be called with either a Mongoid field or `field_type` and `field_name` in the `options` hash - [@dblock](https://github.com/dblock).
29
34
 
30
- 0.1.0 (2/14/2013)
35
+ 0.1.0 (2013/2/14)
31
36
  -----------------
32
37
 
33
38
  * Initial public release, extends `Mongoid::Criteria` with `scroll` - [@dblock](https://github.com/dblock).
data/Gemfile CHANGED
@@ -2,7 +2,9 @@ source 'http://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- case version = ENV['MONGOID_VERSION'] || '~> 4.0'
5
+ case version = ENV['MONGOID_VERSION'] || '~> 5.0'
6
+ when /5/
7
+ gem 'mongoid', '~> 5.0'
6
8
  when /4/
7
9
  gem 'mongoid', '~> 4.0'
8
10
  when /3/
data/README.md CHANGED
@@ -12,7 +12,7 @@ Mongoid extension that enables infinite scrolling for `Mongoid::Criteria` and `M
12
12
  Compatibility
13
13
  -------------
14
14
 
15
- This gem supports Mongoid 3, 4 and 5 beta.
15
+ This gem supports Mongoid 3, 4 and 5.
16
16
 
17
17
  Demo
18
18
  ----
data/RELEASING.md ADDED
@@ -0,0 +1,69 @@
1
+ Releasing Mongoid::Scroll
2
+ =========================
3
+
4
+ There're no particular rules about when to release mongoid-scroll. Release bug fixes frequenty, features not so frequently and breaking API changes rarely.
5
+
6
+ ### Release
7
+
8
+ Run tests, check that all tests succeed locally.
9
+
10
+ ```
11
+ bundle install
12
+ rake
13
+ ```
14
+
15
+ Check that the last build succeeded in [Travis CI](https://travis-ci.org/dblock/mongoid-scroll) for all supported platforms.
16
+
17
+ Increment the version, modify [lib/mongoid/scroll/version.rb](lib/mongoid/scroll/version.rb).
18
+
19
+ * Increment the third number if the release has bug fixes and/or very minor features, only (eg. change `0.5.1` to `0.5.2`).
20
+ * Increment the second number if the release contains major features or breaking API changes (eg. change `0.5.1` to `0.4.0`).
21
+
22
+ Change "Next Release" in [CHANGELOG.md](CHANGELOG.md) to the new version.
23
+
24
+ ```
25
+ 0.4.0 (2014-01-27)
26
+ ==================
27
+ ```
28
+
29
+ Remove the line with "Your contribution here.", since there will be no more contributions to this release.
30
+
31
+ Commit your changes.
32
+
33
+ ```
34
+ git add CHANGELOG.md lib/mongoid-scroll/version.rb
35
+ git commit -m "Preparing for release, 0.4.0."
36
+ git push origin master
37
+ ```
38
+
39
+ Release.
40
+
41
+ ```
42
+ $ rake release
43
+
44
+ mongoid-scroll 0.4.0 built to pkg/mongoid-scroll-0.4.0.gem.
45
+ Tagged v0.4.0.
46
+ Pushed git commits and tags.
47
+ Pushed mongoid-scroll 0.4.0 to rubygems.org.
48
+ ```
49
+
50
+ ### Prepare for the Next Version
51
+
52
+ Add the next release to [CHANGELOG.md](CHANGELOG.md).
53
+
54
+ ```
55
+ Next Release
56
+ ============
57
+
58
+ * Your contribution here.
59
+ ```
60
+
61
+ Increment the minor version, modify [lib/mongoid-scroll/version.rb](lib/mongoid-scroll/version.rb).
62
+
63
+ Comit your changes.
64
+
65
+ ```
66
+ git add CHANGELOG.md lib/mongoid-scroll/version.rb
67
+ git commit -m "Preparing for next release, 0.4.1."
68
+ git push origin master
69
+ ```
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Scroll
3
- VERSION = '0.3.2'
3
+ VERSION = '0.3.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-scroll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Doubrovkine
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-08 00:00:00.000000000 Z
12
+ date: 2015-09-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
@@ -54,6 +54,7 @@ files:
54
54
  - Gemfile
55
55
  - LICENSE.md
56
56
  - README.md
57
+ - RELEASING.md
57
58
  - Rakefile
58
59
  - examples/mongoid_scroll_feed.rb
59
60
  - examples/moped_scroll_feed.rb