[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2023-12-31 Thread Hans de Graaff
commit: d085662a6cbb418f52fbfca7bd62f3eb29ddff8a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Dec 31 09:19:29 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Dec 31 09:19:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d085662a

dev-ruby/settingslogic: enable ruby33

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
index cfac85e85200..21d845360dbb 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2023-04-27 Thread Hans de Graaff
commit: 1c87c61b6f9e4f7f608e0f8aaf9cd8d7a8c53e11
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Apr 27 10:51:31 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Apr 27 11:25:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c87c61b

dev-ruby/settingslogic: enable ruby32

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
index 2e3ba5ddc3ae..cfac85e85200 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2022-07-12 Thread Hans de Graaff
commit: 8c1650fdf51f71c0f44ec2e481a46907d803df68
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jul 12 06:50:25 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jul 12 08:34:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1650fd

dev-ruby/settingslogic: enable ruby30, ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
index 5d2b70ee8217..2e3ba5ddc3ae 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
@@ -2,12 +2,12 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-USE_RUBY="ruby26 ruby27"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"
 
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
 inherit ruby-fakegem
 
@@ -23,4 +23,7 @@ PATCHES=( "${FILESDIR}/${P}-psych-4.patch" )
 
 all_ruby_prepare() {
sed -i -e '/check_dependencies/d' Rakefile || die
+
+   # Use rspec 3
+   sed -i -e 's/be_false/be false/' spec/settingslogic_spec.rb || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2022-04-18 Thread Hans de Graaff
commit: 36d401a12757d6c29afe40b2d0e80b6c13b2b674
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Apr 18 14:14:17 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Apr 18 17:15:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d401a1

dev-ruby/settingslogic: drop 2.0.9-r1

Signed-off-by: Hans de Graaff  gentoo.org>

 .../settingslogic/settingslogic-2.0.9-r1.ebuild| 24 --
 1 file changed, 24 deletions(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9-r1.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9-r1.ebuild
deleted file mode 100644
index 87a72d7dacf6..
--- a/dev-ruby/settingslogic/settingslogic-2.0.9-r1.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="README.rdoc"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="A simple configuration / settings solution that uses an ERB 
enabled YAML file"
-HOMEPAGE="https://github.com/binarylogic/settingslogic;
-LICENSE="MIT"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-all_ruby_prepare() {
-   sed -i -e '/check_dependencies/d' Rakefile || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/, dev-ruby/settingslogic/files/

2022-03-14 Thread Hans de Graaff
commit: 668439082818b43deafd721e4cd250540ccc25f1
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar 14 16:00:45 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar 14 16:01:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66843908

dev-ruby/settingslogic: add psych 4 compatibility

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 .../files/settingslogic-2.0.9-psych-4.patch| 31 ++
 .../settingslogic/settingslogic-2.0.9-r2.ebuild| 26 ++
 2 files changed, 57 insertions(+)

diff --git a/dev-ruby/settingslogic/files/settingslogic-2.0.9-psych-4.patch 
b/dev-ruby/settingslogic/files/settingslogic-2.0.9-psych-4.patch
new file mode 100644
index ..aecb968e9766
--- /dev/null
+++ b/dev-ruby/settingslogic/files/settingslogic-2.0.9-psych-4.patch
@@ -0,0 +1,31 @@
+From bd477f59560f3dea86f0cf43dabd814ac459d2ee Mon Sep 17 00:00:00 2001
+From: Tomohiko Mimura 
+Date: Mon, 2 Aug 2021 13:26:22 +0900
+Subject: [PATCH] Support Psych v4.0.0
+
+Ruby master ships with Psych 4.0.0 which makes `YAML.load`
+defaults to safe mode (https://github.com/ruby/psych/pull/487).
+
+Keep compatibility by using `unsafe_load`.
+---
+ lib/settingslogic.rb | 7 ++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/lib/settingslogic.rb b/lib/settingslogic.rb
+index a99acaf..e7ea37e 100644
+--- a/lib/settingslogic.rb
 b/lib/settingslogic.rb
+@@ -100,7 +100,12 @@ def initialize(hash_or_file = self.class.source, section 
= nil)
+   self.replace hash_or_file
+ else
+   file_contents = open(hash_or_file).read
+-  hash = file_contents.empty? ? {} : 
YAML.load(ERB.new(file_contents).result).to_hash
++  hash = if file_contents.empty?
++   {}
++ else
++   payload = ERB.new(file_contents).result
++   (YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(payload) : 
YAML.load(payload)).to_hash
++ end
+   if self.class.namespace
+ hash = hash[self.class.namespace] or return missing_key("Missing 
setting '#{self.class.namespace}' in #{hash_or_file}")
+   end

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
new file mode 100644
index ..5d2b70ee8217
--- /dev/null
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple configuration / settings solution that uses an ERB 
enabled YAML file"
+HOMEPAGE="https://github.com/binarylogic/settingslogic;
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/${P}-psych-4.patch" )
+
+all_ruby_prepare() {
+   sed -i -e '/check_dependencies/d' Rakefile || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2021-11-23 Thread Hans de Graaff
commit: 3c505a9f9e2f7b4da926b6e55e88cddd1dbafe3b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Nov 23 10:43:43 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Nov 23 10:48:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c505a9f

dev-ruby/settingslogic: EAPI 8

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 .../settingslogic/settingslogic-2.0.9-r1.ebuild| 24 ++
 1 file changed, 24 insertions(+)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9-r1.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9-r1.ebuild
new file mode 100644
index ..87a72d7dacf6
--- /dev/null
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A simple configuration / settings solution that uses an ERB 
enabled YAML file"
+HOMEPAGE="https://github.com/binarylogic/settingslogic;
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+all_ruby_prepare() {
+   sed -i -e '/check_dependencies/d' Rakefile || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2020-07-25 Thread Hans de Graaff
commit: a2879a81492d6c98cb611784e45b6382df434d19
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Jul 25 13:20:15 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Jul 25 17:10:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2879a81

dev-ruby/settingslogic: add ruby27

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/settingslogic/settingslogic-2.0.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
index a3c17239732..80b9e861fb3 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2019-01-20 Thread Hans de Graaff
commit: 16bc7895fc499e776334da3c5b445d5c2eaac4f7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jan 20 10:21:18 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jan 20 10:40:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bc7895

dev-ruby/settingslogic: add ruby26

Signed-off-by: Hans de Graaff  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/settingslogic/settingslogic-2.0.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
index 7bfaa86f84f..a3c17239732 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2018-06-18 Thread Hans de Graaff
commit: 1f73b9d72377a090b0341f143ed45ff20f53afc2
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Jun 19 04:56:15 2018 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Jun 19 05:12:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f73b9d7

dev-ruby/settingslogic: add ruby25

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-ruby/settingslogic/settingslogic-2.0.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
index b8be802e5fa..7bfaa86f84f 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24 ruby25"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2017-12-27 Thread Hans de Graaff
commit: 9b2ff4ea28921546f9eb8ffdc3f35df55b24d06b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Dec 28 07:20:50 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Dec 28 07:20:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b2ff4ea

dev-ruby/settingslogic: add ruby24

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-ruby/settingslogic/settingslogic-2.0.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
index 68fcc0efe89..b8be802e5fa 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23 ruby24"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2016-05-25 Thread Hans de Graaff
commit: 7233e0b5fd319b1a469a4eb6499ab950096435ac
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed May 25 05:45:10 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed May 25 06:08:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7233e0b5

dev-ruby/settingslogic: drop ruby19

Package-Manager: portage-2.2.28

 dev-ruby/settingslogic/settingslogic-2.0.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
index e9fc44b..59983e6 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/settingslogic/

2016-05-25 Thread Hans de Graaff
commit: 5c932628aea74d37422fd98c66fd4d08e31a90de
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed May 25 05:46:02 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed May 25 06:08:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c932628

dev-ruby/settingslogic: add ruby23

Package-Manager: portage-2.2.28

 dev-ruby/settingslogic/settingslogic-2.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild 
b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
index 59983e6..d3a852e 100644
--- a/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
+++ b/dev-ruby/settingslogic/settingslogic-2.0.9.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_DOC=""
 RUBY_FAKEGEM_EXTRADOC="README.rdoc"