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.13.travis.1528.4 lib/dpl/provider/appfog.rb
dpl-1.8.18.travis.1496.4 lib/dpl/provider/appfog.rb
dpl-1.8.18.travis.1492.4 lib/dpl/provider/appfog.rb
dpl-1.8.18.travis.1489.4 lib/dpl/provider/appfog.rb
dpl-1.8.18.travis.1472.4 lib/dpl/provider/appfog.rb
dpl-1.8.17 lib/dpl/provider/appfog.rb
dpl-1.8.18.travis.1465.4 lib/dpl/provider/appfog.rb
dpl-1.8.17.travis.1464.4 lib/dpl/provider/appfog.rb
dpl-1.8.17.travis.1460.4 lib/dpl/provider/appfog.rb
dpl-1.8.17.travis.1444.4 lib/dpl/provider/appfog.rb
dpl-1.8.17.travis.1416.4 lib/dpl/provider/appfog.rb
dpl-1.8.17.travis.1402.4 lib/dpl/provider/appfog.rb
dpl-1.8.16 lib/dpl/provider/appfog.rb
dpl-1.8.16.travis.1398.4 lib/dpl/provider/appfog.rb
dpl-1.8.16.travis.1394.4 lib/dpl/provider/appfog.rb
dpl-1.8.16.travis.1387.4 lib/dpl/provider/appfog.rb
dpl-1.8.15 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1386.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1385.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1379.4 lib/dpl/provider/appfog.rb