smartdc.gemspec in smartdc-1.3.0 vs smartdc.gemspec in smartdc-2.0.0

- old
+ new

@@ -1,23 +1,27 @@ -# -*- encoding: utf-8 -*- +# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'smartdc/version' -Gem::Specification.new do |gem| - gem.name = "smartdc" - gem.version = Smartdc::VERSION - gem.authors = ["ogom"] - gem.email = ["ogom@hotmail.co.jp"] - gem.description = %q{SmartDataCenter client and SmartDataCenter Command Line Interface.} - gem.summary = %q{Joyent SmartDataCenter CloudApi client by ruby.} - gem.homepage = "http://github.com/ogom/ruby-smartdc" +Gem::Specification.new do |spec| + spec.name = "smartdc" + spec.version = Smartdc::VERSION + spec.authors = ["ogom"] + spec.email = ["ogom@hotmail.co.jp"] + spec.summary = %q{Joyent CloudAPI client by Ruby.} + spec.description = %q{Joyent CloudAPI client and command line interface.} + spec.homepage = "http://github.com/ogom/ruby-smartdc" + spec.license = "MIT" - gem.files = `git ls-files`.split($/) - gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } - gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.require_paths = ["lib"] + spec.files = `git ls-files`.split($/) + spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] - gem.add_runtime_dependency(%q<faraday>, ["~> 0.8"]) - gem.add_runtime_dependency(%q<thor>, ["~> 0.18"]) - gem.add_runtime_dependency(%q<terminal-table>, ["~> 1.4"]) + spec.add_dependency 'cassette-rack' + spec.add_dependency 'thor' + spec.add_dependency 'terminal-table' + + spec.add_development_dependency 'bundler' + spec.add_development_dependency 'rake' end