From 01288ebc6763af3e400b85afdcaa9accee9805d2 Mon Sep 17 00:00:00 2001 From: Caroline Salib Date: Sat, 4 Jun 2022 16:55:20 -0600 Subject: [PATCH] Fix included gem files --- Gemfile.lock | 2 +- simpleblog.gemspec | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index f14f734..7280048 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - simpleblog (0.0.3) + simpleblog (1.0.0) redcarpet rouge diff --git a/simpleblog.gemspec b/simpleblog.gemspec index ce0c5c6..10f57a3 100644 --- a/simpleblog.gemspec +++ b/simpleblog.gemspec @@ -1,11 +1,15 @@ Gem::Specification.new do |s| s.name = "simpleblog" - s.version = "0.0.3" + s.version = "1.0.0" s.summary = "Helpers to generate markdown blog pages using Rails" s.description = "Create a simple blog that can be edit with markdown" s.authors = ["Caroline Salib"] s.email = "carolinesalibc@gmail.com" - s.files = ["lib/simpleblog.rb"] + s.files = Dir.glob("{lib}/**/*") + s.files += ["simpleblog.gemspec"] + s.bindir = "exe" + s.executables = s.files.grep(%r{\Aexe/}) { |f| File.basename(f) } + s.require_paths = ["lib"] s.homepage = "https://rubygems.org/gems/simpleblog" s.metadata = {"source_code_uri" => "https://github.com/carolinesalib/simpleblog"} s.license = "MIT"