The return of the windows gem, for wdm and speedier file watching support

This commit is contained in:
Thomas Reynolds 2012-08-31 09:22:17 -07:00
parent a5d8ab08ff
commit 9b9146b437
3 changed files with 42 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# coding:utf-8 # coding:utf-8
RAKE_ROOT = __FILE__ RAKE_ROOT = __FILE__
GEM_NAME = "middleman-core" GEM_NAME = ENV["NAME"] || "middleman-core"
require 'rubygems' require 'rubygems'
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper') require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')

View file

@ -0,0 +1,38 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "middleman-core/version"
Gem::Specification.new do |s|
s.name = "middleman-core"
s.version = Middleman::VERSION
s.platform = Gem::Platform::RUBY
s.license = "MIT"
s.authors = ["Thomas Reynolds", "Ben Hollis"]
s.email = ["me@tdreyno.com", "ben@benhollis.net"]
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."
s.files = `git ls-files -z`.split("\0")
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
s.executable = "middleman"
s.require_path = "lib"
# Core
s.add_dependency("bundler", ["~> 1.1"])
s.add_dependency("rack", ["~> 1.4.1"])
s.add_dependency("tilt", ["~> 1.3.1"])
# Builder
s.add_dependency("rack-test", ["~> 0.6.1"])
# CLI
s.add_dependency("thor", ["~> 0.15.4"])
# Helpers
s.add_dependency("activesupport", ["~> 3.2.6"])
# Watcher
s.add_dependency("listen", ["~> 0.5.0"])
s.add_dependency("wdm", ["~> 0.0.3"]) # Windows
end

View file

@ -33,6 +33,7 @@ Gem::Specification.new do |s|
s.add_dependency("activesupport", ["~> 3.2.6"]) s.add_dependency("activesupport", ["~> 3.2.6"])
# Watcher # Watcher
s.add_dependency("listen", ["~> 0.4.7"]) s.add_dependency("listen", ["~> 0.5.0"])
s.add_dependency("rb-fsevent", ["~> 0.9.1"]) # Linux
s.add_dependency("rb-inotify", ["~> 0.8.8"]) # OS X
end end