-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmicky.gemspec
27 lines (24 loc) · 1.07 KB
/
micky.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'micky/version'
Gem::Specification.new do |spec|
spec.name = 'micky'
spec.version = Micky::VERSION
spec.authors = ['Rafaël Blais Masson']
spec.email = ['[email protected]']
spec.description =
'Micky makes simple HTTP requests (GET/HEAD), follows redirects, handles ' \
'exceptions (invalid hosts/URIs, server errors, timeouts, redirect loops), ' \
'automatically parses responses (JSON, etc.), is very lightweight, and has no ' \
'dependency.'
spec.summary = 'Lightweight and worry-free HTTP client'
spec.homepage = 'http://github.com/rafBM/micky'
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
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.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake'
end