Skip to content

Commit 59b5d41

Browse files
committed
Update Readme and Version Up
1 parent ab9fa8a commit 59b5d41

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,20 @@ $data = array(
319319
);
320320
```
321321

322+
## Testing
323+
324+
Since version **1.1.0** I've added a new test suite to be sure that the basic features of this plugin do what it's expected.
325+
326+
You can run this test using the following command
327+
328+
```
329+
includes/vendor/bin/phpunit tests
330+
```
331+
332+
![Command Line Output](https://s3.amazonaws.com/f.cl.ly/items/2o0j0a403A0N1a0r1C3H/Image%202016-02-27%20at%208.16.48%20PM.png?v=5fe1c76e)
333+
334+
All the tests can be found at https://github.com/Tmeister/wp-api-jwt-auth/tree/develop/tests/GeneralTest.php
335+
322336
##Credits
323337
[WP REST API V2](http://v2.wp-api.org/)
324338

includes/class-jwt-auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Jwt_Auth
6565
public function __construct()
6666
{
6767
$this->plugin_name = 'jwt-auth';
68-
$this->version = '1.0.0';
68+
$this->version = '1.1.0';
6969

7070
$this->load_dependencies();
7171
$this->set_locale();

jwt-auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Plugin Name: JWT Authentication for WP-API
1616
* Plugin URI: https://enriquechavez.co
1717
* Description: Extends the WP REST API using JSON Web Tokens Authentication as an authentication method.
18-
* Version: 1.0.0
18+
* Version: 1.1.0
1919
* Author: Enrique Chavez
2020
* Author URI: https://enriquechavez.co
2121
* License: GPL-2.0+

readme.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Contributors: tmeister
44
Donate link: https://enriquechavez.co
55
Tags: wp-json, jwt, json web authentication, wp-api
66
Requires at least: 4.2
7-
Tested up to: 4.3
8-
Stable tag: 1.0
7+
Tested up to: 4.4.2
8+
Stable tag: 1.1.0
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -343,5 +343,8 @@ $data = array(
343343
= 1.0.0 =
344344
* Initial Release.
345345

346+
= 1.1.0 =
347+
* Test Suite Added
348+
346349
== Upgrade Notice ==
347350
.

0 commit comments

Comments
 (0)