Skip to content

Commit

Permalink
Master synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
bestmomo committed Dec 5, 2014
1 parent 7f81666 commit f900e72
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 128 deletions.
6 changes: 6 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"directory": "vendor/bower_components",
"scripts": {
"postinstall": "gulp publish"
}
}
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
DB_USERNAME=homestead
DB_PASSWORD=homestead
2 changes: 1 addition & 1 deletion app/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
|
*/

$router->controllers([
Route::controllers([
'auth' => 'Auth\AuthController',
'password' => 'Auth\PasswordController',
]);
2 changes: 1 addition & 1 deletion app/Models/DateAttribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function getUpdatedAtAttribute($date)
}

/**
* Format updated_at attribute
* Format date
*
* @return string
*/
Expand Down
12 changes: 0 additions & 12 deletions artisan
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@

require __DIR__.'/bootstrap/autoload.php';

/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let's turn on the lights.
| This bootstraps the framework and gets it ready for and then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight these users.
|
*/

$app = require_once __DIR__.'/bootstrap/app.php';

/*
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
|
*/

'debug' => true,
'debug' => (bool) getenv('APP_DEBUG') ?: false,

/*
|--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion config/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|
*/

'driver' => 'file',
'driver' => getenv('CACHE_DRIVER') ?: 'file',

/*
|--------------------------------------------------------------------------
Expand Down
18 changes: 0 additions & 18 deletions config/local/app.php

This file was deleted.

47 changes: 0 additions & 47 deletions config/local/database.php

This file was deleted.

Empty file removed config/packages/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions config/queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
| API, giving you convenient access to each back-end using the same
| syntax for each one. Here you may set the default queue driver.
|
| Supported: "sync", "beanstalkd", "sqs", "iron", "redis"
| Supported: "null", "sync", "beanstalkd", "sqs", "iron", "redis"
|
*/

'default' => 'sync',
'default' => getenv('QUEUE_DRIVER') ?: 'sync',

/*
|--------------------------------------------------------------------------
Expand Down
20 changes: 0 additions & 20 deletions config/testing/cache.php

This file was deleted.

21 changes: 0 additions & 21 deletions config/testing/session.php

This file was deleted.

7 changes: 3 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ var elixir = require('laravel-elixir');
*/

elixir(function(mix) {
mix.sass("bootstrap.scss")
.routes()
.events()
.phpUnit();
mix.sass("app.scss")
.phpUnit()
.publish("vendor/bower_components");
});
2 changes: 2 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
</php>
</phpunit>

0 comments on commit f900e72

Please sign in to comment.