|
1 | 1 | # coding: utf-8
|
2 | 2 | lib = File.expand_path('../lib', __FILE__)
|
3 | 3 | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4 |
| -require 'api-ai-ruby/version' |
| 4 | +require 'api-ai-ruby/constants' |
5 | 5 |
|
6 | 6 | Gem::Specification.new do |spec|
|
7 |
| - spec.name = "api-ai-ruby" |
8 |
| - spec.version = GemSamplePruby::VERSION |
9 |
| - spec.authors = ["TODO: put author names"] |
10 |
| - spec.email = ["TODO: put Email addresses"] |
11 |
| - spec.summary = %q{TODO: Write a short summary. Required.} |
12 |
| - spec.description = %q{TODO: Write a longer description. Optional.} |
13 |
| - spec.homepage = "" |
14 |
| - spec.license = "MIT" |
| 7 | + spec.name = 'api-ai-ruby' |
| 8 | + spec.version = ApiAiRuby::Constants::VERSION |
| 9 | + spec.authors = ['api.ai'] |
| 10 | + spec.email = ['[email protected]'] |
| 11 | + spec.summary = %q{ruby SDK for https://api.ai } |
| 12 | + spec.description = %q{Plugin makes it easy to integrate your Ruby application with https://api.ai natural language processing service.} |
| 13 | + spec.homepage = 'https://api.ai' |
| 14 | + spec.license = 'Apache 2.0 License' |
15 | 15 |
|
16 | 16 | spec.files = `git ls-files -z`.split("\x0")
|
17 | 17 | spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18 | 18 | spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19 |
| - spec.require_paths = ["lib"] |
| 19 | + spec.require_paths = ['lib'] |
| 20 | + |
| 21 | + spec.add_development_dependency 'bundler', '~> 1.7' |
| 22 | + spec.add_development_dependency 'rake', '~> 10.0' |
| 23 | + spec.add_dependency 'http', '~> 0.9.4' |
| 24 | + spec.add_dependency 'http-form_data', '~> 1.0' |
20 | 25 |
|
21 |
| - spec.add_development_dependency "bundler", "~> 1.7" |
22 |
| - spec.add_development_dependency "rake", "~> 10.0" |
23 | 26 | end
|
0 commit comments