Skip to content

Commit add8caa

Browse files
Adam HopkinsAdam Hopkins
Adam Hopkins
authored and
Adam Hopkins
committed
Fixed 'user_eror' typo for delete in handle_request
1 parent f4c4a6b commit add8caa

File tree

9 files changed

+53
-14
lines changed

9 files changed

+53
-14
lines changed

Changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,6 @@ Revision history for jQuery-File-Upload
108108

109109
0.27
110110
filenames now generated using Data::GUID. pre_post and pre_delete can now return errors.
111+
112+
0.28
113+
Fixed "user_eror" typo for delete in handle_request

MYMETA.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@
4646
}
4747
},
4848
"release_status" : "stable",
49-
"version" : "0.27"
49+
"version" : "0.28"
5050
}

MYMETA.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ requires:
2828
Net::SSH2::SFTP: '0'
2929
URI: '0'
3030
perl: '5.006'
31-
version: '0.27'
31+
version: '0.28'

Makefile

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ DIRFILESEP = /
6262
DFSEP = $(DIRFILESEP)
6363
NAME = jQuery::File::Upload
6464
NAME_SYM = jQuery_File_Upload
65-
VERSION = 0.27
65+
VERSION = 0.28
6666
VERSION_MACRO = VERSION
67-
VERSION_SYM = 0_27
67+
VERSION_SYM = 0_28
6868
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
69-
XS_VERSION = 0.27
69+
XS_VERSION = 0.28
7070
XS_VERSION_MACRO = XS_VERSION
7171
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
7272
INST_ARCHLIB = blib/arch
@@ -187,12 +187,15 @@ PERL_ARCHIVE_AFTER =
187187

188188

189189
TO_INST_PM = lib/jQuery/File/.DS_Store \
190-
lib/jQuery/File/Upload.pm
190+
lib/jQuery/File/Upload.pm \
191+
num.pl
191192

192193
PM_TO_BLIB = lib/jQuery/File/.DS_Store \
193194
blib/lib/jQuery/File/.DS_Store \
194195
lib/jQuery/File/Upload.pm \
195-
blib/lib/jQuery/File/Upload.pm
196+
blib/lib/jQuery/File/Upload.pm \
197+
num.pl \
198+
$(INST_LIB)/jQuery/File/num.pl
196199

197200

198201
# --- MakeMaker platform_constants section:
@@ -262,7 +265,7 @@ RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
262265
DIST_CP = best
263266
DIST_DEFAULT = tardist
264267
DISTNAME = jQuery-File-Upload
265-
DISTVNAME = jQuery-File-Upload-0.27
268+
DISTVNAME = jQuery-File-Upload-0.28
266269

267270

268271
# --- MakeMaker macro section:
@@ -514,7 +517,7 @@ metafile : create_distdir
514517
$(NOECHO) $(ECHO) ' Net::SSH2::SFTP: '\''0'\''' >> META_new.yml
515518
$(NOECHO) $(ECHO) ' URI: '\''0'\''' >> META_new.yml
516519
$(NOECHO) $(ECHO) ' perl: '\''5.006'\''' >> META_new.yml
517-
$(NOECHO) $(ECHO) 'version: '\''0.27'\''' >> META_new.yml
520+
$(NOECHO) $(ECHO) 'version: '\''0.28'\''' >> META_new.yml
518521
-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
519522
$(NOECHO) $(ECHO) Generating META.json
520523
$(NOECHO) $(ECHO) '{' > META_new.json
@@ -565,7 +568,7 @@ metafile : create_distdir
565568
$(NOECHO) $(ECHO) ' }' >> META_new.json
566569
$(NOECHO) $(ECHO) ' },' >> META_new.json
567570
$(NOECHO) $(ECHO) ' "release_status" : "stable",' >> META_new.json
568-
$(NOECHO) $(ECHO) ' "version" : "0.27"' >> META_new.json
571+
$(NOECHO) $(ECHO) ' "version" : "0.28"' >> META_new.json
569572
$(NOECHO) $(ECHO) '}' >> META_new.json
570573
-$(NOECHO) $(MV) META_new.json $(DISTVNAME)/META.json
571574

@@ -891,7 +894,8 @@ ppd :
891894
pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM)
892895
$(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', q[$(PM_FILTER)], '\''$(PERM_DIR)'\'')' -- \
893896
lib/jQuery/File/.DS_Store blib/lib/jQuery/File/.DS_Store \
894-
lib/jQuery/File/Upload.pm blib/lib/jQuery/File/Upload.pm
897+
lib/jQuery/File/Upload.pm blib/lib/jQuery/File/Upload.pm \
898+
num.pl $(INST_LIB)/jQuery/File/num.pl
895899
$(NOECHO) $(TOUCH) pm_to_blib
896900

897901

blib/lib/jQuery/File/Upload.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use Data::GUID;
1717
#use LWP::UserAgent;
1818
#use LWP::Protocol::https;
1919

20-
our $VERSION = '0.27';
20+
our $VERSION = '0.28';
2121

2222
my %errors = (
2323
'_validate_max_file_size' => 'File is too big',

blib/lib/jQuery/File/num.pl

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/perl
2+
3+
my $ids = "3814,4530,4451,5706,6756,6757,6655,6541,6614,6613,4432,6336,6622,6625,6631,6623,6539,6513,6512,6404,6538,5353,6117,6136,6118,3676,5996,5428,3438,6652,3484,4493,3439,6411,6042,5269,6645,6643,6644,6677,6678,6670,6669,6728,6672,6727,6671,6676,6675,6674,6673,5223,5258,4004,5632,6045,3715,4450,5110,6112,5946,5040,5948,6096,6279,5352,5113,5763,6043,6593,6070,6071,5231,6406,6381,6403,6456,6457,6514,6591,6592,6405,6047,6640,6646,6044,6630,6596,5112,6109,6138,6110,6439,6137,5950,5951,6103,6174,6253,6251,6254,6520,6534,6329,6330,6704,5997,6332,6067,5301";
4+
5+
my @ids = split ',', $ids;
6+
7+
#splice @ids, 0, $ARGV[0];
8+
9+
#print "@ids\n";
10+
#exit;
11+
12+
my %hash;
13+
#exit;
14+
my $num_a = 0;
15+
while(<>) {
16+
next unless /<a href=".*p(\d+)\.htm"/;
17+
$hash{$1} = 1;
18+
$num_a++;
19+
}
20+
21+
for(0..$#ids) {
22+
#if($_ % 30 == 1) {
23+
#print "$_: " . $ids[$_] . "\n";
24+
#}
25+
unless($hash{$ids[$_]}) {
26+
print "DIDN'T FIND $ids[$_]\n";
27+
}
28+
}
29+
30+
31+
print "$num_a\n";
32+
print scalar(@ids) . "\n";

blib/man3/jQuery::File::Upload.3pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
.\" ========================================================================
125125
.\"
126126
.IX Title "jQuery::File::Upload 3"
127-
.TH jQuery::File::Upload 3 "2014-07-13" "perl v5.16.2" "User Contributed Perl Documentation"
127+
.TH jQuery::File::Upload 3 "2014-07-15" "perl v5.16.2" "User Contributed Perl Documentation"
128128
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
129129
.\" way too many mistakes in technical documents.
130130
.if n .ad l

jQuery-File-Upload-0.28.tar.gz

20.4 KB
Binary file not shown.

lib/jQuery/File/Upload.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use Data::GUID;
1717
#use LWP::UserAgent;
1818
#use LWP::Protocol::https;
1919

20-
our $VERSION = '0.27';
20+
our $VERSION = '0.28';
2121

2222
my %errors = (
2323
'_validate_max_file_size' => 'File is too big',

0 commit comments

Comments
 (0)