Sha256: d921a10de14a051dcf2d673a105d785cbf1e7aa97f39464c99a9e4a1ef961d26

Contents?: true

Size: 1.11 KB

Versions: 5

Compression:

Stored size: 1.11 KB

Contents

lib = "faraday"
lib_file = File.expand_path("../lib/#{lib}.rb", __FILE__)
File.read(lib_file) =~ /\bVERSION\s*=\s*["'](.+?)["']/
version = $1

Gem::Specification.new do |spec|
  spec.specification_version = 2 if spec.respond_to? :specification_version=
  spec.required_rubygems_version = '>= 1.3.5'

  spec.name    = lib
  spec.version = version

  spec.summary = "HTTP/REST API client library."

  spec.authors  = ["Rick Olson"]
  spec.email    = 'technoweenie@gmail.com'
  spec.homepage = 'https://github.com/lostisland/faraday'
  spec.licenses = ['MIT']

  spec.add_dependency 'multipart-post', '>= 1.2', '< 3'
  spec.add_development_dependency 'bundler', '~> 1.0'

  spec.files = %w(.document CHANGELOG.md CONTRIBUTING.md Gemfile LICENSE.md README.md Rakefile)
  spec.files << "#{lib}.gemspec"
  spec.files += Dir.glob("lib/**/*.rb")
  spec.files += Dir.glob("test/**/*.{rb,txt}")
  spec.files += Dir.glob("script/*")

  dev_null    = File.exist?('/dev/null') ? '/dev/null' : 'NUL'
  git_files   = `git ls-files -z 2>#{dev_null}`
  spec.files &= git_files.split("\0") if $?.success?

  spec.test_files = Dir.glob("test/**/*.rb")
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
faraday-0.9.1 faraday.gemspec
whos_dated_who-0.1.0 vendor/bundle/gems/faraday-0.9.0/faraday.gemspec
whos_dated_who-0.0.1 vendor/bundle/gems/faraday-0.9.0/faraday.gemspec
faraday-0.9.0 faraday.gemspec
faraday-0.9.0.rc7 faraday.gemspec