Skip to content

Commit 07075b5

Browse files
kojix2kou
andauthored
Fix Dependabot error when evaluating gemspec (#202)
https://github.com/red-data-tools/pycall.rb/actions/workflows/dependabot/dependabot-updates --------- Co-authored-by: Sutou Kouhei <[email protected]>
1 parent 9cad835 commit 07075b5

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5-
61
version: 2
72
updates:
8-
- package-ecosystem: "bundler" # See documentation for possible values
9-
directory: "/" # Location of package manifests
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
105
schedule:
11-
interval: "daily"
6+
interval: "weekly"
7+
- package-ecosystem: "bundler"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

pycall.gemspec

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
# coding: utf-8
2-
lib = File.expand_path('../lib', __FILE__)
3-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4-
require 'pycall/version'
2+
3+
require_relative 'lib/pycall/version'
54

65
Gem::Specification.new do |spec|
76
spec.name = "pycall"
8-
version_components = [
9-
PyCall::Version::MAJOR.to_s,
10-
PyCall::Version::MINOR.to_s,
11-
PyCall::Version::MICRO.to_s,
12-
PyCall::Version::TAG,
13-
]
14-
spec.version = version_components.compact.join(".")
7+
spec.version = PyCall::VERSION
158
spec.authors = ["Kenta Murata"]
169
spec.email = ["[email protected]"]
1710

0 commit comments

Comments
 (0)