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

Gem::Specification.new do |gem|
  gem.authors       = %w(Tony Arcieri)
  gem.email         = %w(tony.arcieri@gmail.com)

  gem.description   = <<-DESCRIPTION.strip.gsub(/\s+/, ' ')
    An easy-to-use client library for making requests from Ruby.
    It uses a simple method chaining system for building requests,
    similar to Python's Requests.
  DESCRIPTION

  gem.summary       = 'HTTP should be easy'
  gem.homepage      = 'https://github.com/tarcieri/http.rb'
  gem.licenses      = %w(MIT)

  gem.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
  gem.files         = `git ls-files`.split("\n")
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  gem.name          = 'http'
  gem.require_paths = %w(lib)
  gem.version       = HTTP::VERSION

  gem.add_runtime_dependency 'http_parser.rb', '~> 0.6.0'
  gem.add_runtime_dependency 'form_data',      '~> 0.0.1'

  gem.add_development_dependency 'bundler', '~> 1.0'
end

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

Gem::Specification.new do |gem|
  gem.authors       = ['Tony Arcieri']
  gem.email         = ['tony.arcieri@gmail.com']

  gem.description   = <<-DESCRIPTION.strip.gsub(/\s+/, ' ')
    An easy-to-use client library for making requests from Ruby.
    It uses a simple method chaining system for building requests,
    similar to Python's Requests.
  DESCRIPTION

  gem.summary       = 'HTTP should be easy'
  gem.homepage      = 'https://github.com/tarcieri/http.rb'
  gem.licenses      = ['MIT']

  gem.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
  gem.files         = `git ls-files`.split("\n")
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  gem.name          = 'http'
  gem.require_paths = ['lib']
  gem.version       = HTTP::VERSION

  gem.add_runtime_dependency 'http_parser.rb', '~> 0.6.0'
  gem.add_runtime_dependency 'form_data',      '~> 0.0.1'

  gem.add_development_dependency 'bundler', '~> 1.0'
end

Replace %w() with [] in gemspec
Replace %w() with [] in gemspec

Because sometimes it doesn't worth... ;))
