Sha256: 78ae6a8ea4de4cf547cea75cbeff71121eb1fdb77a2f89dd62fcb75f7c23af1c

Contents?: true

Size: 422 Bytes

Versions: 369

Compression:

Stored size: 422 Bytes

Contents

module DPL
  class Provider
    class Appfog < Provider
      requires 'af', :load => 'vmc'

      def check_auth
        context.shell "af login --email=#{option(:email)} --password=#{option(:password)}"
      end

      def needs_key?
        false
      end

      def push_app
        context.shell "af update #{options[:app] || File.basename(Dir.getwd)}"
        context.shell "af logout"
      end
    end
  end
end

Version data entries

369 entries across 369 versions & 1 rubygems

Version Path
dpl-1.5.2.travis.217.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.216.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.211.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.208.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.206.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.201.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.200.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.197.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.196.2 lib/dpl/provider/appfog.rb