Files
jquery-rails/jquery-rails.gemspec
Kasper Timm Hansen 04fc4cb89d Allow rails-dom-testing 2
If users are running rails-dom-testing via a GitHub entry, Bundler can't find compatible releases for it
and jquery-rails.

Fix by allowing version 2, but also restrict any version 3 as a safety measure.
2016-01-16 16:26:03 +01:00

27 lines
926 B
Ruby

# -*- encoding: utf-8 -*-
require File.expand_path('../lib/jquery/rails/version', __FILE__)
Gem::Specification.new do |s|
s.name = "jquery-rails"
s.version = Jquery::Rails::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["André Arko"]
s.email = ["andre@arko.net"]
s.homepage = "http://rubygems.org/gems/jquery-rails"
s.summary = "Use jQuery with Rails 4+"
s.description = "This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application."
s.license = "MIT"
s.required_ruby_version = ">= 1.9.3"
s.required_rubygems_version = ">= 1.3.6"
s.add_dependency "railties", ">= 4.2.0"
s.add_dependency "thor", ">= 0.14", "< 2.0"
s.add_dependency "rails-dom-testing", ">= 1", "< 3"
s.files = `git ls-files`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_path = 'lib'
end