Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 33 lines (27 sloc) 1.212 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
# -*- encoding: utf-8 -*-
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "rspec/rails/version"

Gem::Specification.new do |s|
  s.name = "rspec-rails"
  s.version = RSpec::Rails::Version::STRING
  s.platform = Gem::Platform::RUBY
  s.authors = ["David Chelimsky"]
  s.email = "dchelimsky@gmail.com"
  s.homepage = "http://github.com/rspec/rspec-rails"
  s.summary = "rspec-rails-#{RSpec::Rails::Version::STRING}"
  s.description = "RSpec-2 for Rails-3"

  s.rubyforge_project = "rspec"

  s.files = `git ls-files -- lib/*`.split("\n")
  s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
  s.extra_rdoc_files = [ "README.md" ]
  s.rdoc_options = ["--charset=UTF-8"]
  s.require_path = "lib"

  s.add_runtime_dependency(%q<activesupport>, ["~> 3.0"])
  s.add_runtime_dependency(%q<actionpack>, ["~> 3.0"])
  s.add_runtime_dependency(%q<railties>, ["~> 3.0"])
  # if RSpec::Rails::Version::STRING =~ /[a-zA-Z]+/
    # s.add_runtime_dependency "rspec", "= #{RSpec::Rails::Version::STRING}"
  # else
    s.add_runtime_dependency "rspec", "~> #{RSpec::Rails::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
  # end
end

Something went wrong with that request. Please try again.