Permalink
Browse files

- swicthed to Dist::Zilla

  • Loading branch information...
nickolay
nickolay committed Jun 24, 2010
1 parent 930bbbe commit bc26c134ee7f590697bcb600ff5a73d554f1bbc0
Showing with 117 additions and 215 deletions.
  1. +0 −14 Build.PL
  2. +1 −1 Changes
  3. +0 −116 INSTALL
  4. +0 −18 MANIFEST
  5. +0 −57 MANIFEST.SKIP
  6. +43 −9 README.md
  7. +73 −0 dist.ini
View
@@ -1,14 +0,0 @@
-use inc::Module::JSAN::DSL;
-
-name Data.Visitor
-
-version 0.01
-author 'Nickolay (SamuraiJack) Platonov <root@symbie.org>'
-
-abstract 'Visitor style traversal of JavaScript data structures'
-license lgpl
-
-
-requires Joose 3.001
-
-docs_markup mmd
View
@@ -1,7 +1,7 @@
Revision history for Data.Visitor
-0.01 Mon, Jan 01, 2010
+{{ $NEXT }}
[ENHANCEMENTS]
View
116 INSTALL
@@ -1,116 +0,0 @@
-The installation procedure for Data.Visitor
-
-
-JSAN
-====
-
-`Data.Visitor` is distributing via JSAN - [JavaScript Archive Network][jsan]. To install `Data.Visitor` 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 `Data.Visitor`
-==========================
-
-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 Data.Visitor
-
-Thats all, shell will download and install `Data.Visitor` 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, `Data.Visitor` 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/
View
@@ -1,18 +0,0 @@
-Changes
-doc/html/Data/Visitor.html
-doc/mmd/Data/Visitor.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/Data/Visitor.js
-lib/Data/Visitor.mmd
-MANIFEST
-META.json
-README.md
-t/010_basics.t.js
-t/index.html
-TODO
View
@@ -1,57 +0,0 @@
-
-#!start included /usr/local/share/perl/5.10.0/ExtUtils/MANIFEST.SKIP
-# Avoid version control files.
-\bRCS\b
-\bCVS\b
-\bSCCS\b
-,v$
-\B\.svn\b
-\B\.git\b
-\B\.gitignore\b
-\b_darcs\b
-
-# Avoid Makemaker generated and utility files.
-\bMANIFEST\.bak
-\bMakefile$
-\bblib/
-\bMakeMaker-\d
-\bpm_to_blib\.ts$
-\bpm_to_blib$
-\bblibdirs\.ts$ # 6.18 through 6.25 generated this
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\b_build/
-
-# Avoid temp and backup files.
-~$
-\.old$
-\#$
-\b\.#
-\.bak$
-
-# Avoid Devel::Cover files.
-\bcover_db\b
-#!end included /usr/local/share/perl/5.10.0/ExtUtils/MANIFEST.SKIP
-
-# Avoid configuration metadata file
-^MYMETA\.
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\bBuild.bat$
-\b_build
-\bBuild.COM$
-\bBUILD.COM$
-\bbuild.com$
-^MANIFEST\.SKIP
-
-# Avoid archives of this distribution
-\bData.Visitor-[\d\.\_]+
-^Build.PL$
-.tar.gz$
-^tests/lib/
-Data.Visitor-0.01
-^\.project$
-^\.git\b
-^\.externalToolBuilders\b
View
@@ -2,38 +2,72 @@ Name
====
-Data.Visitor - Some clever yet compact description
+Data.Visitor - Visitor style traversal of JavaScript data structures
SYNOPSIS
========
- Class("Data.Visitor", {
+ Class("Data.Visitor.Class", {
})
- var instance = new Data.Visitor({
+ var instance = new Data.Visitor.Class({
})
DESCRIPTION
===========
-`Data.Visitor` is a stub for JSAN modules.
+`Data.Visitor.Class` is a stub for Joose class.
+ISA
+===
+
+None.
+
+
+DOES
+====
+
+None.
+
+
+TRAITS
+======
+
+None.
+
+
+ATTRIBUTES
+==========
+
+### attributeName
+
+> `AttributeType attributeName`
+
+> Attribute description
+
+
+METHODS
+=======
+
+### methodName
+
+> `method signature`
+
+> Method description
-EXAMPLES
-========
GETTING HELP
============
This extension is supported via github issues tracker: <http://github.com/SamuraiJack/Data-Visitor/issues>
-For general Joose questions you can also visit #joose on irc.freenode.org or the forum at: <http://joose.it/forum>
+For general Joose questions you can also visit #joose on irc.freenode.org or the forum at: [http://joose.it/forum](http://joose.it/forum)
@@ -50,14 +84,14 @@ 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/Data-Visitor/issues>
+Please report any bugs through the web interface at [http://github.com/SamuraiJack/Data-Visitor/issues](http://github.com/SamuraiJack/Data-Visitor/issues)
AUTHORS
=======
-Nickolay Platonov <nplatonov@cpan.org>
+Nickolay Platonov [nplatonov@cpan.org](mailto:nplatonov@cpan.org)
View
@@ -0,0 +1,73 @@
+name = Data-Visitor
+abstract = Visitor style traversal of JavaScript data structures
+
+author = Nickolay Platonov <nplatonov@cpan.org>
+
+license = LGPL_3_0
+copyright_holder = Nickolay Platonov <nplatonov@cpan.org>
+
+
+; version provider
+[BumpVersionFromGit]
+
+
+; choose/generate files to include
+
+[GatherDir]
+[PruneCruft]
+[ManifestSkip]
+[License]
+
+; build system
+
+[ExecDir]
+[ShareDir]
+
+
+; JSAN-specific configuration
+[JSAN] ; includes META.JSON generation
+docs_markup = mmd ; default
+static_dir = static ; default
+
+[JSAN::ReadmeFromMD] ; should be after docs generation
+[JSAN::InstallInstructions]
+
+[JSAN::Bundle] ; after docs generation to avoid docs for bundles
+
+; manifest (after all generated files)
+[Manifest]
+
+
+; before release
+
+[Git::Check]
+[CheckChangesHasContent]
+
+; [TestRelease] todo
+[ConfirmRelease]
+
+; releaser
+[JSAN::Upload] ; just a no-op for now
+
+; after release
+[Git::Commit / Commit_Dirty_Files]
+
+[Git::Tag]
+
+[NextRelease]
+format = %-9v %{yyyy-MM-dd HH:mm}d
+
+[Git::Commit / Commit_Changes]
+
+[Git::Push]
+push_to = origin
+
+[Twitter]
+tweet_url = http://openjsan.org/go/?l={{ my $dist = $DIST; $dist =~ s/-/./g; $dist; }}
+tweet = Released {{$DIST}}-{{$VERSION}} {{$URL}}
+hash_tags = #jsan
+
+; prerequisites
+
+[JSAN::Prereq]
+Joose = 3.001

0 comments on commit bc26c13

Please sign in to comment.