-
Notifications
You must be signed in to change notification settings - Fork 7
/
china_aqi.gemspec
30 lines (26 loc) · 1.01 KB
/
china_aqi.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'china_aqi/version'
Gem::Specification.new do |spec|
spec.name = 'china_aqi'
spec.version = ChinaAqi::VERSION
spec.authors = ['Xuhao']
spec.email = ['[email protected]']
spec.description = 'China AQI API from PM25.in'
spec.summary = 'China AQI API from PM25.in'
spec.homepage = 'https://github.com/Xuhao/china_aqi'
spec.license = 'MIT'
spec.files = `git ls-files`.split($RS)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.0.0'
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake'
if RUBY_VERSION < '2.2.2'
spec.add_dependency 'activesupport', '~> 4.0'
else
spec.add_dependency 'activesupport'
end
spec.add_dependency 'httparty'
end