RubyGems Navigation menu

sproutcore 1.0.1025

sproutcore - abbot

by Charles Jolley and contributors
http://www.sproutcore.com
http://github.com/sproutit/sproutcore-abbot

DESCRIPTION:

SproutCore is a platform for building native look-and-feel applications on the web. This Ruby library includes a copy of the SproutCore JavaScript framework as well as a Ruby-based build system called Abbot.

Abbot is a build system for creating static web content. You can supply Abbot with a collection of JavaScript, HTML, CSS and image files and it will combine the files into a bundle that are optimized for efficient, cached deliver directly from your server or using a CDN.

Some of the benefits of using Abbot versus assembling your own content include:

* Easy maintenance.  Organize your source content in a way that is useful for 
  you without impacting performance on loaded apps.

* Automatically versioned URLs. Serve content with long expiration dates
  while Abbot handles the cache invalidation for you.

* Dependency management.  Divide your code into frameworks; load 3rd party
  libraries.  Abbot will make sure everything loads in the correct order.

* Packing.  Combines JavaScript and CSS into single files to minimize the
  number of resources you download for each page.

Although Abbot is intended primarily for building Web applications that use the SproutCore JavaScript framework, you can also use it to efficiently build any kind of static web content, even if SproutCore is not involved.

Abbot can be used both directly from the command line or as a ruby library.

USING ABBOT WITH SPROUTCORE:

This gem includes both the Abbot build tools and a copy of the SproutCore JavaScript framework. You can use built-in commands to create, develop, build, and deploy SproutCore-based applications.

KNOWN LIMITATIONS:

  • Currently does not support sites using relative-links. You must specify the absolute path you expect built targets to be hosted as.

SYNOPSIS:

To create a new project:

sc-init my_app

To test said project:

cd my_app
sc-server
open http://localhost:4020/my_app (in web browser)

Write code, refresh, debug. Once you are ready to deploy, build your static output using:

cd my_app
sc-build my_app -rc

Copy the resulting files found in my_app/tmp/build to your server and you are deployed!

REQUIREMENTS:

  • Ruby 1.8.6 or later. Ruby 1.9 is currently untested

  • extlib 0.9.9 or later

  • rack 0.9.1 or later

  • erubis 2.6.2 or later

  • json_pure 1.1.0 or later

INSTALL:

sudo gem install sproutcore

LICENSE:

Copyright © 2009 Apple Inc.

Portions copyright © 2006-2009 Sprout Systems, Inc. and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.11.0 - January 28, 2015 (7.22 MB)
  2. 1.11.0.rc3 - January 08, 2015 (7.21 MB)
  3. 1.11.0.rc2 - December 09, 2014 (7.18 MB)
  4. 1.11.0.rc1 - November 25, 2014 (7.17 MB)
  5. 1.10.3.1 - November 05, 2014 (7.07 MB)
  6. 1.0.1025 - November 16, 2009 (8.4 MB)
Show all versions (112 total)

Runtime Dependencies (5):

erubis >= 2.6.2
extlib >= 0.9.9
json_pure >= 1.1.0
rack >= 0.9.1
thor >= 0.11.7

Development Dependencies (3):

gemcutter >= 0.1.0
jeweler >= 1.0.0
rspec >= 1.2.0

Owners:

Authors:

  • Sprout Systems, Inc. Apple Inc. and contributors

SHA 256 checksum:

0f5aeceacff0e65a46046b0020a695539a81401bdc3ee56500303275a8006a54

Total downloads 401,217

For this version 3,310

Licenses:

N/A

Required Ruby Version: None

Links: