Skip to content

Commit

Permalink
added support ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAlxDmy committed Jul 11, 2014
1 parent 3bdb7f6 commit c5fcdb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source 'https://rubygems.org'
gemspec

group :test do
gem 'coveralls', :require => false
gem 'coveralls', :require => false if RUBY_VERSION >= '1.9'
end

platforms :rbx do
Expand Down
1 change: 0 additions & 1 deletion exodus.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ Gem::Specification.new do |gem|
gem.add_dependency 'activesupport', ['>= 2', '< 4']

gem.add_development_dependency 'rspec', '~> 2.10'
gem.add_development_dependency 'mime-types', RUBY_VERSION >= '1.9' ? '~> 2.3' : '~> 1.25'
gem.add_development_dependency 'rake'
end
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
require 'coveralls'
require 'coveralls' if RUBY_VERSION >= '1.9'
require File.dirname(__FILE__) + '/../lib/exodus'
require File.dirname(__FILE__) + '/support/test_class_definition'
include Exodus::Testing

# Test coverage gem
Coveralls.wear!
Coveralls.wear! if RUBY_VERSION >= '1.9'

# Rspec configuration
RSpec.configure do |config|
Expand Down

0 comments on commit c5fcdb2

Please sign in to comment.