mongoid-compatibility 0.4.0 → 0.4.1

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: c32e8333d20b93c010788f9ee345e7bc496cf30a
4
- data.tar.gz: 76827fe2f469908a875afc246ed2693abe4a2a7f
3
+ metadata.gz: 88dc135cf15e9485c44ceccde2ec8b25a73184a8
4
+ data.tar.gz: 739ea9e74d17368c4a49083adac7fec708cc49b4
5
5
  SHA512:
6
- metadata.gz: 85c70c14684f4bf0222634e529b0957fbb0e544c4ff81a44f9d5cae9fb04724c4f62290d3000232dd158aabec1a8d37c9b74859027f811c5acb2d32469bbcd81
7
- data.tar.gz: a20d6f466a42dc1d017e7897165d9e599e2ea26084e4e538c3312159ba06bb9eeb109bc5d6656ba3b5891aa2ed77e2065612746c278de45597e0d0b33fe23b85
6
+ metadata.gz: 9b87667aee1355d87b5262e8efd5bbb53b1ff06ab11e3dedc30d0fff65cacb9577b4b4d7b4ac61eccb7d1b460c7eca504ace2fc41030f8a0bb756c7a5f930faf
7
+ data.tar.gz: 39257d4303caa776fac3580b317946f9cc74679554a4b6cf756410029204b73dfc3368a93d47f718606f61c9feb7d7a89b7997da31e8b4bf834ea58c630d272e
@@ -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
- allow_failures:
25
- - rvm: rbx-2
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
@@ -1,5 +1,8 @@
1
- ### Next Release
2
- * Your contribution here!
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/dblock/mongoid-compatibility/issues/1): Require `mongoid/compatibility` - [@dblock](https://github.com/dblock).
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
 
@@ -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/dblock/mongoid-compatibility/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/dblock/mongoid-compatibility/pulls), [propose features, ask questions and discuss issues](https://github.com/dblock/mongoid-compatibility/issues).
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/dblock/mongoid-compatibility) and check out your copy.
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/dblock/mongoid-compatibility.git
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/dblock/mongoid-compatibility/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
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.
@@ -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'] || '5.0'
6
- when /^6/
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/dblock/mongoid-compatibility.svg)](https://travis-ci.org/dblock/mongoid-compatibility)
6
- [![Dependency Status](https://gemnasium.com/dblock/mongoid-compatibility.svg)](https://gemnasium.com/dblock/mongoid-compatibility)
7
- [![Code Climate](https://codeclimate.com/github/dblock/mongoid-compatibility.svg)](https://codeclimate.com/github/dblock/mongoid-compatibility)
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
 
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module Compatibility
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'.freeze
4
4
  end
5
5
  end
@@ -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/dblock/mongoid-compatibility'
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.0
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: 2016-05-21 00:00:00.000000000 Z
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/dblock/mongoid-compatibility
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.4
97
+ rubygems_version: 2.6.8
97
98
  signing_key:
98
99
  specification_version: 4
99
100
  summary: Compatibility helpers for Mongoid.