Permalink
Browse files

updated composer.json and PEAR packaging

 - This commit updates the composer.json to the correct version
 - Updates the PEAR related assets to reflect the current version and build state
  • Loading branch information...
1 parent 9fe3283 commit fb505c73394aaf3e0a5b150a450c7191ccf3f0fb @zircote committed Nov 28, 2012
Showing with 63 additions and 63 deletions.
  1. +28 −18 composer.json
  2. +19 −24 package.xml
  3. +16 −21 scripts/package.php
View
@@ -1,26 +1,36 @@
{
- "name": "zircote/Hal",
- "type": "library",
- "version": "0.2.0",
- "time" : "2012-04-01",
- "license" : "Apache2",
- "description": "A PHP implementation of HAL http://stateless.co/hal_specification.html",
- "keywords": ["Hal", "json", "api", "HATEOAS"],
- "homepage": "https://github.com/zircote/Hal/",
- "authors": [
+ "name":"zircote/hal",
+ "type":"library",
+ "version":"0.3.0",
+ "time":"2012-11-27",
+ "license":"Apache-2.0",
+ "description":"A PHP implementation of HAL http://stateless.co/hal_specification.html",
+ "keywords":["Hal", "json", "api", "HATEOAS"],
+ "homepage":"https://github.com/zircote/Hal/",
+ "authors":[
{
- "name" : "Robert Allen",
- "email": "zircote@gmail.com",
- "homepage": "http://www.zircote.com"
+ "name":"Robert Allen",
+ "email":"zircote@gmail.com",
+ "homepage":"http://www.zircote.com"
+ },
+ {
+ "name":"Herman J. Radtke III",
+ "email":"hermanradtke@gmail.com",
+ "homepage":"http://hermanradtke.com"
+ },
+ {
+ "name":"Baldur Rensch"
}
],
- "require": {
- "php": ">=5.3.3"
+ "require":{
+ "php":">=5.3.3"
},
- "require-dev": {
- "phpunit/phpunit": "3.7.*"
+ "require-dev":{
+ "phpunit/phpunit":"3.7.*"
},
- "autoload": {
- "psr-0": {"Hal": "library"}
+ "autoload":{
+ "psr-0":{
+ "Hal":"library"
+ }
}
}
View
@@ -7,36 +7,31 @@
<channel>zircote.com/pear</channel>
<summary>A PHP library for HAL generation</summary>
<description>HAL is a simple way of linking with JSON or XML.
-&lt;p/&gt;
-It provides a set of conventions for expressing hyperlinks to, and embeddedness
-of, related resources - the rest of a HAL document is just plain old JSON or XML.
-&lt;p/&gt;
-HAL is a bit like HTML for machines, in that it is designed to drive many
-different types of application. The difference is that HTML is intended for
-presenting a graphical hypertext interface to a &apos;human actor&apos;, whereas HAL is
-intended for presenting a machine hypertext interface to &apos;automated actors&apos;.
-&lt;p/&gt;
-This document contains a formalised specification of HAL. For a friendlier, more
- pracitcal introduction to HAL you can read this article: JSON Linking with HAL
-&lt;p/&gt;
+
+It provides a set of conventions for expressing hyperlinks to, and embeddedness of, related resources - the rest of a HAL document is just plain old JSON or XML.
+
+HAL is a bit like HTML for machines, in that it is designed to drive many different types of application. The difference is that HTML is intended for presenting a graphical hypertext interface to a &apos;human actor&apos;, whereas HAL is intended for presenting a machine hypertext interface to &apos;automated actors&apos;.
+
+This document contains a formalised specification of HAL. For a friendlier, more pracitcal introduction to HAL you can read this article: JSON Linking with HAL
+
HAL has two main components: Resources and Links.
-&lt;p/&gt;
-&lt;ul&gt;
-&lt;li&gt;https://github.com/zircote/Hal&lt;/li&gt;
-&lt;li&gt;http://groups.google.com/group/hal-discuss&lt;/li&gt;
-&lt;li&gt;http://stateless.co/hal_specification.html&lt;/li&gt;
-&lt;li&gt;http://blog.stateless.co/post/13296666138/json-linking-with-hal&lt;/li&gt;
-&lt;li&gt;http://www.mnot.net/blog/2011/11/25/linking_in_json&lt;/li&gt;
-&lt;li&gt;https://gist.github.com/2289546&lt;/li&gt;
-&lt;/ul&gt;</description>
+
+ - https://github.com/zircote/Hal
+ - http://groups.google.com/group/hal-discuss
+ - http://stateless.co/hal_specification.html
+ - http://blog.stateless.co/post/13296666138/json-linking-with-hal
+ - http://www.mnot.net/blog/2011/11/25/linking_in_json
+ - https://gist.github.com/2289546
+
+ </description>
<lead>
<name>Robert Allen</name>
<user>zircote</user>
<email>zircote@gmail.com</email>
<active>yes</active>
</lead>
- <date>2012-11-25</date>
- <time>21:52:57</time>
+ <date>2012-11-26</date>
+ <time>01:53:15</time>
<version>
<release>0.2.0</release>
<api>0.2.0</api>
@@ -129,7 +124,7 @@ This is an alpha release, see readme.md for examples.
<release>beta</release>
<api>beta</api>
</stability>
- <date>2012-11-25</date>
+ <date>2012-11-26</date>
<license uri="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</license>
<notes>
This is an alpha release, see readme.md for examples.
View
@@ -43,28 +43,23 @@ function readDirectory($path)
$description =<<<EOF
HAL is a simple way of linking with JSON or XML.
-<p/>
-It provides a set of conventions for expressing hyperlinks to, and embeddedness
-of, related resources - the rest of a HAL document is just plain old JSON or XML.
-<p/>
-HAL is a bit like HTML for machines, in that it is designed to drive many
-different types of application. The difference is that HTML is intended for
-presenting a graphical hypertext interface to a 'human actor', whereas HAL is
-intended for presenting a machine hypertext interface to 'automated actors'.
-<p/>
-This document contains a formalised specification of HAL. For a friendlier, more
- pracitcal introduction to HAL you can read this article: JSON Linking with HAL
-<p/>
+
+It provides a set of conventions for expressing hyperlinks to, and embeddedness of, related resources - the rest of a HAL document is just plain old JSON or XML.
+
+HAL is a bit like HTML for machines, in that it is designed to drive many different types of application. The difference is that HTML is intended for presenting a graphical hypertext interface to a 'human actor', whereas HAL is intended for presenting a machine hypertext interface to 'automated actors'.
+
+This document contains a formalised specification of HAL. For a friendlier, more pracitcal introduction to HAL you can read this article: JSON Linking with HAL
+
HAL has two main components: Resources and Links.
-<p/>
-<ul>
-<li>https://github.com/zircote/Hal</li>
-<li>http://groups.google.com/group/hal-discuss</li>
-<li>http://stateless.co/hal_specification.html</li>
-<li>http://blog.stateless.co/post/13296666138/json-linking-with-hal</li>
-<li>http://www.mnot.net/blog/2011/11/25/linking_in_json</li>
-<li>https://gist.github.com/2289546</li>
-</ul>
+
+ - https://github.com/zircote/Hal
+ - http://groups.google.com/group/hal-discuss
+ - http://stateless.co/hal_specification.html
+ - http://blog.stateless.co/post/13296666138/json-linking-with-hal
+ - http://www.mnot.net/blog/2011/11/25/linking_in_json
+ - https://gist.github.com/2289546
+
+
EOF;
$package = new PEAR_PackageFileManager2();

0 comments on commit fb505c7

Please sign in to comment.