Skip to content

Commit

Permalink
v2.3.1 enhanced composer create-project + added angular filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jad Joubran committed Aug 7, 2015
1 parent 5c1c1a1 commit 43da344
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 7 deletions.
2 changes: 1 addition & 1 deletion angular/app/sidebar/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<md-sidenav class="Sidebar md-sidenav-left md-whiteframe-z2" md-component-id="left" md-is-locked-open="true">
<md-toolbar class="">
<h1 class="md-toolbar-tools Sidebar-title">Laravel 5 angular material starter</h1>
<h6 class="Sidebar-version">v 2.3.0</h6>
<h6 class="Sidebar-version">v 2.3.1</h6>
</md-toolbar>
<md-content class="Sidebar-pages md-default-theme">
<md-list>
Expand Down
16 changes: 16 additions & 0 deletions angular/filters/human_readable.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
(function(){
"use strict";

angular.module('app.filters').filter( 'humanReadable', function(){
return function humanize(str) {
if ( !str ){
return '';
}
var frags = str.split('_');
for (var i=0; i<frags.length; i++) {
frags[i] = frags[i].charAt(0).toUpperCase() + frags[i].slice(1);
}
return frags.join(' ');
};
});
})();
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@
],
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php -r \"unlink('code_of_conduct.md');\"",
"php -r \"unlink('Procfile');\"",
"php artisan key:generate",
"php artisan jwt:generate"
"php artisan jwt:generate"
]
}
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "2.2.3",
"devDependencies": {
"gulp": "^3.9.0",
"laravel-elixir": "^2.0.0",
Expand Down
18 changes: 17 additions & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/views/app/sidebar/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<md-sidenav class="Sidebar md-sidenav-left md-whiteframe-z2" md-component-id="left" md-is-locked-open="true">
<md-toolbar class="">
<h1 class="md-toolbar-tools Sidebar-title">Laravel 5 angular material starter</h1>
<h6 class="Sidebar-version">v 2.3.0</h6>
<h6 class="Sidebar-version">v 2.3.1</h6>
</md-toolbar>
<md-content class="Sidebar-pages md-default-theme">
<md-list>
Expand Down
7 changes: 5 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,10 @@ Open a new issue, I'd love to help.
<a name="planned_features"></a>
## Planned features

- human readable filter + update documentation
- toast service + update documentation
- dialog service + update documentation
- redirect to unsupported browser page
- New demo pages: Rest API, loading bar, debugbar
- New demo pages: Rest API, loading bar, debugbar, filters
- Update to elixir 3.0 + use elixir.json
- fix gulp bower task
- continue heroku setup (database, migrations, seeding)
Expand All @@ -78,6 +77,10 @@ Open a new issue, I'd love to help.
<a name="changelog"></a>
## Changelog

### v2.3.1
+ removing development files using post-create-project-cmd
+ added `human_readable` angular filter

### v2.3.0
+ Simplified installation, now using `composer create-project`
+ fix issue with http over https
Expand Down

0 comments on commit 43da344

Please sign in to comment.