Skip to content

Commit

Permalink
Update MongoDB versions, target on Rails 5.0.0.rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
Fudoshiki committed Jun 9, 2016
1 parent 7c2ff52 commit b1965b1
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
AllCops:
TargetRubyVersion: 2.3.1
1 change: 0 additions & 1 deletion .ruby-gemset

This file was deleted.

1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ bundler_args: --without development

rvm:
- 2.2.2
- 2.3.0
- jruby-9.0.5.0
- 2.3.1
- jruby-9.1.2.0

gemfile:
- Gemfile
- gemfiles/rails5master.gemfile
- gemfiles/rails5rc1.gemfile
- gemfiles/rails5master.gemfile

env:
global:
- CI="travis"
- JRUBY_OPTS="--server -J-Xms512m -J-Xmx1024m"
matrix:
- MONGODB=2.4.14
- MONGODB=2.6.11
- MONGODB=3.0.7
- MONGODB=3.2.0
- MONGODB=2.6.12
- MONGODB=3.0.12
- MONGODB=3.2.7

before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB}.tgz -O /tmp/mongodb.tgz
Expand Down
2 changes: 2 additions & 0 deletions .versions.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ruby=ruby-2.3.1
ruby-gemset=mongoid
13 changes: 5 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
source "https://rubygems.org"

source 'https://rubygems.org'
gemspec

gem "rake"
#gem "actionpack", github: "rails/rails"
gem "actionpack", '5.0.0.rc1'
#gem "activemodel", github: "rails/rails"
gem "activemodel", '5.0.0.rc1'
gem 'rake'
gem 'actionpack', '5.0.0.rc1'
gem 'activemodel', '5.0.0.rc1'

group :test do
gem "rspec", "~> 3.4.0"
gem 'rspec', '~> 3.4.0'
end
10 changes: 5 additions & 5 deletions gemfiles/rails5master.gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
source "https://rubygems.org"
source 'https://rubygems.org'
gemspec path: '..'

gem "rake"
gem "actionpack", github: "rails/rails"
gem "activemodel", github: "rails/rails"
gem 'rake'
gem 'actionpack', github: 'rails/rails'
gem 'activemodel', github: 'rails/rails'

group :test do
gem "rspec", "~> 3.4.0"
gem 'rspec', '~> 3.4.0'
end
10 changes: 5 additions & 5 deletions gemfiles/rails5rc1.gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
source "https://rubygems.org"
source 'https://rubygems.org'
gemspec path: '..'

gem "rake"
gem "actionpack", '5.0.0.rc1'
gem "activemodel", '5.0.0.rc1'
gem 'rake'
gem 'actionpack', '5.0.0.rc1'
gem 'activemodel', '5.0.0.rc1'

group :test do
gem "rspec", "~> 3.4.0"
gem 'rspec', '~> 3.4.0'
end
2 changes: 1 addition & 1 deletion mongoid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = ">= 1.3.6"
s.rubyforge_project = "mongoid"

s.add_dependency("activemodel", ["= 5.0.0.rc1"])
s.add_dependency("activemodel", [">= 5.0.0.rc1"])
s.add_dependency("tzinfo", [">= 0.3.37"])
s.add_dependency("mongo", ["~> 2.2"])

Expand Down

0 comments on commit b1965b1

Please sign in to comment.