Skip to content

Commit 7c9fb7d

Browse files
committed
Add badge, update gemspec
1 parent 15d637d commit 7c9fb7d

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# jekyll-pre-commit
22

3+
[![Gem Version](https://badge.fury.io/rb/jekyll-pre-commit.svg)](https://badge.fury.io/rb/jekyll-pre-commit)
4+
35
A Jekyll plugin to make sure your post is _really_ ready for publishing.
46

57
![Terminal showing failed check](http://i.imgur.com/9PzDMiB.jpg)

jekyll-pre-commit.gemspec

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,10 @@ Gem::Specification.new do |spec|
99
spec.authors = ["Max Chadwick"]
1010
spec.email = ["[email protected]"]
1111

12-
spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
13-
spec.description = %q{TODO: Write a longer description or delete this line.}
14-
spec.homepage = "TODO: Put your gem's website or public repo URL here."
12+
spec.summary = %q{A Jekyll plugin to make sure your post is _really_ ready for publishing}
13+
spec.homepage = "https://github.com/mpchadwick/jekyll-pre-commit"
1514
spec.license = "MIT"
1615

17-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18-
# delete this section to allow pushing this gem to any host.
19-
if spec.respond_to?(:metadata)
20-
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21-
else
22-
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23-
end
24-
2516
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
2617
spec.bindir = "exe"
2718
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)