aboutsummaryrefslogtreecommitdiff
path: root/mauvesend.gemspec
diff options
context:
space:
mode:
authorPatrick Cherry <patch0@users.noreply.github.com>2018-01-30 10:23:23 +0000
committerGitHub <noreply@github.com>2018-01-30 10:23:23 +0000
commit271edeea99b0b3628c77962c5cd70e03e34e0a66 (patch)
tree5c5f5510b389c31ee8686e07b451e22738d4c253 /mauvesend.gemspec
parentb2468a1977d0982e73b64e4cc80ad8120fa16365 (diff)
parentb37a469b817e55b06b8d6a22c1087506a2221c14 (diff)
Merge pull request #4 from BytemarkHosting/gem
Package up mauvesend as a gem
Diffstat (limited to 'mauvesend.gemspec')
-rw-r--r--mauvesend.gemspec44
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