lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'groovehq/version'

Gem::Specification.new do |spec|
  spec.name          = "groovehq"
  spec.version       = GrooveHQ::VERSION
  spec.authors       = ["Kirill Shirinkin"]
  spec.email         = ["fodojyko@gmail.com"]
  spec.summary       = %q{Client library for GrooveHQ API.}
  spec.description   = %q{Client library for GrooveHQ API.}
  spec.homepage      = "https://github.com/Fodoj/groovehq"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  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.required_ruby_version = '>= 2.0'

  spec.add_dependency "httparty"
  spec.add_dependency "activesupport"

  spec.add_development_dependency "bundler", "~> 1.7"
  spec.add_development_dependency "rake", "~> 10.0"
end

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'groovehq/version'

Gem::Specification.new do |spec|
  spec.name          = "groovehq"
  spec.version       = GrooveHQ::VERSION
  spec.authors       = ["Kirill Shirinkin"]
  spec.email         = ["fodojyko@gmail.com"]
  spec.summary       = %q{Client library for GrooveHQ API.}
  spec.description   = %q{Client library for GrooveHQ API.}
  spec.homepage      = "https://github.com/Fodoj/groovehq"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]
  spec.required_ruby_version = '>= 2.0'

  spec.add_dependency "httparty"
  spec.add_dependency "activesupport"

  spec.add_development_dependency "bundler", "~> 1.7"
  spec.add_development_dependency "rake", "~> 10.0"
end

Set /exe as executable dir in gemspec
Set /exe as executable dir in gemspec

Consistent with more recent changes in bundler. See:
http://bundler.io/blog/2015/03/20/moving-bins-to-exe.html
