-
Notifications
You must be signed in to change notification settings - Fork 1
/
egauge.gemspec
43 lines (37 loc) · 1.15 KB
/
egauge.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
Gem::Specification.new do |s|
# Project attributes
s.name = "egauge"
s.summary = "Data stream parser for eGauge monitoring output"
s.description = "Allows accepting and parsing eGauge Energy monitor xml data as native Ruby objects."
# Post-install message
# s.post_install_message = "Thanks for installing!"
# Additional dependencies
#s.add_dependency "iron-extensions", "~> 1.0"
# Include all gem files that should be packaged
s.files = Dir[
"lib/**/*",
"bin/*",
"spec/**/*",
"LICENSE",
"*.txt",
"*.rdoc",
".rspec"
]
# Prune out files we don't want to include
s.files.reject! do |p|
['.tmproj'].detect {|test| p.include?(test)}
end
# Meta-info
s.version = File.read('version.txt').strip
s.authors = ["Rob Morris"]
s.email = ["[email protected]"]
s.homepage = "http://irongaze.com"
# Boilerplate
s.platform = Gem::Platform::RUBY
s.require_path = 'lib'
s.executables = Dir["bin/*"].collect {|p| File.basename(p)}
s.add_development_dependency "rspec", "~> 2.6"
s.add_dependency 'nokogiri'
s.required_ruby_version = '>= 1.9.2'
s.license = 'MIT'
end