Skip to content

Commit 01aac9b

Browse files
committed
added 'close OUTFILE;' in _save_local.
1 parent 9b62a61 commit 01aac9b

File tree

10 files changed

+21
-79
lines changed

10 files changed

+21
-79
lines changed

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,7 @@ Revision history for jQuery-File-Upload
7070
0.17
7171

7272
moved _clear call in handle_request to end of subroutine
73+
74+
0.18
75+
76+
added 'close OUTFILE;' in _save_local.

Changes~

Lines changed: 0 additions & 68 deletions
This file was deleted.

MYMETA.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@
4545
}
4646
},
4747
"release_status" : "stable",
48-
"version" : "0.17"
48+
"version" : "0.18"
4949
}

MYMETA.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ requires:
2727
Net::SSH2::SFTP: 0
2828
URI: 0
2929
perl: 5.006
30-
version: 0.17
30+
version: 0.18

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ DIRFILESEP = /
6161
DFSEP = $(DIRFILESEP)
6262
NAME = jQuery::File::Upload
6363
NAME_SYM = jQuery_File_Upload
64-
VERSION = 0.17
64+
VERSION = 0.18
6565
VERSION_MACRO = VERSION
66-
VERSION_SYM = 0_17
66+
VERSION_SYM = 0_18
6767
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
68-
XS_VERSION = 0.17
68+
XS_VERSION = 0.18
6969
XS_VERSION_MACRO = XS_VERSION
7070
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
7171
INST_ARCHLIB = blib/arch
@@ -262,7 +262,7 @@ RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
262262
DIST_CP = best
263263
DIST_DEFAULT = tardist
264264
DISTNAME = jQuery-File-Upload
265-
DISTVNAME = jQuery-File-Upload-0.17
265+
DISTVNAME = jQuery-File-Upload-0.18
266266

267267

268268
# --- MakeMaker macro section:
@@ -511,7 +511,7 @@ metafile : create_distdir
511511
$(NOECHO) $(ECHO) ' Net::SSH2::SFTP: 0' >> META_new.yml
512512
$(NOECHO) $(ECHO) ' URI: 0' >> META_new.yml
513513
$(NOECHO) $(ECHO) ' perl: 5.006' >> META_new.yml
514-
$(NOECHO) $(ECHO) 'version: 0.17' >> META_new.yml
514+
$(NOECHO) $(ECHO) 'version: 0.18' >> META_new.yml
515515
-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
516516
$(NOECHO) $(ECHO) Generating META.json
517517
$(NOECHO) $(ECHO) '{' > META_new.json
@@ -561,7 +561,7 @@ metafile : create_distdir
561561
$(NOECHO) $(ECHO) ' }' >> META_new.json
562562
$(NOECHO) $(ECHO) ' },' >> META_new.json
563563
$(NOECHO) $(ECHO) ' "release_status" : "stable",' >> META_new.json
564-
$(NOECHO) $(ECHO) ' "version" : "0.17"' >> META_new.json
564+
$(NOECHO) $(ECHO) ' "version" : "0.18"' >> META_new.json
565565
$(NOECHO) $(ECHO) '}' >> META_new.json
566566
-$(NOECHO) $(MV) META_new.json $(DISTVNAME)/META.json
567567

blib/lib/jQuery/File/Upload.pm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use URI;
1616
#use LWP::UserAgent;
1717
#use LWP::Protocol::https;
1818

19-
our $VERSION = '0.17';
19+
our $VERSION = '0.18';
2020

2121
my %errors = (
2222
'_validate_max_file_size' => 'File is too big',
@@ -1107,6 +1107,8 @@ sub _save_local {
11071107
while (my $bytesread = $io_handle->read($buffer,1024)) {
11081108
print OUTFILE $buffer;
11091109
}
1110+
1111+
close OUTFILE;
11101112
}
11111113
}
11121114

jQuery-File-Upload-0.17.tar.gz

-19.9 KB
Binary file not shown.

jQuery-File-Upload-0.18.tar.gz

19.9 KB
Binary file not shown.

lib/jQuery/File/Upload.pm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use URI;
1616
#use LWP::UserAgent;
1717
#use LWP::Protocol::https;
1818

19-
our $VERSION = '0.17';
19+
our $VERSION = '0.18';
2020

2121
my %errors = (
2222
'_validate_max_file_size' => 'File is too big',
@@ -1107,6 +1107,8 @@ sub _save_local {
11071107
while (my $bytesread = $io_handle->read($buffer,1024)) {
11081108
print OUTFILE $buffer;
11091109
}
1110+
1111+
close OUTFILE;
11101112
}
11111113
}
11121114

lib/jQuery/File/Upload.pm~

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use URI;
1616
#use LWP::UserAgent;
1717
#use LWP::Protocol::https;
1818

19-
our $VERSION = '0.16';
19+
our $VERSION = '0.17';
2020

2121
my %errors = (
2222
'_validate_max_file_size' => 'File is too big',
@@ -1107,6 +1107,8 @@ sub _save_local {
11071107
while (my $bytesread = $io_handle->read($buffer,1024)) {
11081108
print OUTFILE $buffer;
11091109
}
1110+
1111+
close OUTFILE;
11101112
}
11111113
}
11121114

0 commit comments

Comments
 (0)