From e290f56253d93e108adee320147d442af0d98167 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Tue, 6 May 2025 19:52:02 +0900 Subject: [PATCH 1/3] Fix Dependabot error when evaluating gemspec --- pycall.gemspec | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pycall.gemspec b/pycall.gemspec index a048619..9b2c679 100644 --- a/pycall.gemspec +++ b/pycall.gemspec @@ -1,17 +1,10 @@ # coding: utf-8 -lib = File.expand_path('../lib', __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'pycall/version' + +require_relative 'lib/pycall/version.rb' Gem::Specification.new do |spec| spec.name = "pycall" - version_components = [ - PyCall::Version::MAJOR.to_s, - PyCall::Version::MINOR.to_s, - PyCall::Version::MICRO.to_s, - PyCall::Version::TAG, - ] - spec.version = version_components.compact.join(".") + spec.version = PyCall::VERSION spec.authors = ["Kenta Murata"] spec.email = ["mrkn@mrkn.jp"] From 6fec2bfe179b6e3508d5ba1214162fbe978bca4c Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Tue, 6 May 2025 20:05:54 +0900 Subject: [PATCH 2/3] Update dependabot.yml --- .github/dependabot.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 02ee861..75bc9cd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,10 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file - version: 2 updates: - - package-ecosystem: "bundler" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: "github-actions" + directory: "/" schedule: - interval: "daily" + interval: "weekly" + - package-ecosystem: "bundler" + directory: "/" + schedule: + interval: "weekly" From acbe077cf9e67afd24e4a19531a3b8707eba5c6c Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Tue, 6 May 2025 21:26:39 +0900 Subject: [PATCH 3/3] Fix filename Co-authored-by: Sutou Kouhei --- pycall.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycall.gemspec b/pycall.gemspec index 9b2c679..129a45c 100644 --- a/pycall.gemspec +++ b/pycall.gemspec @@ -1,6 +1,6 @@ # coding: utf-8 -require_relative 'lib/pycall/version.rb' +require_relative 'lib/pycall/version' Gem::Specification.new do |spec| spec.name = "pycall"