-
Notifications
You must be signed in to change notification settings - Fork 1
/
assembly_wales.gemspec
44 lines (36 loc) · 1.32 KB
/
assembly_wales.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
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- encoding: utf-8 -*-
$:.push('lib')
require "assembly_wales/version"
Gem::Specification.new do |s|
s.name = "assembly_wales"
s.version = AssemblyWales::VERSION
s.date = "2013-02-25"
s.summary = "A Gem that consumes data from the Welsh Assembly"
s.email = "[email protected]"
s.homepage = "http://github.com/samknight/assembly_wales"
s.authors = ['Sam Knight']
s.description = "A Gem that consumes data from the Welsh Assembly"
dependencies = [
[:runtime, "httparty"],
[:development, "minitest"],
[:development, "webmock"],
[:development, "vcr"],
[:development, "turn"],
[:development, "rake"],
]
s.files = Dir['**/*']
s.test_files = Dir['test/**/*'] + Dir['spec/**/*']
s.executables = Dir['bin/*'].map { |f| File.basename(f) }
s.require_paths = ["lib"]
## Make sure you can build the gem on older versions of RubyGems too:
s.rubygems_version = "2.0.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.specification_version = 3 if s.respond_to? :specification_version
dependencies.each do |type, name, version|
if s.respond_to?("add_#{type}_dependency")
s.send("add_#{type}_dependency", name, version)
else
s.add_dependency(name, version)
end
end
end