Skip to content
This repository has been archived by the owner on Dec 28, 2018. It is now read-only.

Commit

Permalink
Add vendored rake-pipeline and rake-pipeline-web-filters from Github …
Browse files Browse the repository at this point in the history
…since it's been 7 months since their last gem
  • Loading branch information
tdreyno committed Jul 10, 2012
1 parent 10f1612 commit 2ee104c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
@@ -0,0 +1,6 @@
[submodule "lib/middleman-pipeline/vendor/rake-pipeline"]
path = lib/middleman-pipeline/vendor/rake-pipeline
url = git://github.com/livingsocial/rake-pipeline.git
[submodule "lib/middleman-pipeline/vendor/rake-pipeline-web-filters"]
path = lib/middleman-pipeline/vendor/rake-pipeline-web-filters
url = git://github.com/wycats/rake-pipeline-web-filters.git
6 changes: 6 additions & 0 deletions lib/middleman-pipeline/extension.rb
@@ -1,3 +1,9 @@
vendor1_dir = File.expand_path(File.join(File.dirname(__FILE__), "vendor", "rake-pipeline", "lib"))
$LOAD_PATH.unshift(vendor1_dir) unless $LOAD_PATH.include?(vendor1_dir)

vendor2_dir = File.expand_path(File.join(File.dirname(__FILE__), "vendor", "rake-pipeline-web-filters", "lib"))
$LOAD_PATH.unshift(vendor2_dir) unless $LOAD_PATH.include?(vendor2_dir)

require "rake-pipeline"
require "rake-pipeline/middleware"
require "rake-pipeline-web-filters"
Expand Down
1 change: 1 addition & 0 deletions lib/middleman-pipeline/vendor/rake-pipeline
Submodule rake-pipeline added at 9008ba
1 change: 1 addition & 0 deletions lib/middleman-pipeline/vendor/rake-pipeline-web-filters
Submodule rake-pipeline-web-filters added at 786547
2 changes: 1 addition & 1 deletion lib/middleman-pipeline/version.rb
@@ -1,5 +1,5 @@
module Middleman
module Pipeline
VERSION = "3.0.0.rc.3"
VERSION = "3.0.0"

This comment has been minimized.

Copy link
@joefiorini

joefiorini Jul 25, 2012

Can you push this to rubygems.org? It still depends on rc.2.

This comment has been minimized.

Copy link
@tdreyno

tdreyno Jul 25, 2012

Author Member

I'm not happy with the API yet... definitely not production ready. Will a newer RC work?

This comment has been minimized.

Copy link
@joefiorini

joefiorini via email Jul 25, 2012

This comment has been minimized.

Copy link
@tdreyno

tdreyno Jul 25, 2012

Author Member

Should work, I'll push a new RC that depends on MM 3.0. Let me know how things are working, need help nailing down the API.

end
end
7 changes: 3 additions & 4 deletions middleman-pipeline.gemspec
Expand Up @@ -16,10 +16,9 @@ Gem::Specification.new do |s|

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("middleman-more", Middleman::Pipeline::VERSION)
s.add_dependency("rake-pipeline")
s.add_dependency("rake-pipeline-web-filters")
s.add_dependency("middleman-more", "~> 3.0.0")
# s.add_dependency("rake-pipeline")
# s.add_dependency("rake-pipeline-web-filters")
end

0 comments on commit 2ee104c

Please sign in to comment.