libpath = File.join(File.dirname(__FILE__), 'lib')
$LOAD_PATH.unshift(libpath) unless $LOAD_PATH.include?(libpath)

Gem::Specification.new do |s|
  s.name = "logstream"
  s.version = "0.0.5"
  s.date = Time.now.strftime("%Y-%m-%d")

  s.author = "Barry Jaspan"
  s.email = "barry.jaspan@acquia.com"
  s.homepage = "https://github.com/acquia/logstream"

  s.summary = "Acquia Logstream tools and library"
  s.description = "Logstream is an Acquia service for streaming logs from Acquia Cloud."

  s.files = Dir["[A-Z]*", "{bin,etc,lib,test}/**/*"]
  s.bindir = "bin"
  s.executables = Dir["bin/*"].map { |f| File.basename(f) }.select { |f| f =~ /^[\w\-]+$/ }
  s.test_files = Dir["test/**/*"]
  s.has_rdoc = false

  s.add_runtime_dependency('faye-websocket', ['~> 0.8.0'])
  s.add_runtime_dependency('json', ['~> 1.7.7'])
  s.add_runtime_dependency('thor', ['~> 0.19.1'])
end

libpath = File.join(File.dirname(__FILE__), 'lib')
$LOAD_PATH.unshift(libpath) unless $LOAD_PATH.include?(libpath)

Gem::Specification.new do |s|
  s.name = "logstream"
  s.version = "0.0.6"
  s.date = Time.now.strftime("%Y-%m-%d")

  s.author = "Barry Jaspan"
  s.email = "barry.jaspan@acquia.com"
  s.homepage = "https://github.com/acquia/logstream"

  s.licenses = ['MIT']

  s.summary = "Acquia Logstream tools and library"
  s.description = "Logstream is an Acquia service for streaming logs from Acquia Cloud."

  s.files = Dir["[A-Z]*", "{bin,etc,lib,test}/**/*"]
  s.bindir = "bin"
  s.executables = Dir["bin/*"].map { |f| File.basename(f) }.select { |f| f =~ /^[\w\-]+$/ }
  s.test_files = Dir["test/**/*"]
  s.has_rdoc = false

  s.add_runtime_dependency('faye-websocket', ['~> 0.8.0'])
  s.add_runtime_dependency('json', ['~> 1.7.7'])
  s.add_runtime_dependency('thor', ['~> 0.19.1'])

  s.required_ruby_version = '>= 1.9.3'
end

Set minimum ruby version as well as license in gemspec
Set minimum ruby version as well as license in gemspec
