mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
ef8d2fd766
- Use `File.basename` to sanitize the filename got from response header - Write to the `Tempfile` directly and return it - Set file encoding according to the response body's encoding See #1848
33 lines
1.1 KiB
Ruby
33 lines
1.1 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
$:.push File.expand_path("../lib", __FILE__)
|
|
require "petstore/version"
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "petstore"
|
|
s.version = Petstore::VERSION
|
|
s.platform = Gem::Platform::RUBY
|
|
s.authors = [""]
|
|
s.email = [""]
|
|
s.homepage = ""
|
|
s.summary = ""
|
|
s.description = ""
|
|
s.license = ""
|
|
|
|
|
|
s.add_runtime_dependency 'typhoeus', '~> 0.2', '>= 0.2.1'
|
|
s.add_runtime_dependency 'json', '~> 1.4', '>= 1.4.6'
|
|
|
|
s.add_development_dependency 'rspec', '~> 3.2', '>= 3.2.0'
|
|
s.add_development_dependency 'vcr', '~> 2.9', '>= 2.9.3'
|
|
s.add_development_dependency 'webmock', '~> 1.6', '>= 1.6.2'
|
|
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
|
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
|
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
|
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.11'
|
|
|
|
s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
|
|
s.test_files = `find spec/*`.split("\n")
|
|
s.executables = []
|
|
s.require_paths = ["lib"]
|
|
end
|