Commit Graph

998 Commits

Author SHA1 Message Date
John Lees-Miller 94b7fa2769 [ci skip] Update changelog 2019-09-15 15:03:19 +01:00
John Lees-Miller 93505ca16f Check expected entry size in add_stored test 2019-09-15 14:58:13 +01:00
John Lees-Miller 6619bf3a1d
Merge pull request #366 from hainesr/add-stored
Zip::File.add_stored() to add uncompressed files.
2019-09-15 14:53:31 +01:00
Robert Haines ecb2776218 Zip::File.add_stored() to add uncompressed files.
Adding uncompressed files to a zip archive can be overly complex, so
this convenience method makes it easier.
2019-09-14 13:58:30 +01:00
John Lees-Miller 09bb9465be
Merge pull request #402 from orien/gem-metadata
Add project metadata to the gemspec
2019-09-13 21:59:54 +01:00
Orien Madgwick 72e7ca0d04 Add project metadata to the gemspec
As per https://guides.rubygems.org/specification-reference/#metadata,
add metadata to the gemspec file. This'll allow people to more easily
access the source code, raise issues and read the changelog. These
`bug_tracker_uri`, `changelog_uri`, `documentation_uri`, `wiki_uri` and
`source_code_uri` links will appear on the rubygems page at
https://rubygems.org/gems/rubyzip and be available via the rubygems API
after the next release.
2019-09-12 12:56:00 +10:00
John Lees-Miller 0d85cb6a49 Bump to 1.2.4 2019-09-06 18:01:30 +01:00
John Lees-Miller 9a41ce65c4 Add more explicit test for #280 2019-09-06 17:58:38 +01:00
John Lees-Miller eeef5073d5 Add test case based on #146 2019-09-05 19:00:34 +01:00
John Lees-Miller 7fbaf1e6c0
Merge pull request #360 from hainesr/fix-open-buffer
Fix #280 - `open_buffer` mangles the content of the buffer it is given.
2019-09-05 18:48:39 +01:00
John Lees-Miller ee6fb82958
Merge pull request #399 from rubyzip/rbx-4
Fix CI and try rbx-4
2019-07-20 16:45:10 +01:00
John Lees-Miller 8dfc95dc79 Hold jruby at 9.1 on JDK 7 2019-07-20 15:15:30 +01:00
John Lees-Miller fc23db2efc Update changelog for #399 2019-07-20 15:06:17 +01:00
John Lees-Miller b2573f6069 Use rbx-4 in CI 2019-07-07 18:18:49 +01:00
John Lees-Miller 5152f6f7a0 Put CI back to trusty
Xenial is now the default.

Trusty is now out of support but still not end of life.

Also omit the ruby patch versions so we don't have to keep updating 
them.
2019-07-07 17:59:35 +01:00
John Lees-Miller 2ffbc3b169
Merge pull request #397 from rubyzip/tidy-examples
Update example_recursive in README
2019-05-24 18:56:46 +02:00
John Lees-Miller 952950e474 Update changelog for #397
Also run changelog through prettier for consistency with README.md.
2019-05-24 17:25:17 +01:00
John Lees-Miller 1e21121f6c Update example_recursive in README
The sample has been updated several times since the last update to the 
README. Also ran through prettier for formatting consistency.
2019-05-24 17:07:35 +01:00
John Lees-Miller 9d891f7353
Fix link typo in changelog 2019-05-23 18:35:24 +01:00
John Lees-Miller 6f0b219265
Merge pull request #393 from rubyzip/v1-2-3
Bump version to 1.2.3
2019-05-23 19:33:53 +02:00
John Lees-Miller ef516bdc81
Merge pull request #391 from jdleesmiller/fix-expand-path
Allow tilde in zip entry names
2019-05-23 19:33:30 +02:00
John Lees-Miller ada408d60a Add #394 to changelog 2019-03-22 21:18:40 +02:00
John Lees-Miller 249775f563
Merge pull request #394 from olleolleolle/patch-1
CI: update to latest MRI, drop a setting
2019-03-22 21:17:27 +02:00
Olle Jonsson a8609e1e2b
CI: update to latest MRI, drop a setting
- drop unused Travis configuration: sudo: false - see https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration for historical detail about when it was removed.
2019-03-22 17:54:30 +01:00
John Lees-Miller fb1c230cac Bump version to 1.2.3 2019-03-22 18:14:23 +02:00
John Lees-Miller ad15c3c494 Allow tilde in zip entry names
Use absolute_path rather than expand_path to allow tilde to pass through
unchanged. Otherwise, we try to expand it to a home directory.
2019-03-22 16:30:25 +02:00
John Lees-Miller 8ece5c9988
Merge pull request #392 from rubyzip/update-ci
Update supported ruby versions
2019-03-22 16:13:45 +02:00
John Lees-Miller 0f36838981 Update ruby dependencies 2019-03-22 15:27:51 +02:00
John Lees-Miller d2f0f021e6 Enable parallel build support for coveralls 2019-03-22 11:06:00 +02:00
John Lees-Miller fa4f7fb1c2 Stop allowing jruby failures 2019-03-22 11:05:52 +02:00
John Lees-Miller d40921b918
Merge pull request #375 from vipulnsward/allow-jruby-failure-on-crc
Move jruby to allow failures matrix
2019-03-21 22:29:46 +02:00
John Lees-Miller bb3488723f
Merge pull request #385 from mihyaeru21/remove-commas
remove some strange commas
2019-03-21 22:22:32 +02:00
John Lees-Miller 3219d8e5af
Merge pull request #390 from taichi-ishitani/master
fixed FrozenError caused by frozen-string-literal
2019-03-21 21:58:17 +02:00
John Lees-Miller 6aecdf9bd5
Merge pull request #388 from d235j/pathname-require
require pathname where it is used
2019-03-21 21:32:24 +02:00
John Lees-Miller cc7b18ed9a
Merge pull request #387 from aspiers/add-1.2.2-changelog
Add Changelog for 1.2.2 (#378)
2019-03-21 21:27:44 +02:00
taichi 0e6e626d45 fixed CI error 2019-02-28 17:40:12 +09:00
taichi 74f0d4eabb fixed errors caused by frozen-string-literal 2019-02-28 01:23:29 +09:00
David Ryskalczyk a420323c84 require pathname where it is used 2019-02-10 11:51:29 -05:00
Adam Spiers 9eac0d66e8 Add Changelog for 1.2.2 (#378)
1.2.2 was already released in #376, so unfortunately this is too late
for inclusion in that, but at least future releases will have it.

This is just a list of the titles of all non-merge commits since
1.2.1, so it won't be as concise or readable a summary as for previous
releases, but it's better than nothing, and anyone is welcome to
volunteer to condense it further.

Closes #378.
2019-01-23 11:08:01 +00:00
Mihyaeru afb1b79efd remove some strange commas 2018-12-04 00:14:32 +09:00
Oleksandr Simonov d07b13a6cf
Merge pull request #376 from jdleesmiller/fix-cve-2018-1000544
Fix CVE-2018-1000544 and disable symlinks to avoid other security issues
2018-08-31 19:17:48 +03:00
John Lees-Miller fd81bd523c Bump version to 1.2.2 2018-08-27 09:07:21 +01:00
John Lees-Miller cf35774ed6 Bump version to 1.3.0 2018-08-27 09:02:11 +01:00
John Lees-Miller ffb374c6b1 Bump version to 2.0.0 2018-08-27 08:37:53 +01:00
John Lees-Miller 8a1de58286 Expand from root rather than current working directory 2018-08-26 19:55:26 +01:00
John Lees-Miller 3dd165b494 Disable symlinks and check for path traversal 2018-08-26 14:21:38 +01:00
John Lees-Miller ffebfa3418 Consolidate path traversal tests 2018-08-26 12:13:12 +01:00
John Lees-Miller 9c468f30f3 Add jwilk's path traversal tests 2018-08-26 10:00:35 +01:00
Bart de Water 0586329d3b Trigger CI again 2018-08-26 00:52:10 -04:00
Vipul A M cf7158344c Move jruby to allow failures matrix till crc uint 32 issues are resolved 2018-08-26 00:04:18 -04:00