Permalink
Browse files

- switched to Dist::Zilla for distribution management

- renamed to KiokuJS
  • Loading branch information...
1 parent c809138 commit 5420d90ba3a8d5a554f84872b2c4371e961230aa nickolay committed Jun 23, 2010
Showing with 244 additions and 1,358 deletions.
  1. +2 −10 .gitignore
  2. +0 −19 Build.PL
  3. +2 −3 Changes
  4. +18 −18 Components.JS
  5. +6 −6 INSTALL
  6. +0 −57 MANIFEST.SKIP
  7. +7 −7 README.md
  8. +79 −0 dist.ini
  9. +5 −5 lib/JiojuDB.js
  10. +7 −7 lib/JiojuDB.mmd
  11. +4 −4 lib/JiojuDB/Backend.js
  12. +2 −2 lib/JiojuDB/Backend/Hash.js
  13. +3 −3 lib/JiojuDB/Collapser.js
  14. +4 −4 lib/JiojuDB/Collapser/Inliner.js
  15. +2 −2 lib/JiojuDB/Collapser/Inliner/JSPON.js
  16. +2 −2 lib/JiojuDB/Feature/Immutable.js
  17. +1 −1 lib/JiojuDB/Feature/OwnID.js
  18. +1 −1 lib/JiojuDB/Linker.js
  19. +1 −1 lib/JiojuDB/Node.js
  20. +1 −1 lib/JiojuDB/Reference.js
  21. +5 −5 lib/JiojuDB/Resolver.js
  22. +10 −10 lib/JiojuDB/Resolver/Standard.js
  23. +2 −2 lib/JiojuDB/Scope.js
  24. +1 −1 lib/JiojuDB/Serializer.js
  25. +2 −2 lib/JiojuDB/Serializer/JSON.js
  26. +1 −1 lib/JiojuDB/TypeMap.js
  27. +3 −3 lib/JiojuDB/TypeMap/Array.js
  28. +1 −1 lib/JiojuDB/TypeMap/Feature/NoDeps.js
  29. +3 −3 lib/JiojuDB/TypeMap/Joose.js
  30. +3 −3 lib/JiojuDB/TypeMap/Object.js
  31. +0 −1,108 lib/Task/JiojuDB/Core.js
  32. +6 −6 {todo → misc}/021_serializer_jspon.t.js
  33. +1 −1 {todo → misc}/Role/UUID.js
  34. +3 −3 {todo → misc}/Role/UUID/Serial.js
  35. +2 −2 t/010_sanity.t.js
  36. +3 −3 t/020_serializer_json.t.js
  37. +9 −9 t/030_resolver.t.js
  38. +4 −4 t/040_backend_hash.t.js
  39. +9 −9 t/050_collapser.t.js
  40. +7 −7 t/051_collapser_intrinsic.t.js
  41. +5 −5 t/070_simpsons.t.js
  42. +12 −12 t/090_draft.t.js
  43. +2 −2 t/index.html
  44. +2 −2 t/lib/TypeMap/Person.js
  45. +1 −1 t/lib/TypeMap/ValueWrapper.js
View
@@ -1,12 +1,4 @@
-_build
-Build
-blib
+.build
.project
.externalToolBuilders
-MANIFEST.bak
-Makefile.PL
-/doc/*
-/inc/*
-/META.json
-/JiojuDB-*.tar.gz
-/original/*
+/KiokuJS-*.tar.gz
View
@@ -1,19 +0,0 @@
-use inc::Module::JSAN::DSL;
-
-name JiojuDB
-
-version 0.01
-author 'Nickolay (SamuraiJack) Platonov <nplatonov@cpan.org>'
-
-abstract 'Persistent layer for Joose, mostly targeting NoSQL backends'
-license lgpl
-
-
-requires Joose 3.01
-requires JooseX.Attribute 0.02
-requires JooseX.CPS 0.01
-
-requires Data.UUID 0.01
-requires Data.Visitor 0.01
-
-docs_markup mmd
View
@@ -1,7 +1,6 @@
-Revision history for JiojuDB
+Revision history for KiokuJS
-
-0.01 Mon, Jan 01, 2010
+{{ $NEXT }}
[ENHANCEMENTS]
View
@@ -1,30 +1,30 @@
COMPONENTS = {
"Core" : [
- "JiojuDB.Reference",
- "JiojuDB.Serializer",
- "JiojuDB.Serializer.JSON",
+ "KiokuJS.Reference",
+ "KiokuJS.Serializer",
+ "KiokuJS.Serializer.JSON",
- "JiojuDB.TypeMap",
- "JiojuDB.TypeMap.Feature.NoDeps",
- "JiojuDB.TypeMap.Array",
- "JiojuDB.TypeMap.Object",
- "JiojuDB.TypeMap.Joose",
+ "KiokuJS.TypeMap",
+ "KiokuJS.TypeMap.Feature.NoDeps",
+ "KiokuJS.TypeMap.Array",
+ "KiokuJS.TypeMap.Object",
+ "KiokuJS.TypeMap.Joose",
- "JiojuDB.Resolver",
- "JiojuDB.Resolver.Standard",
+ "KiokuJS.Resolver",
+ "KiokuJS.Resolver.Standard",
- "JiojuDB.Collapser.Inliner",
- "JiojuDB.Collapser.Inliner.JSPON",
+ "KiokuJS.Collapser.Inliner",
+ "KiokuJS.Collapser.Inliner.JSPON",
- "JiojuDB.Backend",
- "JiojuDB.Backend.Hash",
+ "KiokuJS.Backend",
+ "KiokuJS.Backend.Hash",
- "JiojuDB.Node",
- "JiojuDB.Collapser",
+ "KiokuJS.Node",
+ "KiokuJS.Collapser",
- "JiojuDB.Scope",
- "JiojuDB"
+ "KiokuJS.Scope",
+ "KiokuJS"
]
}
View
12 INSTALL
@@ -1,10 +1,10 @@
-The installation procedure for JiojuDB
+The installation procedure for KiokuJS
JSAN
====
-`JiojuDB` is distributing via JSAN - [JavaScript Archive Network][jsan]. To install `JiojuDB` you'll need to install JSAN shell first - a small,
+`KiokuJS` is distributing via JSAN - [JavaScript Archive Network][jsan]. To install `KiokuJS` 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.
@@ -37,7 +37,7 @@ Launch a console (`cmd` on Windows). Then type:
Thats all, now wait until shell will be installed. You may be asked about installing its pre-requisites - answer 'yes'.
-3. INSTALLING `JiojuDB`
+3. INSTALLING `KiokuJS`
==========================
Launch a console (`cmd` on Windows). Then type:
@@ -61,17 +61,17 @@ If this is the first time you installing the JSAN module, setup the installation
Then, type:
- jsan> install JiojuDB
+ jsan> install KiokuJS
-Thats all, shell will download and install `JiojuDB` for you.
+Thats all, shell will download and install `KiokuJS` 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, `JiojuDB` will be installed in your local JavaScript library (you've specified its location with 'prefix').
+After successful completion of the procedure above, `KiokuJS` will be installed in your local JavaScript library (you've specified its location with 'prefix').
For example, the path to the library can be:
View
@@ -1,57 +0,0 @@
-# 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/
-^JiojuDB-*
-
-^\.externalToolBuilders\b
-^\.gitignore\b
-^TODO\b
-
-^MYMETA.yml$
View
@@ -2,25 +2,25 @@ Name
====
-JiojuDB - Some clever yet compact description
+KiokuJS - Some clever yet compact description
SYNOPSIS
========
- Class("JiojuDB", {
+ Class("KiokuJS", {
})
- var instance = new JiojuDB({
+ var instance = new KiokuJS({
})
DESCRIPTION
===========
-`JiojuDB` is a stub for JSAN modules.
+`KiokuJS` is a stub for JSAN modules.
@@ -31,7 +31,7 @@ EXAMPLES
GETTING HELP
============
-This extension is supported via github issues tracker: <http://github.com/SamuraiJack/JiojuDB/issues>
+This extension is supported via github issues tracker: <http://github.com/SamuraiJack/KiokuJS/issues>
For general Joose questions you can also visit #joose on irc.freenode.org or the forum at: <http://joose.it/forum>
@@ -40,7 +40,7 @@ For general Joose questions you can also visit #joose on irc.freenode.org or the
SEE ALSO
========
-Web page of this module: <http://github.com/SamuraiJack/JiojuDB/>
+Web page of this module: <http://github.com/SamuraiJack/KiokuJS/>
General documentation for Joose: <http://openjsan.org/go/?l=Joose>
@@ -50,7 +50,7 @@ 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/JiojuDB/issues>
+Please report any bugs through the web interface at <http://github.com/SamuraiJack/KiokuJS/issues>
View
@@ -0,0 +1,79 @@
+name = KiokuJS
+abstract = Persistent layer for Joose, mostly targeting NoSQL backends
+
+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
+update_sources = 0
+
+[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.01
+JooseX.Attribute = 0.02
+JooseX.CPS = 0.03
+
+Data.UUID = 0.01
+Data.Visitor = 0.01
+
View
@@ -1,9 +1,9 @@
-Class('JiojuDB', {
+Class('KiokuJS', {
// traits : 'JooseX.CPS',
- use : [ 'JiojuDB.Resolver', 'JiojuDB.Resolver.Standard', 'JiojuDB.Scope', 'JiojuDB.Collapser' ],
+ use : [ 'KiokuJS.Resolver', 'KiokuJS.Resolver.Standard', 'KiokuJS.Scope', 'KiokuJS.Collapser' ],
has : {
@@ -22,14 +22,14 @@ Class('JiojuDB', {
initialize : function () {
// wrapping the resolver with the another one, also containig the standard resolving as the lowest-priority
- this.resolver = new JiojuDB.Resolver(
- (this.resolver ? [ this.resolver ] : []).concat( new JiojuDB.Resolver.Standard() )
+ this.resolver = new KiokuJS.Resolver(
+ (this.resolver ? [ this.resolver ] : []).concat( new KiokuJS.Resolver.Standard() )
)
},
buildRootScope : function () {
- return new JiojuDB.Scope({
+ return new KiokuJS.Scope({
backend : this.backend,
resolver : this.resolver
})
Oops, something went wrong.

0 comments on commit 5420d90

Please sign in to comment.