Skip to content

Commit

Permalink
Use release of rspec3
Browse files Browse the repository at this point in the history
Fix issue with open ended dependency on active_support
Add Appraisals for testing rails3/rails4 dependencies and ignore output files in git
  • Loading branch information
richhollis committed Aug 17, 2014
1 parent 0934a50 commit e3b153c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ spec/reports
test/tmp
test/version_tmp
tmp
gemfiles
7 changes: 7 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
appraise "rails-3" do
gem "rails", "~> 3.2.16"
end

appraise "rails-4" do
gem "rails", "~> 4.0.0"
end
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
config.expect_with :rspec do |c|
c.syntax = :expect
end
config.color_enabled = true
config.color = true
end
9 changes: 5 additions & 4 deletions twitter_web_intents.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.test_files = Dir.glob('spec/**/*')

spec.add_runtime_dependency 'activesupport', '>= 3.0'
spec.add_runtime_dependency 'activesupport', '>= 3','<= 4'

spec.add_development_dependency "bundler", ">= 1.3"
spec.add_development_dependency "rake", ">= 10"
spec.add_development_dependency "rspec", ">= 3"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake", "~> 10"
spec.add_development_dependency "rspec", "~> 3"
spec.add_development_dependency "appraisal", "~> 1"

spec.add_development_dependency "simplecov", "~> 0" if RUBY_VERSION >= '1.9'
spec.add_development_dependency "coveralls", "~> 0"
Expand Down

0 comments on commit e3b153c

Please sign in to comment.