Browse Source

Merge pull request #1 from coderanger/COOK-634

Allow string or symbol names for SCM provider
Andrea Campi 12 years ago
parent
commit
5efd995e98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/default.rb

+ 1 - 1
resources/default.rb

@@ -36,7 +36,7 @@ attribute :path, :kind_of => String
 attribute :owner, :kind_of => String
 attribute :group, :kind_of => String
 attribute :strategy, :kind_of => [String, Symbol], :default => :deploy_revision
-attribute :scm_provider, :kind_of => Class
+attribute :scm_provider, :kind_of => [Class, String, Symbol]
 attribute :revision, :kind_of => String
 attribute :repository, :kind_of => String
 attribute :environment, :kind_of => Hash, :default => {}