# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'fabricio/version'

Gem::Specification.new do |spec|
  spec.name          = "fabricio"
  spec.version       = Fabricio::VERSION
  spec.authors       = ["Egor Tolstoy", "Vadim Smal"]
  spec.email         = 'igrekde@gmail.com'

  spec.summary       = "A simple gem that fetches mobile application statistics from Fabric.io API."
  spec.license       = "MIT"

  # spec.files         = `git ls-files -z`.split("\x0").reject do |f|
  #   f.match(%r{^(test|spec|features)/})
  # end
  spec.files         = Dir["lib/**/*", "bin/*", "docs/*", "README.md"]

  spec.bindir = "bin"
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency 'faraday'
  spec.add_dependency "thor"

  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'webmock'
  spec.add_development_dependency 'simplecov'
  spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
end

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'fabricio/version'

Gem::Specification.new do |spec|
  spec.name          = "fabricio"
  spec.version       = Fabricio::VERSION
  spec.authors       = ["Egor Tolstoy", "Vadim Smal"]
  spec.email         = 'igrekde@gmail.com'

  spec.summary       = "A simple gem that fetches mobile application statistics from Fabric.io API."
  spec.license       = "MIT"

  spec.files         = Dir["lib/**/*", "bin/*", "docs/*", "README.md"]

  spec.bindir = "bin"
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency 'faraday'
  spec.add_dependency "thor"

  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'webmock'
  spec.add_development_dependency 'simplecov'
  spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
end

Add bindir and optimize files in spec
[Bugfix] Add bindir and optimize files in spec
