caramelize.gemspec in caramelize-0.2.0 vs caramelize.gemspec in caramelize-0.3.0
- old
+ new
@@ -1,29 +1,33 @@
-# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "caramelize/version"
-Gem::Specification.new do |s|
- s.name = "caramelize"
- s.version = Caramelize::VERSION
- s.platform = Gem::Platform::RUBY
- s.license = "MIT"
- s.authors = ["Daniel Senff"]
- s.email = ["mail@danielsenff.de"]
- s.homepage = "http://github.com/Dahie/caramelize"
- s.summary = %q{Flexible and modular wiki conversion tool}
- s.description = %q{By defining the connectors from the input wiki you can migrate any wiki to git-based Gollum wiki repositories.}
-
- s.bindir = 'bin'
+Gem::Specification.new do |spec|
+ spec.name = "caramelize"
+ spec.version = Caramelize::VERSION
+ spec.license = "MIT"
+ spec.authors = ["Daniel Senff"]
+ spec.email = ["mail@danielsenff.de"]
+ spec.homepage = "http://github.com/Dahie/caramelize"
+ spec.summary = %q{Flexible and modular wiki conversion tool}
+ spec.description = %q{By defining the connectors from the input wiki you can migrate any wiki to git-based Gollum wiki repositories.}
- s.add_dependency('mysql2')
- s.add_dependency('cmdparse')
- s.add_dependency('ruby-progressbar')
- s.add_dependency('gollum-lib', '>= 1.0.0') # grit dependency implicit through gollum
+ spec.files = `git ls-files -z`.split("\x0")
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.require_paths = ["lib"]
- s.rubyforge_project = "caramelize"
+ spec.add_dependency('mysql2')
+ spec.add_dependency('cmdparse')
+ spec.add_dependency('docile')
+ spec.add_dependency('ruby-progressbar')
+ spec.add_dependency('gollum-lib', '>= 1.0.0') # grit dependency implicit through gollum
- 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"]
+ spec.add_development_dependency "bundler", "~> 1.6"
+ spec.add_development_dependency "rake"
+ spec.add_development_dependency "rspec"
+ spec.add_development_dependency "byebug"
+ spec.add_development_dependency "guard"
+ spec.add_development_dependency "guard-rspec"
end