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.3.travis.265.1 lib/dpl/provider/appfog.rb
dpl-1.5.3.travis.262.1 lib/dpl/provider/appfog.rb
dpl-1.5.3.travis.261.1 lib/dpl/provider/appfog.rb
dpl-1.5.3.travis.259.1 lib/dpl/provider/appfog.rb
dpl-1.5.3.travis.257.1 lib/dpl/provider/appfog.rb
dpl-1.5.3.travis.255.2 lib/dpl/provider/appfog.rb
dpl-1.5.3.travis.254.2 lib/dpl/provider/appfog.rb
dpl-1.5.3.travis.252.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.248.2 lib/dpl/provider/appfog.rb
dpl-1.5.3.travis.249.2 lib/dpl/provider/appfog.rb
dpl-1.5.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.245.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.244.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.243.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.242.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.241.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.240.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.226.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.220.2 lib/dpl/provider/appfog.rb
dpl-1.5.2.travis.218.2 lib/dpl/provider/appfog.rb