Skip to content

Commit

Permalink
- initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
canonic-epicure committed May 4, 2010
0 parents commit 949359f
Show file tree
Hide file tree
Showing 14 changed files with 608 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
@@ -0,0 +1,11 @@
_build
Build
blib
.project
.externalToolBuilders
MANIFEST.bak
Makefile.PL
/doc/*
/inc/*
/META.json
/Task.Joose.NodeJS-*.tar.gz
12 changes: 12 additions & 0 deletions Build.PL
@@ -0,0 +1,12 @@
use inc::Module::JSAN::DSL;

name Task.Joose.NodeJS

version 0.01
author 'Nickolay (SamuraiJack) Platonov <nickolayp@cpan.org>'

abstract 'Joose, packaged with NodeJS flavour'
license lgpl


docs_markup mmd
17 changes: 17 additions & 0 deletions Changes
@@ -0,0 +1,17 @@
Revision history for Task.Joose.NodeJS


0.01 Mon, Jan 01, 2010

[ENHANCEMENTS]

- first release

[API CHANGES]

-none-


[BUG FIXES]

-none-
116 changes: 116 additions & 0 deletions INSTALL
@@ -0,0 +1,116 @@
The installation procedure for Task.Joose.NodeJS


JSAN
====

`Task.Joose.NodeJS` is distributing via JSAN - [JavaScript Archive Network][jsan]. To install `Task.Joose.NodeJS` you'll need to install JSAN shell first - a small,
cross-platform, unix-shell-like program. It communicate directly with closest JSAN mirror and can download and install any JSAN module for you.

JSAN shell is written in perl, so the 1st step is to obtain Perl.


1. OBTAINING PERL
=================

Linux
-----

If you are on any relatively modern Linux distribution, you may skip this step, since you already have perl and all required perl modules.


Windows
-------

Windows users should install [Strawberry perl][straberry]. Straberry perl is preferable than ActiveState perl, because it comes with the compiler included.

*NOTE:* After installation, you may need to relogin (or reboot) to see the updates in the PATH environment variable.


2. INSTALLING SHELL
===================

Launch a console (`cmd` on Windows). Then type:

> cpan JSAN::Shell

Thats all, now wait until shell will be installed. You may be asked about installing its pre-requisites - answer 'yes'.


3. INSTALLING `Task.Joose.NodeJS`
==========================

Launch a console (`cmd` on Windows). Then type:

> jsan

This should launch a JSAN shell and display a prompt, similar to this:

Checking for Internet access...
Locating closest JSAN mirror...

jsan shell -- JSAN repository explorer and package installer (v2.03)
-- Copyright 2005 - 2009 Adam Kennedy.
-- Type 'help' for a summary of available commands.

jsan>

If this is the first time you installing the JSAN module, setup the installation path ('prefix' setting can be saved, so you won't need to enter again):

jsan> set prefix /your/installation/path/

Then, type:

jsan> install Task.Joose.NodeJS

Thats all, shell will download and install `Task.Joose.NodeJS` for you.

For the list of available commands, try `help`. Also refer to [JSAN::Shell documentation](http://search.cpan.org/dist/JSAN-Shell/lib/JSAN/Shell.pm) for details.


4. CONFIGURING YOUR SYSTEM
==========================

After successful completion of the procedure above, `Task.Joose.NodeJS` will be installed in your local JavaScript library (you've specified its location with 'prefix').

For example, the path to the library can be:

- /usr/local/lib/jsan

on Linux systems

- c:\JSAN

on Windows systems.

As a convention, its recommended to configure you local web server (you have one installed, right? ;) that way, that the root starting url `/jsan`
will point at the `lib` subdirectory of JSAN library: `/usr/local/lib/jsan/lib` for example.

This way you can load any installed JSAN module via url like: `/jsan/Useful/Module/Name.js`



AUTHOR
======

Nickolay Platonov [nickolay8@gmail.com](mailto:nickolay8@gmail.com)


COPYRIGHT AND LICENSE
=====================

Copyright (c) 2008-2009, Malte Ubl, Nickolay Platonov

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Malte Ubl nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


[jsan]: http://openjsan.org
[straberry]: http://strawberryperl.com/
20 changes: 20 additions & 0 deletions MANIFEST
@@ -0,0 +1,20 @@
bin/yuicompressor-2.4.2.jar
Build.PL
Changes
doc/html/Task/Joose/NodeJS.html
doc/mmd/Task/Joose/NodeJS.txt
inc/Module/Build/Functions.pm
inc/Module/Build/Functions/DSL.pm
inc/Module/Build/JSAN.pm
inc/Module/Build/JSAN/Installable.pm
inc/Module/JSAN.pm
inc/Module/JSAN/DSL.pm
INSTALL
lib/Task/Joose/NodeJS.js
lib/Task/Joose/NodeJS.mmd
MANIFEST
META.json
README.md
script/create.pl
t/010_sanity.t.js
t/index.html
57 changes: 57 additions & 0 deletions MANIFEST.SKIP
@@ -0,0 +1,57 @@
# Avoid version control files.
\bRCS\b
\bCVS\b
,v$
\B\.svn\b
\B\.cvsignore$

# Avoid Makemaker generated and utility files.
\bMakefile$
\bblib
\bMakeMaker-\d
\bpm_to_blib$
\bblibdirs$
^MANIFEST\.SKIP$

# Avoid VMS specific Makmaker generated files
\bDescrip.MMS$
\bDESCRIP.MMS$
\bdescrip.mms$

# Avoid Module::Build generated and utility files.
\bBuild$
\bBuild.bat$
\b_build
\bBuild.COM$
\bBUILD.COM$
\bbuild.com$

# Avoid Devel::Cover generated files
\bcover_db

# Avoid temp and backup files.
~$
\.tmp$
\.old$
\.bak$
\#$
\.#
\.rej$

# Avoid OS-specific files/dirs
# Mac OSX metadata
\B\.DS_Store
# Mac OSX SMB mount metadata files
\B\._
# Avoid archives of this distribution
\.project$
^\.git\b
\.tar.gz$
^tests/lib/
^Task-Joose-NodeJS-*

^\.externalToolBuilders\b
^\.gitignore\b
^TODO\b

^MYMETA.yml$
112 changes: 112 additions & 0 deletions README.md
@@ -0,0 +1,112 @@
Name
====


Task.Joose.NodeJS - Joose, packaged with NodeJS flavour


SYNOPSIS
========

require('Task/Joose/NodeJS')

Role('Winged', {
has : {
leftWing : { is : 'rw' },
rightWing : { is : 'rw' }
},
methods : {
flight : function () {
this.leftWing.flutter()
this.rightWing.flutter()
},
land : function () {
this.leftWing.hold()
this.rightWing.hold()
}
}
})



Class('Bird', {
isa : Animal,
does : Winged
})


Class('Gryphon', {
isa : Lion,
does : Winged
})


DESCRIPTION
===========

`Task.Joose.NodeJS` is a package, containing Joose along with several essential extensions:

>* Joose 3.008 (XXX release)
>* JooseX.Attribute 0.02 (XXX release)
>* JooseX.Namespace.Depended 0.02|3 (XXX release)
>* JooseX.CPS 0.02 (XXX release)

EXAMPLES
========


GETTING HELP
============

This extension is supported via github issues tracker: <http://github.com/SamuraiJack/Task-Joose-NodeJS/issues>

For general Joose questions you can also visit #joose on irc.freenode.org or the forum at: <http://joose.it/forum>



SEE ALSO
========

Web page of this module: <http://github.com/SamuraiJack/Task-Joose-NodeJS/>

General documentation for Joose: <http://openjsan.org/go/?l=Joose>


BUGS
====

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs through the web interface at <http://github.com/SamuraiJack/Task-Joose-NodeJS/issues>



AUTHORS
=======

Nickolay Platonov <nplatonov@cpan.org>



COPYRIGHT AND LICENSE
=====================

Copyright (c) 2009, Nickolay Platonov

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Nickolay Platonov nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16 changes: 16 additions & 0 deletions TODO
@@ -0,0 +1,16 @@
IDEAS
=====



TASKS
=====




DONE
====



Binary file added bin/yuicompressor-2.4.2.jar
Binary file not shown.
1 change: 1 addition & 0 deletions lib/Task/Joose/NodeJS.js

Large diffs are not rendered by default.

0 comments on commit 949359f

Please sign in to comment.