summaryrefslogtreecommitdiff
path: root/leap_cli.gemspec
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-09 00:05:44 -0700
committerelijah <elijah@riseup.net>2012-10-09 00:05:44 -0700
commit73b126976ad7843eb47a84944cf191bf05b14216 (patch)
tree918656f8d7c637e8c7a8f0c010eff55bfd98ae1b /leap_cli.gemspec
parent578ac2f5dc7432317d7a022bed9d869ab89ee45c (diff)
fixed paths
Diffstat (limited to 'leap_cli.gemspec')
-rw-r--r--leap_cli.gemspec45
1 files changed, 45 insertions, 0 deletions
diff --git a/leap_cli.gemspec b/leap_cli.gemspec
new file mode 100644
index 0000000..208355d
--- /dev/null
+++ b/leap_cli.gemspec
@@ -0,0 +1,45 @@
+#
+# Ensure we require the local version and not one we might have installed already
+#
+require File.join([File.dirname(__FILE__),'lib','leap_cli','version.rb'])
+
+spec = Gem::Specification.new do |s|
+
+ ##
+ ## ABOUT THIS GEM
+ ##
+ s.name = 'leap_cli'
+ s.version = LeapCli::VERSION
+ s.author = 'LEAP'
+ s.email = 'root@leap.se'
+ s.homepage = 'https://leap.se'
+ s.platform = Gem::Platform::RUBY
+ s.summary = 'Command line interface to the leap platform.'
+
+ ##
+ ## GEM FILES
+ ##
+ s.files = `find lib -name '*.rb'`.split("\n") << "bin/leap"
+ s.require_paths << 'lib'
+
+ s.bindir = 'bin'
+ s.executables << 'leap'
+
+ ##
+ ## DOCUMENTATION
+ ##
+ #s.has_rdoc = true
+ #s.extra_rdoc_files = ['README.rdoc','leap_cli.rdoc']
+ #s.rdoc_options << '--title' << 'leap_cli' << '--main' << 'README.rdoc' << '-ri'
+
+ ##
+ ## DEPENDENCIES
+ ##
+ s.add_development_dependency('rake')
+ #s.add_development_dependency('rdoc')
+ #s.add_development_dependency('aruba')
+
+ s.add_runtime_dependency('gli','~> 2.3')
+ s.add_runtime_dependency('oj')
+ s.add_runtime_dependency('terminal-table')
+end