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" diff --git a/pycall.gemspec b/pycall.gemspec index a048619..129a45c 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' 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"]