OSDN Git Service

Update to compat API change (no digest infomation when file uploaded).
[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.net"]
12   spec.license       = 'MIT'
13
14   spec.summary       = %q{OSDN Command Line Interface}
15   spec.description   = %q{Non-intaractive manipulation tool for OSDN}
16   spec.homepage      = "https://osdn.net/projects/osdn-codes/wiki/CommandLineInterface"
17
18   files = %w(ChangeLog README.md) + (Pathname.glob("exe/**/*") + Pathname.glob("lib/**/*")).reject{|f| f.directory? }.map(&:to_s)
19   spec.files         = files.reject { |f| f.match(%r{^(test|spec|features)/}) || f.match(%r{(~|\.bak|\.orig|\.rej)$}) }
20   spec.bindir        = "exe"
21   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22   spec.require_paths = ["lib"]
23
24   spec.add_development_dependency "bundler", "~> 1.11"
25   spec.add_development_dependency "rake", "~> 10.0"
26   spec.add_development_dependency "rspec", "~> 3.0"
27
28   spec.add_dependency "osdn-client", ">= 0.0.20161003", "< 1.0.0"
29   spec.add_dependency "hashie"
30 end