Skip to content
A silly little package non-manager that uses html to seek out dependencies.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
.gitignore
.rvmrc
Gemfile
Gemfile.lock
Rakefile
Readme.mdown
html_package.gemspec

Readme.mdown

html_package

Doesn't really manage your packages. But spiders across the web to find and load your dependencies.

Details to come.

Here is a sample html_package:

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/package+html; charset=UTF-8">
  <title>Alpha Simprini</title>
  <meta name="author" content="Collin Miller">
  <meta name="version" content="0.5.0">
  <meta name="description" content="
    Alpha Simprini is a browser application framework. 
    It is a terrible awful mish-mash of ideas from Backbone and SproutCore/Ember.js
  ">

  <link rel="dependency" type="text/package+html" href="https://github.com/collin/pathology/blob/master/pathology.html">
  <link rel="dependency" type="text/package+html" href="https://github.com/collin/taxi/blob/master/taxi.html">

  <link rel="dependency" type="text/spade+javascript" href="https://github.com/collin/alpha_simprini/blob/master/dist/vendor/fleck-spade.js">
  <link rel="dependency" type="text/spade+javascript" href="https://github.com/collin/alpha_simprini/blob/master/dist/vendor/jquery-spade.js">
  <link rel="self" type="text/spade+javascript" href="https://github.com/collin/alpha_simprini/blob/master/dist/alpha_siprini-spade.js">

</head>
<body>

  # Alpha Simprini

  Alpha Simprini is a browser application framework. 
  It is a terrible awful mish-mash of ideas from Backbone and SproutCore/Ember.js

  ## authors
  * <a href="mailto:collintmiller@gmail.com"> Collin Miller </a>

</body>
</html>
gem install 'html_package'
hip
WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8
Tasks:
  hip help [TASK]                                                                     # Describe available tasks or one specific task
  hip install --file=(path or url to package file) --out=(path to dir to install to)  # installs a package

Don't worry if the spirit ghost of Nokogiri rumbles. (or maybe do, I don't think about it)

desc "Install development dependencies with hip"
task :vendor => :dist do
  system "hip install --file=dist/alpha_simprini.html --out=./vendor --dev"
end
hip install --file=dist/alpha_simprini.html --out=./vendor --dev
WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8
opening package: dist/alpha_simprini.html
dependency: http://cloud.github.com/downloads/collin/pathology/pathology-0.4.1.html
opening package: http://cloud.github.com/downloads/collin/pathology/pathology-0.4.1.html
dependency: http://cloud.github.com/downloads/collin/knead/knead-0.3.3.html
opening package: http://cloud.github.com/downloads/collin/knead/knead-0.3.3.html
dependency: http://cloud.github.com/downloads/collin/taxi/taxi-0.6.0.html
opening package: http://cloud.github.com/downloads/collin/taxi/taxi-0.6.0.html
dependency: http://cloud.github.com/downloads/collin/pathology/pathology-0.4.1.html
opening package: http://cloud.github.com/downloads/collin/pathology/pathology-0.4.1.html
loading: http://cloud.github.com/downloads/collin/alpha_simprini/alpha_simprini-0.5.0-spade.js
loading: http://spader.herokuapp.com/spades/jwerty-0.3.0.js
loading: http://cloud.github.com/downloads/collin/pathology/pathology-0.4.1.html
loading: http://cloud.github.com/downloads/collin/knead/knead-0.3.3.html
loading: http://cloud.github.com/downloads/collin/taxi/taxi-0.6.0.html
loading: http://spader.herokuapp.com/spades/fleck-0.5.1.js
loading: http://spader.herokuapp.com/spades/sharejs-0.5.0-pre.js
loading: http://spader.herokuapp.com/spades/sharejs.json-0.5.0-pre.js
loading: http://spader.herokuapp.com/spades/bcsocket-0.4.0.js
loading: http://spader.herokuapp.com/spades/rangy-core-1.2.3.js
loading: http://spader.herokuapp.com/spades/sinon-1.3.4.js
loading: http://spader.herokuapp.com/spades/sinon-qunit-1.0.0.js
loading: http://cloud.github.com/downloads/collin/pathology/pathology-0.4.1-spade.js
loading: http://spader.herokuapp.com/spades/underscore-1.3.3.js
loading: http://spader.herokuapp.com/spades/jquery-1.7.2.js
loading: http://spader.herokuapp.com/spades/coffeekup-0.3.1edge.js
loading: http://spader.herokuapp.com/minispade.js
loading: http://cloud.github.com/downloads/collin/knead/knead-0.3.2-spade.js
loading: http://cloud.github.com/downloads/collin/taxi/taxi-0.6.0-spade.js
loading: http://spader.dev/spades/underscore-1.3.3.js
failed: GET http://spader.herokuapp.com/spades/sinon-qunit-1.0.0.js
        OpenURI::HTTPError 404 Not Found 

failed: GET http://spader.herokuapp.com/spades/sinon-1.3.4.js
        OpenURI::HTTPError 404 Not Found 

Something went wrong with that request. Please try again.