5e2d8720a5
improve readme
2023-03-16 22:14:21 +01:00
39ddcded04
improve code
2023-03-16 22:11:44 +01:00
1a75385d9b
simplify tests
2023-03-16 22:11:00 +01:00
Jonathan Martins
6804be3243
update readme
2023-03-02 14:31:04 -03:00
Jonathan Martins
01f98cee20
add jobpipelinetest.json as a empty file
2023-03-02 14:30:02 -03:00
Jonathan Prass Martins
e06122a1a5
Delete jobpipelinetest.json
2023-03-02 14:25:53 -03:00
Jonathan Martins
80c4317224
remove unnecessary property declarations
2023-03-02 14:23:11 -03:00
Jonathan Martins
96184f5a76
update README
2023-03-02 14:21:14 -03:00
Jonathan Martins
ef4ded6e4e
leave only shouldBeQueued method
2023-03-02 14:19:06 -03:00
Jonathan Martins
c1e27eae4c
tests for shouldQueueOn method
2023-02-25 12:51:34 -03:00
Jonathan Martins
1682f3e8d9
.phpunit.cache/ added to gitignore
2023-02-25 12:49:27 -03:00
Jonathan Martins
719fc32d9b
docs updated
2023-02-25 12:18:09 -03:00
Jonathan Martins
63f58e6a99
added timeout
2023-02-25 12:16:12 -03:00
Jonathan Martins
a9c716d1a1
updating docs
2023-02-25 12:03:39 -03:00
Jonathan Martins
29fb12fd4b
reuse shouldBeQueuedOn
2023-02-25 11:53:59 -03:00
Jonathan Martins
7e618f6950
The following methods where added: onConnection, onQueue, delay, tries, shouldBeQueuedOn. The signature of shouldBeQueued was changed too.
2023-02-25 11:49:51 -03:00
Jonathan Martins
1ba255a4f4
Add .idea directory to gitignore
2023-02-25 11:48:22 -03:00
Jonathan Prass Martins
c75c76e49a
Add $queue attribute
...
This code enables me to change the queue name that the JobPipeline will be pushed to.
Now I can do something like this:
```php
JobPipeline::make([
Jobs\CreateDatabase::class,
Jobs\MigrateDatabase::class,
// Jobs\SeedDatabase::class,
// Your own jobs to prepare the tenant.
// Provision API keys, create S3 buckets, anything you want!
])->send(function (Events\TenantCreated $event)
{
return $event->tenant;
})->onQueue('another-queue')
->shouldBeQueued()
```
2023-02-25 11:13:37 -03:00
Guilherme Saade
bfc53f6dd6
L10 compatibility ( #12 )
...
* Bump dependencies for Laravel 10
* Update GitHub Actions for Laravel 10
* drop < L9 support
* use `dispatch_sync` instead of `dispatch_now`
* migrate phpunit configuration
* update matrix format
---------
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2023-02-16 11:43:17 +01:00
Samuel Štancl
fe0fc363e6
Fix code style (php-cs-fixer)
2022-03-30 15:12:15 +00:00
Samuel Štancl
57f4ebf555
Throw exception instead of just silently logging an error
2022-03-30 17:11:53 +02:00
Samuel Štancl
cd2c5c39ad
Merge pull request #9 from hackerESQ/patch-1
...
adds error catching to handle method
2022-03-20 21:53:38 +01:00
hackerESQ
d7f2f027f7
adds tests
2022-03-20 14:10:10 -05:00
hackerESQ
d636ab5fe3
fix style
2022-03-18 13:44:18 -05:00
hackerESQ
80947a4889
adds error catching to handle method
2022-03-17 19:10:30 -05:00
Samuel Štancl
15b38fbcdb
Merge pull request #7 from abrardev99/l9-support
...
Add support for Laravel 9.
2022-02-02 01:24:51 +01:00
Abrar Ahmad
25f8d504e5
wip
2022-02-01 21:50:56 +05:00
Samuel Štancl
8bbed4fc29
Update composer.json
2021-12-06 16:11:33 +01:00
Samuel Štancl
9d8a3d5596
Add test value store
2020-11-15 16:19:15 +01:00
Samuel Štancl
906caa0872
Merge branch 'master' of github.com:stancl/jobpipeline
2020-11-15 16:11:12 +01:00
Samuel Štancl
f86e55ace7
Add the ability to use closures inside pipelines
2020-11-15 16:11:02 +01:00
Samuel Štancl
9a896b730c
Mention returning false
2020-11-12 19:46:35 +01:00
Samuel Štancl
86873515ae
Allow canceling pipelines by returning false from handle()
2020-11-12 19:33:31 +01:00
Samuel Štancl
8fcac74f86
Merge pull request #4 from andresayej/l8-test
...
First try at Laravel 8 support + more advanced CI
2020-09-08 18:48:35 +02:00
Andre Sayej
09e3c1150e
Add Redis & remove windows from CI because of it
2020-09-07 12:29:37 +03:00
Andre Sayej
02b0c4b6c9
First try at Laravel 8 support + more advanced CI
2020-09-07 12:16:49 +03:00
Samuel Štancl
31e07d6176
Add valuestore file
2020-05-21 19:43:23 +02:00
Samuel Štancl
2e5fa50352
Laravel 6 support
2020-05-21 19:41:20 +02:00
Samuel Štancl
8d5ec9e001
Use null instead of unset
2020-05-17 19:27:03 +02:00
Samuel Štancl
52470fa734
shouldBeQueued() default value true
2020-05-16 12:02:47 +02:00
Samuel Štancl
74b971caef
Create .gitattributes
2020-05-16 05:54:46 +02:00
Samuel Štancl
a014ac2f5a
Merge pull request #3 from stancl/revert-1-patch-1
...
Revert "Enhance CI"
2020-05-16 05:53:31 +02:00
Samuel Štancl
9329a5504d
Revert "Enhance CI"
2020-05-16 05:53:21 +02:00
Samuel Štancl
4475bb1393
Merge pull request #1 from szepeviktor/patch-1
...
Enhance CI
2020-05-15 20:04:23 +02:00
Viktor Szépe
a0ace4d035
Update Composer lock file
2020-05-15 17:54:41 +00:00
Samuel Štancl
476ec44e85
Add image
2020-05-15 19:48:34 +02:00
Viktor Szépe
90b909eba0
Revert naming tests "unit tests"
2020-05-15 19:42:36 +02:00
Samuel Štancl
2d309ce417
Remove comma
2020-05-15 19:37:58 +02:00
Viktor Szépe
7b08f48ae4
Enhance CI
2020-05-15 19:19:13 +02:00
Samuel Štancl
9dae38398b
Create README.md
2020-05-15 18:36:23 +02:00