2011-12-29 18:09:51 -05:00
# -*- encoding: utf-8 -*-
2014-03-25 04:50:28 -04:00
$LOAD_PATH . push File . expand_path ( '../lib' , __FILE__ )
require File . expand_path ( '../lib/middleman-core/version' , __FILE__ )
2011-12-29 18:09:51 -05:00
Gem :: Specification . new do | s |
2014-03-25 04:50:28 -04:00
s . name = 'middleman-core'
2011-12-29 22:04:39 -05:00
s . version = Middleman :: VERSION
2011-12-29 18:09:51 -05:00
s . platform = Gem :: Platform :: RUBY
2014-03-25 04:50:28 -04:00
s . license = 'MIT'
2014-04-08 12:27:18 -04:00
s . authors = [ 'Thomas Reynolds' , 'Ben Hollis' , 'Karl Freeman' ]
s . email = [ 'me@tdreyno.com' , 'ben@benhollis.net' , 'karlfreeman@gmail.com' ]
2014-03-25 04:50:28 -04: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-29 18:09:51 -05:00
2012-05-02 01:57:56 -04:00
s . files = ` git ls-files -z ` . split ( " \0 " )
s . test_files = ` git ls-files -z -- {fixtures,features}/* ` . split ( " \0 " )
2014-03-25 04:50:28 -04:00
s . require_path = 'lib'
2016-08-13 18:41:19 -04:00
s . required_ruby_version = '>= 2.2.0'
2013-11-18 23:19:49 -05:00
2011-12-29 18:09:51 -05:00
# Core
2014-03-25 04:50:28 -04:00
s . add_dependency ( 'bundler' , [ '~> 1.1' ] )
2014-04-08 12:27:18 -04:00
s . add_dependency ( 'rack' , [ '>= 1.4.5' , '< 2.0' ] )
2016-09-08 18:18:34 -04:00
s . add_dependency ( 'tilt' , [ '~> 2.0' ] )
2014-03-25 04:50:28 -04:00
s . add_dependency ( 'erubis' )
2016-01-13 20:16:36 -05:00
s . add_dependency ( 'fast_blank' )
2016-01-22 18:57:07 -05:00
s . add_dependency ( 'parallel' )
2016-04-12 13:00:09 -04:00
s . add_dependency ( 'servolux' )
2016-05-25 13:54:49 -04:00
s . add_dependency ( 'dotenv' )
2013-11-18 23:19:49 -05:00
2011-12-29 18:09:51 -05:00
# Helpers
2016-08-30 20:22:31 -04:00
s . add_dependency ( 'activesupport' , [ '>= 4.2' , '< 5.1' ] )
2015-10-12 15:37:33 -04:00
s . add_dependency ( 'padrino-helpers' , [ '~> 0.13.0' ] )
2016-03-15 17:10:27 -04:00
s . add_dependency ( " addressable " , [ " ~> 2.3 " ] )
2016-04-21 19:06:26 -04:00
s . add_dependency ( 'memoist' , [ '~> 0.14' ] )
2013-11-18 23:19:49 -05:00
2011-12-29 18:09:51 -05:00
# Watcher
2016-04-24 03:57:13 -04:00
s . add_dependency ( 'listen' , [ '~> 3.0.0' ] )
2013-05-08 14:37:55 -04:00
2015-09-17 16:53:43 -04:00
# Tests
2016-04-28 18:44:50 -04:00
s . add_development_dependency ( " capybara " , [ " ~> 2.5.0 " ] )
2013-05-08 14:37:55 -04:00
# i18n
2015-01-03 15:32:21 -05:00
s . add_dependency ( 'i18n' , [ '~> 0.7.0' ] )
2014-05-26 21:00:39 -04:00
# Automatic Image Sizes
2016-04-12 16:05:46 -04:00
s . add_dependency ( 'fastimage' , [ '~> 2.0' ] )
2014-04-07 15:43:16 -04:00
# Minify CSS
2015-11-27 18:41:42 -05:00
s . add_dependency ( 'sass' , [ '>= 3.4' ] )
2014-04-07 15:43:16 -04:00
# Minify JS
2016-04-13 12:23:28 -04:00
s . add_dependency ( 'uglifier' , [ '~> 3.0' ] )
2014-04-07 15:43:16 -04:00
s . add_dependency ( 'execjs' , [ '~> 2.0' ] )
2014-07-10 16:07:27 -04:00
2014-07-10 16:11:14 -04:00
# Testing
2016-02-24 16:14:50 -05:00
s . add_dependency ( 'contracts' , [ '~> 0.13.0' ] )
2015-03-20 16:58:23 -04:00
2015-08-12 18:24:35 -04:00
# Hash stuff
s . add_dependency ( 'hashie' , [ '~> 3.4' ] )
2016-02-24 16:14:50 -05:00
s . add_dependency ( 'hamster' , [ '~> 3.0' ] )
2015-10-01 13:25:53 -04:00
s . add_dependency ( 'backports' , [ '~> 3.6' ] )
2011-12-29 18:09:51 -05:00
end