Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 0.11.
Browse files Browse the repository at this point in the history
Changelog diff is:

diff --git a/Changes b/Changes
index 95f6294..3596b44 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,10 @@

 {{$NEXT}}

+0.11 2015-03-01T11:42:12Z
+
+   - fixed some issues for the template
+
 0.10 2015-03-01T09:02:09Z

    - fixed template!
  • Loading branch information
yusukebe committed Mar 1, 2015
1 parent 82865a4 commit e673bc1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

{{$NEXT}}

0.11 2015-03-01T11:42:12Z

- fixed some issues for the template

0.10 2015-03-01T09:02:09Z

- fixed template!
Expand Down
2 changes: 1 addition & 1 deletion META.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@
"web" : "https://github.com/yusukebe/Test-JSON-RPC-Autodoc"
}
},
"version" : "0.10",
"version" : "0.11",
"x_authority" : "cpan:YUSUKEBE"
}
2 changes: 1 addition & 1 deletion lib/Test/JSON/RPC/Autodoc.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Path::Tiny qw/path/;
use Text::Xslate;
use Test::JSON::RPC::Autodoc::Request;

our $VERSION = "0.10";
our $VERSION = "0.11";

sub new {
my ($class, %opt) = @_;
Expand Down
6 changes: 4 additions & 2 deletions share/template.tx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@

: if $request.label {
### Request `<: $request.label :>`
: }else{
### Request
: }

#### Headers

```
<: $request.headers.as_string | mark_raw :>
<: $request.headers.as_string | mark_raw -:>
```

#### Content
Expand All @@ -19,7 +21,7 @@
<: $request.main_content | mark_raw -:>
```

### Parameters
#### Parameters

: for $request.rule.keys() -> $name {
: if (my $documentation = $request.rule[$name]["documentation"]) {
Expand Down
11 changes: 5 additions & 6 deletions t/sample.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
```
Content-Length: 135
Content-Type: application/json
```

#### Content
Expand All @@ -25,7 +24,7 @@ Content-Type: application/json
}
```

### Parameters
#### Parameters

* country - Your country
* `isa`: **Str**
Expand All @@ -50,13 +49,13 @@ Content-Type: application/json

## METHOD `echo`

### Request

#### Headers

```
Content-Length: 113
Content-Type: application/json
```

#### Content
Expand All @@ -72,7 +71,7 @@ Content-Type: application/json
}
```

### Parameters
#### Parameters

* language - あなたの言語は?
* `default`: **English**
Expand All @@ -94,13 +93,13 @@ Content-Type: application/json

## METHOD `echo`

### Request

#### Headers

```
Content-Length: 78
Content-Type: application/json
```

#### Content
Expand All @@ -114,7 +113,7 @@ Content-Type: application/json
}
```

### Parameters
#### Parameters


### Response
Expand Down

0 comments on commit e673bc1

Please sign in to comment.