Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

current development rebased on gearman org branch #9

Open
wants to merge 401 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
401 commits
Select commit Hold shift + click to select a range
9f72a66
Gearman::Task tests
Jun 13, 2016
be7877c
add Storable into build requirements
Jun 13, 2016
0522df8
Gearman::Taskset s/die/croak/
Jun 14, 2016
1feeec9
Gearman::Taskset s/die/croak/; pod
Jun 14, 2016
909676f
perltidy
Jun 14, 2016
636bfce
bug fix Gearman::Taskset->run_hook
Jun 14, 2016
3b8c2a1
Gearman::Task->run_hook refactoring
Jun 15, 2016
c2c66e7
Gearman::Taskset tests
p-alik Jun 15, 2016
c142385
add IO::Socket::INET into BUILD_REQUIRES
p-alik Jun 16, 2016
b6e2cc5
check client js_count
p-alik Jun 16, 2016
27b779b
taskset pod, refactoring in _get_hashed_sock
p-alik Jun 16, 2016
39bf1b5
taskset socket tests
p-alik Jun 16, 2016
22a3ccd
bug fixing taskset->_get_default_sock test
p-alik Jun 16, 2016
7addd87
_fail_jshandle() proves arguement
p-alik Jun 17, 2016
b4e7fb3
test taskset_>_fail_jshandle
p-alik Jun 17, 2016
cb6f98c
taskset->_ip_port
p-alik Jun 17, 2016
3bc5eab
taskset->_ip_port test
p-alik Jun 17, 2016
b656536
taskset->add_task pod
p-alik Jun 18, 2016
91256cb
taskset->add_task tests
p-alik Jun 18, 2016
395ce7b
taskset->_wait_for_packet test
p-alik Jun 19, 2016
aa08a86
taskset->_wait_for_packet refactoring
p-alik Jun 19, 2016
8963307
taskset->_process_packet refactoring
p-alik Jun 20, 2016
26c34ad
taskset->_process_packet tests
p-alik Jun 20, 2016
487a878
client pod
p-alik Jun 21, 2016
d65336b
client properies and new_task_set test
p-alik Jun 21, 2016
84ffc28
client->get_status returns undef wihtout handle
p-alik Jun 21, 2016
eab7d1c
s/die/Carp::croak/
p-alik Jun 21, 2016
5d7df9a
client->get_status subtest
p-alik Jun 21, 2016
8ad56ec
s/die/Carp::croak/
p-alik Jun 22, 2016
e00a44d
client->_get_js_sock tests
p-alik Jun 22, 2016
050ecba
rm spaces
p-alik Jun 25, 2016
820a6ea
client pod
p-alik Jun 25, 2016
4c79549
deprecate client->get_job_servers_client
p-alik Jun 25, 2016
dd950e0
taskset pod
p-alik Jun 25, 2016
46191df
catch get_job_server_clients deprecated exception
p-alik Jun 25, 2016
58e2aa5
taskset->_ip_port return hostport || ipport to get rid off undef resu…
p-alik Jun 25, 2016
9dac84a
client->get_status s/die/croak/
p-alik Jun 25, 2016
985ded1
taskset->_process_packet dies moved into TODO block
p-alik Jun 25, 2016
4c998ab
client tests refactoring
p-alik Jun 25, 2016
89a4835
Merge branch 'master' of github.com:p-alik/perl-Gearman
p-alik Jun 25, 2016
b38432f
taskset->_ip_port check getpeername befor loaned_sock loop
p-alik Jun 27, 2016
64bd9c4
taskset->_process_packet subtest
p-alik Jun 27, 2016
dfc8d2d
client->get_job_server_clients is not deprecated
p-alik Jun 27, 2016
895b2ce
client->get_job_server_clients test
p-alik Jun 27, 2016
3b585f4
jobstatus refactoring, progress and percent methods hardening
p-alik Jun 28, 2016
e9a4538
jobstatus tests
p-alik Jun 28, 2016
c14ae66
add 06-09 test scripts into MANIFEST
p-alik Jun 28, 2016
f60b039
s/die/croak/
p-alik Jun 28, 2016
b50d954
Gearman::Job tests
p-alik Jun 28, 2016
f5b88ce
add 11-job.t into MANIFEST
p-alik Jun 28, 2016
48b1d2f
worker pod
p-alik Jun 29, 2016
3e25d97
worker->_get_js_sock warns if no socket
p-alik Jun 29, 2016
8658792
requires Test::Timer
p-alik Jun 29, 2016
3d06ba9
more worker tests
p-alik Jun 29, 2016
28888a6
worker debug test
p-alik Jun 29, 2016
9ab37c0
worker tests
p-alik Jun 29, 2016
0fcc845
clean up worker test
p-alik Jun 30, 2016
22d43e0
util tests
p-alik Jun 30, 2016
d790b88
add util test in MANIFEST
p-alik Jun 30, 2016
4811cd4
util pod
p-alik Jun 30, 2016
3ffa425
util pod [ci skip]
p-alik Jul 2, 2016
21ba26a
util pack_re(q|s)_command refactoring
p-alik Jul 2, 2016
6249519
util exception test
p-alik Jul 2, 2016
05406b0
util tests
p-alik Jul 3, 2016
c73a792
perltidy
p-alik Jul 4, 2016
4cf0430
object->prefix refactoring
p-alik Jul 5, 2016
5dc5d29
tasl->pack_submit_packet refactoring
p-alik Jul 5, 2016
9b903db
10-all.t refactoring
p-alik Jul 6, 2016
bc71cb8
30-maxqueue.t refactoring
p-alik Jul 6, 2016
5cbeebb
TestGearman refactoring
p-alik Jul 7, 2016
0cc14d8
move server start in a block
p-alik Jul 7, 2016
5bd63c2
maxqueue refactoring
p-alik Jul 7, 2016
718cf6f
prefix tests refactoring
p-alik Jul 7, 2016
b51f858
taskset timeout refactoring
p-alik Jul 7, 2016
d456c5e
rm t/51-large_args.t
p-alik Jul 7, 2016
eb558eb
log args subtest moved into t/50-wait_timeout.t
p-alik Jul 7, 2016
86300cb
stop if tests refactoring
p-alik Jul 7, 2016
b364fb8
free_ports default count: 1
p-alik Jul 7, 2016
f5411b3
move on top start_worker
p-alik Jul 7, 2016
1f741f2
rm -t/51-large_args.t from MANIFEST
p-alik Jul 7, 2016
c09aebd
rm warn pid
p-alik Jul 7, 2016
b9684a5
client pod get_jobs, get_clients
p-alik Jul 8, 2016
3789b03
09-connection refactoring
p-alik Jul 8, 2016
afd7cf7
rm #/usr/bin/perl in test scripts
p-alik Jul 8, 2016
a029af7
TestGearman supports both Gearman::Server and gearmand
p-alik Jul 10, 2016
48e0232
renamed [ci skip]
p-alik Jul 10, 2016
0e128b4
Test::Gearman [ci skip]
p-alik Jul 10, 2016
a5f5895
Test::Gearman [ci skip]
p-alik Jul 10, 2016
dd7a283
add repository to dist metadata
plicease Jul 12, 2016
61a9499
remove old manifest entry
plicease Jul 12, 2016
cc64721
Merge pull request #1 from plicease/meta
p-alik Jul 12, 2016
2323760
Test::Gearman refactoring
p-alik Jul 12, 2016
246d1e8
use Test::Gearman
p-alik Jul 12, 2016
4a72566
skip uncompleted tests
p-alik Jul 12, 2016
1bd928a
Merge pull request #2 from plicease/manifest
p-alik Jul 12, 2016
1897c31
add Test::Gearman into MANIFEST
p-alik Jul 12, 2016
c94c736
max quiue [ci skip]
p-alik Jul 14, 2016
a5d60a6
no need for IO::Socket::INET in job.pm
p-alik Jul 16, 2016
9158457
Objects module provides socket method
p-alik Jul 16, 2016
6a5885b
simpla can socket test
p-alik Jul 16, 2016
16c30d4
client uses objects->socket
p-alik Jul 16, 2016
37dae43
worker uses objects->socket
p-alik Jul 16, 2016
ecc9789
objects uses _property methods for getting/setting
p-alik Jul 16, 2016
bc06a11
objects supports ssl
p-alik Jul 16, 2016
c37d74d
add IO::Socket::SSL into depends
p-alik Jul 16, 2016
db9b1ed
cleanup objects
p-alik Jul 16, 2016
0b51b46
objects tests refactoring
p-alik Jul 16, 2016
c1d5542
v2.001.001_1
p-alik Jul 16, 2016
049bc8f
bug fix: worker provide all parameters to super
p-alik Jul 24, 2016
fc259d6
objects provides ssl_socket_cb
p-alik Jul 24, 2016
15146fd
test objects ssl_socket_cb
p-alik Jul 24, 2016
48080e3
10-all tests work fine with gearmand
p-alik Jul 27, 2016
f5fd8f0
20-leaktest only for Gearman::Server
p-alik Jul 27, 2016
2b5cc09
maxqueue test nok
p-alik Jul 27, 2016
8d26fe3
maxqueue Gearman::Server test ok
p-alik Jul 28, 2016
5cfa635
40-prefix tests
p-alik Jul 28, 2016
91c1b63
wait timeout tests ok
p-alik Jul 29, 2016
00565f2
cleanup wait timeout
p-alik Jul 29, 2016
bf03683
stop if tests ok
p-alik Jul 29, 2016
9ff727a
leaktest in TODO
p-alik Jul 30, 2016
867c012
rm redundant client tests
p-alik Jul 30, 2016
564bf0d
rm Time::HiRes
p-alik Jul 30, 2016
a2cf5af
cleanup worker tests
p-alik Jul 30, 2016
84321a7
ok/nok comments
p-alik Jul 30, 2016
da61dde
respawn_children without parameters
p-alik Jul 30, 2016
736eaff
Test::Gearman refactoring
p-alik Jul 30, 2016
71e2fa8
rm GearTestLib
p-alik Jul 30, 2016
840ad1f
taskset uses Test::Gearman
p-alik Jul 31, 2016
a21e37e
travis ci + install gearman-job-server
p-alik Jul 31, 2016
ac3ba43
v1.130.001
p-alik Jul 31, 2016
a8720f9
pod issue 56308
p-alik Jul 31, 2016
d658eaf
fail(reason) issue 56508
p-alik Jul 31, 2016
12a5fdf
pod issue 59185
p-alik Jul 31, 2016
ac62c77
rm ENV{GEARMAN_SERVERS}
p-alik Jul 31, 2016
65ec127
objects pod
p-alik Jul 31, 2016
2fa1b48
travis ci only for master branch
p-alik Jul 31, 2016
8815293
pod issue 46373
p-alik Jul 31, 2016
99e58f7
issue 85191 patch manually applied
p-alik Aug 1, 2016
e5d3180
just replace a comment
p-alik Aug 1, 2016
ea22770
skip connection testing
p-alik Aug 2, 2016
6730844
Gearman::Util::read_res_packet refactoring: goto/redo replaced by a s…
p-alik Aug 2, 2016
a797aec
update changes
p-alik Aug 2, 2016
b71fbff
skip worker _get_js_sock test without gearmand
p-alik Aug 3, 2016
20b7263
v1.130.002
p-alik Aug 3, 2016
0bc1d22
update changes
p-alik Aug 3, 2016
aa14b94
build requires Perl::OSType
p-alik Aug 4, 2016
40cdef4
don't use which cmd on Windows
p-alik Aug 4, 2016
143b34e
skip wait_for_readability subtest on Windows
p-alik Aug 4, 2016
fbc00e5
pod s/heade2/head2/
p-alik Aug 4, 2016
d21a70c
v1.130.003
p-alik Aug 4, 2016
1504b2e
replace 'use Errno qw(EAGAIN)' by 'POSIX qw(:errno_h)'
p-alik Aug 5, 2016
a292ec5
requires POSIX
p-alik Aug 5, 2016
e296e0c
update changes
p-alik Aug 5, 2016
4576b53
issue 116744 Utility pod
p-alik Aug 5, 2016
98ade0e
add Gearman::ResponseParser pod
p-alik Aug 6, 2016
cc54fdb
s/_process_packet/process_packet/
p-alik Aug 6, 2016
c02b08c
s/_process_packet/process_packet/
p-alik Aug 6, 2016
efdae04
add Gearman::ResposeParser::Taskset pod
p-alik Aug 6, 2016
fa1a210
v1.130.004
p-alik Aug 6, 2016
393c69b
chages updated
p-alik Aug 6, 2016
214cf1b
use File::Which for gearmand lookup
p-alik Aug 15, 2016
8152184
build requires File::Which
p-alik Aug 15, 2016
13a242c
client pod [ci skip]
p-alik Aug 16, 2016
496d1c4
maxqueue and gladiator are going into Gearman::Server repository
p-alik Aug 19, 2016
b14954d
cleanup MANIFEST
p-alik Aug 19, 2016
67210d0
permit Gearman::Client subclassing
p-alik Aug 19, 2016
ae7b181
Gearman::Client check by isa
p-alik Aug 19, 2016
d842ade
no import anything from Gearman::Util
p-alik Aug 19, 2016
7583b67
task refactoring
p-alik Aug 19, 2016
08e9026
job refactoring
p-alik Aug 19, 2016
e58f299
taskset refactoring
p-alik Aug 19, 2016
f93e1e7
replace ref check by isa
p-alik Aug 19, 2016
79443a7
worker refactoring
p-alik Aug 19, 2016
329bc0c
add version into build requirements
p-alik Aug 20, 2016
8414dca
skip isa test if get_js_sock fails
p-alik Aug 20, 2016
56d66dd
use Test::TCP for client testing
p-alik Aug 29, 2016
1019779
build depends Test::TCP v2.17
p-alik Aug 29, 2016
c6cc93e
constructor checks in subtest
p-alik Aug 29, 2016
7b09935
Test::TCP based worker tests
p-alik Aug 29, 2016
328cad3
skip bug fixing
Aug 30, 2016
1c4a29a
Taskset tests based on Test::TCP
Aug 30, 2016
3bcfffc
run connect test
p-alik Aug 30, 2016
89eb903
job test script renamed
p-alik Aug 31, 2016
c30fed7
unit test script renamed
p-alik Aug 31, 2016
a8bb9f9
provides new_server
p-alik Aug 31, 2016
ab61796
provides new_worker
p-alik Aug 31, 2016
07349cb
separated privority tests
p-alik Aug 31, 2016
5d68b9d
client pod
p-alik Aug 31, 2016
83445f6
sum tests separated
p-alik Sep 1, 2016
6921d6c
fail tests separated
p-alik Sep 1, 2016
a394ff5
provide timeout to worker register function if given
p-alik Sep 1, 2016
77993e9
new_server starts gearmand with debug verbosity on demand
p-alik Sep 1, 2016
c794ef6
background test
p-alik Sep 2, 2016
6c1b2be
sleep tests separated
p-alik Sep 2, 2016
1dd9522
short which
p-alik Sep 2, 2016
273dae5
status tests separated
p-alik Sep 2, 2016
20f9b68
rm 10-all.t
p-alik Sep 2, 2016
6c9cfc6
failure tests
p-alik Sep 4, 2016
02edd88
taskset subtests use t::Server
p-alik Sep 4, 2016
ad66ff1
new_woker expects parameters in hash form instead of list
p-alik Sep 6, 2016
59d8e6b
prefix tests based on Test::TCP
p-alik Sep 6, 2016
6211176
pass hash to new_worker
p-alik Sep 6, 2016
88a1933
pass hash to new_worker
p-alik Sep 6, 2016
6b7ef1f
pass hash to new_worker
p-alik Sep 6, 2016
21b56e6
pass hash to new_worker
p-alik Sep 6, 2016
5b3847f
pass hash to new_worker
p-alik Sep 6, 2016
3579f4b
pass hash to new_worker
p-alik Sep 6, 2016
10e9899
s/use/use_ok/
p-alik Sep 8, 2016
b6a206f
wait with timeout tests based on Test::TCP
p-alik Sep 10, 2016
5954e2d
delete stop if test script
p-alik Sep 12, 2016
6692a6b
rm worker.pl
p-alik Sep 13, 2016
012480e
rm Test::Gearman
p-alik Sep 13, 2016
83872e4
update MANIFEST content
p-alik Sep 13, 2016
27aaf3f
add Proc::Guard into BUILD_REQUIRES
p-alik Sep 13, 2016
29e7e6a
Merge branch 'master' into ssl
p-alik Sep 14, 2016
7ccdba4
rm obsolete ENV{GEARMAN_SERVERS}
p-alik Sep 23, 2016
dfab691
use t::Server in client tests
p-alik Sep 23, 2016
8c838be
use t::Server in worker tests
p-alik Sep 23, 2016
491eaed
GEARMAN_WORKER_USE_STDIO env test
p-alik Sep 24, 2016
1a58194
set peer addr via env for testing purposes
p-alik Sep 24, 2016
399dce2
refactor canonicalize_job_servers
p-alik Sep 24, 2016
358c8ac
socket dies if connection failed
p-alik Sep 26, 2016
b637364
simple echo request tests via ssl
p-alik Sep 29, 2016
2266113
cleanup echo tests
p-alik Sep 30, 2016
1d59650
ssl sum
p-alik Sep 30, 2016
9a419dd
use IO::Socket::IP for the sake of IPv6
p-alik Sep 30, 2016
c13d3cb
object tests for IO::Socket::IP
p-alik Sep 30, 2016
5287cdf
_get_js_sock dies by connection to empty port
p-alik Oct 4, 2016
f563d7c
uses Socket::IP instead of INET
p-alik Oct 4, 2016
646a3cd
uses Socket::IP instead of INET
p-alik Oct 4, 2016
d753478
uses Socket::IP instead of INET
p-alik Oct 4, 2016
263efe5
POD
p-alik Oct 4, 2016
1ff89ad
cache is an IO::Socket::IP object
p-alik Oct 4, 2016
4bbf121
worker _get_js_sock returns undef
p-alik Oct 5, 2016
a1cb459
s/croak/carp/ in socket
p-alik Oct 5, 2016
a634fe3
/09-connect.t AUTHOR_TESTING
p-alik Oct 5, 2016
cec502d
a char
p-alik Oct 5, 2016
0004e51
smarter t::Server
p-alik Oct 5, 2016
3c84154
cleaner sum tests
p-alik Oct 5, 2016
c92a8d9
cleaner fail tests
p-alik Oct 5, 2016
2df4967
tests refactoring
p-alik Oct 9, 2016
64581d1
replace PeerAddr by PeerHost and PeerPort
p-alik Oct 12, 2016
bfc4e1e
t::Server does not start local gearmand if env GEARMAN_ADDR is set
p-alik Oct 12, 2016
9f666c4
t::Server->job_servers return an array
p-alik Oct 12, 2016
4be00a9
job_servers return wantarray ..
p-alik Oct 12, 2016
12d98a4
Taskset->_ip_port support for ipv6
p-alik Oct 12, 2016
d45022e
IO::Socket::IP
p-alik Oct 12, 2016
1aed8f1
setsockopt TCP_NODELAY moved into Objects.pm
p-alik Oct 13, 2016
ef711c4
update MANIFEST
p-alik Oct 13, 2016
c833904
v2.001.001 TRIAL
p-alik Oct 13, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .shipit

This file was deleted.

44 changes: 44 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
language: perl
perl:
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"

sudo: true

matrix:
include:
- perl: 5.18
env: COVERAGE=1

before_install:
- sudo apt-get update -qq
- sudo apt-get install -y gearman-job-server
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR

install:
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
- cpanm --quiet --notest --installdeps .

script:
- perl Makefile.PL
- make
- PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -b -r -s t
- cover

after_success:
- cover -report coveralls

branches:
only:
- master
76 changes: 76 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,78 @@
2.001.001 2016-10-13 10:45:00 Europe/Berlin (TRIAL RELEASE)
-- support for SSL connection to gearmand
-- support IPv6
-- tests refactoring

1.130.004 (2016-08-06)
-- add Gearman::ResponseParser pod
-- add Gearman::ResposeParser::Taskset pod
-- rename Gearman::Taskset->_process_packet to process_packet
-- issue 116744 Utility pod

1.130.003 (2016-08-05)
-- check OS in Test::Gearman and don't use "which" on Windows
-- replace 'use Errno qw(EAGAIN)' by 'POSIX qw(:errno_h)'
see: http://www.cpantesters.org/cpan/report/d801a704-5975-11e6-9451-9b92aab8e0c0

1.130.002 (2016-08-03)
-- skip worker _get_js_sock test without gearmand

1.130.001 (2016-08-02)
-- refactoring of Gearman::Util::read_res_packet: no goto/redo
-- test suite refactoring
-- solved issue 85191 Programming error prevents Gearman::Worker::work() from connecting to servers
-- solved issue 59185 document Gearman::Client::get_status
-- solved issue 56508 using $task->fail("reason goes here") in Gearman::Taskset

1.12.009 (2016-06-04)
-- run t/30-maxqueue.t and t/40-prefix.t only with AUTHOR_TESTING
-- s/::Object/::Objects/

1.12.008 (2016-06-03)
-- rename Gearman::Base back to Geamrman::Object because Gearman-Client-Async depends on it

1.12.007 (2016-05-20)
-- more tests only with AUTHOR_TESTING

1.12.006 (2016-05-19)
-- tests refactoring
-- execute some tests only if AUTHOR_TESTING env is defined

1.12.005 (2016-05-06)
-- rm META.*

1.12.004 (2016-05-06)

-- solved issue 5324ce04-0bae-11e6-a317-839d20bbf307
there was a bug in test script

1.12.003 (2016-05-01)

-- tested with perl5-22-1 to improve cpan tester resport
5324ce04-0bae-11e6-a317-839d20bbf307

-- fields moved from Gearman::Objects to proper modules

-- rm obsolete Gearman::Objects

-- use warnings (except redefine)

-- perltidy applied to all modules

1.12.002 (2014-12-19)

-- attempt to fix bugs: 89037, 100594, 101012

-- cpan tester report 586f5968-8489-11e4-adb9-802de0bfc7aa is - ugly - fixed too

-- refactoring: Client/Worker base class added

-- dynamic tests by using environment variable GEARMAN_SERVERS

1.12 (2014-12-14)

-- Repoint HACKING file.

-- Make a jobserver connection use the command timeout during exception negotiation.

-- Make $taskset->add_task use the command timeout to not hang during job submission.
Expand Down Expand Up @@ -132,3 +207,4 @@
-- finally package it up and call it 1.00 now that we've been using
it in (LiveJournal) production for quite a while, finding/fixing
the bugs that happen when you put something into production.

52 changes: 0 additions & 52 deletions Gearman-Client.spec

This file was deleted.

9 changes: 0 additions & 9 deletions HACKING

This file was deleted.

32 changes: 22 additions & 10 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CHANGES
HACKING
lib/Gearman/Client.pm
lib/Gearman/Job.pm
lib/Gearman/JobStatus.pm
lib/Gearman/Objects.pm
lib/Gearman/ResponseParser.pm
Expand All @@ -12,17 +12,29 @@ lib/Gearman/Worker.pm
Makefile.PL
MANIFEST This list of files
MANIFEST.SKIP This list of files
META.yml
t/00-use.t
t/10-all.t
t/20-leaktest.t
t/30-maxqueue.t
t/01-object.t
t/02-client.t
t/03-worker.t
t/04-task.t
t/05-taskset.t
t/06-response-parser.t
t/07-response-parser-taskset.t
t/08-jobstatus.t
t/09-connect.t
t/10-job.t
t/11-unit.t
t/12-sum.t
t/13-fail.t
t/14-sleep.t
t/15-priority.t
t/16-background.t
t/17-status.t
t/18-ssl.t
t/40-prefix.t
t/50-wait_timeout.t
t/51-large_args.t
t/60-stop-if.t
t/lib/GearTestLib.pm
t/TestGearman.pm
t/worker.pl
t/65-responseparser.t
t/Server.pm
t/Worker.pm
README
TODO
56 changes: 47 additions & 9 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,16 +1,54 @@
use 5.008;
use strict;
use warnings;

use ExtUtils::MakeMaker;

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME'=> 'Gearman',
'VERSION_FROM' => 'lib/Gearman/Client.pm',
'PREREQ_PM' => {
String::CRC32 => 0,
Time::HiRes => 0, # Usually core now
}, # e.g., Module::Name => 1.1
AUTHOR => 'Brad Fitzpatrick <[email protected]>',
ABSTRACT => "Client and worker libraries for gearman job dispatch dispatch. Server is in separate package.",
);
NAME => "Gearman",
AUTHOR => 'Brad Fitzpatrick <[email protected]>',
ABSTRACT =>
"Client and worker libraries for gearman job dispatch dispatch. Server is in separate package.",
VERSION_FROM => "lib/Gearman/Client.pm",
BUILD_REQUIRES => {
"version" => 0,
"File::Which" => 0,
"IO::Socket::IP" => 0,
"IO::Socket::SSL" => 0,
"Perl::OSType" => 0,
"Proc::Guard" => "0.07",
"Storable" => 0,
"Test::Exception" => 0,
"Test::More" => 0,
"Test::TCP" => "2.17",
"Test::Timer" => 0,
},
PREREQ_PM => {
"version" => 0,
"Carp" => 0,
"POSIX" => 0,
"IO::Handle" => 0,
"IO::Socket::IP" => 0,
"IO::Socket::SSL" => 0,
"Scalar::Util" => 0,
"Socket" => 0,
"Storable" => 1,
"String::CRC32" => 0,
"Time::HiRes" => 0, # Usually core now
"fields" => 0,
},
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/p-alik/perl-Gearman.git',
web => 'https://github.com/p-alik/perl-Gearman',
},
},
},
);

1;
33 changes: 33 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Gearman client, task and worker implementation for perl

Gearman::Client - Client for gearman distributed job system
Gearman::Task - a task in Gearman, from the point of view of a client
Gearman::Worker - Worker for gearman distributed job system

INSTALLATION

To install this module, run the following commands:

perl Makefile.PL
make
make test
make install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

perldoc Log::Log4perl::Appender::Elasticsearch
perldoc Log::Log4perl::Appender::Elasticsearch::Bulk

perldoc Gearman::Client
perldoc Gearman::Task
perldoc Gearman::Worker

LICENSE AND COPYRIGHT

Copyright 2006-2007 Six Apart, Ltd.

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Gearman
===================

[![CPAN version](https://badge.fury.io/pl/Gearman.png)](https://badge.fury.io/pl/Gearman)
[![Build Status](https://travis-ci.org/p-alik/perl-Gearman.png)](https://travis-ci.org/p-alik/perl-Gearman)
[![Coverage Status](https://coveralls.io/repos/github/p-alik/perl-Gearman/badge.png)](https://coveralls.io/github/p-alik/perl-Gearman)

This repository contains perl [Gearman](http://gearman.org) Client/Worker implementation

perl Modules
------------
* [Gearman::Client](https://metacpan.org/pod/Gearman::Client) - Client for gearman distributed job system
* [Gearman::Task](https://metacpan.org/pod/Gearman::Task) - a task in Gearman, from the point of view of a client
* [Gearman::Worker](https://metacpan.org/pod/Gearman::Worker) - Worker for gearman distributed job system

12 changes: 0 additions & 12 deletions debian/changelog

This file was deleted.

1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

20 changes: 0 additions & 20 deletions debian/control

This file was deleted.

Loading