github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

collin / lucky7

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • older_wiser
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

current home of Jabs(Javascript Abstract Behavior Syntax), Jass(Javascript Abstrect Spec Syntax), The Lucky7 Ruby/Javascript web framework and continuous builder. All that a few other bad ideas. An early refactor will be to split all the parts into gems. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

huh 
collin (author)
Fri Aug 22 14:52:27 -0700 2008
commit  cb55b314a039b6e00d81bfa2f40540d4ff474bb4
tree    d6627c4e0e5fc0f060db6b1d921a38c41171d049
parent  5b03ec6c9cc6cbd21bfc4f238795b7c4b8d6db66
lucky7 /
name age
history
message
file README Loading commit data...
file Rakefile.rb
directory apps/
directory config/
directory jspec/
directory lib/
file lucky7.gemspec
directory rspec/
directory templates/
directory tools/
directory vendor/
README
## Collin Miller claims authorship!  $$$
##### MIT license for all Earthlings *** 
#### http://www.opensource.org/licenses/mit-license.php ^^^
## Martians and Moonlings pay extra ##

#### Welcome to Lucky7 %%%

Place your bets: Increased odds on outside scrambles.

Try out the specs:
>> rake spec:all

The prettier version:
>> rake spec:doc

What are all the bits?

Some come from the outside world:
  jsspec    - http://jania.pe.kr/aw/moin.cgi/JSSpec
  orbited   - http://orbited.org
  haml/sass - http://haml.hamptoncatlin.com 

We have a little abstraction, Fold, to do preprocessing.
  Haml and Sass inspired Fold. Poorer in features though.

Jabs(javascript abstract behavior syntax)        and
Jass(javascript abstract spec syntax)    follow the Fold.

One might have such a file:
# somespec.html.jass
describe Object
  it has a prototype
    expects(Object).should_have('prototype');

Jass generates
describe("Object", {
  "has a prototype": function() {
    expects(Object.should_hav('prototype');
  }
});

Jass even wraps it in the needed HTML boilerplate for jsspec.

Open up in a browser:
  /lucky7/vendor/js_spec/example.html <-- Jass generated this one.
  /lucky7/vendor/js_spec/demo.html         <-- This one comes with jsspec

Jabs remains more mysterious. Jabs wants to have a nice little MVC
pattern shared between Client and Server code.

Only write your validations in one place, Only specify your models once.

That sort of thing. And a little bit more. Lucky7 reccomends knowing
Javascript and Ruby fairly well.

Oh wait, before we go on to write more code! Let's have something about...

Lucky7::Builder

Luck7 has a continuous builder. It watches your file system for changes and
rebuilds your project as you go. At rebuild time tests can be run. Other things
might happen as well.

Well, there is more about that later. I didn't even explain why Orbited
is right there in the vendor folder. More on that later.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server