$:.unshift(File.join(File.dirname(__FILE__), 'lib'))

require File.expand_path('../lib/stripe/version', __FILE__)

spec = Gem::Specification.new do |s|
  s.name = 'stripe'
  s.version = Stripe::VERSION
  s.summary = 'Ruby bindings for the Stripe API'
  s.description = 'Stripe is the easiest way to accept payments online.  See https://stripe.com for details.'
  s.authors = ['Ross Boucher', 'Greg Brockman']
  s.email = ['boucher@stripe.com', 'gdb@stripe.com']
  s.homepage = 'https://stripe.com/api'
  s.executables = 'stripe-console'
  s.require_paths = %w{lib}

  s.add_dependency('rest-client')

  s.add_development_dependency('mocha')
  s.add_development_dependency('shoulda')
  s.add_development_dependency('test-unit')

  s.files = %w{
    bin/stripe-console
    lib/stripe.rb
    lib/stripe/version.rb
    lib/data/ca-certificates.crt
  }
end

$:.unshift(File.join(File.dirname(__FILE__), 'lib'))

require File.expand_path('../lib/stripe/version', __FILE__)

spec = Gem::Specification.new do |s|
  s.name = 'stripe'
  s.version = Stripe::VERSION
  s.summary = 'Ruby bindings for the Stripe API'
  s.description = 'Stripe is the easiest way to accept payments online.  See https://stripe.com for details.'
  s.authors = ['Ross Boucher', 'Greg Brockman']
  s.email = ['boucher@stripe.com', 'gdb@stripe.com']
  s.homepage = 'https://stripe.com/api'
  s.executables = 'stripe-console'
  s.require_paths = %w{lib}

  s.add_dependency('rest-client')

  s.add_development_dependency('mocha')
  s.add_development_dependency('shoulda')
  s.add_development_dependency('test-unit')

  s.files = %w{
    bin/stripe-console
    lib/stripe.rb
    lib/stripe/version.rb
    lib/data/ca-certificates.crt
    vendor/stripe-json/lib/json/pure.rb
    vendor/stripe-json/lib/json/common.rb
    vendor/stripe-json/lib/json/version.rb
    vendor/stripe-json/lib/json/pure/generator.rb
    vendor/stripe-json/lib/json/pure/parser.rb
  }
end

Add vendored JSON to gemspec
Add vendored JSON to gemspec
