From 2d54d6e06fbaae6b29ea681d9b5d93b5f6b2b9a2 Mon Sep 17 00:00:00 2001 From: JKD Date: Tue, 13 Jul 2021 13:27:50 +0100 Subject: [PATCH 1/2] Update addressable gem to v 2.8 to fix high severity security vulnerability --- Rakefile | 2 +- launchy.gemspec | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Rakefile b/Rakefile index 22c49a1..5a84e2c 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,7 @@ This.email = "jeremy@copiousfreetime.org" This.homepage = "https://github.com/copiousfreetime/#{ This.name }" This.ruby_gemspec do |spec| - spec.add_dependency( 'addressable', '~> 2.7') + spec.add_dependency( 'addressable', '~> 2.8') spec.add_development_dependency( 'rake' , '~> 13.0') spec.add_development_dependency( 'minitest' , '~> 5.14' ) diff --git a/launchy.gemspec b/launchy.gemspec index 4b0837a..54ec34f 100644 --- a/launchy.gemspec +++ b/launchy.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |s| s.metadata = { "bug_tracker_uri" => "https://github.com/copiousfreetime/launchy/issues", "changelog_uri" => "https://github.com/copiousfreetime/launchy/blob/master/README.md", "homepage_uri" => "https://github.com/copiousfreetime/launchy", "source_code_uri" => "https://github.com/copiousfreetime/launchy" } if s.respond_to? :metadata= s.require_paths = ["lib".freeze] s.authors = ["Jeremy Hinegardner".freeze] - s.date = "2020-05-20" + s.date = "2021-07-13" s.description = "Launchy is helper class for launching cross-platform applications in a fire and forget manner. There are application concepts (browser, email client, etc) that are common across all platforms, and they may be launched differently on each platform. Launchy is here to make a common approach to launching external applications from within ruby programs.".freeze s.email = "jeremy@copiousfreetime.org".freeze s.executables = ["launchy".freeze] @@ -21,7 +21,7 @@ Gem::Specification.new do |s| s.licenses = ["ISC".freeze] s.rdoc_options = ["--main".freeze, "README.md".freeze, "--markup".freeze, "tomdoc".freeze] s.required_ruby_version = Gem::Requirement.new(">= 2.4.0".freeze) - s.rubygems_version = "3.0.3".freeze + s.rubygems_version = "3.0.8".freeze s.summary = "Launchy is helper class for launching cross-platform applications in a fire and forget manner.".freeze s.test_files = ["spec/application_spec.rb".freeze, "spec/applications/browser_spec.rb".freeze, "spec/cli_spec.rb".freeze, "spec/detect/host_os_family_spec.rb".freeze, "spec/detect/host_os_spec.rb".freeze, "spec/detect/nix_desktop_environment_spec.rb".freeze, "spec/detect/ruby_engine_spec.rb".freeze, "spec/detect/runner_spec.rb".freeze, "spec/launchy_spec.rb".freeze, "spec/mock_application.rb".freeze, "spec/spec_helper.rb".freeze, "spec/tattle-host-os.yaml".freeze, "spec/version_spec.rb".freeze] @@ -29,20 +29,20 @@ Gem::Specification.new do |s| s.specification_version = 4 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q.freeze, ["~> 2.7"]) + s.add_runtime_dependency(%q.freeze, ["~> 2.8"]) s.add_development_dependency(%q.freeze, ["~> 13.0"]) s.add_development_dependency(%q.freeze, ["~> 5.14"]) s.add_development_dependency(%q.freeze, ["~> 6.2"]) s.add_development_dependency(%q.freeze, ["~> 0.18"]) else - s.add_dependency(%q.freeze, ["~> 2.7"]) + s.add_dependency(%q.freeze, ["~> 2.8"]) s.add_dependency(%q.freeze, ["~> 13.0"]) s.add_dependency(%q.freeze, ["~> 5.14"]) s.add_dependency(%q.freeze, ["~> 6.2"]) s.add_dependency(%q.freeze, ["~> 0.18"]) end else - s.add_dependency(%q.freeze, ["~> 2.7"]) + s.add_dependency(%q.freeze, ["~> 2.8"]) s.add_dependency(%q.freeze, ["~> 13.0"]) s.add_dependency(%q.freeze, ["~> 5.14"]) s.add_dependency(%q.freeze, ["~> 6.2"]) From 7d90005fa1468e47440d3dd089b1298fffedb290 Mon Sep 17 00:00:00 2001 From: JKD Date: Tue, 13 Jul 2021 13:30:46 +0100 Subject: [PATCH 2/2] Add my personal account to the contributors list --- CONTRIBUTING.md | 88 ++++++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 49a3c41..577e551 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,53 +8,53 @@ a feature you want that is not in here yet. As such, any and all bugs reports are gratefully accepted, bugfixes even more so. Helping out with bugs is the easiest way to contribute. - ## The Quick Version -* Have a [GitHub Account][]. -* Search the [GitHub Issues][] and see if your issue already present. If so +- Have a [GitHub Account][]. +- Search the [GitHub Issues][] and see if your issue already present. If so add your comments, :thumbsup:, etc. -* Issue not there? Not a problem, open up a [new issue][]. - * **Bug reports** please be as detailed as possible. Include: - * full ruby engine and version: `ruby -e 'puts RUBY_DESCRIPTION'` - * operating system and version - * version of launchy `ruby -rubygems -Ilib -e "require 'launchy'; puts Launchy::VERSION"` - * as much detail about the bug as possible so I can replicate it. Feel free - to link in a [gist][] - * **New Feature** - * What the new feature should do. - * What benefit the new feature brings to the project. -* Fork the [repo][]. -* Create a new branch for your issue: `git checkout -b issue/my-issue` -* Lovingly craft your contribution: - * `rake develop` to get started - * `bundle exec rake test` to run tests -* Make sure that `bundle exec rake test` passes. It's important, I said it twice. -* Add yourself to the contributors section below. -* Submit your [pull request][]. +- Issue not there? Not a problem, open up a [new issue][]. + - **Bug reports** please be as detailed as possible. Include: + - full ruby engine and version: `ruby -e 'puts RUBY_DESCRIPTION'` + - operating system and version + - version of launchy `ruby -rubygems -Ilib -e "require 'launchy'; puts Launchy::VERSION"` + - as much detail about the bug as possible so I can replicate it. Feel free + to link in a [gist][] + - **New Feature** + - What the new feature should do. + - What benefit the new feature brings to the project. +- Fork the [repo][]. +- Create a new branch for your issue: `git checkout -b issue/my-issue` +- Lovingly craft your contribution: + - `rake develop` to get started + - `bundle exec rake test` to run tests +- Make sure that `bundle exec rake test` passes. It's important, I said it twice. +- Add yourself to the contributors section below. +- Submit your [pull request][]. # Contributors -* [Jeremy Hinegardner](https://github.com/copiousfreetime) -* [Mike Farmer](https://github.com/mikefarmer) -* [Suraj N. Kurapati](https://github.com/sunaku) -* [Postmodern](https://github.com/postmodern) -* [Stephen Judkins](https://github.com/stephenjudkins) -* [Mariusz Pietrzyk](https://github.com/wijet) -* [Bogdan Gusiev](https://github.com/bogdan) -* [Miquel Rodríguez Telep](https://github.com/mrtorrent) -* [Chris Schmich](https://github.com/schmich) -* [Gioele Barabucci](https://github.com/gioele) -* [Colin Noel Bell](https://github.com/colbell) -* [Mark J. Lehman](https://github.com/supremebeing7) -* [Cédric Félizard](https://github.com/infertux) -* [Daniel Farina](https://github.com/fdr) -* [Jack Turnbull](https://github.com/jackturnbull) -* [Jeremy Moritz](https://github.com/jeremymoritz) - -[GitHub Account]: https://github.com/signup/free "GitHub Signup" -[GitHub Issues]: https://github.com/copiousfreetime/launchy/issues "Launchy Issues" -[new issue]: https://github.com/copiousfreetime/launchy/issues/new "New Launchy Issue" -[gist]: https://gist.github.com/ "New Gist" -[repo]: https://github.com/copiousfreetime/launchy "Launchy Repo" -[pull request]: https://help.github.com/articles/using-pull-requests "Using Pull Requests" +- [Jeremy Hinegardner](https://github.com/copiousfreetime) +- [Mike Farmer](https://github.com/mikefarmer) +- [Suraj N. Kurapati](https://github.com/sunaku) +- [Postmodern](https://github.com/postmodern) +- [Stephen Judkins](https://github.com/stephenjudkins) +- [Mariusz Pietrzyk](https://github.com/wijet) +- [Bogdan Gusiev](https://github.com/bogdan) +- [Miquel Rodríguez Telep](https://github.com/mrtorrent) +- [Chris Schmich](https://github.com/schmich) +- [Gioele Barabucci](https://github.com/gioele) +- [Colin Noel Bell](https://github.com/colbell) +- [Mark J. Lehman](https://github.com/supremebeing7) +- [Cédric Félizard](https://github.com/infertux) +- [Daniel Farina](https://github.com/fdr) +- [Jack Turnbull](https://github.com/jackturnbull) +- [Jeremy Moritz](https://github.com/jeremymoritz) +- [Jamie Donnelly](https://github.com/JamieKDonnelly) + +[github account]: https://github.com/signup/free "GitHub Signup" +[github issues]: https://github.com/copiousfreetime/launchy/issues "Launchy Issues" +[new issue]: https://github.com/copiousfreetime/launchy/issues/new "New Launchy Issue" +[gist]: https://gist.github.com/ "New Gist" +[repo]: https://github.com/copiousfreetime/launchy "Launchy Repo" +[pull request]: https://help.github.com/articles/using-pull-requests "Using Pull Requests"