From ffe0e4d50c20e24d357e527f550f1d937dadc999 Mon Sep 17 00:00:00 2001 From: ajaybarot Date: Wed, 19 Oct 2016 17:23:56 +0530 Subject: [PATCH 1/2] Fix failed specs and added rails-controller-testing gem --- .travis.yml | 1 + casino.gemspec | 3 ++- lib/casino/version.rb | 2 +- spec/spec_helper.rb | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8c75c0a0..f9a638c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ rvm: - 2.0.0 - 2.1.0 - 2.2.2 +- 2.3.0 notifications: hipchat: rooms: diff --git a/casino.gemspec b/casino.gemspec index 95f79f33..c92e0cc0 100644 --- a/casino.gemspec +++ b/casino.gemspec @@ -32,8 +32,9 @@ Gem::Specification.new do |s| s.add_development_dependency 'factory_girl', '~> 4.1' s.add_development_dependency 'webmock', '~> 1.9' s.add_development_dependency 'coveralls', '~> 0.7' + s.add_development_dependency 'rails-controller-testing', '~> 0' - s.add_runtime_dependency 'rails', '>= 4.1.0', '< 4.3.0' + s.add_runtime_dependency 'rails', '>= 4.1.0', '< 5.0.0.1' s.add_runtime_dependency 'sass-rails', '>= 4.0.0', '< 6.0.0' s.add_runtime_dependency 'addressable', '~> 2.3' s.add_runtime_dependency 'terminal-table', '~> 1.4' diff --git a/lib/casino/version.rb b/lib/casino/version.rb index 42e0204a..b44944cb 100644 --- a/lib/casino/version.rb +++ b/lib/casino/version.rb @@ -1,3 +1,3 @@ module CASino - VERSION = '4.1.2' + VERSION = '4.1.3' end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 68936c8c..a643771c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,6 +2,7 @@ ENV["RAILS_ENV"] ||= 'test' require 'coveralls' +require 'rails-controller-testing' Coveralls.wear! SimpleCov.formatter = Coveralls::SimpleCov::Formatter From 0eb9f985d58ba62417ef48415c85d669ef902a38 Mon Sep 17 00:00:00 2001 From: ajaybarot Date: Wed, 19 Oct 2016 18:37:07 +0530 Subject: [PATCH 2/2] allowed rails version 5.0.0.1 --- casino.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/casino.gemspec b/casino.gemspec index c92e0cc0..a3113c9d 100644 --- a/casino.gemspec +++ b/casino.gemspec @@ -34,7 +34,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'coveralls', '~> 0.7' s.add_development_dependency 'rails-controller-testing', '~> 0' - s.add_runtime_dependency 'rails', '>= 4.1.0', '< 5.0.0.1' + s.add_runtime_dependency 'rails', '>= 4.1.0', '<= 5.0.0.1' s.add_runtime_dependency 'sass-rails', '>= 4.0.0', '< 6.0.0' s.add_runtime_dependency 'addressable', '~> 2.3' s.add_runtime_dependency 'terminal-table', '~> 1.4'