Skip to content

Commit

Permalink
Clean up gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmaroli committed Dec 28, 2022
1 parent 7b381d3 commit 63b830e
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions jekyll-manager.gemspec
Original file line number Diff line number Diff line change
@@ -1,35 +1,27 @@
# frozen_string_literal: true

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "jekyll-manager/version"
require_relative "lib/jekyll-manager/version"

Gem::Specification.new do |spec|
spec.name = "jekyll-manager"
spec.version = JekyllManager::VERSION
spec.authors = ["Ashwin Maroli"]
spec.email = ["ashmaroli@gmail.com"]

spec.summary = "Jekyll Admin repackaged with some alterations"
spec.description = "An administrative framework for Jekyll sites, Jekyll Manager " \
"is essentially Jekyll Admin repackaged with some alterations."

spec.homepage = "https://github.com/ashmaroli/jekyll-manager"
spec.license = "MIT"

spec.metadata = { "allowed_push_host" => "https://rubygems.org" }

spec.files = Dir.glob("lib/**/*").concat(%w(LICENSE README.md))
spec.bindir = "exe"
spec.executables = spec.files.grep(%r!^exe/!) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.required_ruby_version = ">= 2.5.0"

spec.add_dependency "jekyll", ">= 3.7", "< 5.0"
spec.add_dependency "oj", "~> 3.12"
spec.add_dependency "sinatra", "~> 1.4"
spec.add_dependency "sinatra-contrib", "~> 1.4"
spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0"
spec.add_runtime_dependency "oj", "~> 3.12"
spec.add_runtime_dependency "sinatra", "~> 1.4"
spec.add_runtime_dependency "sinatra-contrib", "~> 1.4"
spec.add_runtime_dependency "webrick", "~> 1.7"

spec.add_development_dependency "bundler", ">= 1.7"
spec.add_development_dependency "gem-release", "~> 0.7"
Expand Down

0 comments on commit 63b830e

Please sign in to comment.