mongoid-compatibility 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +22 -17
- data/CHANGELOG.md +6 -3
- data/CONTRIBUTING.md +4 -4
- data/Dangerfile +1 -0
- data/Gemfile +6 -3
- data/README.md +3 -3
- data/lib/mongoid/compatibility/self.rb +1 -1
- data/mongoid-compatibility.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88dc135cf15e9485c44ceccde2ec8b25a73184a8
|
4
|
+
data.tar.gz: 739ea9e74d17368c4a49083adac7fec708cc49b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b87667aee1355d87b5262e8efd5bbb53b1ff06ab11e3dedc30d0fff65cacb9577b4b4d7b4ac61eccb7d1b460c7eca504ace2fc41030f8a0bb756c7a5f930faf
|
7
|
+
data.tar.gz: 39257d4303caa776fac3580b317946f9cc74679554a4b6cf756410029204b73dfc3368a93d47f718606f61c9feb7d7a89b7997da31e8b4bf834ea58c630d272e
|
data/.travis.yml
CHANGED
@@ -1,25 +1,30 @@
|
|
1
|
-
rvm:
|
2
|
-
- 2.3.1
|
3
|
-
- 2.2
|
4
|
-
- 2.1.1
|
5
|
-
- 2.0.0
|
6
|
-
- 1.9.3
|
7
|
-
- rbx-2
|
8
|
-
- jruby-19mode
|
9
|
-
|
10
1
|
services:
|
11
2
|
- mongodb
|
12
3
|
|
13
|
-
env:
|
14
|
-
- MONGOID_VERSION=2
|
15
|
-
- MONGOID_VERSION=3
|
16
|
-
- MONGOID_VERSION=4
|
17
|
-
- MONGOID_VERSION=5
|
18
|
-
|
19
4
|
matrix:
|
20
5
|
include:
|
6
|
+
- rvm: 2.3.1
|
7
|
+
script:
|
8
|
+
- bundle exec danger
|
9
|
+
- rvm: 2.4.0
|
10
|
+
env:
|
11
|
+
- MONGOID_VERSION=6
|
21
12
|
- rvm: 2.3.1
|
22
13
|
env:
|
23
14
|
- MONGOID_VERSION=6
|
24
|
-
|
25
|
-
|
15
|
+
- rvm: 2.3.1
|
16
|
+
env:
|
17
|
+
- MONGOID_VERSION=5
|
18
|
+
- rvm: 2.3.1
|
19
|
+
env:
|
20
|
+
- MONGOID_VERSION=4
|
21
|
+
- rvm: 2.3.1
|
22
|
+
env:
|
23
|
+
- MONGOID_VERSION=3
|
24
|
+
- rvm: 2.3.1
|
25
|
+
env:
|
26
|
+
- MONGOID_VERSION=2
|
27
|
+
- rvm: 2.3.1
|
28
|
+
env:
|
29
|
+
- MONGOID_VERSION=HEAD
|
30
|
+
- rvm: 2.3.0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
|
-
###
|
2
|
-
|
1
|
+
### 0.4.1 (2017/01/19)
|
2
|
+
|
3
|
+
* [#5](https://github.com/mongoid/mongoid-compatibility/pull/5): Compatibility with Ruby 2.4.0 and Mongoid 6.0 - [@moodlemags](https://github.com/moodlemags).
|
4
|
+
* [#4](https://github.com/mongoid/mongoid-compatibility/pull/4): Use the `mongoid-danger` gem - [@dblock](https://github.com/dblock).
|
5
|
+
* [#3](https://github.com/mongoid/mongoid-compatibility/pull/3): Added Danger, PR linter - [@dblock](https://github.com/dblock).
|
3
6
|
|
4
7
|
### 0.4.0 (2016/05/21)
|
5
8
|
|
@@ -12,7 +15,7 @@
|
|
12
15
|
|
13
16
|
### 0.2.0 (2015/09/18)
|
14
17
|
|
15
|
-
* [#1](https://github.com/
|
18
|
+
* [#1](https://github.com/mongoid/mongoid-compatibility/issues/1): Require `mongoid/compatibility` - [@dblock](https://github.com/dblock).
|
16
19
|
|
17
20
|
### 0.1.0 (2015/09/17)
|
18
21
|
|
data/CONTRIBUTING.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
Contributing to Mongoid::Compatibility
|
2
2
|
=======================================
|
3
3
|
|
4
|
-
Mongoid::Compatibility is work of [many of contributors](https://github.com/
|
4
|
+
Mongoid::Compatibility is work of [many of contributors](https://github.com/mongoid/mongoid-compatibility/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/mongoid/mongoid-compatibility/pulls), [propose features, ask questions and discuss issues](https://github.com/mongoid/mongoid-compatibility/issues).
|
5
5
|
|
6
6
|
#### Fork the Project
|
7
7
|
|
8
|
-
Fork the [project on Github](https://github.com/
|
8
|
+
Fork the [project on Github](https://github.com/mongoid/mongoid-compatibility) and check out your copy.
|
9
9
|
|
10
10
|
```
|
11
11
|
git clone https://github.com/contributor/mongoid-compatibility.git
|
12
12
|
cd mongoid-compatibility
|
13
|
-
git remote add upstream https://github.com/
|
13
|
+
git remote add upstream https://github.com/mongoid/mongoid-compatibility.git
|
14
14
|
```
|
15
15
|
|
16
16
|
#### Create a Topic Branch
|
@@ -95,7 +95,7 @@ git push origin my-feature-branch -f
|
|
95
95
|
Update the [CHANGELOG](CHANGELOG.md) with the pull request number. A typical entry looks as follows.
|
96
96
|
|
97
97
|
```
|
98
|
-
* [#123](https://github.com/
|
98
|
+
* [#123](https://github.com/mongoid/mongoid-compatibility/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
|
99
99
|
```
|
100
100
|
|
101
101
|
Amend your previous commit and force push the changes.
|
data/Dangerfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
danger.import_dangerfile(gem: 'mongoid-danger')
|
data/Gemfile
CHANGED
@@ -2,9 +2,11 @@ source 'http://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
case version = ENV['MONGOID_VERSION'] || '
|
6
|
-
when
|
5
|
+
case version = ENV['MONGOID_VERSION'] || '6.0'
|
6
|
+
when 'HEAD'
|
7
7
|
gem 'mongoid', github: 'mongodb/mongoid'
|
8
|
+
when /^6/
|
9
|
+
gem 'mongoid', '~> 6.0'
|
8
10
|
when /^5/
|
9
11
|
gem 'mongoid', '~> 5.0'
|
10
12
|
when /^4/
|
@@ -20,9 +22,10 @@ end
|
|
20
22
|
|
21
23
|
group :test do
|
22
24
|
gem 'rspec'
|
25
|
+
gem 'mongoid-danger', '~> 0.1.1', require: false
|
23
26
|
end
|
24
27
|
|
25
28
|
group :development do
|
26
|
-
gem 'rake'
|
29
|
+
gem 'rake', '< 12'
|
27
30
|
gem 'rubocop', '0.33.0'
|
28
31
|
end
|
data/README.md
CHANGED
@@ -2,9 +2,9 @@ Mongoid::Compatibility
|
|
2
2
|
=======================
|
3
3
|
|
4
4
|
[![Gem Version](http://img.shields.io/gem/v/mongoid-compatibility.svg)](http://badge.fury.io/rb/mongoid-compatibility)
|
5
|
-
[![Build Status](http://img.shields.io/travis/
|
6
|
-
[![Dependency Status](https://gemnasium.com/
|
7
|
-
[![Code Climate](https://codeclimate.com/github/
|
5
|
+
[![Build Status](http://img.shields.io/travis/mongoid/mongoid-compatibility.svg)](https://travis-ci.org/mongoid/mongoid-compatibility)
|
6
|
+
[![Dependency Status](https://gemnasium.com/mongoid/mongoid-compatibility.svg)](https://gemnasium.com/mongoid/mongoid-compatibility)
|
7
|
+
[![Code Climate](https://codeclimate.com/github/mongoid/mongoid-compatibility.svg)](https://codeclimate.com/github/mongoid/mongoid-compatibility)
|
8
8
|
|
9
9
|
Compatibility helpers for Mongoid versions 2, 3, 4, and 5, and the **prerelease** version 6.
|
10
10
|
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.required_rubygems_version = '>= 1.3.6'
|
11
11
|
s.files = `git ls-files`.split("\n")
|
12
12
|
s.require_paths = ['lib']
|
13
|
-
s.homepage = 'http://github.com/
|
13
|
+
s.homepage = 'http://github.com/mongoid/mongoid-compatibility'
|
14
14
|
s.licenses = ['MIT']
|
15
15
|
s.summary = 'Compatibility helpers for Mongoid.'
|
16
16
|
s.add_dependency 'mongoid', '>= 2.0'
|
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.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Doubrovkine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- ".travis.yml"
|
52
52
|
- CHANGELOG.md
|
53
53
|
- CONTRIBUTING.md
|
54
|
+
- Dangerfile
|
54
55
|
- Gemfile
|
55
56
|
- LICENSE.md
|
56
57
|
- README.md
|
@@ -73,7 +74,7 @@ files:
|
|
73
74
|
- spec/mongoid/compatibility/version_spec.rb
|
74
75
|
- spec/spec_helper.rb
|
75
76
|
- spec/support/mongoid.rb
|
76
|
-
homepage: http://github.com/
|
77
|
+
homepage: http://github.com/mongoid/mongoid-compatibility
|
77
78
|
licenses:
|
78
79
|
- MIT
|
79
80
|
metadata: {}
|
@@ -93,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
94
|
version: 1.3.6
|
94
95
|
requirements: []
|
95
96
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.6.
|
97
|
+
rubygems_version: 2.6.8
|
97
98
|
signing_key:
|
98
99
|
specification_version: 4
|
99
100
|
summary: Compatibility helpers for Mongoid.
|