Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove MorePackager.
  • Loading branch information
Gabe Berke-Williams committed Oct 21, 2011
1 parent 3eb743c commit 594a6d0
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 78 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -11,8 +11,8 @@ rebase against master a couple times before your pull request can be merged.
## What does Kumade do?
Before deploying, Kumade ensures the git repo is clean.
After that, it packages assets using
[Jammit](http://documentcloud.github.com/jammit/) and/or
[More](https://github.com/cloudhead/more), commits them, and pushes to origin.
[Jammit](http://documentcloud.github.com/jammit/) (if it's installed), commits
them, and pushes to origin.
Then it force pushes to the correct Heroku remote, runs `rake db:migrate` on the
Heroku app, and then restarts the app.

Expand Down
1 change: 0 additions & 1 deletion features/kumade_executable.feature
Expand Up @@ -31,7 +31,6 @@ Feature: Kumade executable
==> Restarted pretend-staging
==> Deployed to: pretend-staging
"""
But the output should not contain "==> Packaged with Kumade::MorePackager"

Scenario: Default environment is staging
When I run kumade with "-p"
Expand Down
1 change: 0 additions & 1 deletion lib/kumade.rb
Expand Up @@ -8,7 +8,6 @@ module Kumade
autoload :Configuration, "kumade/configuration"
autoload :Heroku, "kumade/heroku"
autoload :Packager, "kumade/packager"
autoload :MorePackager, "kumade/packagers/more_packager"
autoload :JammitPackager, "kumade/packagers/jammit_packager"
autoload :NoopPackager, "kumade/packagers/noop_packager"
autoload :PackagerList, "kumade/packager_list"
Expand Down
2 changes: 1 addition & 1 deletion lib/kumade/packager_list.rb
Expand Up @@ -2,7 +2,7 @@ module Kumade
class PackagerList
include Enumerable

PACKAGERS = [MorePackager, JammitPackager]
PACKAGERS = [JammitPackager]

def initialize
@packagers = build_packagers_list
Expand Down
20 changes: 0 additions & 20 deletions lib/kumade/packagers/more_packager.rb

This file was deleted.

16 changes: 0 additions & 16 deletions spec/kumade/packager_list_spec.rb
Expand Up @@ -3,28 +3,12 @@
describe Kumade::PackagerList, "detecting packages", :with_mock_outputter do
it "returns an array containing the Jammit packager if Jammit is installed" do
Kumade::JammitPackager.stubs(:installed? => true)
Kumade::MorePackager.stubs(:installed? => false)

Kumade::PackagerList.new.to_a.should == [Kumade::JammitPackager]
end

it "returns an array containing the More packager if More is installed" do
Kumade::JammitPackager.stubs(:installed? => false)
Kumade::MorePackager.stubs(:installed? => true)

Kumade::PackagerList.new.to_a.should == [Kumade::MorePackager]
end

it "returns multiple packagers if they are installed" do
Kumade::JammitPackager.stubs(:installed? => true)
Kumade::MorePackager.stubs(:installed? => true)

Kumade::PackagerList.new.to_a.should =~ [Kumade::JammitPackager, Kumade::MorePackager]
end

it "returns an array containing the no-op packager if no other packagers are found" do
Kumade::JammitPackager.stubs(:installed? => false)
Kumade::MorePackager.stubs(:installed? => false)

Kumade::PackagerList.new.to_a.should == [Kumade::NoopPackager]
end
Expand Down
37 changes: 0 additions & 37 deletions spec/kumade/packagers/more_packager_spec.rb

This file was deleted.

0 comments on commit 594a6d0

Please sign in to comment.