Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

Commit

Permalink
Don't need the repo option for config
Browse files Browse the repository at this point in the history
  • Loading branch information
brentd committed Sep 29, 2010
1 parent c4bed03 commit 442f531
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.markdown
Expand Up @@ -19,7 +19,6 @@ strategy. No hooks, very little behind-the-scenes magic - it just does what you
require 'gitploy/script' require 'gitploy/script'


configure do |c| configure do |c|
c.repo = 'git@github.com:myuser/fooapp.git'
c.path = '/var/www/fooapp' c.path = '/var/www/fooapp'


stage :staging do stage :staging do
Expand Down
2 changes: 1 addition & 1 deletion lib/gitploy.rb
Expand Up @@ -3,7 +3,7 @@ module Gitploy
attr_accessor :config attr_accessor :config


class Config class Config
REQUIRED_OPTIONS = [:repo, :path, :user, :host] REQUIRED_OPTIONS = [:path, :user, :host]
attr_accessor *REQUIRED_OPTIONS attr_accessor *REQUIRED_OPTIONS
attr_accessor :local_branch, :remote_branch attr_accessor :local_branch, :remote_branch


Expand Down

0 comments on commit 442f531

Please sign in to comment.