diff options
author | telyn <telyn@bytemark.co.uk> | 2018-01-29 11:29:34 +0000 |
---|---|---|
committer | telyn <telyn@bytemark.co.uk> | 2018-01-29 11:29:34 +0000 |
commit | 0139aa17ab739365745c3447de5634b665391a77 (patch) | |
tree | 578ad2fb8c3cef6663b259f9972bec2e24f7060c /mauvesend.gemspec | |
parent | 5d10d99339dd85d2b6498d9cbffe37b32308db17 (diff) |
Make a minimal mauvesend gem
Diffstat (limited to 'mauvesend.gemspec')
-rw-r--r-- | mauvesend.gemspec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/mauvesend.gemspec b/mauvesend.gemspec new file mode 100644 index 0000000..d6312e4 --- /dev/null +++ b/mauvesend.gemspec @@ -0,0 +1,44 @@ + +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'mauve/version' + +Gem::Specification.new do |spec| + spec.name = 'mauvesend' + spec.version = Mauve::VERSION + spec.authors = ['Patrick Cherry', 'Telyn Roat'] + spec.email = ['telyn@bytemark.co.uk'] + + spec.summary = 'an alert system for system and network administrators to help you sleep better, and be attentive to your computers.' + spec.homepage = 'https://github.com/BytemarkHosting/mauvealert' + + # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' + # to allow pushing to a single host or delete this section to allow pushing to any host. + if spec.respond_to?(:metadata) + spec.metadata['allowed_push_host'] = 'http://src.bytemark.co.uk' + else + raise 'RubyGems 2.0 or newer is required to protect against ' \ + 'public gem pushes.' + end + + spec.files = %w[ + lib/mauve/sender.rb + lib/mauve/mauve_resolv.rb + lib/mauve/mauve_time.rb + lib/mauve/version.rb + lib/mauve/proto.rb + mauve.proto + ] + + spec.bindir = 'bin' + spec.executables = 'mauvesend' + spec.require_paths = ['lib'] + + spec.add_development_dependency 'bundler', '~> 1.16' + spec.add_development_dependency 'rake', '~> 10.0' + + spec.add_runtime_dependency 'ruby_protobuf', '~> 0.4.11' + + # + # The versions here are to match Jessie +end |