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.8.12.travis.1283.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1282.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1279.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1272.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1271.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1268.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1260.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1254.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1244.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1236.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1228.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1226.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1223.4 lib/dpl/provider/appfog.rb
dpl-1.8.11 lib/dpl/provider/appfog.rb
dpl-1.8.11.travis.1222.4 lib/dpl/provider/appfog.rb
dpl-1.8.11.travis.1218.4 lib/dpl/provider/appfog.rb
dpl-1.8.10.travis.1217.4 lib/dpl/provider/appfog.rb
dpl-1.8.10 lib/dpl/provider/appfog.rb
dpl-1.8.10.travis.1215.4 lib/dpl/provider/appfog.rb
dpl-1.8.9.travis.1214.4 lib/dpl/provider/appfog.rb