#!/usr/bin/env gem build
# -*- encoding: utf-8 -*-
require "base64"
require File.expand_path('../lib/balanced/version', __FILE__)

Gem::Specification.new do |gem|
  gem.authors       = ["Balanced"]
  gem.email         = ["ZGV2QGJhbGFuY2VkcGF5bWVudHMuY29t"].map { |i| Base64.decode64(i) }
  gem.description   = %q{Balanced is the payments platform for marketplaces.    }
  gem.summary       = %q{https://docs.balancedpayments.com/}
  gem.homepage      = "https://www.balancedpayments.com"

  gem.add_dependency("faraday", '>= 0.8.6')
  gem.add_dependency("faraday_middleware", '~> 0.9.0')
  gem.add_dependency("addressable", '~> 2.3.5')

  gem.files         = `git ls-files`.split($\)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.name          = "balanced"
  gem.require_paths = %w(lib)
  gem.version       = Balanced::VERSION
end

#!/usr/bin/env gem build
# -*- encoding: utf-8 -*-
require "base64"
require File.expand_path('../lib/balanced/version', __FILE__)

Gem::Specification.new do |gem|
  gem.authors       = ["Balanced"]
  gem.email         = ["ZGV2QGJhbGFuY2VkcGF5bWVudHMuY29t"].map { |i| Base64.decode64(i) }
  gem.description   = %q{Balanced is the payments platform for marketplaces.    }
  gem.summary       = %q{https://docs.balancedpayments.com/}
  gem.homepage      = "https://www.balancedpayments.com"

  gem.add_dependency("faraday", '~> 0.8.6')
  gem.add_dependency("faraday_middleware", '~> 0.9.0')
  gem.add_dependency("addressable", '~> 2.3.5')

  gem.files         = `git ls-files`.split($\)
  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  gem.name          = "balanced"
  gem.require_paths = %w(lib)
  gem.version       = Balanced::VERSION
end

Change faraday version constraint to pessimistic
Change faraday version constraint to pessimistic

The current dependency constraint of '>=0.8.6' for faraday is causing
`bundle outdated` to error out on a project I am working on. This is
due to faraday-middleware being incompatible with faraday 0.9 and
bundler trying to update to faraday 0.9 from the lax balanced
constraint.

By switching to pessimistic versioning, we can avoid this dependency
problem without limiting users to any different version of faraday
since faraday-middleware shares this version constraint.
