From d09db2d6d0727faba8e5078900f2fbd1e18ea49f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 27 Oct 2023 23:51:23 -0400 Subject: it's an engine now! --- wittle_generator.gemspec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'wittle_generator.gemspec') diff --git a/wittle_generator.gemspec b/wittle_generator.gemspec index fc92577..11c2107 100644 --- a/wittle_generator.gemspec +++ b/wittle_generator.gemspec @@ -1,6 +1,8 @@ +require_relative "lib/wittle/version" + Gem::Specification.new do |s| - s.name = 'wittle_generator' - s.version = "0.0.1" + s.name = 'wittle' + s.version = Wittle::VERSION s.date = '2023-10-27' s.summary = 'Wittle puzzles generator' s.authors = ['hatkirby', 'Sigma144', 'jbzdarkid'] @@ -8,7 +10,11 @@ Gem::Specification.new do |s| s.licenses = ['MIT'] s.homepage = 'https://code.fourisland.com/wittle-generator' s.extensions = ['ext/wittle_generator/extconf.rb'] - s.files = Dir['ext/wittle_generator/*.h', 'ext/wittle_generator/*.cpp'] s.require_paths = ['lib'] + s.files = Dir.chdir(File.expand_path(__dir__)) do + Dir["{app,config,db,lib,ext}/**/*", "MIT-LICENSE", "Rakefile", "README.md"] + end + + s.add_dependency "rails", ">= 7.1.1" s.add_dependency "rice" end -- cgit 1.4.1