From 6886f36c0827385bef789d40e8835cb3cdd31ca6 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sat, 4 Jan 2014 11:03:02 +0100 Subject: [PATCH] Gemfile: Move dependencies to Gemspec. --- Gemfile | 6 +----- kook.gemspec | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 kook.gemspec diff --git a/Gemfile b/Gemfile index 1098319..2e1f267 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,4 @@ # A sample Gemfile source "https://rubygems.org" -gem "pry" -gem "rb-readline" -gem "thor" -gem "colorize" -gem "rspec" +gemspec diff --git a/kook.gemspec b/kook.gemspec new file mode 100644 index 0000000..d3e5567 --- /dev/null +++ b/kook.gemspec @@ -0,0 +1,33 @@ +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'kook/version' + +Gem::Specification.new do |spec| + spec.name = "kook" + spec.version = Kook::VERSION + spec.authors = ["Glenn Y. Rolland"] + spec.email = ["glenux@glenux.net"] + spec.summary = %q{Kook is a helper for opening your projects environments in tabs of KDE Konsole} + #spec.description = %q{TODO: Write a longer description. Optional.} + spec.homepage = "http://github.com/glenux/kook" + spec.license = "MIT" + + spec.rubyforge_project = "kook" + + spec.files = `git ls-files`.split($/) + 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"] + spec.bindir = 'bin' + spec.post_install_message = "Thanks for installing!" + + spec.add_development_dependency "bundler", "~> 1.5" + spec.add_development_dependency "rake" + spec.add_development_dependency "rspec" +# spec.add_development_dependency "pry" +# spec.add_development_dependency "rm-readline" + + spec.add_runtime_dependency "thor" + spec.add_runtime_dependency "colorize" +end