Skip to content

Commit aab2425

Browse files
committed
Changed package namespace to OneOffTech
1 parent f60c4df commit aab2425

36 files changed

+100
-115
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,6 @@ stages:
88
before_script:
99
- export COMPOSER_CACHE_DIR=`pwd`/.composer-cache
1010

11-
12-
unit_tests_5.6:
13-
cache:
14-
key: "laravel-tus-upload"
15-
paths:
16-
- .composer-cache/
17-
image: "docker.klink.asia/main/docker-php:5.6"
18-
tags:
19-
- docker
20-
stage: test
21-
script:
22-
- composer install --prefer-dist
23-
- ./vendor/bin/phpunit
24-
2511
unit_tests_7.0:
2612
cache:
2713
key: "laravel-tus-upload"

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "avvertix/laravel-tus-upload",
2+
"name": "oneofftech/laravel-tus-upload",
33
"description": "Upload files to your Laravel application with the tus.io resumable upload protocol.",
44
"keywords": ["laravel", "package", "tus", "upload"],
55
"license": "MIT",
@@ -25,7 +25,7 @@
2525
"database"
2626
],
2727
"psr-4": {
28-
"Avvertix\\TusUpload\\": "src/"
28+
"OneOffTech\\TusUpload\\": "src/"
2929
},
3030
"files" : [ "src/helpers.php" ]
3131
},

docs/database.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,4 @@ Here is a brief description of all the fields:
4545

4646
**Notes**
4747

48-
To keep the implementation not dependendant on the Users table and model, the `user_id` field, that defines the
49-
relationship with the user, is not a foreign key.
48+
To keep the implementation not dependendant on the Users table and model, the `user_id` field, that defines the relationship with the user, is not a foreign key.

hooks/linux/post-finish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
# pwd is vendor/avvertix/laravel-tus-upload/hooks/linux
3+
# pwd is vendor/oneofftech/laravel-tus-upload/hooks/linux
44
payload=$(cat /dev/stdin)
55
php ../../../../../artisan tus:hook -vvv post-finish "${payload}"

hooks/linux/post-receive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
# pwd is packages/uploaddy/hooks/linux
3+
# pwd is vendor/oneofftech/laravel-tus-upload/hooks/linux
44
payload=$(cat /dev/stdin)
55
php ../../../../../artisan tus:hook -vvv post-receive "${payload}"

hooks/linux/post-terminate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
# pwd is packages/uploaddy/hooks/linux
3+
# pwd is vendor/oneofftech/laravel-tus-upload/hooks/linux
44
payload=$(cat /dev/stdin)
55
php ../../../../../artisan tus:hook -vvv post-terminate "${payload}"

hooks/linux/pre-create

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
# pwd is packages/uploaddy/hooks/linux
3+
# pwd is vendor/oneofftech/laravel-tus-upload/hooks/linux
44
payload=$(cat /dev/stdin)
55
php ../../../../../artisan tus:hook -vvv pre-create "${payload}"

src/Concerns/ProcessHooks.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace Avvertix\TusUpload\Concerns;
3+
namespace OneOffTech\TusUpload\Concerns;
44

55
use Illuminate\Container\Container;
6-
use Avvertix\TusUpload\TusUpload;
7-
use Avvertix\TusUpload\Console\TusHookInput;
6+
use OneOffTech\TusUpload\TusUpload;
7+
use OneOffTech\TusUpload\Console\TusHookInput;
88
use Log;
99
use Exception;
1010

src/Console/Commands/TusHookProcessingCommand.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
namespace Avvertix\TusUpload\Console\Commands;
3+
namespace OneOffTech\TusUpload\Console\Commands;
44

55
use Illuminate\Console\Command;
6-
use Avvertix\TusUpload\TusUploadRepository;
7-
use Avvertix\TusUpload\Concerns\ProcessHooks;
8-
use Avvertix\TusUpload\Console\TusHookInput;
9-
use Avvertix\TusUpload\Contracts\AuthenticationResolver;
6+
use OneOffTech\TusUpload\TusUploadRepository;
7+
use OneOffTech\TusUpload\Concerns\ProcessHooks;
8+
use OneOffTech\TusUpload\Console\TusHookInput;
9+
use OneOffTech\TusUpload\Contracts\AuthenticationResolver;
1010
use Log;
1111
use Exception;
1212

@@ -31,7 +31,7 @@ class TusHookProcessingCommand extends Command
3131
protected $description = 'Receives a tus hook from command line and process it. You should not invoke this command directly.';
3232

3333
/**
34-
* @var \Avvertix\TusUpload\TusUploadRepository
34+
* @var \OneOffTech\TusUpload\TusUploadRepository
3535
*/
3636
private $uploads = null;
3737

src/Console/Commands/TusServerStartCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Avvertix\TusUpload\Console\Commands;
3+
namespace OneOffTech\TusUpload\Console\Commands;
44

55
use Illuminate\Console\Command;
6-
use Avvertix\TusUpload\Console\SupportsTusd;
7-
use Avvertix\TusUpload\Events\TusUploaderStarted;
8-
use Avvertix\TusUpload\Events\TusUploaderStopped;
6+
use OneOffTech\TusUpload\Console\SupportsTusd;
7+
use OneOffTech\TusUpload\Events\TusUploaderStarted;
8+
use OneOffTech\TusUpload\Events\TusUploaderStopped;
99
use Symfony\Component\Process\Process;
1010

1111
class TusServerStartCommand extends Command

0 commit comments

Comments
 (0)