middleman/middleman.gemspec

80 lines
3 KiB
Ruby
Raw Normal View History

# -*- encoding: utf-8 -*-
2011-08-09 23:37:55 +02:00
require "rbconfig"
2010-12-24 02:18:15 +01:00
$:.push File.expand_path("../lib", __FILE__)
require "middleman/version"
Gem::Specification.new do |s|
2010-12-24 02:18:15 +01:00
s.name = "middleman"
s.version = Middleman::VERSION
s.platform = Gem::Platform::RUBY
2011-08-19 02:33:45 +02:00
s.license = "MIT"
2010-12-24 02:18:15 +01:00
s.authors = ["Thomas Reynolds"]
2011-07-27 01:24:10 +02:00
s.email = ["me@tdreyno.com"]
2011-07-10 22:55:40 +02:00
s.homepage = "http://middlemanapp.com"
2011-08-06 23:41:13 +02:00
s.summary = "Hand-crafted frontend development"
s.description = "A static site generator based on Sinatra. Providing dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle."
2010-12-24 02:18:15 +01:00
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {fixtures,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
2011-08-06 23:39:04 +02:00
# TODO remove for 2.1.x
2011-08-06 23:57:42 +02:00
s.post_install_message =<<eos
2011-08-07 00:19:41 +02:00
********************************************************************************
2011-08-06 23:39:04 +02:00
Welcome to Middleman 2.0
In addition to many new features, some backwards-incompatible
changes have been made to the structure of Middleman sites.
Before running you old, v1.x project on Middleman 2.0,
review the Migration guide:
http://middlemanapp.com/guides/migrating
2011-08-07 00:19:41 +02:00
********************************************************************************
2011-08-06 23:39:04 +02:00
eos
2011-07-17 00:38:15 +02:00
s.add_runtime_dependency("rack", ["~> 1.3.0"])
2011-07-27 01:23:09 +02:00
s.add_runtime_dependency("thin", ["~> 1.2.11"])
2011-01-30 23:18:49 +01:00
s.add_runtime_dependency("thor", ["~> 0.14.0"])
2011-06-01 21:33:03 +02:00
s.add_runtime_dependency("tilt", ["~> 1.3.1"])
s.add_runtime_dependency("maruku", ["~> 0.6.0"])
2011-07-27 21:33:20 +02:00
s.add_runtime_dependency("sinatra", ["~> 1.2.6"])
2011-07-27 22:39:21 +02:00
s.add_runtime_dependency("rack-test", ["~> 0.6.1"])
s.add_runtime_dependency("uglifier", ["~> 1.0.0"])
s.add_runtime_dependency("slim", ["~> 1.0.1"])
2011-04-25 05:13:07 +02:00
s.add_runtime_dependency("haml", ["~> 3.1.0"])
s.add_runtime_dependency("sass", ["~> 3.1.7"])
s.add_runtime_dependency("compass", ["~> 0.11.3"])
2011-08-04 00:25:08 +02:00
s.add_runtime_dependency("coffee-script", ["~> 2.2.0"])
2011-08-29 20:31:46 +02:00
s.add_runtime_dependency("sprockets", ["2.0.0.beta.15"])
2011-08-09 23:37:55 +02:00
2011-08-21 02:09:30 +02:00
# Padrino deps
s.add_runtime_dependency("activesupport", "~> 3.0.0")
# Only in Padrino-helpers
s.add_runtime_dependency("i18n", "~> 0.5.0")
2011-08-09 23:37:55 +02:00
case Config::CONFIG['host_os'].downcase
when %r{mswin|mingw}
2011-08-09 23:46:50 +02:00
# s.add_runtime_dependency "windows-api", "= 0.4.0"
# s.add_runtime_dependency "windows-pr", "= 1.1.2"
s.add_runtime_dependency("win32-process", ["~> 0.6.5"])
s.add_runtime_dependency("win32console", ["~> 1.3.0"])
2011-08-21 20:05:42 +02:00
s.add_runtime_dependency("rb-fchange")
2011-08-12 08:00:07 +02:00
when %r{darwin}
s.add_runtime_dependency("rb-fsevent", ["~> 0.4.2"])
2011-08-09 23:37:55 +02:00
end
2011-08-18 07:00:07 +02:00
s.add_runtime_dependency("guard", ["~> 0.6.2"])
2011-08-21 02:52:05 +02:00
s.add_runtime_dependency("middleman-livereload", ["~> 0.2.0"])
s.add_development_dependency("coffee-filter", ["~> 0.1.1"])
2011-08-03 06:58:20 +02:00
s.add_development_dependency("cucumber", ["~> 1.0.2"])
2011-06-24 20:04:26 +02:00
s.add_development_dependency("rake", ["0.8.7"])
2011-07-26 20:49:06 +02:00
s.add_development_dependency("rspec", ["~> 2.6.0"])
end
2010-08-04 05:58:05 +02:00