mina.gemspec in mina-0.3.8 vs mina.gemspec in mina-1.0.0.beta1
- old
+ new
@@ -1,19 +1,30 @@
-require './lib/mina/version'
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-Gem::Specification.new do |s|
- s.name = "mina"
- s.version = Mina.version
- s.summary = %{Really fast deployer and server automation tool.}
- s.description = %Q{Really fast deployer and server automation tool.}
- s.authors = ["Rico Sta. Cruz", "Michael Galero"]
- s.email = ["rico@nadarei.co", "mikong@nadarei.co"]
- s.homepage = "http://github.com/nadarei/mina"
- s.files = `git ls-files`.strip.split("\n")
- s.executables = Dir["bin/*"].map { |f| File.basename(f) }
- s.licenses = ['MIT']
+tasks = File.expand_path('../tasks', __FILE__)
+$LOAD_PATH.unshift(tasks) unless $LOAD_PATH.include?(tasks)
- s.add_dependency "rake"
- s.add_dependency "open4", "~> 1.3.4"
- s.add_development_dependency "rspec", "~> 3.0.0"
- s.add_development_dependency "pry", "~> 0.9.0"
+require 'mina/version'
+
+Gem::Specification.new do |spec|
+ spec.name = 'mina'
+ spec.version = Mina::VERSION
+ spec.summary = 'Really fast deployer and server automation tool.'
+ spec.description = 'Really fast deployer and server automation tool.'
+ spec.authors = ['Stjepan Hadjić', 'Gabrijel Škoro', 'Rico Sta. Cruz', 'Michael Galero']
+ spec.email = [
+ 'stjepan.hadjic@infinum.co', 'gabrijel.skoro@infinum.co', 'rico@nadarei.co', 'mikong@nadarei.co'
+ ]
+ spec.homepage = 'https://github.com/mina-deploy/mina'
+ spec.files = `git ls-files`.strip.split("\n")
+ spec.executables = Dir['bin/*'].map { |f| File.basename(f) }
+ spec.licenses = ['MIT']
+ spec.require_paths = ['lib']
+
+ spec.add_dependency 'rake'
+ spec.add_dependency 'open4', '~> 1.3.4'
+ spec.add_development_dependency 'rspec', '~> 3.0.0'
+ spec.add_development_dependency 'pry', '~> 0.9.0'
+ spec.add_development_dependency 'awesome_print'
+ spec.add_development_dependency 'codeclimate-test-reporter'
end