Commit Graph

54 Commits

Author SHA1 Message Date
Robert Haines f7c6b79256 Update some dev dependency gems and relax version matching.
For gems such as rake, minitest and rdoc it is appropriate to allow version
matches against major versions, allowing us to get the latest minor and
patch versions automatically.

Also update the minimum minor versions while we are at it.

We'll leave rubocop* and simplecov* gems pinned to minor versions.
2025-01-25 09:55:27 +00:00
Oleksii Leonov 0e4fc83b25 Add LICENSE file 2024-03-06 20:50:19 +00:00
Robert Haines 1c06454985 Update minimum ruby version to 3.0.
All rubies before 3.0 are EOL and this is a major version bump, so it's
the right time to do this.
2024-03-01 22:14:48 +00:00
Robert Haines edeab0713c Add RDoc and tasks to the Rakefile. 2023-04-14 11:25:22 +01:00
Robert Haines cf258bbb71 Move to ruby 2.5 as the earliest supported version.
2.4 is nearly two years beyond EOL now.

Closes #484.
2022-01-11 22:26:09 +00:00
Robert Haines bb237aaa08 Update authors in gemspec to reflect current maintainers. 2021-06-27 11:47:31 +01:00
Robert Haines f005ca2864 Update the list of files packaged in the gemspec. 2021-06-27 11:30:09 +01:00
Robert Haines 81d95ad0a3 Minor gemspec formatting changes for space/readability. 2021-06-27 11:29:55 +01:00
Robert Haines 1fb74bd82f Don't mess with the library path in the gemspec. 2021-06-27 11:04:53 +01:00
Robert Haines 255480f22f Add rubocop-performance. 2021-05-25 21:24:50 +01:00
Robert Haines f6cebc6514 Add rubocop-rake. 2021-05-25 21:24:50 +01:00
Robert Haines e10badf68e Fix Style/FrozenStringLiteralComment cop. 2021-05-25 21:24:50 +01:00
Robert Haines 3d33e4a8e0 Update Rubocop version.
Now using as late a version as we can for Ruby 2.4.
2021-05-25 21:24:50 +01:00
Robert Haines f1e73b047e Tidy up dependencies in gemspec. 2021-05-25 21:24:50 +01:00
Robert Haines db3ce93027 Add coveralls integration to the GitHub CI Action.
Fixes #480.
2021-05-19 21:39:53 +01:00
Kentaro Hayashi a9628ef9d5 Use correct SPDX license identifier
The valid SPDX license is "BSD-2-Clause" instead of "BSD 2-Clause".

ref. https://spdx.org/licenses/
2020-09-25 16:18:33 +09:00
Robert Haines ee06a8038a Bump Rubocop version and lock it down at patch level.
Now we're using Rubocop in CI we need to prevent CI from dragging in a
newer version than that which we are expecting. This will avoid
unexpected fails from the linting stage.
2020-03-15 12:24:47 +00:00
John Lees-Miller a64a14767d Bump rake version (development dependency) 2020-03-14 11:09:33 +00:00
Robert Haines 70d036b3ad Fix Style/ExpandPathArguments cop. 2020-02-15 16:26:32 +00:00
Robert Haines 68259ed7b0 Fix Style/Encoding cop. 2020-02-15 16:26:32 +00:00
Robert Haines aa40035525 Fix Gemspec/OrderedDependencies cop. 2020-02-15 15:56:17 +00:00
Robert Haines c8bfd14764 Update rubocop version and the config files.
Also rename .rubocop_rubyzip.yml to be consistent with Rubocop default
setup.
2020-02-15 15:56:17 +00:00
John Lees-Miller e1d9af6e46
Merge pull request #406 from rubyzip/bump-supported-ruby
Bump supported ruby versions
2019-09-25 20:41:10 +01:00
John Lees-Miller 35446f467b Drop old ruby and JDK versions from CI 2019-09-18 22:01:48 +01:00
John Lees-Miller 74d4bec371 Remove test files from gem 2019-09-18 21:04:33 +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
Takumasa Ochi cf91112b57 Apply automatic correction by rubocop 2017-06-29 11:57:12 +09:00
Takumasa Ochi d80e7203d8 Add rubocop dependency and correct settings 2017-06-28 11:36:14 +09:00
Alexander Simonov 3ec40d875d
Version bump 2016-02-19 11:14:57 +02:00
Pavel Lobashov 77b7d6c35d fix rubocop Style/PercentLiteralDelimiters cop 2015-03-23 19:20:31 +03:00
Pavel Lobashov b93ef1266f fix rubocop Style/StringLiterals cop 2015-03-21 11:27:44 +03:00
Pavel.Lobashov 7ef15bd201 fix rubocop Lint/UselessAssignment cop 2015-03-20 23:13:38 +03:00
Shigeaki Matsumura 744244d4b3 use guard for testing 2015-01-06 00:50:22 +09:00
Robert Haines d0054bda0b Use the latest version of minitest.
Now the real culprit of the random test failures has been fixed [1] we can use
the latest version of minitest.

[1] 96f84aee4c
2014-07-25 16:14:01 +01:00
Robert Haines 982b528711 Move dependencies to the gemspec and lock down versions.
Development dependencies should go in the gemspec when using a Gemfile. Versions
are locked down to prevent failures creeping in as dependencies are updated (so
long as they play nice with semantic versioning). An example of this is the
minitest gem; see issue 164 (https://github.com/rubyzip/rubyzip/issues/164).
2014-07-23 12:59:13 +03:00
Robert Haines 1f1e49e060 Add the tests to the gem as per rubyzip/rubyzip#52.
The tests aren't that big and this will help those with a build-test-install
workflow.
2014-06-22 12:53:40 +01:00
Alexander Simonov c76e1a51ef Add license info 2014-05-30 20:09:02 +03:00
markwellna 53e288dac7 The NEWS file doesn't exist, so `rake build` wouldn't work. 2013-09-06 15:18:44 -04:00
Alexander Simonov 8b92e40227 Version bump 2013-08-22 00:39:52 +03:00
Alexander Simonov 974f5675c2 Code refactoring start 2013-06-02 21:33:03 +03:00
Alexander Simonov 7bd96f53b8 Version bump 2012-06-17 23:46:27 +03:00
Bernie Telles 933f5b99fc Bump version number and update NEWS 2012-04-26 13:07:35 -07:00
Alexander Simonov daa21eb85e Version bump 2012-04-08 00:21:02 +03:00
Alexander Simonov 3af29cb8a4 My broken hand push broken gem to rubygems 2012-02-08 23:40:08 +02:00
Alexander Simonov 3b74b54a48 version bump 2012-02-08 23:27:12 +02:00
Alan Harper dbc9c3f73d Release 0.9.5 2011-11-26 16:20:02 +11:00
Alexander Simonov 9aa578e487 Fix constants 2011-11-17 22:27:26 +02:00
Alan Harper 446c114b75 Split version out in to useful constant 2011-10-05 07:49:33 +11:00
Alan Harper 8f64fe1035 Revert "Started converting to RSpec"
This reverts commit c36359d612.
2011-01-07 22:59:51 +10:00
Alan Harper c36359d612 Started converting to RSpec 2010-11-30 23:11:30 +10:00