[libtest-modern-perl] annotated tag debian/0.008-1 created (now 863bad2)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag debian/0.008-1
in repository libtest-modern-perl.

at  863bad2   (tag)
   tagging  03be29ea44b26c7776982b8c5783a916b53293f8 (commit)
  replaces  debian/0.007-3
 tagged by  Jonas Smedegaard
on  Wed Jul 2 12:15:58 2014 +0200

- Log -
libtest-modern-perl Debian release 0.008-1
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQF8BAABCgBmBQJTs9veXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vW6HAH/iYKjhYyZWYgMhpnSuJ1E8/O
Ns6cGHvLcpBko9flqMvAKlOrXz+Y/+laCsfhs0V8hJW9nZ05tFipTGNAsgYxjxtB
npj7wkl66nhRPzE0L8qC7M9Isfg2uiZGkgRCXvsYfERSAcawEptVMI5kXG+6Dx+W
EIVP2DbcJpOJJIbyw2DGam6bdysOOL3TMhW/T01VFTxF2jF50MRkrNZ0POroCOPr
ryFHM7XtMnxT3qWEMdklOrwXeqCa3qEPEgba+0NKHFcCyGvIHyt3m8Mz8mmt79zw
mcNabFyASCXwtwaZ9rFnVbBl9axx+iBryHl3YZB8K55B3zDnRFwyN4m4vjb1Gx4=
=gkfi
-END PGP SIGNATURE-

Jonas Smedegaard (7):
  Fix use canonical Vcs-Git URL.
  Update watch file to use metacpan.org URL (not search.cpan.org URL) in 
addition to www.cpan.org URL.
  Update changelog and control file.
  Imported Upstream version 0.008
  Merge tag 'upstream/0.008'
  Update copyright info: Update comment about CONTRIBUTING file, now 
including its updated licensing.
  Prepare for release: Update changelog and copyright hints.

Toby Inkster (3):
  Added tag 0.007 for changeset 6a4a4031ee57
  list Dist::Inkt::Profile::TOBYINK as just a suggestion
  bump version; changelog

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] 05/06: Update copyright info: Update comment about CONTRIBUTING file, now including its updated licensing.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libtest-modern-perl.

commit e6fa9d78093a7a7466f16e65334ba7c3cae40904
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:10:22 2014 +0200

Update copyright info: Update comment about CONTRIBUTING file, now 
including its updated licensing.
---
 debian/copyright | 4 
 1 file changed, 4 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index c8bb6ea..81a7fb6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -48,10 +48,6 @@ Comment:
  .
  Comment:
  .
- Above is from https://gist.github.com/tobyink/fbafb504f85c833c039f,
- which supercedes the included CONTRIBUTING file as announced at
- 
https://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/2014-May/077653.html.
- .
  The CC-BY-SA_UK-2.0 licensing was deliberately omitted to avoid 2k of
  unneeded legalese in this file.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] 03/06: Update changelog and control file.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libtest-modern-perl.

commit 33a0f41cbeb428a61b5d840684a720781ef1b07c
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:04:33 2014 +0200

Update changelog and control file.
---
 debian/changelog | 8 
 debian/control   | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7ff2af7..5a52857 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libtest-modern-perl (0.007-4) UNRELEASED; urgency=medium
+
+  * Fix use canonical Vcs-Git URL.
+  * Update watch file to use metacpan.org URL (not search.cpan.org URL)
+in addition to www.cpan.org URL.
+
+ -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 11:48:34 +0200
+
 libtest-modern-perl (0.007-3) unstable; urgency=medium
 
   * Update copyright info:
diff --git a/debian/control b/debian/control
index fb29676..9d37caf 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ Build-Depends: cdbs,
 Maintainer: Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
 Uploaders: Jonas Smedegaard d...@jones.dk
 Standards-Version: 3.9.5
-Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libtest-modern-perl
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-modern-perl
 Vcs-Browser: 
http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-modern-perl.git
 Homepage: https://metacpan.org/release/Test-Modern
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] branch master updated (5ca4d61 - 03be29e)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to branch master
in repository libtest-modern-perl.

  from  5ca4d61   Prepare for release: Update changelog.
   new  96ec0a8   Fix use canonical Vcs-Git URL.
   new  2830f01   Update watch file to use metacpan.org URL (not 
search.cpan.org URL) in addition to www.cpan.org URL.
   new  33a0f41   Update changelog and control file.
  adds  ae4a896   Added tag 0.007 for changeset 6a4a4031ee57
  adds  fa79be9   list Dist::Inkt::Profile::TOBYINK as just a suggestion
  adds  5fa0b8a   bump version; changelog
  adds  a3a2ffc   Imported Upstream version 0.008
   new  2e197e9   Merge tag 'upstream/0.008'
   new  e6fa9d7   Update copyright info: Update comment about CONTRIBUTING 
file, now including its updated licensing.
   new  03be29e   Prepare for release: Update changelog and copyright hints.

The 6 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 CONTRIBUTING   | 17 -
 Changes|  6 ++
 LICENSE|  2 +-
 META.json  | 10 +-
 META.yml   | 34 +-
 Makefile.PL| 10 +-
 SIGNATURE  | 26 +-
 debian/changelog   | 17 +
 debian/control |  2 +-
 debian/control.in  |  2 +-
 debian/copyright   |  4 
 debian/copyright_hints |  2 +-
 debian/watch   |  2 +-
 doap.ttl   | 20 ++--
 lib/Test/Modern.pm |  2 +-
 15 files changed, 99 insertions(+), 57 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] 04/06: Merge tag 'upstream/0.008'

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libtest-modern-perl.

commit 2e197e9a011aa2f4c0b2056a88ce6d8dfcc6521c
Merge: 33a0f41 a3a2ffc
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:05:05 2014 +0200

Merge tag 'upstream/0.008'

Upstream version 0.008

# gpg: Underskrift lavet ons 02 jul 2014 12:05:00 CEST
# gpg:bruger RSA nøgle 0x4EC1B722374F9BD6
# gpg: udfør venligst en --check-trustdb
# gpg: God underskrift fra »Jonas Smedegaard d...@jones.dk« [ultimativ]
# gpg:også kendt som »Jonas Smedegaard jo...@homebase.dk« 
[ultimativ]
# gpg:også kendt som »Jonas Smedegaard j...@debian.org« 
[ultimativ]
# gpg:også kendt som »Jonas Smedegaard jo...@dgi-huset.dk« 
[ultimativ]
# gpg:også kendt som »Jonas Smedegaard jo...@107b.dk« [ultimativ]
# gpg:også kendt som »[jpeg image of size 4165]« [ultimativ]

 CONTRIBUTING   | 17 -
 Changes|  6 ++
 LICENSE|  2 +-
 META.json  | 10 +-
 META.yml   | 34 +-
 Makefile.PL| 10 +-
 SIGNATURE  | 26 +-
 doap.ttl   | 20 ++--
 lib/Test/Modern.pm |  2 +-
 9 files changed, 78 insertions(+), 49 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

[libtest-modern-perl] 01/01: pristine-tar data for libtest-modern-perl_0.008.orig.tar.gz

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch pristine-tar
in repository libtest-modern-perl.

commit cb592d210d0484d986c9e223982c856d53d66496
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:05:00 2014 +0200

pristine-tar data for libtest-modern-perl_0.008.orig.tar.gz
---
 libtest-modern-perl_0.008.orig.tar.gz.delta | Bin 0 - 2032 bytes
 libtest-modern-perl_0.008.orig.tar.gz.id|   1 +
 2 files changed, 1 insertion(+)

diff --git a/libtest-modern-perl_0.008.orig.tar.gz.delta 
b/libtest-modern-perl_0.008.orig.tar.gz.delta
new file mode 100644
index 000..af454d3
Binary files /dev/null and b/libtest-modern-perl_0.008.orig.tar.gz.delta differ
diff --git a/libtest-modern-perl_0.008.orig.tar.gz.id 
b/libtest-modern-perl_0.008.orig.tar.gz.id
new file mode 100644
index 000..3ee0582
--- /dev/null
+++ b/libtest-modern-perl_0.008.orig.tar.gz.id
@@ -0,0 +1 @@
+46b6bf607fda1c848c69cefebcdbb1e0f4825bc7

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] annotated tag upstream/0.008 created (now c3c1441)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag upstream/0.008
in repository libtest-modern-perl.

at  c3c1441   (tag)
   tagging  a3a2ffc001c737cac6c648da884ab15b1d23b8d3 (commit)
  replaces  upstream/0.007
 tagged by  Jonas Smedegaard
on  Wed Jul 2 12:05:00 2014 +0200

- Log -
Upstream version 0.008
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQF8BAABCgBmBQJTs9lMXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vW18QIALwOQ7tTu2XpvclyWfhwvgyP
qc2XBP9JFMteZcm+zTzKe5soJlqa1PjiU+jqIy2RIbbU9xcURkECxLo9FFd/4qyL
WU1ozEpu+30nwx1eR5RijcmBtbyvCCd+5HPGP3TJ6QcZwuaj2141RJskZUYPyY5E
7ZB7jjfFgndgUvQbYXxuktLlx5l0xdYjalFbUknkLHUHfETCIuKfdjAR7Y01EY0G
pZsaPOMWsCdym5LFtAqG5GFlCAMxByTGJIt1JmpE0gsmGsg3egMrvjRdZ9pYUWTa
CVc6q30hub/Z5IgM9nfvBB8aEh7dCOBLauuNpB8f5aJJvUQ/xzLxnfdR00tWW+g=
=VLUP
-END PGP SIGNATURE-

Jonas Smedegaard (1):
  Imported Upstream version 0.008

Toby Inkster (3):
  Added tag 0.007 for changeset 6a4a4031ee57
  list Dist::Inkt::Profile::TOBYINK as just a suggestion
  bump version; changelog

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] 02/06: Update watch file to use metacpan.org URL (not search.cpan.org URL) in addition to www.cpan.org URL.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libtest-modern-perl.

commit 2830f01a56a97f0d193070565cc07ab663d50992
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 11:47:42 2014 +0200

Update watch file to use metacpan.org URL (not search.cpan.org URL) in 
addition to www.cpan.org URL.
---
 debian/watch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/watch b/debian/watch
index 47c00d5..3e7f038 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 # Run the uscan command to check for upstream updates and more.
 version=3
+https://metacpan.org/release/Test-Modern/ .*/Test-Modern-([\d.]+)\.tar\.gz
 http://www.cpan.org/authors/id/T/TO/TOBYINK/Test-Modern-([\d.]+)\.tar\.gz
-http://search.cpan.org/dist/Test-Modern/ .*/Test-Modern-([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] 06/06: Prepare for release: Update changelog and copyright hints.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libtest-modern-perl.

commit 03be29ea44b26c7776982b8c5783a916b53293f8
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:11:52 2014 +0200

Prepare for release: Update changelog and copyright hints.
---
 debian/changelog   | 13 +++--
 debian/copyright_hints |  2 +-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5a52857..47551fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,19 @@
-libtest-modern-perl (0.007-4) UNRELEASED; urgency=medium
+libtest-modern-perl (0.008-1) unstable; urgency=medium
 
+  [ upstream ]
+  * New release.
++ Package with a newer Dist::Inkt to provide a better Makefile.PL
+  (copes better with missing CPAN::Meta::Requirements).
+
+  [ Jonas Smedegaard ]
   * Fix use canonical Vcs-Git URL.
   * Update watch file to use metacpan.org URL (not search.cpan.org URL)
 in addition to www.cpan.org URL.
+  * Update copyright info:
++ Update comment about CONTRIBUTING file, now including its updated
+  licensing.
 
- -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 11:48:34 +0200
+ -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 12:11:36 +0200
 
 libtest-modern-perl (0.007-3) unstable; urgency=medium
 
diff --git a/debian/copyright_hints b/debian/copyright_hints
index f6be0bd..f277da6 100644
--- a/debian/copyright_hints
+++ b/debian/copyright_hints
@@ -23,7 +23,7 @@ Files: CONTRIBUTING
  t/14shouldntwarn.t
  t/15tlib.t
  t/lib/Local/Foo.pm
-Copyright: 2012-2013, Toby Inkster
+Copyright: 2012-2014, Toby Inkster
   2014, Toby Inkster
 License: UNKNOWN
  FIXME

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] tag 0.008 created (now 5fa0b8a)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to tag 0.008
in repository libtest-modern-perl.

at  5fa0b8a   (commit)
No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] 01/06: Fix use canonical Vcs-Git URL.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libtest-modern-perl.

commit 96ec0a858b88a70823ec5990bccf026d26b7ceda
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 11:45:19 2014 +0200

Fix use canonical Vcs-Git URL.
---
 debian/control.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control.in b/debian/control.in
index bcd96a1..4ee6885 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -5,7 +5,7 @@ Build-Depends: @cdbs@
 Maintainer: Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
 Uploaders: Jonas Smedegaard d...@jones.dk
 Standards-Version: 3.9.5
-Vcs-Git: git://anonscm.debian.org/git/pkg-perl/packages/libtest-modern-perl
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-modern-perl
 Vcs-Browser: 
http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-modern-perl.git
 Homepage: https://metacpan.org/release/Test-Modern
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libtest-modern-perl] branch pristine-tar updated (9bdd85f - cb592d2)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to branch pristine-tar
in repository libtest-modern-perl.

  from  9bdd85f   pristine-tar data for 
libtest-modern-perl_0.007.orig.tar.gz
   new  cb592d2   pristine-tar data for 
libtest-modern-perl_0.008.orig.tar.gz

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 libtest-modern-perl_0.008.orig.tar.gz.delta | Bin 0 - 2032 bytes
 libtest-modern-perl_0.008.orig.tar.gz.id|   1 +
 2 files changed, 1 insertion(+)
 create mode 100644 libtest-modern-perl_0.008.orig.tar.gz.delta
 create mode 100644 libtest-modern-perl_0.008.orig.tar.gz.id

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libtest-modern-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 09/09: dch -r

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit e80818400f5c82f3c8c65927092141f660c656d6
Author: Dominique Dumont d...@debian.org
Date:   Wed Jul 2 12:10:28 2014 +0200

dch -r
---
 debian/changelog | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b752a47..5284987 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+libconfig-model-lcdproc-perl (2.042-2) unstable; urgency=medium
+
+  * patch tweak-lcdd-conf:
+* updated patch description
+* warn and fix instructions adapted for the udev rule
+  that will come with next lcdproc version while being
+  compatible with current version
+  * control: depends on libconfig-model-perl 2.059
+
+ -- Dominique Dumont d...@debian.org  Wed, 02 Jul 2014 12:07:15 +0200
+
 libconfig-model-lcdproc-perl (2.042-1) unstable; urgency=medium
 
   * Imported Upstream version 2.042

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 08/09: control: depends on libconfig-model-perl 2.059

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit 4ae4c220ef9f62649eb5323076b5a773a4d99c6b
Author: Dominique Dumont d...@debian.org
Date:   Wed Jul 2 12:07:07 2014 +0200

control: depends on libconfig-model-perl 2.059
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index ebcb53d..7e7c065 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Priority: optional
 Build-Depends: debhelper (= 9)
 Build-Depends-Indep: lcdproc,
  libconfig-model-itself-perl,
- libconfig-model-perl (= 2.057),
+ libconfig-model-perl (= 2.059),
  libconfig-model-tester-perl,
  libexception-class-perl,
  libfile-copy-recursive-perl,
@@ -30,7 +30,7 @@ Package: libconfig-model-lcdproc-perl
 Architecture: all
 Depends: ${misc:Depends},
  ${perl:Depends},
- libconfig-model-perl (= 2.057),
+ libconfig-model-perl (= 2.059),
  libexception-class-perl,
  liblog-log4perl-perl,
  libmouse-perl,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 05/09: tweak-lcdd-conf patch: no need to specify value_type

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit 297a4290e6ded28008b4df57e8f0b5e6063a5795
Author: Dominique Dumont d...@debian.org
Date:   Mon Jun 23 19:45:06 2014 +0200

tweak-lcdd-conf patch: no need to specify value_type
---
 debian/patches/tweak-lcdd-conf | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index a392aef..67f52af 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -26,13 +26,12 @@ Forwarded: NA
 Author: dod
 --- a/examples/lcdproc/LCDd.conf
 +++ b/examples/lcdproc/LCDd.conf
-@@ -34,6 +34,21 @@
+@@ -34,6 +34,20 @@
  #the driver modules and will thus not be able to
  #function properly.
  # NOTE: Always place a slash as last character !
 +# {%
 +#   default~
-+#   value_type=uniline
 +#   compute
 +# formula=my $triplet = `/usr/bin/dpkg-architecture 
-qDEB_HOST_MULTIARCH`;
 +#  warn \cannot run dpkg-architecture\ unless $triplet ;
@@ -48,7 +47,7 @@ Author: dod
  DriverPath=server/drivers/
  
  # Tells the server to load the given drivers. Multiple lines can be given.
-@@ -63,10 +78,11 @@
+@@ -63,10 +77,11 @@
  #ReportLevel=3
  
  # Should we report to syslog instead of stderr? [default: no; legal: yes, no]
@@ -61,13 +60,12 @@ Author: dod
  User=nobody
  
  # The server will stay in the foreground if set to yes.
-@@ -662,6 +678,18 @@
+@@ -662,6 +677,17 @@
  [imon]
  
  # select the device to use
 +# {%
 +#   default~
-+#   value_type=uniline
 +#   compute
 +# formula=my $l = '/dev/lcd-imon'; -e $l ? $l : '/dev/lcd0';
 +# use_eval=1

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] annotated tag debian/2.042-2 created (now 6499588)

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a change to annotated tag debian/2.042-2
in repository libconfig-model-lcdproc-perl.

at  6499588   (tag)
   tagging  e80818400f5c82f3c8c65927092141f660c656d6 (commit)
  replaces  debian/2.042-1
 tagged by  Dominique Dumont
on  Wed Jul 2 12:18:15 2014 +0200

- Log -
libconfig-model-lcdproc-perl Debian release 2.042-2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAABAgAGBQJTs9xnAAoJEMMfT9lJqytsAYEP/0qQ9RQBPPrAUGVakZKiZt86
Nw26Io7PGD9z5jOWfQuybKvz3Cd5O4+rR5sb8ZzrFcJrzK4aYlUHRMQK0IZSPBDg
NvuaWKoDmRx3HThvVaA6lott8hpccIAyzoEc0tw7W926jW12diQxc0lc4atWbYaX
yE7u7BZ/MhOv3XCALQb5SmMDr1GlorH0X68OcScqBAYdp6Jdakw/ZHpNiy6jOimf
Z+C+XM/PUwe3QTvDX43RPknmwPdBwSR76UZT0PdziLEaYTS5sRf4YIEE2mYnmlS/
O8BWozPB5VPo8j6oJtEWplJVAyBXxaKG5VxG+jsp7FX/tNKSpMZRusIEwjLv6t4P
uKo7iBkTHFYvvSIyEKUCsKg8Nvx5knDGB9CWHgQNmMFfcL4XF1Bjsxg66SChTliz
tA9wS+JY/mrL6f3n4qx1RX6YR7a5GYZ8ejoRHYKaxFf7XToq7m5E9z+bdMa+BZ+7
/IzImriy6OsCb9ULiZFmdFT5VXH2H3HtvCZdEHm7hgcspqoQ2BAHl/IZR2+tXxZ1
v7W/Vc+i9c3lNSFuYMUFhK40YCdkTQdehAzT6dkiAKweXRkvm3WX19HEpfB31260
4BKET7uUoji2pNZjDfkCAhqE5egrZXR+S2TKwnJjmVj1Bgfdf/RhT4x+nQSC20W9
pDQTe0rhWMuRN8c/lBT2
=yg9N
-END PGP SIGNATURE-

Dominique Dumont (9):
  control: depends on libconfig-model-perl 2.057
  patch tweak-lcdd-conf: simplified fix instructions (req C::M 2.057)...
  patch tweak-lcdd-conf: set imon device to /dev/lcd-imon is present...
  updated tweak-lcdd-conf patch description
  tweak-lcdd-conf patch: no need to specify value_type
  tweak-lcdd-conf patch: cosmetics
  patch tweak-lcdd-conf: warn and fix adapted from udev/lcd-imon (req C::M 
2.059)
  control: depends on libconfig-model-perl 2.059
  dch -r

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 06/09: tweak-lcdd-conf patch: cosmetics

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit d5386c192a3a0b6a41421405c341988aa147c858
Author: Dominique Dumont d...@debian.org
Date:   Tue Jul 1 13:39:52 2014 +0200

tweak-lcdd-conf patch: cosmetics
---
 debian/patches/tweak-lcdd-conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index 67f52af..70cb0f5 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -42,8 +42,8 @@ Author: dod
 +#   warn_unless:dir
 +# code= defined $_ ? -d : 1
 +# msg=missing DriverPath dir
-+# fix=$_ = undef;
-+#   - %}
++# fix=$_ = undef; -
++# %}
  DriverPath=server/drivers/
  
  # Tells the server to load the given drivers. Multiple lines can be given.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 07/09: patch tweak-lcdd-conf: warn and fix adapted from udev/lcd-imon (req C::M 2.059)

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit 45c8ec8c18e9efca27be7bf68fc79e3e28b66eda
Author: Dominique Dumont d...@debian.org
Date:   Tue Jul 1 13:42:58 2014 +0200

patch tweak-lcdd-conf: warn and fix adapted from udev/lcd-imon (req C::M 
2.059)

The requirement on C::M 2.059 avoids a crash when running cme fix lcdproc
with a LCDd.conf configured with an imon device and no actual imon device.
---
 debian/patches/tweak-lcdd-conf | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index 70cb0f5..30decd5 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -60,7 +60,7 @@ Author: dod
  User=nobody
  
  # The server will stay in the foreground if set to yes.
-@@ -662,6 +677,17 @@
+@@ -662,6 +677,21 @@
  [imon]
  
  # select the device to use
@@ -70,11 +70,15 @@ Author: dod
 +# formula=my $l = '/dev/lcd-imon'; -e $l ? $l : '/dev/lcd0';
 +# use_eval=1
 +# allow_override=1 -
-+#   warn_unless:device_file
-+# code= defined $_ ? -e : 1
++#   warn_unless:use_lcd_imon
++# code=my $l = '/dev/lcd-imon'; not -e $l or $_ eq $l ;
++# msg=imon device does not use /dev/lcd-imon link.
++# fix=$_ = undef; -
++#   warn_unless:found_device_file
++# code=defined $_ ? -e : 1
 +# msg=missing imon device file
-+# fix=$_ = undef;
-+#   - %}
++# fix=$_ = undef; -
++# %}
  Device=/dev/lcd0
  
  # display dimensions

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 01/09: control: depends on libconfig-model-perl 2.057

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit a8cad731be8e509d9da00dc1fcf8bb3462a60f08
Author: Dominique Dumont d...@debian.org
Date:   Mon Jun 23 15:01:00 2014 +0200

control: depends on libconfig-model-perl 2.057
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 1a8e189..ebcb53d 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Priority: optional
 Build-Depends: debhelper (= 9)
 Build-Depends-Indep: lcdproc,
  libconfig-model-itself-perl,
- libconfig-model-perl (= 2.043),
+ libconfig-model-perl (= 2.057),
  libconfig-model-tester-perl,
  libexception-class-perl,
  libfile-copy-recursive-perl,
@@ -30,7 +30,7 @@ Package: libconfig-model-lcdproc-perl
 Architecture: all
 Depends: ${misc:Depends},
  ${perl:Depends},
- libconfig-model-perl (= 2.043),
+ libconfig-model-perl (= 2.057),
  libexception-class-perl,
  liblog-log4perl-perl,
  libmouse-perl,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 02/09: patch tweak-lcdd-conf: simplified fix instructions (req C::M 2.057)...

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit 41790ed802495e60af9250717a2d737735460545
Author: Dominique Dumont d...@debian.org
Date:   Mon Jun 23 15:24:50 2014 +0200

patch tweak-lcdd-conf: simplified fix instructions (req C::M 2.057)...

The fix now deletes DriverPath which is set to the correct path by
the compute instructions
---
 debian/patches/tweak-lcdd-conf | 9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index 26780e9..4c98bc1 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -41,17 +41,12 @@ Author: dod
 +#   warn_unless:dir
 +# code= defined $_ ? -d : 1
 +# msg=missing DriverPath dir
-+# fix=my $triplet = `/usr/bin/dpkg-architecture -qDEB_HOST_MULTIARCH`;
-+#  warn \cannot run dpkg-architecture\ unless $triplet ;
-+#  chomp $triplet;
-+#  my $res = \/usr/lib/$triplet/lcdproc/\;
-+#  $_ = $res;
-+#  
++# fix=$_ = undef;
 +#   - %}
  DriverPath=server/drivers/
  
  # Tells the server to load the given drivers. Multiple lines can be given.
-@@ -63,10 +83,11 @@
+@@ -63,10 +79,11 @@
  #ReportLevel=3
  
  # Should we report to syslog instead of stderr? [default: no; legal: yes, no]

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 03/09: patch tweak-lcdd-conf: set imon device to /dev/lcd-imon is present...

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit fd1b3c09b9ba5481fe38d90e1b911fd02b069a83
Author: Dominique Dumont d...@debian.org
Date:   Mon Jun 23 15:26:52 2014 +0200

patch tweak-lcdd-conf: set imon device to /dev/lcd-imon is present...

this is compatible with linux behavior (where udev creates /dev/lcd-imon)
and other arch (fallback to /dev/lcd0)
---
 debian/patches/tweak-lcdd-conf | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index 4c98bc1..3f2733c 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -59,3 +59,22 @@ Author: dod
  User=nobody
  
  # The server will stay in the foreground if set to yes.
+@@ -662,6 +679,18 @@
+ [imon]
+ 
+ # select the device to use
++# {%
++#   default~
++#   value_type=uniline
++#   compute
++# formula=my $l = '/dev/lcd-imon'; -e $l ? $l : '/dev/lcd0';
++# use_eval=1
++# allow_override=1 -
++#   warn_unless:device_file
++# code= defined $_ ? -e : 1
++# msg=missing imon device file
++# fix=$_ = undef;
++#   - %}
+ Device=/dev/lcd0
+ 
+ # display dimensions

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] branch master updated (ba034ad - e808184)

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a change to branch master
in repository libconfig-model-lcdproc-perl.

  from  ba034ad   patch log2perl initialisation
   new  a8cad73   control: depends on libconfig-model-perl 2.057
   new  41790ed   patch tweak-lcdd-conf: simplified fix instructions (req 
C::M 2.057)...
   new  fd1b3c0   patch tweak-lcdd-conf: set imon device to /dev/lcd-imon 
is present...
   new  bcc49dc   updated tweak-lcdd-conf patch description
   new  297a429   tweak-lcdd-conf patch: no need to specify value_type
   new  d5386c1   tweak-lcdd-conf patch: cosmetics
   new  45c8ec8   patch tweak-lcdd-conf: warn and fix adapted from 
udev/lcd-imon (req C::M 2.059)
   new  4ae4c22   control: depends on libconfig-model-perl 2.059
   new  e808184   dch -r

The 9 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog   | 11 +++
 debian/control |  4 ++--
 debian/patches/tweak-lcdd-conf | 40 +---
 3 files changed, 42 insertions(+), 13 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libconfig-model-lcdproc-perl] 04/09: updated tweak-lcdd-conf patch description

2014-07-02 Thread dod
This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-lcdproc-perl.

commit bcc49dcaf643ee3221110e5283114c3be1ff83da
Author: Dominique Dumont d...@debian.org
Date:   Mon Jun 23 16:33:54 2014 +0200

updated tweak-lcdd-conf patch description
---
 debian/patches/tweak-lcdd-conf | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index 3f2733c..a392aef 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -17,14 +17,16 @@ Description: Tweak defaults values for Debian
  value is set to yes.
  .
  DriverPath is more complex. The model snippets
- adds a way to test and fix this system dependant value.
+ adds a way to test and fix this system dependent value. The fix deletes the 
DriverPath value and
+ the compute instructions provide the actual path.
+ .
  The compute instruction also provides a correct
  default value.
 Forwarded: NA
 Author: dod
 --- a/examples/lcdproc/LCDd.conf
 +++ b/examples/lcdproc/LCDd.conf
-@@ -34,6 +34,26 @@
+@@ -34,6 +34,21 @@
  #the driver modules and will thus not be able to
  #function properly.
  # NOTE: Always place a slash as last character !
@@ -46,7 +48,7 @@ Author: dod
  DriverPath=server/drivers/
  
  # Tells the server to load the given drivers. Multiple lines can be given.
-@@ -63,10 +79,11 @@
+@@ -63,10 +78,11 @@
  #ReportLevel=3
  
  # Should we report to syslog instead of stderr? [default: no; legal: yes, no]
@@ -59,7 +61,7 @@ Author: dod
  User=nobody
  
  # The server will stay in the foreground if set to yes.
-@@ -662,6 +679,18 @@
+@@ -662,6 +678,18 @@
  [imon]
  
  # select the device to use

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-store-lucy-perl] 02/02: Prepare for release: Update changelog and control file.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcatmandu-store-lucy-perl.

commit 54db0331ff312b7e5d96a85f9f95385cb9c1044d
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:30:07 2014 +0200

Prepare for release: Update changelog and control file.
---
 debian/changelog | 9 +
 debian/control   | 4 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d779c47..1110342 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,11 @@
-libcatmandu-store-lucy-perl (0.0101-2) UNRELEASED; urgency=medium
+libcatmandu-store-lucy-perl (0.0101-2) unstable; urgency=medium
 
   * Add git-buildpackage config, enabling pristine-tar and tag signing.
-  * Favor recent libmodule-build-perl over (slightly but not too) old
-perl, and suppress duplicate unversioned build-dependency from CDBS.
+  * Simplify versioned build-dependency on libmodule-build-perl (see
+bug#752989).
+Closes: bug#753048. Thanks to Niko Tyni.
 
- -- Jonas Smedegaard d...@jones.dk  Mon, 23 Jun 2014 02:29:41 +0200
+ -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 12:29:32 +0200
 
 libcatmandu-store-lucy-perl (0.0101-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 22ae6c7..bb6e77b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,14 +4,14 @@ Priority: optional
 Build-Depends: cdbs,
  devscripts,
  perl,
+ libmodule-build-perl,
  debhelper,
  dh-buildinfo,
  libcatmandu-perl,
  liblucy-perl,
  libmoo-perl,
  libdata-messagepack-perl,
- libmodule-build-perl (= 0.40) | perl (= 5.17.1),
- libmodule-build-perl (= 0.40) | perl ( 5.19.0),
+ perl (= 5.17.1) | libmodule-build-perl (= 0.40),
  libtest-exception-perl
 Maintainer: Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
 Uploaders: Jonas Smedegaard d...@jones.dk

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-store-lucy-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-store-lucy-perl] branch master updated (65eca38 - 54db033)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to branch master
in repository libcatmandu-store-lucy-perl.

  from  65eca38   Update changelog, control file and copyright hints.
   new  f3d4e86   Simplify versioned build-dependency on 
libmodule-build-perl (see bug#752989).
   new  54db033   Prepare for release: Update changelog and control file.

The 2 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 9 +
 debian/control   | 4 ++--
 debian/rules | 5 +
 3 files changed, 8 insertions(+), 10 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-store-lucy-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-store-lucy-perl] 01/02: Simplify versioned build-dependency on libmodule-build-perl (see bug#752989).

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcatmandu-store-lucy-perl.

commit f3d4e8696c1671164b48e18117b6fe144cf08f20
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:22:52 2014 +0200

Simplify versioned build-dependency on libmodule-build-perl (see 
bug#752989).
---
 debian/rules | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index bc199a9..c86f850 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,10 +31,7 @@ DEB_UPSTREAM_TARBALL_MD5 = 762cd47cfcf8d4c6560b2b600756f5d0
 deps = libcatmandu-perl, liblucy-perl, libmoo-perl, libdata-messagepack-perl
 
 # Needed by upstream build
-#  * Suppress duplicate build-dependency on unversioned libmodule-build-perl
-CDBS_BUILD_DEPENDS_class_perl-build_module-build =
-bdeps = libmodule-build-perl (= 0.40) | perl (= 5.17.1)
-bdeps +=, libmodule-build-perl (= 0.40) | perl ( 5.19.0)
+bdeps = perl (= 5.17.1) | libmodule-build-perl (= 0.40)
 
 # Needed by upstream testsuite
 deps-test = libtest-exception-perl

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-store-lucy-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-store-lucy-perl] annotated tag debian/0.0101-2 created (now 46d91ab)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag debian/0.0101-2
in repository libcatmandu-store-lucy-perl.

at  46d91ab   (tag)
   tagging  54db0331ff312b7e5d96a85f9f95385cb9c1044d (commit)
  replaces  debian/0.0101-1
 tagged by  Jonas Smedegaard
on  Wed Jul 2 12:32:48 2014 +0200

- Log -
libcatmandu-store-lucy-perl Debian release 0.0101-2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQF8BAABCgBmBQJTs9/QXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vW65cH/if8YW2SG1kMFUfhXn2VOJXl
vBvO987EaslMAQUxCp5CGIBrZxzt/TqeKTt7rfzrZG1XhAjz8NmZYwmsw5n7sUvr
zVnivAeeSWf9kni1b6eC4g+g4a1/gv0/pn9ifoW+TuAzfDdLoBPRMEdPDotP4Hu6
ikLVImOT8VSbveclF2mhZCuiTV8A09FEGeeWSiqu96NCb6eo0Jfq9Oio3PCR0eGB
7aVcwgOx973NONqZX+As3JxpVTlNj8AW3BCLds7n8MLkrbGPzaLfdfplqFOCJ6aI
a3La9FpH15eO/nJmtMoWMRIJ2T/BldzmOAseydTGbOix1TVpgWcy3k/ObI8kc40=
=RQ7Q
-END PGP SIGNATURE-

Jonas Smedegaard (5):
  Add git-buildpackage config, enabling pristine-tar and tag signing.
  Favor recent libmodule-build-perl over (slightly but not too) old perl, 
and suppress duplicate unversioned build-dependency from CDBS.
  Update changelog, control file and copyright hints.
  Simplify versioned build-dependency on libmodule-build-perl (see 
bug#752989).
  Prepare for release: Update changelog and control file.

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-store-lucy-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-store-lucy-perl] annotated tag debian/0.0101-3 created (now 527bb16)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag debian/0.0101-3
in repository libcatmandu-store-lucy-perl.

at  527bb16   (tag)
   tagging  7543ce61e53b021402d65e929c9052fea713cb3e (commit)
  replaces  debian/0.0101-2
 tagged by  Jonas Smedegaard
on  Wed Jul 2 12:41:05 2014 +0200

- Log -
libcatmandu-store-lucy-perl Debian release 0.0101-3
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQF8BAABCgBmBQJTs+HBXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vWtooH/RMuXynvqxNoFPhkJkdcYCCp
b3kRPIbm2MLbi3Dhnu/WkTV/eCg0etZ5MR/OcjtlzRO7OXnEmKfHv6R4NzWoXziw
GpInT1xEk5/hxR5doB2w6Q8kgNpyAUcEEVUA9GNWvr1ur1DlaU2SupfHSN6q6BSX
A2HQhh2M7eucck2lnCDkXt9YhQlU6oGQXRl+4mi2EeS+9YiXii+2rDLM+xOtEYN9
sV9I+znYUJq0vUH+VwTnBIzySGm6mSLlt6deoRP0y5JfDQzdogqE4en1gDT9MBlE
cgvwWfluvasI5ha9pLr5DV+qEv6Eky/yYRUAVHCdgwkhLPnR/v2heVRwnuS5auk=
=t0Yu
-END PGP SIGNATURE-

Jonas Smedegaard (2):
  Fix versioned build-dependency on libmodule-build-perl (add trailing 
zeros).
  Prepare for release: Update changelog and control file.

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-store-lucy-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-store-lucy-perl] 01/02: Fix versioned build-dependency on libmodule-build-perl (add trailing zeros).

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcatmandu-store-lucy-perl.

commit b4fc6e7484d780215e7fdf4b33355b95c4ef418b
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:38:13 2014 +0200

Fix versioned build-dependency on libmodule-build-perl (add trailing zeros).
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index c86f850..687ab21 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,7 +31,7 @@ DEB_UPSTREAM_TARBALL_MD5 = 762cd47cfcf8d4c6560b2b600756f5d0
 deps = libcatmandu-perl, liblucy-perl, libmoo-perl, libdata-messagepack-perl
 
 # Needed by upstream build
-bdeps = perl (= 5.17.1) | libmodule-build-perl (= 0.40)
+bdeps = perl (= 5.17.1) | libmodule-build-perl (= 0.40)
 
 # Needed by upstream testsuite
 deps-test = libtest-exception-perl

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-store-lucy-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-store-lucy-perl] branch master updated (54db033 - 7543ce6)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to branch master
in repository libcatmandu-store-lucy-perl.

  from  54db033   Prepare for release: Update changelog and control file.
   new  b4fc6e7   Fix versioned build-dependency on libmodule-build-perl 
(add trailing zeros).
   new  7543ce6   Prepare for release: Update changelog and control file.

The 2 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 7 +++
 debian/control   | 2 +-
 debian/rules | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-store-lucy-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-store-lucy-perl] 02/02: Prepare for release: Update changelog and control file.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcatmandu-store-lucy-perl.

commit 7543ce61e53b021402d65e929c9052fea713cb3e
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:38:58 2014 +0200

Prepare for release: Update changelog and control file.
---
 debian/changelog | 7 +++
 debian/control   | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1110342..1c1d83d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libcatmandu-store-lucy-perl (0.0101-3) unstable; urgency=medium
+
+  * Fix versioned build-dependency on libmodule-build-perl (add trailing
+zeros).
+
+ -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 12:38:50 +0200
+
 libcatmandu-store-lucy-perl (0.0101-2) unstable; urgency=medium
 
   * Add git-buildpackage config, enabling pristine-tar and tag signing.
diff --git a/debian/control b/debian/control
index bb6e77b..adaef35 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: cdbs,
  liblucy-perl,
  libmoo-perl,
  libdata-messagepack-perl,
- perl (= 5.17.1) | libmodule-build-perl (= 0.40),
+ perl (= 5.17.1) | libmodule-build-perl (= 0.40),
  libtest-exception-perl
 Maintainer: Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
 Uploaders: Jonas Smedegaard d...@jones.dk

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-store-lucy-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-perl] branch master updated (1c9fe0a - 3ee3164)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to branch master
in repository libcatmandu-perl.

  from  1c9fe0a   Update changelog, control file and copyright hints.
   new  3ee3164   Prepare for release: Update changelog.

The 1 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-perl] 01/01: Prepare for release: Update changelog.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcatmandu-perl.

commit 3ee31641a2a31a48f85b5e4d87cb8c8c75dbb9b0
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:44:30 2014 +0200

Prepare for release: Update changelog.
---
 debian/changelog | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 27d349c..49d756b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,11 @@
-libcatmandu-perl (0.9204-2) UNRELEASED; urgency=medium
+libcatmandu-perl (0.9204-2) unstable; urgency=medium
 
   * Add git-buildpackage config, enabling pristine-tar and tag signing.
   * Fix relax to build-depend unversioned on libmodule-build-perl alone
 (not versioned nor favoring slightly old perl).
+Closes: bug#753048. Thanks to Niko Tyni.
 
- -- Jonas Smedegaard d...@jones.dk  Mon, 23 Jun 2014 02:25:21 +0200
+ -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 12:43:53 +0200
 
 libcatmandu-perl (0.9204-1) unstable; urgency=medium
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-perl] annotated tag debian/0.9204-2 created (now 7a1ea9f)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag debian/0.9204-2
in repository libcatmandu-perl.

at  7a1ea9f   (tag)
   tagging  3ee31641a2a31a48f85b5e4d87cb8c8c75dbb9b0 (commit)
  replaces  debian/0.9204-1
 tagged by  Jonas Smedegaard
on  Wed Jul 2 12:49:10 2014 +0200

- Log -
libcatmandu-perl Debian release 0.9204-2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQF8BAABCgBmBQJTs+OmXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vWoLYH/j1e/AtTsVZVe0sPTzC5JZ4u
bNHcVA9RgOzW4n7DxUk9JeMRBUUboikEYO9BGfIM700nPBQYZoF76NzT7ryLIc3e
UWNeqm554g18RfczkSepRv99RMwXwdTMcqgN6TdoTzaGcJ1XxFrofvYu/u4AnqCM
hCM01+9DAtXoQkNSIZLZ8zxo+rc+luB3acz6dtvFxuEJPLHExCQ5XYsTIL0Dy/IU
4UB6gQ+4nxQeb8RskzM8MzmGeMzq6Rdw7MLlY5UhJdnDGM0SCSWN6xVt2ohJWiMK
LCVsaruYynnyuduAQ/IDbQ9d/XKgqXN7q3MK1EzqgjgP4eAoQfA/7hJ5q7lBCn8=
=5UWX
-END PGP SIGNATURE-

Jonas Smedegaard (4):
  Add git-buildpackage config, enabling pristine-tar and tag signing.
  Fix relax to build-depend unversioned on libmodule-build-perl alone (not 
versioned nor favoring slightly old perl).
  Update changelog, control file and copyright hints.
  Prepare for release: Update changelog.

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-atom-perl] 01/02: Fix simplify versioned build-dependency on libmodule-build-perl (see bug#752989), and fix add trailing zeros. Closes: bug#753044. Thanks to Niko Tyni.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcatmandu-atom-perl.

commit 75f4e196eb0b0d10e2e8b8985c894091464c493c
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:56:10 2014 +0200

Fix simplify versioned build-dependency on libmodule-build-perl (see 
bug#752989), and fix add trailing zeros. Closes: bug#753044. Thanks to Niko 
Tyni.
---
 debian/rules | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0dd240d..24a6592 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,10 +33,7 @@ deps +=, libxml-atom-perl (= 0.41)
 deps +=, libnamespace-clean-perl (= 0.24)
 
 # Needed by upstream build
-#  * Suppress duplicate build-dependency on unversioned libmodule-build-perl
-CDBS_BUILD_DEPENDS_class_perl-build_module-build =
-bdeps = libmodule-build-perl (= 0.40) | perl (= 5.17.1)
-bdeps +=, libmodule-build-perl (= 0.40) | perl ( 5.19.0)
+bdeps = perl (= 5.17.1) | libmodule-build-perl (= 0.40)
 
 # Needed by upstream testsuite
 deps-test = libtest-exception-perl

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-atom-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-atom-perl] 02/02: Prepare for release: Update changelog and control file.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcatmandu-atom-perl.

commit b1c5363bf0c13c628f0fcb71e187689715fbc17f
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 12:56:57 2014 +0200

Prepare for release: Update changelog and control file.
---
 debian/changelog | 9 +
 debian/control   | 4 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1cfc416..12bb288 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,11 @@
-libcatmandu-atom-perl (0.02-2) UNRELEASED; urgency=medium
+libcatmandu-atom-perl (0.02-2) unstable; urgency=medium
 
   * Add git-buildpackage config, enabling pristine-tar and tag signing.
-  * Favor recent libmodule-build-perl over (slightly but not too) old
-perl, and suppress duplicate unversioned build-dependency from CDBS.
+  * Simplify versioned build-dependency on libmodule-build-perl (see
+bug#752989), and fix add trailing zeros.
+Closes: bug#753044. Thanks to Niko Tyni.
 
- -- Jonas Smedegaard d...@jones.dk  Mon, 23 Jun 2014 02:18:05 +0200
+ -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 12:56:20 +0200
 
 libcatmandu-atom-perl (0.02-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 38f94f8..d8b42fe 100644
--- a/debian/control
+++ b/debian/control
@@ -4,13 +4,13 @@ Priority: optional
 Build-Depends: cdbs,
  devscripts,
  perl,
+ libmodule-build-perl,
  debhelper,
  dh-buildinfo,
  libcatmandu-perl,
  libxml-atom-perl (= 0.41),
  libnamespace-clean-perl (= 0.24),
- libmodule-build-perl (= 0.40) | perl (= 5.17.1),
- libmodule-build-perl (= 0.40) | perl ( 5.19.0),
+ perl (= 5.17.1) | libmodule-build-perl (= 0.40),
  libtest-exception-perl
 Maintainer: Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org
 Uploaders: Jonas Smedegaard d...@jones.dk

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-atom-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-atom-perl] branch master updated (774ef95 - b1c5363)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to branch master
in repository libcatmandu-atom-perl.

  from  774ef95   Update changelog, control file and copyright hints.
   new  75f4e19   Fix simplify versioned build-dependency on 
libmodule-build-perl (see bug#752989), and fix add trailing zeros. Closes: 
bug#753044. Thanks to Niko Tyni.
   new  b1c5363   Prepare for release: Update changelog and control file.

The 2 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 9 +
 debian/control   | 4 ++--
 debian/rules | 5 +
 3 files changed, 8 insertions(+), 10 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-atom-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libcatmandu-atom-perl] annotated tag debian/0.02-2 created (now 92ede9a)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag debian/0.02-2
in repository libcatmandu-atom-perl.

at  92ede9a   (tag)
   tagging  b1c5363bf0c13c628f0fcb71e187689715fbc17f (commit)
  replaces  debian/0.02-1
 tagged by  Jonas Smedegaard
on  Wed Jul 2 13:00:17 2014 +0200

- Log -
libcatmandu-atom-perl Debian release 0.02-2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQF8BAABCgBmBQJTs+ZBXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vWasQH/0Mi0eg0cQSEN+GE5c/oNH7g
RcdLZC05ZBpYqwaUFOurmpuusloYLwG6ueF11vDuw815ZcpGACOYsJ6odwHnRV4B
eCohZFW6HDbBbXtyHMV1lPB/1gwvqo7jlSWBuFRKrM7ZJg1QwHdmLPC2Au1EbTt4
lhuYQhenmF7nCFO/ZsaNBF0ViofX9Y2aaqs2dJrRQOQnDMXoHoFxJoI+cH86Wcee
sYn+pvl+yrs5KCUrh8BhhNCbyjzLrteDOiNaWhe81R/2H0swITBK3rmlGOPEJEtk
tX8KW0mwnzubOPmOUN0TB1e+Cbda09HKPKNKNvede2+OP5pQhR6FLDeGPPBve1o=
=YZGd
-END PGP SIGNATURE-

Jonas Smedegaard (5):
  Add git-buildpackage config, enabling pristine-tar and tag signing.
  Favor recent libmodule-build-perl over (slightly but not too) old perl, 
and suppress duplicate unversioned build-dependency from CDBS.
  Update changelog, control file and copyright hints.
  Fix simplify versioned build-dependency on libmodule-build-perl (see 
bug#752989), and fix add trailing zeros. Closes: bug#753044. Thanks to Niko 
Tyni.
  Prepare for release: Update changelog and control file.

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatmandu-atom-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-logger-psgi-perl] 01/02: Relax to build-depend unversioned on libmodule-build-perl: Needed version satisfied even in oldstable.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libdancer-logger-psgi-perl.

commit abaeda12d15cecc2ef3303b35df2d2c0ecdcd351
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 13:18:04 2014 +0200

Relax to build-depend unversioned on libmodule-build-perl: Needed version 
satisfied even in oldstable.
---
 debian/rules | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index af4d124..61aaf03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,9 +28,6 @@ DEB_UPSTREAM_URL = 
http://www.cpan.org/modules/by-module/Dancer
 #DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/R/RS/RSIMOES
 DEB_UPSTREAM_TARBALL_BASENAME = 
$(DEB_UPSTREAM_PACKAGE)-v$(DEB_UPSTREAM_TARBALL_VERSION)
 
-# Needed by upstream build
-bdeps = perl (= 5.12) | libmodule-build-perl (= 0.360100)
-
 # Needed by upstream build and (always) at runtime
 deps = libdancer-perl, libplack-perl
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-logger-psgi-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-logger-psgi-perl] branch master updated (3c85fdd - 9f57806)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to branch master
in repository libdancer-logger-psgi-perl.

  from  3c85fdd   Prepare for release: Update changelog and copyright info.
   new  abaeda1   Relax to build-depend unversioned on 
libmodule-build-perl: Needed version satisfied even in oldstable.
   new  9f57806   Prepare for release: Update changelog and control file.

The 2 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 7 +++
 debian/control   | 2 +-
 debian/rules | 3 ---
 3 files changed, 8 insertions(+), 4 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-logger-psgi-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-logger-psgi-perl] 02/02: Prepare for release: Update changelog and control file.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libdancer-logger-psgi-perl.

commit 9f578061d5ed4a1a26f0a7980503bfc84fafe3b6
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 13:18:43 2014 +0200

Prepare for release: Update changelog and control file.
---
 debian/changelog | 7 +++
 debian/control   | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8472379..b78c538 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libdancer-logger-psgi-perl (1.0.1-2) unstable; urgency=medium
+
+  * Relax to build-depend unversioned on libmodule-build-perl: Needed
+version satisfied even in oldstable.
+
+ -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 13:18:34 +0200
+
 libdancer-logger-psgi-perl (1.0.1-1) unstable; urgency=low
 
   [ upstream ]
diff --git a/debian/control b/debian/control
index 456a98b..da758de 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,9 @@ Priority: optional
 Build-Depends: cdbs,
  devscripts,
  perl,
+ libmodule-build-perl,
  debhelper,
  dh-buildinfo,
- perl (= 5.12) | libmodule-build-perl (= 0.360100),
  libdancer-perl,
  libplack-perl,
  libtest-requires-perl,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-logger-psgi-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-logger-psgi-perl] annotated tag debian/1.0.1-2 created (now 4209d34)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag debian/1.0.1-2
in repository libdancer-logger-psgi-perl.

at  4209d34   (tag)
   tagging  9f578061d5ed4a1a26f0a7980503bfc84fafe3b6 (commit)
  replaces  debian/1.0.1-1
 tagged by  Jonas Smedegaard
on  Wed Jul 2 13:25:01 2014 +0200

- Log -
libdancer-logger-psgi-perl Debian release 1.0.1-2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQF8BAABCgBmBQJTs+wNXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vWWgAH/0hW6jreyCUek8h/67lqM/0J
KIOsGuH9uAa8xurgU3WEjsE3whGK0SDrOjZMwUMbojzvLYztUnWEOKVaAxJKFLXz
v1Y/zRxl//NO1m+wtzazheO7WZ+vBM8kR2pOWPbY6r/0Q4ebM7eH3sloc+n7glTr
TiyYuCwmOqsAP35BoiJSuRItM3bK2M+cJ29ZN5xASJpVt8e3lG/vVe5LMqJc1vXH
DPcKnGT+PH78oUaAg7/vRUGxllRM04lm6uZJHVrcDzt+U/1LckU5u04X/XgaElOa
D5bLwVQQ052dFjJa9rxIyson63TjdL4E1vdUhVUw9UxsQTqf77jHbi8eBN/jjZA=
=pxfp
-END PGP SIGNATURE-

Jonas Smedegaard (2):
  Relax to build-depend unversioned on libmodule-build-perl: Needed version 
satisfied even in oldstable.
  Prepare for release: Update changelog and control file.

---

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-logger-psgi-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 03/63: git ignore rules

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit b7e207995fdcfba1f2b46491b84bea67262f9e37
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 15:52:25 2010 +0200

git ignore rules
---
 .gitignore | 4 
 1 file changed, 4 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..2ee15d1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pm_to_blib
+*.old
+Makefile
+blib

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 08/63: TestUtils.pm from Dancer to ease testing reponse

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 27f063b2c24434b6da40d94cabcd81917c0d6b97
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 16:53:48 2010 +0200

TestUtils.pm from Dancer to ease testing reponse
---
 t/TestUtils.pm | 25 +
 1 file changed, 25 insertions(+)

diff --git a/t/TestUtils.pm b/t/TestUtils.pm
new file mode 100644
index 000..415f8a5
--- /dev/null
+++ b/t/TestUtils.pm
@@ -0,0 +1,25 @@
+package TestUtils;
+
+use base 'Exporter';
+use vars '@EXPORT';
+
+use File::Path qw(mkpath rmtree);
+use Dancer::Request;
+use Dancer::Config 'setting';
+
+@EXPORT =
+  qw(fake_request get_response_for_request);
+
+sub fake_request($$) {
+my ($method, $path) = @_;
+return Dancer::Request-new_for_request($method = $path);
+}
+
+sub get_response_for_request {
+my ($method, $path) = @_;
+my $request = fake_request($method = $path);
+Dancer::SharedData-request($request);
+Dancer::Renderer::get_action_response();
+}
+
+1;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] branch master updated (7822960 - b39086e)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to branch master
in repository libdancer-plugin-rest-perl.

  from  7822960   Prepare for release: Update changelog, control file and 
copyright hints.
   new  6508c68   Relax to build-depend unversioned on 
libmodule-build-perl: Needed version satisfied even in oldstable.
   new  41f68f6   Update copyright info: Add alternate git source URL.
   new  5977789   Build-depend on libxml-simple-perl: Improves testsuite.
   new  b39086e   Prepare for release: Update changelog and control file.

The 4 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


Summary of changes:
 debian/changelog | 9 +
 debian/control   | 3 ++-
 debian/copyright | 1 +
 debian/rules | 8 
 4 files changed, 16 insertions(+), 5 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 01/63: README

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit d9b3392870ae6dee0cb062f431155eb8db382f4d
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 15:22:20 2010 +0200

README
---
 README | 5 +
 1 file changed, 5 insertions(+)

diff --git a/README b/README
new file mode 100644
index 000..e1c8f7b
--- /dev/null
+++ b/README
@@ -0,0 +1,5 @@
+Dancer::Plugin::REST
+
+A Dancer plugin to transform your Dancer app in a RESTful 
+webservice.
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 01/04: Relax to build-depend unversioned on libmodule-build-perl: Needed version satisfied even in oldstable.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libdancer-plugin-rest-perl.

commit 6508c68158aa535f832d965c71c741acd2f9376c
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 13:26:43 2014 +0200

Relax to build-depend unversioned on libmodule-build-perl: Needed version 
satisfied even in oldstable.
---
 debian/rules | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5ce538c..834c5d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,9 +28,6 @@ DEB_UPSTREAM_PACKAGE = Dancer-Plugin-REST
 DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/Y/YA/YANICK
 DEB_UPSTREAM_TARBALL_MD5 = b4dc3a2225222d75fb63e449fd8b7cde
 
-# Needed by upstream build
-bdeps = perl (= 5.11.4) | libmodule-build-perl (= 0.360300)
-
 # Needed by upstream build and (always) at runtime
 deps = libdancer-perl (= 1.3111)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 05/63: MakefilePL

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 20e8d3269cbe81c86269498f7c18b34ce7c94304
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 15:52:39 2010 +0200

MakefilePL
---
 Makefile.PL | 48 
 1 file changed, 48 insertions(+)

diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 000..8aa888f
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,48 @@
+use ExtUtils::MakeMaker;
+
+WriteMakefile1(
+NAME = 'Dancer::Plugin::REST',
+ABSTRACT = REST plugin for Dancer,
+LICENSE  = 'perl',
+VERSION_FROM = 'lib/Dancer/Plugin/REST.pm',
+
+META_MERGE = {
+resources = {
+repository = 'http://github.com/sukria/Dancer-Plugin-REST',
+},
+},
+
+BUILD_REQUIRES = {
+'Test::More' = '0.87',
+},
+
+PREREQ_PM = {
+'Dancer' = '1.173',
+},
+
+test = {TESTS = join( ' ', (glob( 't/*.t'), glob('t/*/*.t')))},
+);
+
+sub WriteMakefile1 {  #Written by Alexandr Ciornii, version 0.21. Added by 
eumm-upgrade.
+my %params=@_;
+my $eumm_version=$ExtUtils::MakeMaker::VERSION;
+$eumm_version=eval $eumm_version;
+die EXTRA_META is deprecated if exists $params{EXTRA_META};
+die License not specified if not exists $params{LICENSE};
+if ($params{BUILD_REQUIRES} and $eumm_version  6.5503) {
+#EUMM 6.5502 has problems with BUILD_REQUIRES
+$params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , 
%{$params{BUILD_REQUIRES}} };
+delete $params{BUILD_REQUIRES};
+}
+delete $params{CONFIGURE_REQUIRES} if $eumm_version  6.52;
+delete $params{MIN_PERL_VERSION} if $eumm_version  6.48;
+delete $params{META_MERGE} if $eumm_version  6.46;
+delete $params{META_ADD} if $eumm_version  6.46;
+delete $params{LICENSE} if $eumm_version  6.31;
+delete $params{AUTHOR} if $]  5.005;
+delete $params{ABSTRACT_FROM} if $]  5.005;
+delete $params{BINARY_LOCATION} if $]  5.005;
+
+WriteMakefile(%params);
+}
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 04/04: Prepare for release: Update changelog and control file.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libdancer-plugin-rest-perl.

commit b39086e12de8527e658f458163fe14e63d5d5811
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 13:41:17 2014 +0200

Prepare for release: Update changelog and control file.
---
 debian/changelog | 9 +
 debian/control   | 3 ++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 72c588d..108743c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+libdancer-plugin-rest-perl (0.11-3) unstable; urgency=medium
+
+  * Relax to build-depend unversioned on libmodule-build-perl: Needed
+version satisfied even in oldstable.
+  * Update copyright info: Add alternate git source URL.
+  * Build-depend on libxml-simple-perl: Improves testsuite.
+
+ -- Jonas Smedegaard d...@jones.dk  Wed, 02 Jul 2014 13:41:03 +0200
+
 libdancer-plugin-rest-perl (0.11-2) unstable; urgency=medium
 
   * Update copyright file:
diff --git a/debian/control b/debian/control
index ad91374..7e7a0f0 100644
--- a/debian/control
+++ b/debian/control
@@ -4,10 +4,11 @@ Priority: optional
 Build-Depends: cdbs,
  devscripts,
  perl,
+ libmodule-build-perl,
  debhelper,
  dh-buildinfo,
- perl (= 5.11.4) | libmodule-build-perl (= 0.360300),
  libdancer-perl (= 1.3111),
+ libxml-simple-perl,
  libyaml-perl,
  libjson-perl
 Maintainer: Debian Perl Group pkg-perl-maintain...@lists.alioth.debian.org

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 04/63: first test script

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit a2e0421252b9beb7ad37bd1931a787d2bd7504bb
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 15:52:31 2010 +0200

first test script
---
 t/01_base.t | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/t/01_base.t b/t/01_base.t
new file mode 100644
index 000..4533910
--- /dev/null
+++ b/t/01_base.t
@@ -0,0 +1,3 @@
+use Test::More tests = 1;
+
+use_ok 'Dancer::Plugin::REST';

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 06/63: POD

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 725b5d03b7a6f63bba22dc848de12a0720e0e576
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 15:52:44 2010 +0200

POD
---
 lib/Dancer/Plugin/REST.pm | 88 +++
 1 file changed, 88 insertions(+)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 776b4c4..1c2c08c 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -2,6 +2,9 @@ package Dancer::Plugin::REST;
 use Dancer ':syntax';
 use Dancer::Plugin;
 
+our $AUTHORITY = 'SUKRIA';
+our $VERSION = '0.1';
+
 register prepare_serializer_for_format =
 sub {
 my $serializers = {
@@ -18,5 +21,90 @@ sub {
 };
 };
 
+register resource =
+sub {
+die TODO;
+};
+
 register_plugin;
 
+1;
+__END__
+=pod
+
+=head1 NAME
+
+Dancer::Plugin::REST - A plugin for writing RESTful apps with Dancer
+
+=head1 SYNOPSYS
+
+package MyWebService;
+
+use Dancer;
+use Dancer::Plugin::REST;
+
+prepare_serializer_for_format;
+
+get '/user/:id.:format' = sub { 
+User-find(params-{id});   
+};
+
+# curl http://mywebservice/user/42.json
+{ id: 42, name: John Foo, email: jhon@example.com}
+
+# curl http://mywebservice/user/42.yml
+--
+id: 42
+name: John Foo
+email: jhon@example.com
+
+=head1 DESCRIPTION
+
+This plugin helps you write a RESTful webservice with Dancer.
+
+=head1 KEYWORDS
+
+=head2 prepare_serializer_for_format
+
+When this pragam is used a before filter is set by the plugin to automatically
+change the serializer when a format is detected in the URI.
+
+That means that each route you define with a B:format token will trigger a
+serializer defintion, if the format is known.
+
+This lets you define all the REST action you like aas regular Dancer route
+handlers, without taking care of the outgoing data format.
+
+=head2 resource
+
+This keyword lets you declare a resource your application will handle.
+
+resource user = 
+get= sub { # return user where id = params-{id}   },
+create = sub { # create a new user with params-{user} },
+delete = sub { # delete user where id = params-{id}   },
+update = sub { # update user with params-{user}   };
+
+# this defines the following routes:
+# GET /user/:id
+# GET /user/:id.:format
+# POST /user/create
+# POST /user/create.:format
+# DELETE /user/:id
+# DELETE /user/:id.:format
+# PUT /user/:id
+# PUT /user/:id.:format
+
+=head1 LICENCE
+
+This module is released under the same terms as Perl itself.
+
+=head1 AUTHORS
+
+This module has been written by Alexis Sukrieh suk...@sukria.net.
+
+=head1 SEE ALSO
+
+LDancer Lhttp://en.wikipedia.org/wiki/Representational_State_Transfer
+
+=cut

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 03/04: Build-depend on libxml-simple-perl: Improves testsuite.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libdancer-plugin-rest-perl.

commit 59777896e1c2e63271d30c7a3f01bd8233bae7ba
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 13:40:35 2014 +0200

Build-depend on libxml-simple-perl: Improves testsuite.
---
 debian/rules | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 834c5d0..69f089e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,12 +31,15 @@ DEB_UPSTREAM_TARBALL_MD5 = b4dc3a2225222d75fb63e449fd8b7cde
 # Needed by upstream build and (always) at runtime
 deps = libdancer-perl (= 1.3111)
 
+# Needed (optionally) by upstream testsuite
+deps-test-opt = libxml-simple-perl
+
 # Needed by upstream testsuite and (seldom) at runtime
 deps-test-suggest = libyaml-perl, libjson-perl
 
 # Needed (seldom) at runtime
 suggests = libxml-simple-perl
 
-CDBS_BUILD_DEPENDS +=, $(bdeps), $(deps), $(deps-test-suggest)
+CDBS_BUILD_DEPENDS +=, $(bdeps), $(deps), $(deps-test-opt), 
$(deps-test-suggest)
 CDBS_DEPENDS_$(pkg) = $(deps)
 CDBS_SUGGESTS_$(pkg) = $(deps-test-suggest), $(suggests)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 02/04: Update copyright info: Add alternate git source URL.

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libdancer-plugin-rest-perl.

commit 41f68f6b2a5f0f7171c3f5671613653405f0e262
Author: Jonas Smedegaard d...@jones.dk
Date:   Wed Jul 2 13:33:45 2014 +0200

Update copyright info: Add alternate git source URL.
---
 debian/copyright | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/copyright b/debian/copyright
index b33808c..6aec94a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,7 @@ Format: 
http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Dancer::Plugin::REST
 Upstream-Contact: Alexis Sukrieh suk...@sukria.net
 Source: http://search.cpan.org/dist/Dancer-Plugin-REST/
+ git://github.com/perldancer/Dancer-Plugin-REST
 
 Files: *
 Copyright: 2010, Alexis Sukrieh suk...@sukria.net

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 02/63: lib/Dancer/Plugin/REST.pm

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit dab5657feb31f9473ee193f9ccbcfa61ebb3d704
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 15:26:07 2010 +0200

lib/Dancer/Plugin/REST.pm
---
 lib/Dancer/Plugin/REST.pm | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
new file mode 100644
index 000..776b4c4
--- /dev/null
+++ b/lib/Dancer/Plugin/REST.pm
@@ -0,0 +1,22 @@
+package Dancer::Plugin::REST;
+use Dancer ':syntax';
+use Dancer::Plugin;
+
+register prepare_serializer_for_format =
+sub {
+my $serializers = {
+'json' = 'JSON',
+'yml'  = 'YAML',
+'xml'  = 'XML',
+'dump' = 'Dumper',
+};
+
+before sub {
+my $format = params-{'format'};
+set serializer $serializers-{$format}
+if $format  $serializers-{$format};
+};
+};
+
+register_plugin;
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 07/63: depends on Dancer 1.180

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 38fadbd729d541d4fe0f3023f3d3758c033981f0
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 16:15:40 2010 +0200

depends on Dancer 1.180
---
 Makefile.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.PL b/Makefile.PL
index 8aa888f..436e9a8 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -17,7 +17,7 @@ WriteMakefile1(
 },
 
 PREREQ_PM = {
-'Dancer' = '1.173',
+'Dancer' = '1.180',
 },
 
 test = {TESTS = join( ' ', (glob( 't/*.t'), glob('t/*/*.t')))},

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 23/63: ignore rules

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 56894aa1a1427c09273e5c22441b3a9df0c4e22c
Author: Alexis Sukrieh suk...@sukria.net
Date:   Thu May 6 10:27:37 2010 +0200

ignore rules
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 090fb84..2811a36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@ pm_to_blib
 t/logs
 *.old
 Makefile
+MANIFEST.bak
 blib

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 19/63: plugin_setting is exported from dancer::plugin

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit e38b3db55c016cfef508c20662160fbc30b48195
Author: franck cuny fra...@lumberjaph.net
Date:   Tue May 4 12:27:30 2010 +0200

plugin_setting is exported from dancer::plugin
---
 lib/Dancer/Plugin/REST.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 5b1b7df..ffee624 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -1,7 +1,6 @@
 package Dancer::Plugin::REST;
 use Dancer ':syntax';
 use Dancer::Plugin;
-use Dancer::Config qw/plugin_setting/;
 
 our $AUTHORITY = 'SUKRIA';
 our $VERSION = '0.1';

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 17/63: MANIFEST update

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 3d8c6037487e749862c9e53755630027e15f25ab
Author: Alexis Sukrieh suk...@sukria.net
Date:   Mon Apr 12 12:20:06 2010 +0200

MANIFEST update
---
 MANIFEST | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 000..462d25c
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,10 @@
+MANIFEST
+CHANGES
+lib/Dancer/Plugin/REST.pm
+Makefile.PL
+MANIFEST   This list of files
+README
+t/01_base.t
+t/02_prepare_serializer_for_format.t
+t/03_resource.t
+t/TestUtils.pm

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 22/63: Makefile.PL update

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 0be294a9c4190842f81bff0161b500935ebd2067
Author: Alexis Sukrieh suk...@sukria.net
Date:   Thu May 6 10:27:03 2010 +0200

Makefile.PL update
---
 Makefile.PL | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.PL b/Makefile.PL
index 436e9a8..7388a03 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -17,7 +17,8 @@ WriteMakefile1(
 },
 
 PREREQ_PM = {
-'Dancer' = '1.180',
+'Dancer' = '1.178_01',
+'JSON'   = 0,
 },
 
 test = {TESTS = join( ' ', (glob( 't/*.t'), glob('t/*/*.t')))},

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 12/63: git ignore rules

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit e4526b996480135544cff5e5bafc3d0e994a8511
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 17:25:19 2010 +0200

git ignore rules
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 2ee15d1..090fb84 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 pm_to_blib
+t/logs
 *.old
 Makefile
 blib

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 26/63: t/02_prepare_serializer_for_format.t: more tests, refactored

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 3f8993604fa514bad9f1a759a4a0ee2b2a9a8e16
Author: Alexis Sukrieh suk...@sukria.net
Date:   Thu Oct 14 10:31:11 2010 +0200

t/02_prepare_serializer_for_format.t: more tests, refactored
---
 t/02_prepare_serializer_for_format.t | 47 ++--
 1 file changed, 39 insertions(+), 8 deletions(-)

diff --git a/t/02_prepare_serializer_for_format.t 
b/t/02_prepare_serializer_for_format.t
index 5217970..bc4a57b 100644
--- a/t/02_prepare_serializer_for_format.t
+++ b/t/02_prepare_serializer_for_format.t
@@ -5,10 +5,12 @@ use Test::More import = ['!pass'];
 
 plan skip_all = JSON is needed for this test
 unless Dancer::ModuleLoader-load('JSON');
-plan tests = 3;
+plan skip_all = YAML is needed for this test
+unless Dancer::ModuleLoader-load('YAML');
 
 my $data = { foo = 42 };
 my $json = JSON::encode_json($data);
+my $yaml = YAML::Dump($data);
 
 {
 package Webservice;
@@ -17,7 +19,8 @@ my $json = JSON::encode_json($data);
 
 prepare_serializer_for_format;
 
-get '/foo.:format' = sub {
+get '/' = sub { root };
+get '/:something.:format' = sub {
 $data;
 };
 }
@@ -25,11 +28,39 @@ my $json = JSON::encode_json($data);
 use lib 't';
 use TestUtils;
 
-my $response = get_response_for_request(GET = '/foo.json');
-ok(defined($response), response found for /foo.json);
+my @tests = (
+{
+request = [GET = '/'],
+content_type = 'text/html',
+response = 'root',
+},
+{ 
+request = [GET = '/foo.json'],
+content_type = 'application/json',
+response = $json
+},
+{ 
+request = [GET = '/foo.yml'],
+content_type = 'text/x-yaml',
+response = $yaml,
+},
+{
+request = [GET = '/'],
+content_type = 'text/html',
+response = 'root',
+},
+);
+
+plan tests = scalar(@tests) * 2;
+
+for my $test ( @tests ) {
+my $response = get_response_for_request(@{$test-{request}});
+is_deeply( $response-{headers}, 
+[ 'Content-Type' = $test-{content_type}],
+headers have content_type set to .$test-{content_type});
+
+is( $response-{content}, $test-{response},
+\$data has been encoded );
+}
 
-is_deeply( $response-{headers}, [ 'Content-Type' = 'application/json'],
-headers have content_type set to application/json );
 
-is( $response-{content}, $json,
-\$data has been encoded to JSON);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 14/63: CHANGES update

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit c09e00ccac50bf3102f3780a778a0b6e4ff4f206
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 17:26:59 2010 +0200

CHANGES update
---
 CHANGES | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/CHANGES b/CHANGES
new file mode 100644
index 000..2517659
--- /dev/null
+++ b/CHANGES
@@ -0,0 +1,6 @@
+
+Version 0.1
+   * Support for prepare_serializer_for_format keyword
+ autoamtically set a serializer according to params-{format}
+   * Support for resource definition
+ When a resource is defined a set of routes are defined in a RESTful 
manner.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 13/63: test script for resource

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 20c20147328c09129e959db272c5731aad7a7d9e
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 17:25:28 2010 +0200

test script for resource
---
 t/03_resource.t | 84 +
 1 file changed, 84 insertions(+)

diff --git a/t/03_resource.t b/t/03_resource.t
new file mode 100644
index 000..f6a25e8
--- /dev/null
+++ b/t/03_resource.t
@@ -0,0 +1,84 @@
+use strict;
+use warnings;
+use Dancer::ModuleLoader;
+use Test::More import = ['!pass'];
+
+plan tests = 7;
+
+{
+package Webservice;
+use Dancer;
+use Dancer::Plugin::REST;
+
+resource user = 
+'get' = \on_get_user,
+'create' = \on_create_user,
+'delete' = \on_delete_user,
+'update' = \on_update_user;
+
+my $users = {};
+my $last_id = 0;
+
+sub on_get_user {
+my $id = params-{'id'};
+{ user = $users-{$id} };
+}
+
+sub on_create_user {
+my $id = ++$last_id;
+my $user = params('body');
+$user-{id} = $id;
+$users-{$id} = $user;
+
+{ user = $users-{$id} };
+}
+
+sub on_delete_user {
+my $id = params-{'id'};
+my $deleted = $users-{$id};
+delete $users-{$id};
+{ user = $deleted };
+}
+
+sub on_update_user {
+my $id = params-{'id'};
+my $user = $users-{$id};
+return { user = undef } unless defined $user;
+
+$users-{$id} = { %$user, %{params('body')} };
+{ user = $users-{$id} };
+}
+}
+
+use lib 't';
+use TestUtils;
+
+my $r = get_response_for_request(GET = '/user/1');
+is_deeply $r-{content}, {user = undef},
+user 1 is not defined;
+
+$r = get_response_for_request(POST = '/user', { name = 'Alexis' });
+is_deeply $r-{content}, { user = { id = 1, name = Alexis } },
+create user works;
+
+$r = get_response_for_request(GET = '/user/1');
+is_deeply $r-{content}, {user = { id = 1, name = 'Alexis'}},
+user 1 is defined;
+
+$r = get_response_for_request(PUT = '/user/1', { nick = 'sukria', name =
+'Alexis Sukrieh' });
+is_deeply $r-{content}, {user = { id = 1, name = 'Alexis Sukrieh', nick = 
'sukria'}},
+user 1 is updated;
+
+$r = get_response_for_request(DELETE = '/user/1');
+is_deeply $r-{content}, {user = { id = 1, name = 'Alexis Sukrieh', nick = 
'sukria'}},
+user 1 is deleted;
+
+$r = get_response_for_request(GET = '/user/1');
+is_deeply $r-{content}, {user = undef},
+user 1 is not defined;
+
+$r = get_response_for_request(POST = '/user', { name = 'Franck Cuny' });
+is_deeply $r-{content}, { user = { id = 2, name = Franck Cuny } },
+id is correctly increased;
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 10/63: TestUtils support body params in fake_request

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 8f0efe4193c2531a2ad9ce3c2aafe7e619505899
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 17:24:42 2010 +0200

TestUtils support body params in fake_request
---
 t/TestUtils.pm | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/t/TestUtils.pm b/t/TestUtils.pm
index 415f8a5..d067bbb 100644
--- a/t/TestUtils.pm
+++ b/t/TestUtils.pm
@@ -10,14 +10,18 @@ use Dancer::Config 'setting';
 @EXPORT =
   qw(fake_request get_response_for_request);
 
-sub fake_request($$) {
-my ($method, $path) = @_;
-return Dancer::Request-new_for_request($method = $path);
+sub fake_request($$;$) {
+my ($method, $path, $params) = @_;
+my $req = Dancer::Request-new_for_request($method = $path);
+if ($params) {
+   $req-_set_body_params($params); 
+}
+return $req;
 }
 
 sub get_response_for_request {
-my ($method, $path) = @_;
-my $request = fake_request($method = $path);
+my ($method, $path, $params) = @_;
+my $request = fake_request($method = $path, $params);
 Dancer::SharedData-request($request);
 Dancer::Renderer::get_action_response();
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 29/63: Version 0.02 + MANIFEST and Changes updates

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit da919ca27f5d8a17f3743e4d9e3426e95ff840aa
Author: Alexis Sukrieh suk...@sukria.net
Date:   Thu Oct 14 10:51:54 2010 +0200

Version 0.02 + MANIFEST and Changes updates
---
 CHANGES   | 4 +++-
 MANIFEST  | 1 +
 MANIFEST.SKIP | 1 +
 lib/Dancer/Plugin/REST.pm | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/CHANGES b/CHANGES
index 2517659..c576ded 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,7 @@
+Version 0.02
+   * 100% coverage
 
-Version 0.1
+Version 0.0001_01
* Support for prepare_serializer_for_format keyword
  autoamtically set a serializer according to params-{format}
* Support for resource definition
diff --git a/MANIFEST b/MANIFEST
index d90b269..3655799 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -6,4 +6,5 @@ README
 t/01_base.t
 t/02_prepare_serializer_for_format.t
 t/03_resource.t
+t/04_plugin_settings.t
 t/TestUtils.pm
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index 205509a..7df8919 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -1,4 +1,5 @@
 t\/logs\/.*log
+cover_db
 \.git
 blib
 pm_to_blib
diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 5441614..62bc8f8 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -3,7 +3,7 @@ use Dancer ':syntax';
 use Dancer::Plugin;
 
 our $AUTHORITY = 'SUKRIA';
-our $VERSION = '0.0001_01';
+our $VERSION = '0.02';
 
 register prepare_serializer_for_format =
 sub {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 25/63: version 0.0001_01

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit e4b56ec8c6f93903c675358e9c2062b5e6c3a25d
Author: Alexis Sukrieh suk...@sukria.net
Date:   Thu May 6 10:32:38 2010 +0200

version 0.0001_01
---
 lib/Dancer/Plugin/REST.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 432233e..5441614 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -3,7 +3,7 @@ use Dancer ':syntax';
 use Dancer::Plugin;
 
 our $AUTHORITY = 'SUKRIA';
-our $VERSION = '0.1';
+our $VERSION = '0.0001_01';
 
 register prepare_serializer_for_format =
 sub {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 21/63: check for supported format request in before filter

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 43458447f83e542a073664f569a2b22de37e1cf8
Author: Alexis Sukrieh suk...@sukria.net
Date:   Wed May 5 11:42:28 2010 +0200

check for supported format request in before filter
---
 lib/Dancer/Plugin/REST.pm | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index ffee624..432233e 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -22,9 +22,13 @@ sub {
 before sub {
 my $format = params-{'format'};
 return unless defined $format;
-
+
 my $serializer = $serializers-{$format};
-return unless defined $serializer;
+unless (defined $serializer) {
+return halt(Dancer::Error-new(
+code = 404,
+message = unsupported format requested: .$format));
+}
 
 set serializer = $serializer;
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 15/63: load serializers list from config is available

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit a05d52d9e057dfd11704e5ff4a5c320adebe76a7
Author: franck cuny fra...@lumberjaph.net
Date:   Sat Apr 3 18:41:47 2010 +0200

load serializers list from config is available
---
 lib/Dancer/Plugin/REST.pm | 32 +++-
 1 file changed, 19 insertions(+), 13 deletions(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 6d15da9..5b1b7df 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -1,18 +1,24 @@
 package Dancer::Plugin::REST;
 use Dancer ':syntax';
 use Dancer::Plugin;
+use Dancer::Config qw/plugin_setting/;
 
 our $AUTHORITY = 'SUKRIA';
 our $VERSION = '0.1';
 
 register prepare_serializer_for_format =
 sub {
-my $serializers = {
-'json' = 'JSON',
-'yml'  = 'YAML',
-'xml'  = 'XML',
-'dump' = 'Dumper',
-};
+my $conf= plugin_setting;
+my $serializers = (
+( $conf  exists $conf-{serializers} )
+? $conf-{serializers}
+: {
+'json' = 'JSON',
+'yml'  = 'YAML',
+'xml'  = 'XML',
+'dump' = 'Dumper',
+}
+);
 
 before sub {
 my $format = params-{'format'};
@@ -30,10 +36,10 @@ sub {
 my ($resource, %triggers) = @_;
 
 die resource should be given with triggers
-unless defined $resource and 
+unless defined $resource and
 defined $triggers{get} and
-defined $triggers{update} and 
-defined $triggers{delete} and 
+defined $triggers{update} and
+defined $triggers{delete} and
 defined $triggers{create};
 
 get /${resource}/:id = $triggers{get};
@@ -68,13 +74,13 @@ Dancer::Plugin::REST - A plugin for writing RESTful apps 
with Dancer
 
 prepare_serializer_for_format;
 
-get '/user/:id.:format' = sub { 
-User-find(params-{id});   
+get '/user/:id.:format' = sub {
+User-find(params-{id});
 };
 
 # curl http://mywebservice/user/42.json
 { id: 42, name: John Foo, email: jhon@example.com}
-
+
 # curl http://mywebservice/user/42.yml
 --
 id: 42
@@ -102,7 +108,7 @@ handlers, without taking care of the outgoing data format.
 
 This keyword lets you declare a resource your application will handle.
 
-resource user = 
+resource user =
 get= sub { # return user where id = params-{id}   },
 create = sub { # create a new user with params-{user} },
 delete = sub { # delete user where id = params-{id}   },

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 27/63: t/03_resource.t: test resource when not given 4 hooks

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit d06fb1184db2ec39acc1d72725a1a4796b3b6d1a
Author: Alexis Sukrieh suk...@sukria.net
Date:   Thu Oct 14 10:49:30 2010 +0200

t/03_resource.t: test resource when not given 4 hooks
---
 t/03_resource.t | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/t/03_resource.t b/t/03_resource.t
index f6a25e8..f90c700 100644
--- a/t/03_resource.t
+++ b/t/03_resource.t
@@ -3,12 +3,13 @@ use warnings;
 use Dancer::ModuleLoader;
 use Test::More import = ['!pass'];
 
-plan tests = 7;
+plan tests = 8;
 
 {
 package Webservice;
 use Dancer;
 use Dancer::Plugin::REST;
+use Test::More import = ['!pass'];
 
 resource user = 
 'get' = \on_get_user,
@@ -48,6 +49,10 @@ plan tests = 7;
 $users-{$id} = { %$user, %{params('body')} };
 { user = $users-{$id} };
 }
+
+eval { resource failure = get = sub { 'GET' } };
+like $@, qr{resource should be given with triggers}, 
+resource must have 4 hooks;
 }
 
 use lib 't';

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 09/63: test scrtipt for prepare_serializer_for_format

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit be0f0e63154e162d5959943a89e4f9e160b3d78f
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 16:54:19 2010 +0200

test scrtipt for prepare_serializer_for_format
---
 t/02_prepare_serializer_for_format.t | 35 +++
 1 file changed, 35 insertions(+)

diff --git a/t/02_prepare_serializer_for_format.t 
b/t/02_prepare_serializer_for_format.t
new file mode 100644
index 000..5217970
--- /dev/null
+++ b/t/02_prepare_serializer_for_format.t
@@ -0,0 +1,35 @@
+use strict;
+use warnings;
+use Dancer::ModuleLoader;
+use Test::More import = ['!pass'];
+
+plan skip_all = JSON is needed for this test
+unless Dancer::ModuleLoader-load('JSON');
+plan tests = 3;
+
+my $data = { foo = 42 };
+my $json = JSON::encode_json($data);
+
+{
+package Webservice;
+use Dancer;
+use Dancer::Plugin::REST;
+
+prepare_serializer_for_format;
+
+get '/foo.:format' = sub {
+$data;
+};
+}
+
+use lib 't';
+use TestUtils;
+
+my $response = get_response_for_request(GET = '/foo.json');
+ok(defined($response), response found for /foo.json);
+
+is_deeply( $response-{headers}, [ 'Content-Type' = 'application/json'],
+headers have content_type set to application/json );
+
+is( $response-{content}, $json,
+\$data has been encoded to JSON);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 16/63: plugin_setting is exported by Dancer::Plugin now

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit bc1fd6c6845d94710b9e76bcb3891156f535d048
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat Apr 3 18:59:51 2010 +0200

plugin_setting is exported by Dancer::Plugin now
---
 lib/Dancer/Plugin/REST.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 5b1b7df..ffee624 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -1,7 +1,6 @@
 package Dancer::Plugin::REST;
 use Dancer ':syntax';
 use Dancer::Plugin;
-use Dancer::Config qw/plugin_setting/;
 
 our $AUTHORITY = 'SUKRIA';
 our $VERSION = '0.1';

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 43/63: Merge branch 'review/loonypandora' into devel

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit b7ea59ade0c93cfcbc1165a00aaca3cec15632d3
Merge: a7c524c 0525348
Author: Alexis Sukrieh ale...@weborama.com
Date:   Tue Jan 4 10:13:24 2011 +0100

Merge branch 'review/loonypandora' into devel

 lib/Dancer/Plugin/REST.pm | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] annotated tag v0.06 created (now 25eb2a7)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag v0.06
in repository libdancer-plugin-rest-perl.

at  25eb2a7   (tag)
   tagging  5186ff2d2b8d5d36a7c1497c853f27f81b378cb8 (commit)
  replaces  v0.05
 tagged by  Alexis Sukrieh
on  Sat May 28 15:30:39 2011 +0200

- Log -
0.06

Alexis Sukrieh (6):
  Merge branch 'release/0.05' into devel
  FIX test t/03_resource.t (skip if not Dancer 1.3059_01)
  CHANGES update
  Bump version
  fix test t/04_plugin_settings.t
  Merge branch 'release/0.06'

---

This annotated tag includes the following new commits:

   new  d9b3392   README
   new  dab5657   lib/Dancer/Plugin/REST.pm
   new  b7e2079   git ignore rules
   new  a2e0421   first test script
   new  20e8d32   MakefilePL
   new  725b5d0   POD
   new  38fadbd   depends on Dancer 1.180
   new  27f063b   TestUtils.pm from Dancer to ease testing reponse
   new  be0f0e6   test scrtipt for prepare_serializer_for_format
   new  8f0efe4   TestUtils support body params in fake_request
   new  5b8d80f   support for resource definition in Dancer::Plugin::REST
   new  e4526b9   git ignore rules
   new  20c2014   test script for resource
   new  c09e00c   CHANGES update
   new  a05d52d   load serializers list from config is available
   new  bc1fd6c   plugin_setting is exported by Dancer::Plugin now
   new  3d8c603   MANIFEST update
   new  67504b9   MANIFEST updates
   new  e38b3db   plugin_setting is exported from dancer::plugin
   new  3078747   Merge branch 'master' of 
http://github.com/franckcuny/Dancer-Plugin-REST
   new  4345844   check for supported format request in before filter
   new  0be294a   Makefile.PL update
   new  56894aa   ignore rules
   new  d605177   ignore cover_db
   new  e4b56ec   version 0.0001_01
   new  3f89936   t/02_prepare_serializer_for_format.t: more tests, 
refactored
   new  d06fb11   t/03_resource.t: test resource when not given 4 hooks
   new  831e62f   100% cover rate
   new  da919ca   Version 0.02 + MANIFEST and Changes updates
   new  1bc1789   changed route definition order in 'resource'
   new  3521259   CHANGES update
   new  9b9073a   add some helpers funcions to modify the HTTP status
   new  2865d8f   VERSION 0.003
   new  057e24f   new header interface in test script
   new  a304161   refactoring of status_ helpers
   new  2d66043   perlcritic/perltidy conf files
   new  aefc4cb   Dancer 1.1999_02 needed
   new  feb8c2e   Changes entries
   new  7f06a61   version 0.04
   new  1a05158   FIX test with new Dancer
   new  a7c524c   wants Dancer 1.2
   new  0525348   Fixing typos and grammar.
   new  b7ea59a   Merge branch 'review/loonypandora' into devel
   new  d2e2643   fix test, use Dancer::Test
   new  ae65b0a   FIX content_types
   new  6eed50f   remove useless t/TestUtils.pm
   new  697f47e   MANIFEST update
   new  5a872fb   depends on Dancer 1.3014
   new  d85b939   fixe test suite
   new  3a4df57   bump version to 0.05
   new  014d4c1   CHANGES update
   new  e343c87   Merge branch 'release/0.05'
   new  d60619b   Merge branch 'release/0.05' into devel
   new  0eb81d3   FIX test t/03_resource.t (skip if not Dancer 1.3059_01)
   new  74cb536   CHANGES update
   new  c76ffc2   Bump version
   new  a4a25af   fix test t/04_plugin_settings.t
   new  5186ff2   Merge branch 'release/0.06'

The 58 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 44/63: fix test, use Dancer::Test

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit d2e2643554cd05eddb1da364d9993a5d0c597597
Author: Alexis Sukrieh ale...@weborama.com
Date:   Fri Mar 4 11:57:56 2011 +0100

fix test, use Dancer::Test
---
 t/02_prepare_serializer_for_format.t | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/t/02_prepare_serializer_for_format.t 
b/t/02_prepare_serializer_for_format.t
index 5c8614a..aeb0828 100644
--- a/t/02_prepare_serializer_for_format.t
+++ b/t/02_prepare_serializer_for_format.t
@@ -8,6 +8,7 @@ plan skip_all = JSON is needed for this test
 plan skip_all = YAML is needed for this test
 unless Dancer::ModuleLoader-load('YAML');
 
+
 my $data = { foo = 42 };
 my $json = JSON::encode_json($data);
 my $yaml = YAML::Dump($data);
@@ -17,6 +18,8 @@ my $yaml = YAML::Dump($data);
 use Dancer;
 use Dancer::Plugin::REST;
 
+setting environment = 'testing';
+
 prepare_serializer_for_format;
 
 get '/' = sub { root };
@@ -24,9 +27,7 @@ my $yaml = YAML::Dump($data);
 $data;
 };
 }
-
-use lib 't';
-use TestUtils;
+use Dancer::Test;
 
 my @tests = (
 {
@@ -54,7 +55,7 @@ my @tests = (
 plan tests = scalar(@tests) * 2;
 
 for my $test ( @tests ) {
-my $response = get_response_for_request(@{$test-{request}});
+my $response = dancer_response(@{ $test-{request} });
 is($response-header('Content-Type'), 
$test-{content_type},
headers have content_type set to .$test-{content_type});

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 62/63: CHANGES update

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 282e49cf767b6e14c0179fb64d7ca8aa172a4662
Author: Alexis Sukrieh suk...@sukria.net
Date:   Tue Nov 1 23:08:15 2011 +0100

CHANGES update
---
 CHANGES | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/CHANGES b/CHANGES
index 923245f..3253bbf 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,9 @@
+0.072011-11-01
+
+* Minor updates to fix warnings with Dancer 1.3080
+* Fix POD
+(Alexis Sukrieh)
+
 0.06   2011-05-28
 
[ TEST SUITE ]

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] annotated tag 0.4 created (now 9bd18d2)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag 0.4
in repository libdancer-plugin-rest-perl.

at  9bd18d2   (tag)
   tagging  a7c524cb7603d693e647f0b88d8bc92e526c8934 (commit)
  replaces  v0.003
 tagged by  Alexis Sukrieh
on  Wed Dec 22 16:46:54 2010 +0100

- Log -
0.4

Alexis Sukrieh (8):
  new header interface in test script
  refactoring of status_ helpers
  perlcritic/perltidy conf files
  Dancer 1.1999_02 needed
  Changes entries
  version 0.04
  FIX test with new Dancer
  wants Dancer 1.2

---

This annotated tag includes the following new commits:

   new  d9b3392   README
   new  dab5657   lib/Dancer/Plugin/REST.pm
   new  b7e2079   git ignore rules
   new  a2e0421   first test script
   new  20e8d32   MakefilePL
   new  725b5d0   POD
   new  38fadbd   depends on Dancer 1.180
   new  27f063b   TestUtils.pm from Dancer to ease testing reponse
   new  be0f0e6   test scrtipt for prepare_serializer_for_format
   new  8f0efe4   TestUtils support body params in fake_request
   new  5b8d80f   support for resource definition in Dancer::Plugin::REST
   new  e4526b9   git ignore rules
   new  20c2014   test script for resource
   new  c09e00c   CHANGES update
   new  a05d52d   load serializers list from config is available
   new  bc1fd6c   plugin_setting is exported by Dancer::Plugin now
   new  3d8c603   MANIFEST update
   new  67504b9   MANIFEST updates
   new  e38b3db   plugin_setting is exported from dancer::plugin
   new  3078747   Merge branch 'master' of 
http://github.com/franckcuny/Dancer-Plugin-REST
   new  4345844   check for supported format request in before filter
   new  0be294a   Makefile.PL update
   new  56894aa   ignore rules
   new  d605177   ignore cover_db
   new  e4b56ec   version 0.0001_01
   new  3f89936   t/02_prepare_serializer_for_format.t: more tests, 
refactored
   new  d06fb11   t/03_resource.t: test resource when not given 4 hooks
   new  831e62f   100% cover rate
   new  da919ca   Version 0.02 + MANIFEST and Changes updates
   new  1bc1789   changed route definition order in 'resource'
   new  3521259   CHANGES update
   new  9b9073a   add some helpers funcions to modify the HTTP status
   new  2865d8f   VERSION 0.003
   new  057e24f   new header interface in test script
   new  a304161   refactoring of status_ helpers
   new  2d66043   perlcritic/perltidy conf files
   new  aefc4cb   Dancer 1.1999_02 needed
   new  feb8c2e   Changes entries
   new  7f06a61   version 0.04
   new  1a05158   FIX test with new Dancer
   new  a7c524c   wants Dancer 1.2

The 41 revisions listed above as new are entirely new to this
repository and will be described in separate emails.  The revisions
listed as adds were already present in the repository and have only
been added to this reference.


-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 46/63: remove useless t/TestUtils.pm

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 6eed50f4fc54084d120cc0a9b6c2c7fe9c1c3c42
Author: Alexis Sukrieh ale...@weborama.com
Date:   Fri Mar 4 12:57:54 2011 +0100

remove useless t/TestUtils.pm
---
 t/TestUtils.pm | 29 -
 1 file changed, 29 deletions(-)

diff --git a/t/TestUtils.pm b/t/TestUtils.pm
deleted file mode 100644
index d067bbb..000
--- a/t/TestUtils.pm
+++ /dev/null
@@ -1,29 +0,0 @@
-package TestUtils;
-
-use base 'Exporter';
-use vars '@EXPORT';
-
-use File::Path qw(mkpath rmtree);
-use Dancer::Request;
-use Dancer::Config 'setting';
-
-@EXPORT =
-  qw(fake_request get_response_for_request);
-
-sub fake_request($$;$) {
-my ($method, $path, $params) = @_;
-my $req = Dancer::Request-new_for_request($method = $path);
-if ($params) {
-   $req-_set_body_params($params); 
-}
-return $req;
-}
-
-sub get_response_for_request {
-my ($method, $path, $params) = @_;
-my $request = fake_request($method = $path, $params);
-Dancer::SharedData-request($request);
-Dancer::Renderer::get_action_response();
-}
-
-1;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 01/05: v0.10

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.11
in repository libdancer-plugin-rest-perl.

commit 55e588b7346ad24226ed125be3fa0abb30ac4980
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Sat Mar 22 11:21:43 2014 -0400

v0.10

 [BUG FIXES]
 - Requires Dancer v1.3111 or better. (GH#2, reported by OverlordQ)

 [ENHANCEMENTS]
 - 'resource' can now be used with a subset of its actions.

 [STATISTICS]
 - code churn: 4 files changed, 42 insertions(+), 25 deletions(-)
---
 Changes | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Changes b/Changes
index e2a8be8..502a1ec 100644
--- a/Changes
+++ b/Changes
@@ -4,17 +4,25 @@ Revision history for {{$DIST}}
  [API CHANGES]
 
  [BUG FIXES]
- - Requires Dancer v1.3111 or better. (GH#2, reported by OverlordQ)
 
  [DOCUMENTATION]
 
  [ENHANCEMENTS]
- - 'resource' can now be used with a subset of its actions.
 
  [NEW FEATURES]
 
  [STATISTICS]
 
+0.10 2014-03-22
+ [BUG FIXES]
+ - Requires Dancer v1.3111 or better. (GH#2, reported by OverlordQ)
+
+ [ENHANCEMENTS]
+ - 'resource' can now be used with a subset of its actions.
+
+ [STATISTICS]
+ - code churn: 4 files changed, 42 insertions(+), 25 deletions(-)
+
 0.09 2014-03-11
  [BUG FIXES]
  - Skip test if XML::Simple is not installed.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 04/12: fix error dispatch

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.08
in repository libdancer-plugin-rest-perl.

commit a77a1b74d9775aae98724484ce57e6949262b6d0
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Mon Mar 3 15:07:48 2014 -0500

fix error dispatch
---
 lib/Dancer/Plugin/REST.pm | 17 -
 t/04_plugin_settings.t| 12 ++--
 2 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 4d538d6..0454404 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -31,25 +31,24 @@ register prepare_serializer_for_format = sub {
 
 hook 'before' = sub {
 
-my $format = params-{'format'};
-return unless defined $format;
+my $format = params-{'format'}
+or return;
 
 # remember what was there before
 $default_serializer = setting 'serializer';
 
-my $serializer = $serializers-{$format};
-unless (defined $serializer) {
-return halt(
+my $serializer = $serializers-{$format}
+or return halt(
 Dancer::Error-new(
 code= 404,
+title   = unsupported format requested,
 message = unsupported format requested:  . $format
-)
+)-render
 );
-}
 
 set serializer = $serializer;
-my $ct = $content_types-{$format} || setting('content_type');
-content_type $ct;
+
+content_type $content_types-{$format} || setting('content_type');
 };
 
 hook after = sub {
diff --git a/t/04_plugin_settings.t b/t/04_plugin_settings.t
index 1b3b140..b711699 100644
--- a/t/04_plugin_settings.t
+++ b/t/04_plugin_settings.t
@@ -18,6 +18,8 @@ my $yaml = YAML::Dump($data);
 use Dancer::Plugin::REST;
 
 set environment = 'test';
+set show_errors = 1;
+
 prepare_serializer_for_format;
 
 get '/' = sub { root };
@@ -41,17 +43,13 @@ my @tests = (
 request = [GET = '/foo.yml'],
 response = $yaml,
 },
-{ 
-request = [GET = '/foo.foobar'],
-response = qr/unsupported format requested: foobar/ms,
-},
 {
 request = [GET = '/'],
 response = 'root',
 },
 );
 
-plan tests = scalar(@tests);
+plan tests = 6;
 
 for my $test ( @tests ) {
 my $response = dancer_response(@{$test-{request}});
@@ -65,5 +63,7 @@ for my $test ( @tests ) {
 }
 }
 
+my $response = dancer_response( GET = '/foo.foobar' );
 
-
+is $response-status = 404, 'error code 404';
+like $response-content = qr/unsupported format requested: foobar/ms;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 53/63: Merge branch 'release/0.05' into devel

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit d60619bad853d1debb7a4ae54f50653403e93250
Merge: d85b939 014d4c1
Author: Alexis Sukrieh ale...@weborama.com
Date:   Fri Mar 4 13:01:12 2011 +0100

Merge branch 'release/0.05' into devel

 CHANGES   | 6 ++
 lib/Dancer/Plugin/REST.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 58/63: Merge branch 'release/0.06'

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 5186ff2d2b8d5d36a7c1497c853f27f81b378cb8
Merge: e343c87 a4a25af
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat May 28 15:30:39 2011 +0200

Merge branch 'release/0.06'

 CHANGES   |  6 ++
 lib/Dancer/Plugin/REST.pm |  2 +-
 t/03_resource.t   |  7 +++
 t/04_plugin_settings.t| 14 +++---
 4 files changed, 17 insertions(+), 12 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 45/63: FIX content_types

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit ae65b0a386fc7a08e4173cc302804f0169b4d597
Author: Alexis Sukrieh ale...@weborama.com
Date:   Fri Mar 4 11:59:05 2011 +0100

FIX content_types
---
 lib/Dancer/Plugin/REST.pm | 8 
 1 file changed, 8 insertions(+)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 8239a51..8d6679b 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -9,6 +9,12 @@ use Dancer::Plugin;
 our $AUTHORITY = 'SUKRIA';
 our $VERSION   = '0.04';
 
+my $content_types = {
+json = 'application/json',
+yml  = 'text/x-yaml',
+xml  = 'application/xml',
+};
+
 register prepare_serializer_for_format = sub {
 my $conf= plugin_setting;
 my $serializers = (
@@ -36,6 +42,8 @@ register prepare_serializer_for_format = sub {
 }
 
 set serializer = $serializer;
+my $ct = $content_types-{$format} || setting('content_type');
+content_type $ct;
 };
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 04/05: Merge branch 'pr/3'

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.11
in repository libdancer-plugin-rest-perl.

commit 8321c38d4f9b1be5d73a4ec6a30cde5a39f68137
Merge: 55e588b 6755186
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Tue Mar 25 08:04:39 2014 -0400

Merge branch 'pr/3'

 Changes|  2 ++
 MANIFEST   |  1 +
 lib/Dancer/Plugin/REST.pm  |  3 ++-
 t/05_serializer_and_resource.t | 53 ++
 4 files changed, 58 insertions(+), 1 deletion(-)

diff --cc MANIFEST
index e4266a1,e4266a1..0afe32d
--- a/MANIFEST
+++ b/MANIFEST
@@@ -17,6 -17,6 +17,7 @@@ t/02_prepare_serializer_for_format.
  t/03_resource.t
  t/04_helpers.t
  t/04_plugin_settings.t
++t/05_serializer_and_resource.t
  t/default-serializer.t
  t/two-posts.t
  xt/release/unused-vars.t

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 03/05: order of route creation is important

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.11
in repository libdancer-plugin-rest-perl.

commit 6755186689b8f7c5dad8db479c0027974e354e8b
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Tue Mar 25 08:03:27 2014 -0400

order of route creation is important

Fixes #3
---
 Changes| 2 ++
 lib/Dancer/Plugin/REST.pm  | 3 ++-
 t/05_serializer_and_resource.t | 4 
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/Changes b/Changes
index 502a1ec..ba86d7c 100644
--- a/Changes
+++ b/Changes
@@ -4,6 +4,8 @@ Revision history for {{$DIST}}
  [API CHANGES]
 
  [BUG FIXES]
+ - Routes with ':id.:format' were not created properly. 
+(GH#3, reported by garu)
 
  [DOCUMENTATION]
 
diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index bdcc606..17dc899 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -77,9 +77,10 @@ register resource = sub {
 
 if ( $t eq 'create' ) {
 $method-( /${resource} = $triggers{$t} );
+$method-( /${resource}.:format = $triggers{$t} );
 }
 else {
-for my $ext ( '', '.:format' ) {
+for my $ext ( '.:format', '' ) {
 $method-( /${resource}/:id$ext = $triggers{$t} );
 }
 }
diff --git a/t/05_serializer_and_resource.t b/t/05_serializer_and_resource.t
index fdfee4a..d0b89fd 100644
--- a/t/05_serializer_and_resource.t
+++ b/t/05_serializer_and_resource.t
@@ -10,6 +10,9 @@ $dancer_version =~ s/_//g;
 plan skip_all = Dancer 1.3059_01 is needed for this test (you have 
$dancer_version)
   if $dancer_version  1.305901;
 
+plan skip_all = 'tests require JSON'
+unless Dancer::ModuleLoader-load('JSON');
+
 {
 package Webservice;
 use Dancer;
@@ -17,6 +20,7 @@ plan skip_all = Dancer 1.3059_01 is needed for this test 
(you have $dancer_ver
 
 setting environment = 'testing';
 prepare_serializer_for_format;
+
 resource user =
 get= sub { [ id   = params-{id},   format = params-{format} ] 
},
 delete = sub { [ id   = params-{id},   format = params-{format} ] 
},

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 02/12: reset the serializer once done

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.08
in repository libdancer-plugin-rest-perl.

commit 708b3f0269a3a5f26c031097196a205b6997d62d
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Mon Mar 3 14:31:56 2014 -0500

reset the serializer once done
---
 lib/Dancer/Plugin/REST.pm | 11 +++
 t/default-serializer.t| 33 +
 2 files changed, 44 insertions(+)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index e9fd152..4d538d6 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -15,6 +15,8 @@ my $content_types = {
 xml  = 'application/xml',
 };
 
+our $default_serializer;
+
 register prepare_serializer_for_format = sub {
 my $conf= plugin_setting;
 my $serializers = (
@@ -28,9 +30,13 @@ register prepare_serializer_for_format = sub {
 );
 
 hook 'before' = sub {
+
 my $format = params-{'format'};
 return unless defined $format;
 
+# remember what was there before
+$default_serializer = setting 'serializer';
+
 my $serializer = $serializers-{$format};
 unless (defined $serializer) {
 return halt(
@@ -45,6 +51,11 @@ register prepare_serializer_for_format = sub {
 my $ct = $content_types-{$format} || setting('content_type');
 content_type $ct;
 };
+
+hook after = sub {
+# put it back the way it was
+set serializer = $default_serializer if $default_serializer;
+}
 };
 
 register resource = sub {
diff --git a/t/default-serializer.t b/t/default-serializer.t
new file mode 100644
index 000..728d1cb
--- /dev/null
+++ b/t/default-serializer.t
@@ -0,0 +1,33 @@
+use strict;
+use warnings;
+
+use Test::More tests = 1;
+
+{
+use Dancer ':tests';
+use Dancer::Plugin::REST;
+
+prepare_serializer_for_format;
+set serializer = 'XML';
+
+get '/foo' = sub {
+return { hello = 'world' };
+};
+
+get '/foo.:format' = sub {
+return { hello = 'world' };
+};
+
+}
+
+use Dancer::Test;
+
+response_content_like '/foo' = qr/data/, default serializer is XML;
+
+response_content_like '/foo.json' = qr/hello\s*:\s*world/, ask for JSON;
+
+response_content_like '/foo' = qr/data/, default serializer is still XML;
+
+
+
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 59/63: Merge branch 'release/0.06' into devel

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 2acb8ea67ae81fd2892e1ffee7a124f2850665f7
Merge: 74cb536 a4a25af
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat May 28 15:30:42 2011 +0200

Merge branch 'release/0.06' into devel

 lib/Dancer/Plugin/REST.pm |  2 +-
 t/04_plugin_settings.t| 14 +++---
 2 files changed, 4 insertions(+), 12 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 47/63: MANIFEST update

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 697f47e01e80ac9d7fa4b6af5e8eb7bdcf0472d3
Author: Alexis Sukrieh ale...@weborama.com
Date:   Fri Mar 4 12:58:19 2011 +0100

MANIFEST update
---
 MANIFEST | 1 -
 1 file changed, 1 deletion(-)

diff --git a/MANIFEST b/MANIFEST
index 3655799..529aaa4 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -7,4 +7,3 @@ t/01_base.t
 t/02_prepare_serializer_for_format.t
 t/03_resource.t
 t/04_plugin_settings.t
-t/TestUtils.pm

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] annotated tag v0.09 created (now a77fdf3)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag v0.09
in repository libdancer-plugin-rest-perl.

at  a77fdf3   (tag)
   tagging  cdb27f9a70d208831200a7d75cc6955537d10687 (commit)
  replaces  0.4
 tagged by  Yanick Champoux
on  Tue Mar 11 22:39:12 2014 -0400

- Log -
v0.09

Alexis Sukrieh (22):
  Merge branch 'review/loonypandora' into devel
  fix test, use Dancer::Test
  FIX content_types
  remove useless t/TestUtils.pm
  MANIFEST update
  depends on Dancer 1.3014
  fixe test suite
  bump version to 0.05
  CHANGES update
  Merge branch 'release/0.05'
  Merge branch 'release/0.05' into devel
  FIX test t/03_resource.t (skip if not Dancer 1.3059_01)
  CHANGES update
  Bump version
  fix test t/04_plugin_settings.t
  Merge branch 'release/0.06'
  Merge branch 'release/0.06' into devel
  use hook instead of before, fix POD
  Bump version in main module
  CHANGES update
  Merge branch 'release/0.07'
  Merge branch 'release/0.07' into devel

James Aitken (1):
  Fixing typos and grammar.

Yanick Champoux (14):
  reset the serializer once done
  wip
  fix error dispatch
  changelog
  Merge branch 'default-serializer' into devel
  dzil the distro
  Merge branch 'dzil'
  serializer wasn't detected in time for deserialization
  Merge branch 'postman-rings-twice'
  add test
  v0.08
  Build results of cb4a09a (on master)
  skip test if XML::Simple is not present
  Build results of b89d913 (on master)

---

This annotated tag includes the following new commits:

   new  d9b3392   README
   new  dab5657   lib/Dancer/Plugin/REST.pm
   new  b7e2079   git ignore rules
   new  a2e0421   first test script
   new  20e8d32   MakefilePL
   new  725b5d0   POD
   new  38fadbd   depends on Dancer 1.180
   new  27f063b   TestUtils.pm from Dancer to ease testing reponse
   new  be0f0e6   test scrtipt for prepare_serializer_for_format
   new  8f0efe4   TestUtils support body params in fake_request
   new  5b8d80f   support for resource definition in Dancer::Plugin::REST
   new  e4526b9   git ignore rules
   new  20c2014   test script for resource
   new  c09e00c   CHANGES update
   new  a05d52d   load serializers list from config is available
   new  bc1fd6c   plugin_setting is exported by Dancer::Plugin now
   new  3d8c603   MANIFEST update
   new  67504b9   MANIFEST updates
   new  e38b3db   plugin_setting is exported from dancer::plugin
   new  3078747   Merge branch 'master' of 
http://github.com/franckcuny/Dancer-Plugin-REST
   new  4345844   check for supported format request in before filter
   new  0be294a   Makefile.PL update
   new  56894aa   ignore rules
   new  d605177   ignore cover_db
   new  e4b56ec   version 0.0001_01
   new  3f89936   t/02_prepare_serializer_for_format.t: more tests, 
refactored
   new  d06fb11   t/03_resource.t: test resource when not given 4 hooks
   new  831e62f   100% cover rate
   new  da919ca   Version 0.02 + MANIFEST and Changes updates
   new  1bc1789   changed route definition order in 'resource'
   new  3521259   CHANGES update
   new  9b9073a   add some helpers funcions to modify the HTTP status
   new  2865d8f   VERSION 0.003
   new  057e24f   new header interface in test script
   new  a304161   refactoring of status_ helpers
   new  2d66043   perlcritic/perltidy conf files
   new  aefc4cb   Dancer 1.1999_02 needed
   new  feb8c2e   Changes entries
   new  7f06a61   version 0.04
   new  1a05158   FIX test with new Dancer
   new  a7c524c   wants Dancer 1.2
   new  0525348   Fixing typos and grammar.
   new  b7ea59a   Merge branch 'review/loonypandora' into devel
   new  d2e2643   fix test, use Dancer::Test
   new  ae65b0a   FIX content_types
   new  6eed50f   remove useless t/TestUtils.pm
   new  697f47e   MANIFEST update
   new  5a872fb   depends on Dancer 1.3014
   new  d85b939   fixe test suite
   new  3a4df57   bump version to 0.05
   new  014d4c1   CHANGES update
   new  e343c87   Merge branch 'release/0.05'
   new  d60619b   Merge branch 'release/0.05' into devel
   new  0eb81d3   FIX test t/03_resource.t (skip if not Dancer 1.3059_01)
   new  74cb536   CHANGES update
   new  c76ffc2   Bump version
   new  a4a25af   fix test t/04_plugin_settings.t
   new  5186ff2   Merge branch 'release/0.06'
   new  2acb8ea   Merge branch 'release/0.06' into devel
   new  a38d72c   use hook instead of before, fix POD
   new  096f883   Bump version in main module
   new  282e49c   CHANGES update
   new  

[libdancer-plugin-rest-perl] 01/04: v0.09

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.10
in repository libdancer-plugin-rest-perl.

commit 56d3588780dbe1a712b6a23ced0a1cff193e1a55
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Tue Mar 11 22:39:12 2014 -0400

v0.09

 [BUG FIXES]
 - Skip test if XML::Simple is not installed.

 [STATISTICS]
 - code churn: 2 files changed, 26 insertions(+), 3 deletions(-)
---
 Changes | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Changes b/Changes
index 81729d9..c9d56c5 100644
--- a/Changes
+++ b/Changes
@@ -4,7 +4,6 @@ Revision history for {{$DIST}}
  [API CHANGES]
 
  [BUG FIXES]
- - Skip test if XML::Simple is not installed.
 
  [DOCUMENTATION]
 
@@ -14,6 +13,13 @@ Revision history for {{$DIST}}
 
  [STATISTICS]
 
+0.09 2014-03-11
+ [BUG FIXES]
+ - Skip test if XML::Simple is not installed.
+
+ [STATISTICS]
+ - code churn: 2 files changed, 26 insertions(+), 3 deletions(-)
+
 0.08 2014-03-10
  [BUG FIXES]
  - 'prepare_serializer_for_format' was clobbering the default serializer.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 12/12: Build results of cb4a09a (on master)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.08
in repository libdancer-plugin-rest-perl.

commit 390387f583f4f275b9ce4d051ea48a029a9e36a3
Merge: cb4a09a 7a26a08
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Mon Mar 10 21:05:05 2014 -0400

Build results of cb4a09a (on master)

 .gitignore   |   9 -
 .mailmap |   2 -
 .perlcriticrc|  57 ---
 .perltidyrc  |  34 
 Build.PL |  68 
 CONTRIBUTORS |  10 ++
 Changes  |  11 +-
 INSTALL  |  44 +
 LICENSE  | 379 +++
 MANIFEST.SKIP|  11 --
 META.json|  81 +
 META.yml |  43 +
 README   | 114 -
 README.mkdn  | 125 ++
 SIGNATURE|   0
 dist.ini |  11 --
 lib/Dancer/Plugin/REST.pm|  45 -
 t/00-compile.t   |  50 ++
 t/000-report-versions-tiny.t |  82 ++
 xt/release/unused-vars.t |   8 +
 20 files changed, 1048 insertions(+), 136 deletions(-)

diff --cc .gitignore
index dc7306c,e5bf2f6..000
deleted file mode 100644,100644
--- a/.gitignore
+++ /dev/null
@@@ -1,9 -1,7 +1,0 @@@
- Dancer-Plugin-REST*
- .build
--pm_to_blib
--t/logs
--*.old
--Makefile
--MANIFEST.bak
--cover_db
--blib
diff --cc .perlcriticrc
index ff69073,ff69073..000
deleted file mode 100644,100644
--- a/.perlcriticrc
+++ /dev/null
@@@ -1,57 -1,57 +1,0 @@@
--verbose  = [%p] %m at %f line %l, near '%r'\n
--severity = 2
--
--# we don't want these POD rules
--[-Documentation::RequirePodSections]
--
--# we want to be able to define short getters
--[-Subroutines::RequireFinalReturn]
--
--# we use eval strings in Dancer for dynamic loading
--[-BuiltinFunctions::ProhibitStringyEval] 
--
--# we use magic closure bindings in some places 
--[-TestingAndDebugging::ProhibitNoStrict]
--[-TestingAndDebugging::ProhibitNoWarnings]
--
--# We're not under CVS! :)
--[-Miscellanea::RequireRcsKeywords]
--
--# only Dancer.pm matters here
--[-Modules::RequireVersionVar]
--
--# we use postifx controls
--[-ControlStructures::ProhibitPostfixControls]
--
--# we provide syntactic sugar, so we need them
--[-Subroutines::ProhibitSubroutinePrototypes]
--
--# we check $@
--[-ErrorHandling::RequireCheckingReturnValueOfEval] 
--
--# we use $@ and $!
--[-Variables::ProhibitPunctuationVars] 
--
--# we don't check close
--[-InputOutput::RequireCheckedClose]
--
--# I really don't think q{/} is more readable than '/'...
--[-ValuesAndExpressions::ProhibitNoisyQuotes]
--
--# We don't care about POD links for now
--[-Documentation::RequirePodLinksIncludeText]
--
--[-RegularExpressions::RequireExtendedFormatting]
--minimum_regex_length_to_complain_about = 5
--
--# we have name and log here
--[-Subroutines::ProhibitBuiltinHomonyms]
--
--[-ValuesAndExpressions::ProhibitMagicNumbers]
--
--[-Subroutines::RequireArgUnpacking]
--
--[-Modules::ProhibitAutomaticExportation]
--
--[-ValuesAndExpressions::ProhibitCommaSeparatedStatements]
--[-ControlStructures::ProhibitUnlessBlocks]
diff --cc .perltidyrc
index 5866d16,5866d16..000
deleted file mode 100644,100644
--- a/.perltidyrc
+++ /dev/null
@@@ -1,34 -1,34 +1,0 @@@
---l=79   # Max line width is 79 cols
---i=4# Indent level is 4 cols
---ci=4   # Continuation indent is 4 cols
--
---b 
---se # Errors to STDERR
---vt=2   # Maximal vertical tightness
---cti=0  # No extra indentation for closing brackets
---pt=1   # Medium parenthesis tightness
---bt=1   # Medium brace tightness
---sbt=1  # Medium square bracket tightness
---bbt=1  # Medium block brace tightness
---nsfs   # No space before semicolons
---nolq   # Don't outdent long quoted strings
---wbb=% + - * / x != == = = =~   |  **= += *= = = = -= /= |= = 
||= .= %= ^= x=
--# Break before all operators
--
--# extras/overrides/deviations from PBP
maximum-line-length=79# be less generous
warning-output# Show warnings
maximum-consecutive-blank-lines=2 # default is 1
nohanging-side-comments   # troublesome for commented out code
--
---isbc   # block comments may only be indented if they have some space 
characters before the #
---ci=2   # Continuation indent is 2 cols
--
--# we use version control, so just rewrite the file
---b
--
--# for the up-tight folk :)
---pt=2   # High parenthesis tightness
---bt=2   # High brace tightness
---sbt=2  # High square bracket tightness
--
diff --cc Build.PL
index 000,000..bb89b99
new file mode 100644
--- /dev/null
+++ b/Build.PL
@@@ -1,0 -1,0 +1,68 @@@
++
++# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild 
v5.013.
++use strict;
++use warnings;
++
++use Module::Build 0.3601;
++
++
++my %module_build_args = (
++  build_requires = {
++Module::Build = 

[libdancer-plugin-rest-perl] 01/12: Merge branch 'release/0.07' into devel

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.08
in repository libdancer-plugin-rest-perl.

commit 16c53c059eabe2a7adfd9e0b617868b470e285dc
Merge: a38d72c 282e49c
Author: Alexis Sukrieh suk...@sukria.net
Date:   Tue Nov 1 23:08:26 2011 +0100

Merge branch 'release/0.07' into devel

 CHANGES   | 6 ++
 lib/Dancer/Plugin/REST.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 41/63: wants Dancer 1.2

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit a7c524cb7603d693e647f0b88d8bc92e526c8934
Author: Alexis Sukrieh ale...@weborama.com
Date:   Wed Dec 22 16:46:37 2010 +0100

wants Dancer 1.2
---
 Makefile.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.PL b/Makefile.PL
index fe9ff4a..3f4c5e6 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -17,7 +17,7 @@ WriteMakefile1(
 },
 
 PREREQ_PM = {
-'Dancer' = '1.1999_02',
+'Dancer' = '1.2000',
 'JSON'   = 0,
 },
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 05/12: changelog

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.08
in repository libdancer-plugin-rest-perl.

commit a71e98ed62a26e8fe9c3841fcae900307cd12050
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Mon Mar 3 15:12:21 2014 -0500

changelog
---
 CHANGES | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/CHANGES b/CHANGES
index 3253bbf..7832db3 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,9 @@
+$NEXT
+
+[BUG FIXES]
+* 'prepare_serializer_for_format' was clobbering the
+default serializer. (RT#93478, reported by Pierre Vigier)
+
 0.072011-11-01
 
 * Minor updates to fix warnings with Dancer 1.3080

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 30/63: changed route definition order in 'resource'

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 1bc17895ae412a736e16ca07b0b1e6101e8e3fe4
Author: Alexis Sukrieh suk...@sukria.net
Date:   Thu Oct 14 11:14:01 2010 +0200

changed route definition order in 'resource'
---
 lib/Dancer/Plugin/REST.pm | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index 62bc8f8..8ecf2b3 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -45,17 +45,17 @@ sub {
 defined $triggers{delete} and
 defined $triggers{create};
 
-get /${resource}/:id = $triggers{get};
 get /${resource}/:id.:format = $triggers{get};
+get /${resource}/:id = $triggers{get};
 
-put /${resource}/:id = $triggers{update};
 put /${resource}/:id.:format = $triggers{update};
+put /${resource}/:id = $triggers{update};
 
-post /${resource} = $triggers{create};
 post /${resource}.:format = $triggers{create};
+post /${resource} = $triggers{create};
 
-del /${resource}/:id = $triggers{delete};
 del /${resource}/:id.:format = $triggers{delete};
+del /${resource}/:id = $triggers{delete};
 };
 
 register_plugin;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] annotated tag v0.11 created (now dd08ed5)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a change to annotated tag v0.11
in repository libdancer-plugin-rest-perl.

at  dd08ed5   (tag)
   tagging  ff6c9fc93c2450e4d6e6a2968c754733e01c1dcd (commit)
  replaces  0.4
 tagged by  Yanick Champoux
on  Tue Mar 25 08:06:25 2014 -0400

- Log -
v0.11

Alexis Sukrieh (22):
  Merge branch 'review/loonypandora' into devel
  fix test, use Dancer::Test
  FIX content_types
  remove useless t/TestUtils.pm
  MANIFEST update
  depends on Dancer 1.3014
  fixe test suite
  bump version to 0.05
  CHANGES update
  Merge branch 'release/0.05'
  Merge branch 'release/0.05' into devel
  FIX test t/03_resource.t (skip if not Dancer 1.3059_01)
  CHANGES update
  Bump version
  fix test t/04_plugin_settings.t
  Merge branch 'release/0.06'
  Merge branch 'release/0.06' into devel
  use hook instead of before, fix POD
  Bump version in main module
  CHANGES update
  Merge branch 'release/0.07'
  Merge branch 'release/0.07' into devel

Breno G. de Oliveira (1):
  tests for resource params and prepare_serializer_for_format

James Aitken (1):
  Fixing typos and grammar.

Yanick Champoux (22):
  reset the serializer once done
  wip
  fix error dispatch
  changelog
  Merge branch 'default-serializer' into devel
  dzil the distro
  Merge branch 'dzil'
  serializer wasn't detected in time for deserialization
  Merge branch 'postman-rings-twice'
  add test
  v0.08
  Build results of cb4a09a (on master)
  skip test if XML::Simple is not present
  v0.09
  Build results of b89d913 (on master)
  up Dancer dependency
  code refactoring
  Build results of 2f64ae1 (on master)
  v0.10
  order of route creation is important
  Merge branch 'pr/3'
  Build results of 8321c38 (on master)

---

This annotated tag includes the following new commits:

   new  d9b3392   README
   new  dab5657   lib/Dancer/Plugin/REST.pm
   new  b7e2079   git ignore rules
   new  a2e0421   first test script
   new  20e8d32   MakefilePL
   new  725b5d0   POD
   new  38fadbd   depends on Dancer 1.180
   new  27f063b   TestUtils.pm from Dancer to ease testing reponse
   new  be0f0e6   test scrtipt for prepare_serializer_for_format
   new  8f0efe4   TestUtils support body params in fake_request
   new  5b8d80f   support for resource definition in Dancer::Plugin::REST
   new  e4526b9   git ignore rules
   new  20c2014   test script for resource
   new  c09e00c   CHANGES update
   new  a05d52d   load serializers list from config is available
   new  bc1fd6c   plugin_setting is exported by Dancer::Plugin now
   new  3d8c603   MANIFEST update
   new  67504b9   MANIFEST updates
   new  e38b3db   plugin_setting is exported from dancer::plugin
   new  3078747   Merge branch 'master' of 
http://github.com/franckcuny/Dancer-Plugin-REST
   new  4345844   check for supported format request in before filter
   new  0be294a   Makefile.PL update
   new  56894aa   ignore rules
   new  d605177   ignore cover_db
   new  e4b56ec   version 0.0001_01
   new  3f89936   t/02_prepare_serializer_for_format.t: more tests, 
refactored
   new  d06fb11   t/03_resource.t: test resource when not given 4 hooks
   new  831e62f   100% cover rate
   new  da919ca   Version 0.02 + MANIFEST and Changes updates
   new  1bc1789   changed route definition order in 'resource'
   new  3521259   CHANGES update
   new  9b9073a   add some helpers funcions to modify the HTTP status
   new  2865d8f   VERSION 0.003
   new  057e24f   new header interface in test script
   new  a304161   refactoring of status_ helpers
   new  2d66043   perlcritic/perltidy conf files
   new  aefc4cb   Dancer 1.1999_02 needed
   new  feb8c2e   Changes entries
   new  7f06a61   version 0.04
   new  1a05158   FIX test with new Dancer
   new  a7c524c   wants Dancer 1.2
   new  0525348   Fixing typos and grammar.
   new  b7ea59a   Merge branch 'review/loonypandora' into devel
   new  d2e2643   fix test, use Dancer::Test
   new  ae65b0a   FIX content_types
   new  6eed50f   remove useless t/TestUtils.pm
   new  697f47e   MANIFEST update
   new  5a872fb   depends on Dancer 1.3014
   new  d85b939   fixe test suite
   new  3a4df57   bump version to 0.05
   new  014d4c1   CHANGES update
   new  e343c87   Merge branch 'release/0.05'
   new  d60619b   Merge branch 'release/0.05' into devel
   new  0eb81d3   FIX test t/03_resource.t (skip if not Dancer 1.3059_01)
   new  74cb536   CHANGES update
   new  c76ffc2   Bump version

[libdancer-plugin-rest-perl] 01/03: v0.08

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.09
in repository libdancer-plugin-rest-perl.

commit 0037e32268361e7f32f87f626e2d090596cc727d
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Mon Mar 10 21:05:05 2014 -0400

v0.08

 [BUG FIXES]
 - 'prepare_serializer_for_format' was clobbering the default serializer.
   (RT#93478, reported by Pierre Vigier, fix by Yanick Champoux)
 - serializer not detected in time for first deserialization.  (RT#78437,
   reported by Andrew Solomon, fix by Yanick Champoux)

 [STATISTICS]
 - code churn: 12 files changed, 172 insertions(+), 111 deletions(-)
---
 Changes | 20 ++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/Changes b/Changes
index eeb3dfe..a0e4bb3 100644
--- a/Changes
+++ b/Changes
@@ -1,11 +1,27 @@
 Revision history for {{$DIST}}
 
 {{$NEXT}}
+ [API CHANGES]
+
+ [BUG FIXES]
+
+ [DOCUMENTATION]
+
+ [ENHANCEMENTS]
+
+ [NEW FEATURES]
+
+ [STATISTICS]
+
+0.08 2014-03-10
  [BUG FIXES]
  - 'prepare_serializer_for_format' was clobbering the default serializer.
(RT#93478, reported by Pierre Vigier, fix by Yanick Champoux)
- - serializer not detected in time for first deserialization. 
-(RT#78437, reported by Andrew Solomon, fix by Yanick Champoux)
+ - serializer not detected in time for first deserialization.  (RT#78437,
+   reported by Andrew Solomon, fix by Yanick Champoux)
+
+ [STATISTICS]
+ - code churn: 12 files changed, 172 insertions(+), 111 deletions(-)
 
 0.07 2011-11-01
  - Minor updates to fix warnings with Dancer 1.3080

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 54/63: FIX test t/03_resource.t (skip if not Dancer 1.3059_01)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 0eb81d32072f8fce9fb60dedd501eb538c29b42f
Author: Alexis Sukrieh suk...@sukria.net
Date:   Sat May 28 14:55:46 2011 +0200

FIX test t/03_resource.t (skip if not Dancer 1.3059_01)
---
 t/03_resource.t | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/t/03_resource.t b/t/03_resource.t
index 3b59dd0..8812ae9 100644
--- a/t/03_resource.t
+++ b/t/03_resource.t
@@ -3,6 +3,13 @@ use warnings;
 use Dancer::ModuleLoader;
 use Test::More import = ['!pass'];
 
+# Dancer::Test had a bug in version previous 1.3059_01 that prevent this test
+# from running correctly.
+my $dancer_version = eval \$Dancer::VERSION;
+$dancer_version =~ s/_//g;
+plan skip_all = Dancer 1.3059_01 is needed for this test (you have 
$dancer_version)
+  if $dancer_version  1.305901;
+
 plan tests = 8;
 
 {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 60/63: use hook instead of before, fix POD

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit a38d72c1b0505b49269398bf55d6875875b38481
Author: Alexis Sukrieh suk...@sukria.net
Date:   Tue Nov 1 23:02:54 2011 +0100

use hook instead of before, fix POD
---
 lib/Dancer/Plugin/REST.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Dancer/Plugin/REST.pm b/lib/Dancer/Plugin/REST.pm
index bfb116a..063c4ea 100644
--- a/lib/Dancer/Plugin/REST.pm
+++ b/lib/Dancer/Plugin/REST.pm
@@ -27,7 +27,7 @@ register prepare_serializer_for_format = sub {
 }
 );
 
-before sub {
+hook 'before' = sub {
 my $format = params-{'format'};
 return unless defined $format;
 
@@ -223,8 +223,8 @@ This keyword lets you declare a resource your application 
will handle.
 # this defines the following routes:
 # GET /user/:id
 # GET /user/:id.:format
-# POST /user/create
-# POST /user/create.:format
+# POST /user
+# POST /user.:format
 # DELETE /user/:id
 # DELETE /user/:id.:format
 # PUT /user/:id

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


[libdancer-plugin-rest-perl] 04/04: Build results of 2f64ae1 (on master)

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v0.10
in repository libdancer-plugin-rest-perl.

commit d78de76b0c0a5f8de5b16c752a9a3e55f04b9bd2
Merge: 2f64ae1 cdb27f9
Author: Yanick Champoux yan...@babyl.dyndns.org
Date:   Sat Mar 22 11:21:42 2014 -0400

Build results of 2f64ae1 (on master)

 .gitignore   |   9 -
 .mailmap |   2 -
 .perlcriticrc|  57 ---
 .perltidyrc  |  34 
 Build.PL |  68 
 CONTRIBUTORS |  10 ++
 Changes  |  11 +-
 INSTALL  |  44 +
 LICENSE  | 379 +++
 MANIFEST.SKIP|  11 --
 META.json|  80 +
 META.yml |  43 +
 README   | 114 -
 README.mkdn  | 125 ++
 SIGNATURE|   0
 dist.ini |  14 --
 lib/Dancer/Plugin/REST.pm|  45 -
 t/00-compile.t   |  50 ++
 t/000-report-versions-tiny.t |  82 ++
 xt/release/unused-vars.t |   8 +
 20 files changed, 1043 insertions(+), 143 deletions(-)

diff --cc Build.PL
index 000,0ef8c61..1c514b9
mode 00,100644..100644
--- a/Build.PL
+++ b/Build.PL
@@@ -1,0 -1,68 +1,68 @@@
+ 
+ # This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild 
v5.013.
+ use strict;
+ use warnings;
+ 
+ use Module::Build 0.3601;
+ 
+ 
+ my %module_build_args = (
+   build_requires = {
+ Module::Build = 0.3601
+   },
+   configure_requires = {
+ Module::Build = 0.3601
+   },
+   dist_abstract = A plugin for writing RESTful apps with Dancer,
+   dist_author = [
+ Alexis Sukrieh sukria\@sukria.net,
+ Franck Cuny franckc\@cpan.org
+   ],
+   dist_name = Dancer-Plugin-REST,
 -  dist_version = 0.09,
++  dist_version = 0.10,
+   license = perl,
+   module_name = Dancer::Plugin::REST,
+   recommends = {},
+   recursive_test_files = 1,
+   requires = {
+ Carp = 0,
 -Dancer = 0,
++Dancer = 1.3111,
+ Dancer::Plugin = 0,
+ strict = 0,
+ warnings = 0
+   },
+   script_files = [],
+   test_requires = {
+ Dancer::ModuleLoader = 0,
+ Dancer::Test = 0,
+ File::Spec = 0,
+ HTTP::Headers = 0,
+ IO::Handle = 0,
+ IPC::Open3 = 0,
+ Test::More = 0.88,
+ perl = 5.006
+   }
+ );
+ 
+ 
+ my %fallback_build_requires = (
+   Dancer::ModuleLoader = 0,
+   Dancer::Test = 0,
+   File::Spec = 0,
+   HTTP::Headers = 0,
+   IO::Handle = 0,
+   IPC::Open3 = 0,
+   Module::Build = 0.3601,
+   Test::More = 0.88,
+   perl = 5.006
+ );
+ 
+ 
+ unless ( eval { Module::Build-VERSION(0.4004) } ) {
+   delete $module_build_args{test_requires};
+   $module_build_args{build_requires} = \%fallback_build_requires;
+ }
+ 
+ my $build = Module::Build-new(%module_build_args);
+ 
+ $build-create_build_script;
diff --cc Changes
index e2a8be8,84f9d91..8b4a56a
--- a/Changes
+++ b/Changes
@@@ -1,20 -1,5 +1,15 @@@
- Revision history for {{$DIST}}
- 
- {{$NEXT}}
-  [API CHANGES]
+ Revision history for
  
++0.10 2014-03-22
 + [BUG FIXES]
 + - Requires Dancer v1.3111 or better. (GH#2, reported by OverlordQ)
 +
-  [DOCUMENTATION]
- 
 + [ENHANCEMENTS]
 + - 'resource' can now be used with a subset of its actions.
 +
-  [NEW FEATURES]
- 
 + [STATISTICS]
++ - code churn: 4 files changed, 42 insertions(+), 25 deletions(-)
 +
  0.09 2014-03-11
   [BUG FIXES]
   - Skip test if XML::Simple is not installed.
diff --cc META.json
index 000,3fe5dcc..7d3d311
mode 00,100644..100644
--- a/META.json
+++ b/META.json
@@@ -1,0 -1,80 +1,80 @@@
+ {
+abstract : A plugin for writing RESTful apps with Dancer,
+author : [
+   Alexis Sukrieh suk...@sukria.net,
+   Franck Cuny fran...@cpan.org
+],
+dynamic_config : 0,
+generated_by : Dist::Zilla version 5.013, CPAN::Meta::Converter version 
2.140640,
+license : [
+   perl_5
+],
+meta-spec : {
+   url : http://search.cpan.org/perldoc?CPAN::Meta::Spec;,
+   version : 2
+},
+name : Dancer-Plugin-REST,
+prereqs : {
+   build : {
+  requires : {
+ Module::Build : 0.3601
+  }
+   },
+   configure : {
+  requires : {
+ Module::Build : 0.3601
+  }
+   },
+   develop : {
+  requires : {
+ version : 0.9901
+  }
+   },
+   runtime : {
+  requires : {
+ Carp : 0,
 -Dancer : 0,
++Dancer : 1.3111,
+ Dancer::Plugin : 0,
+ strict : 0,
+ warnings : 0
+  }
+   },
+   test : {
+  requires : {
+ Dancer::ModuleLoader : 0,
+ Dancer::Test : 0,
+ File::Spec : 0,
+ HTTP::Headers : 0,
+ IO::Handle : 0,
+ IPC::Open3 : 0,
+   

[libdancer-plugin-rest-perl] 40/63: FIX test with new Dancer

2014-07-02 Thread Jonas Smedegaard
This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag 0.07
in repository libdancer-plugin-rest-perl.

commit 1a051580b79fc0bff1829a88f554676faa61937b
Author: Alexis Sukrieh ale...@weborama.com
Date:   Wed Dec 22 16:46:04 2010 +0100

FIX test with new Dancer
---
 t/04_plugin_settings.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/04_plugin_settings.t b/t/04_plugin_settings.t
index 9cde91d..325eca9 100644
--- a/t/04_plugin_settings.t
+++ b/t/04_plugin_settings.t
@@ -44,7 +44,7 @@ my @tests = (
 },
 { 
 request = [GET = '/foo.json'],
-response = qr/Error 500.*Unable to process your query/ms
+response = qr/An internal error occured/ms
 },
 { 
 request = [GET = '/foo.yaml'],

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits


  1   2   3   >