Sha256: b0b793544f23876fa74f585dad689fa524fc4d6f8afacee2050437d326738bb9

Contents?: true

Size: 1.93 KB

Versions: 10

Compression:

Stored size: 1.93 KB

Contents

  require 'flashsdk'

  ##
  # This is the Flash Player Sprout::Specification and is how
  # we figure out from where to load the Flash Player for the
  # current user system.
  Sprout::Specification.new do |s|
    s.name        = FlashPlayer::NAME
    s.version     = FlashPlayer::VERSION

    ##
    # NOTE: The order of these declarations is important, the RubyFeature.load method
    # will search for the first match that is appropriate for the end user system.
    #
    # Current releases of the Ruby One-Click Installer for Windows actually
    # run on top of Mingw, and OSX is a *nix variant, which means that 
    # all System types (in Ruby at least) derive from UnixSystem. 
    #
    # This means that the Linux/Unix declaration will
    # match everyone, so it is effectively the same as ':universal'
    s.add_remote_file_target do |t|
      t.platform     = :windows
      t.archive_type = :exe
      t.url          = "http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa_debug_32bit.exe"
      t.url          = "http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.exe"
      t.md5          = "6fbc96203b878529a5baefe2226a403e"
      t.add_executable :flashplayer, "5f7f4c4246784745b0e1b5593e9bc60f.exe"
    end

    s.add_remote_file_target do |t|
      t.platform     = :osx
      t.archive_type = :zip
      t.url          = "http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa_debug.app.zip"
      t.md5          = "861e7b57ffae780ba391ac6adcb40a0d"
      t.add_executable :flashplayer, "Flash Player Debugger.app"
    end

    s.add_remote_file_target do |t|
      t.platform     = :linux
      t.archive_type = :tgz
      t.url          = "http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa_debug.i386.tar.gz"
      t.md5          = "2d5d0da2bcf4b76afe75f7a113f4f3f1"
      t.add_executable :flashplayer, "flashplayerdebugger"
    end
  end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
flashsdk_sqe-0.0.11 lib/flashplayer/specification.rb
flashsdk_sqe-0.0.10 lib/flashplayer/specification.rb
flashsdk_sqe-0.0.9 lib/flashplayer/specification.rb
flashsdk_sqe-0.0.7 lib/flashplayer/specification.rb
flashsdk_sqe-0.0.6 lib/flashplayer/specification.rb
flashsdk_sqe-0.0.4 lib/flashplayer/specification.rb
flashsdk_sqe-0.0.3 lib/flashplayer/specification.rb
flashsdk_sqe-0.0.2 lib/flashplayer/specification.rb
flashsdk_sqe-0.0.1 lib/flashplayer/specification.rb
flashsdk-1.1.36.pre lib/flashplayer/specification.rb