-
Notifications
You must be signed in to change notification settings - Fork 1
/
snapsearch.gemspec
31 lines (26 loc) · 1.28 KB
/
snapsearch.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
31
require 'pathname'
Gem::Specification.new do |s|
# Variables
s.author = 'Ryan Scott Lewis'
s.email = '[email protected]'
s.name = 'snapsearch-client-ruby'
s.summary = 'Ruby HTTP Client Middleware Libraries for SnapSearch. Search engine optimisation for single page applications.'
s.homepage = 'https://github.com/SnapSearch/SnapSearch-Client-Ruby'
s.license = 'MIT'
# Dependencies
s.add_dependency 'version', '~> 1.0.0'
s.add_dependency 'httpi', '~> 2.1.0'
s.add_dependency 'addressable', '~> 2.0.0'
s.add_dependency 'rack', '~> 1.5.0'
s.add_development_dependency 'rake', '~> 10.1.1'
s.add_development_dependency 'rspec', '~> 2.14.1'
s.add_development_dependency 'guard-rspec', '~> 4.2.5'
s.add_development_dependency 'guard-yard', '~> 2.1.0'
s.add_development_dependency 'fuubar', '~> 1.3.2'
# Pragmatically set variables
s.version = Pathname.glob('VERSION*').first.read rescue '0.0.0'
s.description = s.summary
s.require_paths = ['lib']
s.files = Dir['{{Rake,Gem}file{.lock,},README*,VERSION,LICENSE,*.gemspec,{lib,bin,examples,resources,spec,test}/**/*}']
s.test_files = Dir['{examples,spec,test}/**/*']
end