nanoc-git.gemspec in nanoc-git-0.0.7 vs nanoc-git.gemspec in nanoc-git-1.0.0
- old
+ new
@@ -1,20 +1,29 @@
-# -*- encoding: utf-8 -*-
+# encoding: utf-8
+
+$LOAD_PATH.unshift(File.expand_path('../lib/', __FILE__))
+require 'nanoc/git/version'
+
Gem::Specification.new do |s|
s.name = 'nanoc-git'
- s.version = '0.0.7'
- s.authors = ["Cameron Spickert"]
- s.email = ["cspicker@gmail.com"]
- s.homepage = "https://github.com/cspicker/nanoc-git"
- s.summary = "A Nanoc3 deployer for git"
- s.description = "A Nanoc3 extension that adds a Git deployer and associated rake task."
+ s.version = Nanoc::Git::VERSION
+ s.homepage = 'http://nanoc.ws/'
+ s.summary = 'Git deployer for nanoc'
+ s.description = 'Provides a git depoyer for nanoc'
- s.rubyforge_project = "nanoc-git"
+ s.author = 'Lifepillar'
+ s.email = 'github@lifepillar.org'
+ s.license = 'MIT'
- 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"]
+ s.required_ruby_version = '>= 1.9.3'
- s.add_runtime_dependency('nanoc', '>= 3.1.6')
- s.add_runtime_dependency('git', '>= 1.2.5')
+ s.files = Dir['[A-Z]*'] +
+ Dir['{lib,test}/**/*'] +
+ [ 'nanoc-git.gemspec' ]
+ s.require_paths = [ 'lib' ]
+
+ s.rdoc_options = [ '--main', 'README.md' ]
+ s.extra_rdoc_files = [ 'LICENSE', 'README.md', 'NEWS.md' ]
+
+ s.add_runtime_dependency('nanoc', '>= 3.7.0', '< 4.0.0')
+ s.add_development_dependency('bundler', '~> 1.5')
end