Skip to content

Commit 8bfb286

Browse files
committed
Simplify gemspec without Rake as library.
1 parent a95a77a commit 8bfb286

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

gettextpo.gemspec

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# You should have received a copy of the GNU General Public License
1616
# along with this program. If not, see <https://www.gnu.org/licenses/>.
1717

18-
require 'rake'
1918
require_relative "lib/gettextpo/version"
2019

2120
Gem::Specification.new do |spec|
@@ -34,13 +33,10 @@ Gem::Specification.new do |spec|
3433
spec.metadata["homepage_uri"] = spec.homepage
3534
spec.metadata["source_code_uri"] = "https://git.disroot.org/gemmaro/ruby-gettextpo.git"
3635

37-
spec.files = FileList[
38-
'*.md', 'COPYING', 'Gemfile', 'Rakefile',
39-
'ext/**/*.rb',
40-
'ext/**/*.c',
41-
'ext/**/*.h',
42-
'lib/**/*.rb',
43-
'mrblib/mrb_gettextpo_common.rb',
36+
spec.files = [
37+
'COPYING', 'Gemfile', 'Rakefile', 'mrblib/mrb_gettextpo_common.rb',
38+
*Dir['*.md'], *Dir['ext/**/*.rb'], *Dir['ext/**/*.c'],
39+
*Dir['ext/**/*.h'], *Dir['lib/**/*.rb'],
4440
]
4541
spec.require_paths = ["lib"]
4642
spec.extensions = ["ext/gettextpo/extconf.rb"]

0 commit comments

Comments
 (0)