Top Level Namespace

Defined Under Namespace

Classes: LibraryNotImplementedException, Optparse

Constant Summary collapse

DATA_STORE_FILENAME =

require “gemrake”

File.expand_path('~/.web-puc-data.yml')
CACHE_EXPIRATION_PERIOD =
7*24*60*60

Instance Method Summary collapse

Instance Method Details



61
62
63
64
65
66
67
68
69
70
# File 'lib/web-puc.rb', line 61

def get_link(lib, version)
  case lib
    when 'twitter-bootstrap'
      "//netdna.bootstrapcdn.com/bootstrap/#{version}/"
    when 'font-awesome'
      "//netdna.bootstrapcdn.com/font-awesome/#{version}/"
    else
      raise LibraryNotImplementedException
  end
end