Skip to content

Commit 1e8cced

Browse files
committed
Use Gemfile for development/test dependencies
1 parent 1f47da2 commit 1e8cced

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

Gemfile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# -*- mode: ruby; coding: utf-8 -*-
1+
# -*- ruby -*-
22
#
3-
# Copyright (C) 2011-2013 Kouhei Sutou <[email protected]>
3+
# Copyright (C) 2011-2025 Sutou Kouhei <[email protected]>
44
#
55
# This library is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU Lesser General Public
@@ -18,3 +18,13 @@
1818
source "https://rubygems.org/"
1919

2020
gemspec
21+
22+
group :development, :test do
23+
gem "bundler"
24+
gem "rake"
25+
end
26+
27+
group :test do
28+
gem "test-unit"
29+
end
30+

pkg-config.gemspec

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: ruby -*-
22
#
3-
# Copyright (C) 2010-2019 Kouhei Sutou <[email protected]>
3+
# Copyright (C) 2010-2025 Sutou Kouhei <[email protected]>
44
#
55
# This library is free software; you can redistribute it and/or
66
# modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
2222
spec.name = "pkg-config"
2323
spec.version = PKGConfig::VERSION
2424
spec.homepage = "https://github.com/ruby-gnome/pkg-config"
25-
spec.authors = ["Kouhei Sutou"]
25+
spec.authors = ["Sutou Kouhei"]
2626
spec.email = ["[email protected]"]
2727
spec.summary = 'A pkg-config implementation for Ruby'
2828
spec.description = "pkg-config can be used in your extconf.rb to properly detect need libraries for compiling Ruby native extensions"
@@ -31,9 +31,5 @@ Gem::Specification.new do |spec|
3131
spec.files += Dir.glob("lib/**/*.rb")
3232
spec.test_files = Dir.glob("test/**/*.rb")
3333

34-
spec.add_development_dependency("test-unit")
35-
spec.add_development_dependency("rake")
36-
spec.add_development_dependency("bundler")
37-
3834
spec.metadata["msys2_mingw_dependencies"] = "pkg-config"
3935
end

0 commit comments

Comments
 (0)