From 004700b228c7be01ee94db73bd4ff90e7fd12936 Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Wed, 8 Jan 2025 16:49:54 -0500 Subject: [PATCH 1/3] Add `csv` as a dependency for Ruby 3.4+ --- Gemfile.lock | 2 ++ licensed.gemspec | 1 + 2 files changed, 3 insertions(+) diff --git a/Gemfile.lock b/Gemfile.lock index f3b5fd85..8a2728cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,6 +2,7 @@ PATH remote: . specs: licensed (5.0.1) + csv (~> 3.3) json (~> 2.6) licensee (~> 9.16) parallel (~> 1.22) @@ -32,6 +33,7 @@ GEM byebug (11.1.3) concurrent-ruby (1.2.3) connection_pool (2.4.1) + csv (3.3.2) dotenv (3.1.4) drb (2.2.1) faraday (2.12.1) diff --git a/licensed.gemspec b/licensed.gemspec index c7ed2b54..db821d52 100644 --- a/licensed.gemspec +++ b/licensed.gemspec @@ -23,6 +23,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 3.0.0" + spec.add_dependency "csv", "~> 3.3" spec.add_dependency "licensee", "~> 9.16" spec.add_dependency "thor", "~> 1.2" spec.add_dependency "pathname-common_prefix", "~> 0.0.1" From 89d5f16c8c993fff546d2514ca5c2449c0408990 Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Tue, 28 Jan 2025 17:18:17 -0500 Subject: [PATCH 2/3] Add metadata --- .licensed.yml | 1 + .licenses/bundler/csv.dep.yml | 49 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .licenses/bundler/csv.dep.yml diff --git a/.licensed.yml b/.licensed.yml index b5ad994c..0d7f4158 100644 --- a/.licensed.yml +++ b/.licensed.yml @@ -12,6 +12,7 @@ reviewed: - pathname-common_prefix # bsd-2 or ruby + - csv - logger - net-http - racc diff --git a/.licenses/bundler/csv.dep.yml b/.licenses/bundler/csv.dep.yml new file mode 100644 index 00000000..558e984f --- /dev/null +++ b/.licenses/bundler/csv.dep.yml @@ -0,0 +1,49 @@ +--- +name: csv +version: 3.3.2 +type: bundler +summary: CSV Reading and Writing +homepage: https://github.com/ruby/csv +license: other +licenses: +- sources: LICENSE.txt + text: | + Copyright (C) 2005-2016 James Edward Gray II. All rights reserved. + Copyright (C) 2007-2017 Yukihiro Matsumoto. All rights reserved. + Copyright (C) 2017 SHIBATA Hiroshi. All rights reserved. + Copyright (C) 2017 Olivier Lacan. All rights reserved. + Copyright (C) 2017 Espartaco Palma. All rights reserved. + Copyright (C) 2017 Marcus Stollsteimer. All rights reserved. + Copyright (C) 2017 pavel. All rights reserved. + Copyright (C) 2017-2018 Steven Daniels. All rights reserved. + Copyright (C) 2018 Tomohiro Ogoke. All rights reserved. + Copyright (C) 2018 Kouhei Sutou. All rights reserved. + Copyright (C) 2018 Mitsutaka Mimura. All rights reserved. + Copyright (C) 2018 Vladislav. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. +- sources: README.md + text: |- + The gem is available as open source under the terms of the [2-Clause BSD License](https://opensource.org/licenses/BSD-2-Clause). + + See LICENSE.txt for details. +notices: [] From 31237d6e7ef1af8f226da063dffd064841199432 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 6 Feb 2025 09:07:12 +0000 Subject: [PATCH 3/3] csv.dep.yml: update dependency. --- .licenses/bundler/csv.dep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.licenses/bundler/csv.dep.yml b/.licenses/bundler/csv.dep.yml index 558e984f..1ff01941 100644 --- a/.licenses/bundler/csv.dep.yml +++ b/.licenses/bundler/csv.dep.yml @@ -4,7 +4,7 @@ version: 3.3.2 type: bundler summary: CSV Reading and Writing homepage: https://github.com/ruby/csv -license: other +license: bsd-2-clause licenses: - sources: LICENSE.txt text: |