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.15.travis.1378.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1375.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1374.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1358.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1349.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1336.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1329.4 lib/dpl/provider/appfog.rb
dpl-1.8.15.travis.1317.4 lib/dpl/provider/appfog.rb
dpl-1.8.14 lib/dpl/provider/appfog.rb
dpl-1.8.14.travis.1316.4 lib/dpl/provider/appfog.rb
dpl-1.8.14.travis.1314.4 lib/dpl/provider/appfog.rb
dpl-1.8.13 lib/dpl/provider/appfog.rb
dpl-1.8.13.travis.1313.4 lib/dpl/provider/appfog.rb
dpl-1.8.13.travis.1311.4 lib/dpl/provider/appfog.rb
dpl-1.8.13.travis.1306.4 lib/dpl/provider/appfog.rb
dpl-1.8.13.travis.1301.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1300.4 lib/dpl/provider/appfog.rb
dpl-1.8.12 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1291.4 lib/dpl/provider/appfog.rb
dpl-1.8.12.travis.1286.4 lib/dpl/provider/appfog.rb