OSDN Git Service

Mangle in-compatible package/release name with local filesystem.
[osdn-codes/osdn-cli.git] / osdn-cli.gemspec
1 # coding: utf-8
2 lib = File.expand_path('../lib', __FILE__)
3 $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4 require 'osdn/cli/version'
5 require 'pathname'
6
7 Gem::Specification.new do |spec|
8   spec.name          = "osdn-cli"
9   spec.version       = OSDN::CLI::VERSION
10   spec.authors       = ["OSDN"]
11   spec.email         = ["admin@osdn.jp"]
12
13   spec.summary       = %q{OSDN Command Line Interface}
14   spec.description   = %q{Non-intaractive manipulation tool for OSDN}
15   spec.homepage      = "https://osdn.jp/projects/osdn-codes/wiki/CommandLineInterface"
16
17   files = (Pathname.glob("exe/**/*") + Pathname.glob("lib/**/*")).reject{|f| f.directory? }.map(&:to_s)
18   spec.files         = files.reject { |f| f.match(%r{^(test|spec|features)/}) || f.match(%r{(~|\.bak|\.orig|\.rej)$}) }
19   spec.bindir        = "exe"
20   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21   spec.require_paths = ["lib"]
22
23   spec.add_development_dependency "bundler", "~> 1.11"
24   spec.add_development_dependency "rake", "~> 10.0"
25   spec.add_development_dependency "rspec", "~> 3.0"
26
27   spec.add_dependency "osdn-client", "~> 0.0.1"
28   spec.add_dependency "hashie"
29 end