mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
7117b2ee33
Since the integration is dependent on minitest-rails, use its test class. Did MiniTest::Spec::Decorator ever exist in this project?
28 lines
1.2 KiB
Ruby
28 lines
1.2 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
$:.push File.expand_path("../lib", __FILE__)
|
|
require "draper/version"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "draper"
|
|
s.version = Draper::VERSION
|
|
s.authors = ["Jeff Casimir", "Steve Klabnik"]
|
|
s.email = ["jeff@casimircreative.com", "steve@steveklabnik.com"]
|
|
s.homepage = "http://github.com/jcasimir/draper"
|
|
s.summary = "Decorator pattern implementation for Rails."
|
|
s.description = "Draper implements a decorator or presenter pattern for Rails applications."
|
|
s.rubyforge_project = "draper"
|
|
s.files = `git ls-files`.split("\n")
|
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
s.require_paths = ["lib"]
|
|
|
|
s.add_dependency 'activesupport', '~> 3.2'
|
|
s.add_dependency 'actionpack', '~> 3.2'
|
|
|
|
s.add_development_dependency 'ammeter'
|
|
s.add_development_dependency 'rake', '~> 0.9.2'
|
|
s.add_development_dependency 'rspec', '~> 2.10'
|
|
s.add_development_dependency 'yard'
|
|
s.add_development_dependency 'minitest-rails', '~> 0.2'
|
|
s.add_development_dependency 'minitest', '~> 3.0' if RUBY_PLATFORM == "java"
|
|
end
|