2011-12-30 00:09:51 +01:00
# -*- encoding: utf-8 -*-
2014-03-25 09:50:28 +01:00
$LOAD_PATH . push File . expand_path ( '../lib' , __FILE__ )
require File . expand_path ( '../lib/middleman-core/version' , __FILE__ )
2011-12-30 00:09:51 +01:00
Gem :: Specification . new do | s |
2014-03-25 09:50:28 +01:00
s . name = 'middleman-core'
2011-12-30 04:04:39 +01:00
s . version = Middleman :: VERSION
2011-12-30 00:09:51 +01:00
s . platform = Gem :: Platform :: RUBY
2014-03-25 09:50:28 +01:00
s . license = 'MIT'
2014-04-08 18:27:18 +02:00
s . authors = [ 'Thomas Reynolds' , 'Ben Hollis' , 'Karl Freeman' ]
s . email = [ 'me@tdreyno.com' , 'ben@benhollis.net' , 'karlfreeman@gmail.com' ]
2014-03-25 09:50:28 +01:00
s . homepage = 'http://middlemanapp.com'
s . summary = 'Hand-crafted frontend development'
s . description = 'A static site generator. Provides 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.'
2011-12-30 00:09:51 +01:00
2012-05-02 07:57:56 +02:00
s . files = ` git ls-files -z ` . split ( " \0 " )
s . test_files = ` git ls-files -z -- {fixtures,features}/* ` . split ( " \0 " )
2014-03-25 09:50:28 +01:00
s . require_path = 'lib'
2013-11-19 05:19:49 +01:00
s . required_ruby_version = '>= 1.9.3'
2011-12-30 00:09:51 +01:00
# Core
2014-03-25 09:50:28 +01:00
s . add_dependency ( 'bundler' , [ '~> 1.1' ] )
2014-04-08 18:27:18 +02:00
s . add_dependency ( 'rack' , [ '>= 1.4.5' , '< 2.0' ] )
2014-03-25 09:50:28 +01:00
s . add_dependency ( 'tilt' , [ '~> 1.4.1' ] )
s . add_dependency ( 'erubis' )
s . add_dependency ( 'hooks' , [ '~> 0.3' ] )
2013-11-19 05:19:49 +01:00
2011-12-30 00:09:51 +01:00
# Helpers
2014-04-10 01:14:10 +02:00
s . add_dependency ( 'activesupport' , [ '~> 4.1.0' ] )
2014-04-08 18:27:18 +02:00
s . add_dependency ( " padrino-helpers " , [ '~> 0.12.1' ] )
2013-11-19 05:19:49 +01:00
2011-12-30 00:09:51 +01:00
# Watcher
2014-07-02 18:30:58 +02:00
s . add_dependency ( 'listen' , [ '>= 2.7.9' , '< 3.0' ] )
2013-05-08 20:37:55 +02:00
# i18n
2014-03-25 09:50:28 +01:00
s . add_dependency ( 'i18n' , [ '~> 0.6.9' ] )
2014-05-27 03:00:39 +02:00
# Automatic Image Sizes
s . add_dependency ( 'fastimage' , [ '~> 1.6.2' ] )
2014-04-07 21:43:16 +02:00
# Minify CSS
s . add_dependency ( 'sass' , [ '>= 3.3.4' ] )
# Work around Sass performance
s . add_dependency ( 'compass-import-once' , [ '~> 1.0.4' ] )
# Minify JS
s . add_dependency ( 'uglifier' , [ '~> 2.5' ] )
s . add_dependency ( 'execjs' , [ '~> 2.0' ] )
2014-07-10 22:07:27 +02:00
# Testings
s . add_development_dependency ( 'contracts' , [ '~> 0.4' ] )
2011-12-30 00:09:51 +01:00
end