Skip to content

Commit

Permalink
populate gemspec, add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Fefilov committed May 4, 2017
1 parent 077d293 commit 38f2aeb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.1.0
-----

* Initial release. Just extracted from [ember / guides](https://github.com/emberjs/guides).
1 change: 1 addition & 0 deletions lib/middleman-toc.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "middleman-core"
require 'middleman-toc/cli'
require 'middleman-toc/version'

::Middleman::Extensions.register :toc do
require "middleman-toc/extension"
Expand Down
5 changes: 5 additions & 0 deletions lib/middleman-toc/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module Middleman
module Toc
VERSION = "0.1.0"
end
end
18 changes: 8 additions & 10 deletions middleman-toc.gemspec
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)

require 'middleman-toc/version'

Gem::Specification.new do |s|
s.name = "middleman-toc"
s.version = "0.0.1"
s.version = Middleman::Toc::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Your Name"]
# s.email = ["email@example.com"]
# s.homepage = "http://example.com"
s.summary = %q{A short summary of your extension}
# s.description = %q{A longer description of your extension}
s.authors = ["Anton Fefilov"]
s.email = ["anton.fefilov@macrocoders.com"]
s.homepage = "https://github.com/macrocoders/middleman-toc"
s.summary = %q{TOC and Pagination Helpers for Middleman}
s.description = %q{TOC and Pagination Helpers that can be useful for anyone writing book-style content}

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

# The version of middleman-core your extension depends on
s.add_runtime_dependency("middleman-core", ["~> 3.0"])

# Additional dependencies
# s.add_runtime_dependency("gem-name", "gem-version")
end

0 comments on commit 38f2aeb

Please sign in to comment.