Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

Commit 8eec096

Browse files
committed
Merge branch 'release/v4.0.2'
2 parents 62b50e8 + 89bc565 commit 8eec096

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
This project adheres to [Semantic Versioning](CONTRIBUTING.md).
66

77

8+
## [v4.0.2] - 2020-04-04
9+
- Enforce consistent artisan command tag namespacing
10+
- Enforce consistent package namespace
11+
- Drop laravel/helpers usage as it's no longer used
12+
813
## [v4.0.1] - 2020-03-20
914
- Convert into bigInteger database fields
1015
- Add shortcut -f (force) for artisan publish commands
@@ -127,6 +132,7 @@ This project adheres to [Semantic Versioning](CONTRIBUTING.md).
127132
## v0.0.1 - 2017-04-08
128133
- Rename package to "rinvex/attributable" from "rinvex/sparse" based on 715a831
129134

135+
[v4.0.2]: https://github.com/rinvex/laravel-attributes/compare/v4.0.1...v4.0.2
130136
[v4.0.1]: https://github.com/rinvex/laravel-attributes/compare/v4.0.0...v4.0.1
131137
[v4.0.0]: https://github.com/rinvex/laravel-attributes/compare/v3.0.3...v4.0.0
132138
[v3.0.3]: https://github.com/rinvex/laravel-attributes/compare/v3.0.2...v3.0.3

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"illuminate/database": "^7.0.0",
5454
"illuminate/support": "^7.0.0",
5555
"jeremeamia/superclosure": "^2.4.0",
56-
"laravel/helpers": "^1.2.0",
5756
"rinvex/laravel-cacheable": "^4.0.0",
5857
"rinvex/laravel-support": "^4.0.0",
5958
"spatie/eloquent-sortable": "^3.7.0",
@@ -63,7 +62,7 @@
6362
"require-dev": {
6463
"codedungeon/phpunit-result-printer": "^0.27.0",
6564
"illuminate/container": "^7.0.0",
66-
"orchestra/testbench": "^3.6",
65+
"orchestra/testbench": "^5.0.0",
6766
"phpunit/phpunit": "^9.0.0"
6867
},
6968
"autoload": {

src/Console/Commands/PublishCommand.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ public function handle(): void
3333

3434
switch ($this->option('resource')) {
3535
case 'config':
36-
$this->call('vendor:publish', ['--tag' => 'rinvex-attributes-config', '--force' => $this->option('force')]);
36+
$this->call('vendor:publish', ['--tag' => 'rinvex/attributes::config', '--force' => $this->option('force')]);
3737
break;
3838
case 'migrations':
39-
$this->call('vendor:publish', ['--tag' => 'rinvex-attributes-migrations', '--force' => $this->option('force')]);
39+
$this->call('vendor:publish', ['--tag' => 'rinvex/attributes::migrations', '--force' => $this->option('force')]);
4040
break;
4141
default:
42-
$this->call('vendor:publish', ['--tag' => 'rinvex-attributes-config', '--force' => $this->option('force')]);
43-
$this->call('vendor:publish', ['--tag' => 'rinvex-attributes-migrations', '--force' => $this->option('force')]);
42+
$this->call('vendor:publish', ['--tag' => 'rinvex/attributes::config', '--force' => $this->option('force')]);
43+
$this->call('vendor:publish', ['--tag' => 'rinvex/attributes::migrations', '--force' => $this->option('force')]);
4444
break;
4545
}
4646

src/Providers/AttributesServiceProvider.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public function register()
5757
public function boot()
5858
{
5959
// Publish Resources
60-
$this->publishesConfig('rinvex/laravel-attributes');
61-
$this->publishesMigrations('rinvex/laravel-attributes');
62-
! $this->autoloadMigrations('rinvex.attributes') || $this->loadMigrationsFrom(__DIR__.'/../../database/migrations');
60+
$this->publishesConfig('rinvex/attributes');
61+
$this->publishesMigrations('rinvex/attributes');
62+
! $this->autoloadMigrations('rinvex/attributes') || $this->loadMigrationsFrom(__DIR__.'/../../database/migrations');
6363
}
6464
}

0 commit comments

Comments
 (0)